[pigeon] Unable to generate code When a class field contains List<SelfClass?>

What package does this bug report belong to?
pigeon
What target platforms are you seeing this bug on?
Android
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.lock
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
  _fe_analyzer_shared:
    dependency: transitive
    description:
      name: _fe_analyzer_shared
      sha256: "0b2f2bd91ba804e53a61d757b986f89f1f9eaed5b11e4b2f5a2468d86d6c9fc7"
      url: "https://pub.dev"
    source: hosted
    version: "67.0.0"
  analyzer:
    dependency: transitive
    description:
      name: analyzer
      sha256: "37577842a27e4338429a1cbc32679d508836510b056f1eedf0c8d20e39c1383d"
      url: "https://pub.dev"
    source: hosted
    version: "6.4.1"
  args:
    dependency: transitive
    description:
      name: args
      sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a"
      url: "https://pub.dev"
    source: hosted
    version: "2.5.0"
  async:
    dependency: transitive
    description:
      name: async
      sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
      url: "https://pub.dev"
    source: hosted
    version: "2.11.0"
  boolean_selector:
    dependency: transitive
    description:
      name: boolean_selector
      sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  built_collection:
    dependency: transitive
    description:
      name: built_collection
      sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100"
      url: "https://pub.dev"
    source: hosted
    version: "5.1.1"
  built_value:
    dependency: transitive
    description:
      name: built_value
      sha256: c7913a9737ee4007efedaffc968c049fd0f3d0e49109e778edc10de9426005cb
      url: "https://pub.dev"
    source: hosted
    version: "8.9.2"
  characters:
    dependency: transitive
    description:
      name: characters
      sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.0"
  clock:
    dependency: transitive
    description:
      name: clock
      sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
      url: "https://pub.dev"
    source: hosted
    version: "1.1.1"
  code_builder:
    dependency: transitive
    description:
      name: code_builder
      sha256: f692079e25e7869c14132d39f223f8eec9830eb76131925143b2129c4bb01b37
      url: "https://pub.dev"
    source: hosted
    version: "4.10.0"
  collection:
    dependency: transitive
    description:
      name: collection
      sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
      url: "https://pub.dev"
    source: hosted
    version: "1.18.0"
  convert:
    dependency: transitive
    description:
      name: convert
      sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592"
      url: "https://pub.dev"
    source: hosted
    version: "3.1.1"
  crypto:
    dependency: transitive
    description:
      name: crypto
      sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab
      url: "https://pub.dev"
    source: hosted
    version: "3.0.3"
  cupertino_icons:
    dependency: "direct main"
    description:
      name: cupertino_icons
      sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
      url: "https://pub.dev"
    source: hosted
    version: "1.0.8"
  dart_style:
    dependency: transitive
    description:
      name: dart_style
      sha256: "99e066ce75c89d6b29903d788a7bb9369cf754f7b24bf70bf4b6d6d6b26853b9"
      url: "https://pub.dev"
    source: hosted
    version: "2.3.6"
  fake_async:
    dependency: transitive
    description:
      name: fake_async
      sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.1"
  file:
    dependency: transitive
    description:
      name: file
      sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c"
      url: "https://pub.dev"
    source: hosted
    version: "7.0.0"
  fixnum:
    dependency: transitive
    description:
      name: fixnum
      sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1"
      url: "https://pub.dev"
    source: hosted
    version: "1.1.0"
  flutter:
    dependency: "direct main"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_lints:
    dependency: "direct dev"
    description:
      name: flutter_lints
      sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.2"
  flutter_test:
    dependency: "direct dev"
    description: flutter
    source: sdk
    version: "0.0.0"
  glob:
    dependency: transitive
    description:
      name: glob
      sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.2"
  leak_tracker:
    dependency: transitive
    description:
      name: leak_tracker
      sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
      url: "https://pub.dev"
    source: hosted
    version: "10.0.0"
  leak_tracker_flutter_testing:
    dependency: transitive
    description:
      name: leak_tracker_flutter_testing
      sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
      url: "https://pub.dev"
    source: hosted
    version: "2.0.1"
  leak_tracker_testing:
    dependency: transitive
    description:
      name: leak_tracker_testing
      sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
      url: "https://pub.dev"
    source: hosted
    version: "2.0.1"
  lints:
    dependency: transitive
    description:
      name: lints
      sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
      url: "https://pub.dev"
    source: hosted
    version: "3.0.0"
  matcher:
    dependency: transitive
    description:
      name: matcher
      sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
      url: "https://pub.dev"
    source: hosted
    version: "0.12.16+1"
  material_color_utilities:
    dependency: transitive
    description:
      name: material_color_utilities
      sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
      url: "https://pub.dev"
    source: hosted
    version: "0.8.0"
  meta:
    dependency: transitive
    description:
      name: meta
      sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
      url: "https://pub.dev"
    source: hosted
    version: "1.11.0"
  package_config:
    dependency: transitive
    description:
      name: package_config
      sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  path:
    dependency: transitive
    description:
      name: path
      sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
      url: "https://pub.dev"
    source: hosted
    version: "1.9.0"
  pigeon:
    dependency: "direct main"
    description:
      name: pigeon
      sha256: be883401d09121c427ed9c5f6e96427787d93d335f55e5e2b0d780a0a22cd561
      url: "https://pub.dev"
    source: hosted
    version: "18.0.0"
  pub_semver:
    dependency: transitive
    description:
      name: pub_semver
      sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.4"
  sky_engine:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.99"
  source_span:
    dependency: transitive
    description:
      name: source_span
      sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
      url: "https://pub.dev"
    source: hosted
    version: "1.10.0"
  stack_trace:
    dependency: transitive
    description:
      name: stack_trace
      sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
      url: "https://pub.dev"
    source: hosted
    version: "1.11.1"
  stream_channel:
    dependency: transitive
    description:
      name: stream_channel
      sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
      url: "https://pub.dev"
    source: hosted
    version: "2.1.2"
  string_scanner:
    dependency: transitive
    description:
      name: string_scanner
      sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
      url: "https://pub.dev"
    source: hosted
    version: "1.2.0"
  term_glyph:
    dependency: transitive
    description:
      name: term_glyph
      sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
      url: "https://pub.dev"
    source: hosted
    version: "1.2.1"
  test_api:
    dependency: transitive
    description:
      name: test_api
      sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
      url: "https://pub.dev"
    source: hosted
    version: "0.6.1"
  typed_data:
    dependency: transitive
    description:
      name: typed_data
      sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c
      url: "https://pub.dev"
    source: hosted
    version: "1.3.2"
  vector_math:
    dependency: transitive
    description:
      name: vector_math
      sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.4"
  vm_service:
    dependency: transitive
    description:
      name: vm_service
      sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
      url: "https://pub.dev"
    source: hosted
    version: "13.0.0"
  watcher:
    dependency: transitive
    description:
      name: watcher
      sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8"
      url: "https://pub.dev"
    source: hosted
    version: "1.1.0"
  yaml:
    dependency: transitive
    description:
      name: yaml
      sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
      url: "https://pub.dev"
    source: hosted
    version: "3.1.2"
sdks:
  dart: ">=3.3.4 <4.0.0"

Steps to reproduce

download pigeon_bug.zip.
unzip and run pub get.
run dart run pigeon --input ./pigeon.dart

Expected results
generate target code
Actual results
code generator is freezed and nothing is output.
Code sample
@HostApi()
abstract class AndroidApi {
  TreeInfo getTreeInfo();
}

class TreeInfo {
  final Node root;

  TreeInfo(this.root);
}

class Node {
  final List<Node?> children; // not work
  // final List<String?> children; working
  Node(this.children);
}

pigeon_bug.zip
Screenshots or Videos
No response
Logs
No response
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.19.6, on Microsoft Windows [版本 10.0.22631.3527], locale zh-CN)
    ! Warning: `flutter` on your path resolves to D:\scoop\apps\flutter\3.19.6\bin\flutter, which is not inside your
      current Flutter SDK checkout at D:\scoop\apps\flutter\current. Consider adding D:\scoop\apps\flutter\current\bin
      to the front of your path.
    ! Warning: `dart` on your path resolves to D:\scoop\apps\flutter\3.19.6\bin\dart, which is not inside your current
      Flutter SDK checkout at D:\scoop\apps\flutter\current. Consider adding D:\scoop\apps\flutter\current\bin to the
      front of your path.
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.3)
[✓] Android Studio (version 2023.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.1)
[✓] Connected device (4 available)
[✓] Network resources

! Doctor found issues in 1 category.

The reason is that references.add is executed without updating the referencedTypeNames, and then _isUnseenCustomType still uses the old referencedTypeNames, and then the loop is dead.
This can fix the issue
file: generator_tools.dart
method: getReferencedTypes
// before
    final Set<String> referencedTypeNames =
      references.map.keys.map((TypeDeclaration e) => e.baseName).toSet();
    for (final NamedType field in aClass.fields) {
      if (_isUnseenCustomType(field.type, referencedTypeNames)) {
        references.add(field.type, field.offset);
        classesToCheck.add(field.type.baseName);
      }
      for (final TypeDeclaration typeArg in field.type.typeArguments) {
        if (_isUnseenCustomType(typeArg, referencedTypeNames) ) {
          references.add(typeArg, field.offset);
          classesToCheck.add(typeArg.baseName);
        }
      }
    }
// after
    Set<String> referencedTypeNames = _getReferencedTypeNames(references);
    for (final NamedType field in aClass.fields) {
      if (_isUnseenCustomType(field.type, referencedTypeNames)) {
        references.add(field.type, field.offset);
        referencedTypeNames = _getReferencedTypeNames(references);
        classesToCheck.add(field.type.baseName);
      }
      for (final TypeDeclaration typeArg in field.type.typeArguments) {
        if (_isUnseenCustomType(typeArg, referencedTypeNames) ) {
          references.add(typeArg, field.offset);
          referencedTypeNames = _getReferencedTypeNames(references);
          classesToCheck.add(typeArg.baseName);
        }
      }
    }

    Set<String> _getReferencedTypeNames(_Bag<TypeDeclaration, int> references) {
      return references.map.keys.map((TypeDeclaration e) => e.baseName).toSet();
    }

Thanks for the report. I used the given repo and ran the said command with which it gets stuck at below point:

The dart file generated has following:

Labeling this for further investigation from the team.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.19.6, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.19.6 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (6 days ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.22.0-18.0.pre.53, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.22.0-18.0.pre.53 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 098e7e7ff3 (4 hours ago), 2024-04-29 01:25:19 +0000
    • Engine revision 752b146df7
    • Dart version 3.5.0 (build 3.5.0-109.0.dev)
    • DevTools version 2.35.0-dev.16
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

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

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

I've actually already found and fixed this bug in the pr I'm actively working on here https://github.com/flutter/packages/pull/6600, so a working version should be up "soon"

Well, my pr will fix some of the issues, but I don't think it will work still. I'll put up another pr that actually addresses this directly.


Playback control

I'm not sure if I missed anything but how do I set up playback control? I've tried looking in both Apps and Activities.

The apps and activities menu items aren't provided by Gesture Unlock - it's a native Android thing. So, you need to find an app or an activity which can simulate the media control you're looking for - probably Tasker is the best thing to be using for this.
This guide details how, simply create the tasks using Tasker and assign them to a gesture of your choice. Requires some proficiency in using Tasker, so I have not tested it yet.

Ok, one more little detail - I noticed there's an option to disable Fullscreen gesture which basically splits the screen in half, the user then inputs the gesture in the lower part. There's also another interesting feature - Directly show gesture entry. That feature allows to immediately start inputting the gesture to unlock. It also dims the screen as to give a hint that the user should start gesturing.
I use both of those features. Ideally with those options after I wake my phone, the lower part of my screen would be dimmed and would also be the input place while the upper part would NOT be dimmed so I can read the clock and read notifications properly, maybe also control music. However, what actually happens is that the whole screen is dimmed and inactive despite only the lower part being used for unlocking.
So I suggest with Fullscreen gesture disabled and Directly show gesture enabled:

screen would be split to upper and lower part (as it already happens with Fullscreen gesture)

upper part would be normally interactive (read/dismiss notifications, control music) and not dimmed

lower part would normally be the unlock-gesture area

How hard would it be to implement something like that? I personally think that the upper part seems wasted if only the lower one is used for unlocking.

Sounds difficult
But I'll have a look when I get the time. Might not be soon though.
On Tue, May 16, 2017, 5:46 AM LDA-<EMAIL_ADDRESS>wrote:

Ok, one more little detail - I noticed there's an option to disable Fullscreen
gesture which basically splits the screen in half, the user then inputs
the gesture in the lower part. There's also another interesting feature - Directly
show gesture entry. That feature allows to immediately start inputting
the gesture to unlock. It also dims the screen as to give a hint that the
user should start gesturing.
I use both of those features. Ideally with those options after I wake my
phone, the lower part of my screen would be dimmed and would also be the
input place while the upper part would NOT be dimmed so I can read the
clock and read notifications properly, maybe also control music. However,
what actually happens is that the whole screen is dimmed and inactive
despite only the lower part being used for unlocking.
So I suggest with Fullscreen gesture disabled and Directly show
gesture enabled:

screen would be split to upper and lower part (as it already happens
with Fullscreen gesture)
upper part would be normally interactive (read/dismiss notifications,
control music) and not dimmed
lower part would normally be the unlock-gesture area
How hard would it be to implement something like that? I personally think
that the upper part seems wasted if only the lower one is used for
unlocking.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Rijul-Ahuja/GestureUnlock/issues/8#issuecomment-301639680,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf-fRu1mJeIgxTsls82oHPb4A_8OcMEks5r6OrugaJpZM4NaaCh
.

--
Yours sincerely,
Rijul


Navigation and Structure

Re-opening after accidentally closing #325.

@bebraw @SpaceK33z should be good to go, feel free to review again.

There is one thing that is bothering me a bit: if you click on Documentation -> Output, the submenu doesn't expand (showing the options in Output). I have to click on the small arrow icon next to it to expand it.
Note that I tested this with npm run build-test.

Weird, that behavior doesn't work on npm run build-test but does work on the dev-server. I didn't change anything in the Sidebar, this PR was just for the top-level Navigation component and sorting/renaming of articles. I'll take a look though and see if I can figure out what's going on.

It's a problem with the currentPage prop in Sidebar which is somehow not being computed properly on build.

Maybe this issue is related https://github.com/webpack/webpack.js.org/issues/308. I don't know why @bebraw closed it.

Ah, yeah. It's the same issue. Reopened.

Yeah I tried to debug it a bit, with very little luck, the odd thing is the Navigation component is essentially passed the same thing from Site but that url works fine. We could always go back to using window but I think @bebraw was trying to avoid that (which I agree makes sense).
However seeing as this issue is somewhat separate from this PR maybe I can fix the one conflict later today and then merge this? Any Sidebar issues could be tackled all at once when we implement the new design...

@skipjack Yeah, we can resolve it separately. Probably good to do a little session over it when we are both online at the same time.

Sounds good, or if you and @NejcZdovc want to try to resolve it before the redesign PR that's cool too. Either way 👍

So @skipjack, this is good to merge I think? After fixing the merge conflict you can merge it :).


fix quicklog feature

When I refactored the qso.js I broke the quicklog feature. This fixes it.

catched NULL/empty in a direct commit https://github.com/wavelog/wavelog/commit/ea0079917e66bac9e46502a59c48f56ec480e86d


AttributeError: module 'langchain' has no attribute 'verbose'

System Info
274
Mac M2
this error appears often and unexpectedly
but gets solved temporarily by running a force reinstall
pip install --upgrade --force-reinstall --no-deps --no-cache-dir langchain
full error
2023-08-28 08:16:48.197 Uncaught app exception
Traceback (most recent call last):
  File "/Users/user/Developer/newfilesystem/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
    exec(code, module.__dict__)
  File "/Users/user/Developer/newfilesystem/pages/chat.py", line 104, in <module>
    llm = ChatOpenAI(
  File "/Users/user/Developer/newfilesystem/venv/lib/python3.10/site-packages/langchain/load/serializable.py", line 74, in __init__
    super().__init__(**kwargs)
  File "pydantic/main.py", line 339, in pydantic.main.BaseModel.__init__
  File "pydantic/main.py", line 1066, in pydantic.main.validate_model
  File "pydantic/fields.py", line 439, in pydantic.fields.ModelField.get_default
  File "/Users/user/Developer/newfilesystem/venv/lib/python3.10/site-packages/langchain/chat_models/base.py", line 49, in _get_verbosity
    return langchain.verbose

main librairies in the project
requests streamlit pandas colorlog python-dotenv tqdm fastapi uvicorn
langchain openai tiktoken chromadb pypdf
colorlog logger docx2txt
Who can help?
@hwchase17
Information

[ ] The official example notebooks/scripts
[X] My own modified scripts

Related Components

[X] LLMs/Chat Models
[X] Embedding Models
[X] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[X] Document Loaders
[X] Vector Stores / Retrievers
[X] Memory
[X] Agents / Agent Executors
[X] Tools / Toolkits
[X] Chains
[X] Callbacks/Tracing
[ ] Async

Reproduction
intermittent - no pattern
Expected behavior
resolution

This sounds like another dependency might be overwriting your installed version of langchain with a different version.
Next time you encounter this error, before you do the force-reinstall step, could you run a few commands and report their output here?

pip freeze | grep langchain
pip install pipdeptree && pipdeptree --reverse

This will help us figure out why the langchain version is being overwritten and by which other package.

for sure here you go
(venv) user@Mac-Studio newfilesystem % pip freeze | grep langchain
langchain==0.0.275
(venv) user@Mac-Studio newfilesystem % pip install pipdeptree && pipdeptree --reverse

Collecting pipdeptree
  Downloading pipdeptree-2.13.0-py3-none-any.whl (26 kB)
Installing collected packages: pipdeptree
Successfully installed pipdeptree-2.13.0
WARNING: You are using pip version 22.0.4; however, version 23.2.1 is available.
 Thanks for sending that over.
Would you mind adding a few lines of code just before the crashing line in your app and posting what those lines print out when the app crashes?
Add the new code right before this line in your app:
File "/Users/user/Developer/newfilesystem/pages/chat.py", line 104, in <module>
    llm = ChatOpenAI(

Here are the lines to add:
import langchain
print("*** Running langchain version:", langchain.__version__)
print("*** langchain contents:", dir(langchain))

If your app does logging in a way such that print statement output is not captured, feel free to amend the lines to redirect their output as needed to capture it right before the app crashes with the error you posted.

sure thing
here is the output
AttributeError: module 'langchain' has no attribute 'verbose'
*** Running langchain version: 0.0.275
*** langchain contents: ['Anthropic', 'ArxivAPIWrapper', 'Banana', 'BaseCache', 'BasePromptTemplate', 'CerebriumAI', 'Cohere', 'ConversationChain', 'ElasticVectorSearch', 'FAISS', 'FewShotPromptTemplate', 'ForefrontAI', 'GoldenQueryAPIWrapper', 'GoogleSearchAPIWrapper', 'GoogleSerperAPIWrapper', 'GooseAI', 'HuggingFaceHub', 'HuggingFacePipeline', 'HuggingFaceTextGenInference', 'InMemoryDocstore', 'LLMBashChain', 'LLMChain', 'LLMCheckerChain', 'LLMMathChain', 'LlamaCpp', 'MRKLChain', 'Modal', 'OpenAI', 'Optional', 'Petals', 'PipelineAI', 'PowerBIDataset', 'Prompt', 'PromptTemplate', 'QAWithSourcesChain', 'ReActChain', 'SQLDatabase', 'SagemakerEndpoint', 'SearxSearchWrapper', 'SelfAskWithSearchChain', 'SerpAPIChain', 'SerpAPIWrapper', 'StochasticAI', 'VectorDBQA', 'VectorDBQAWithSourcesChain', 'Wikipedia', 'WikipediaAPIWrapper', 'WolframAlphaAPIWrapper', 'Writer', 'all', 'annotations', 'builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec', 'version', 'cache', 'debug', 'document_loaders', 'document_transformers', 'embeddings', 'llm_cache', 'retrievers', 'vectorstores', 'verbose']

Something very very strange is happening here, and I'm sure you can see it too: the langchain contents line lists 'verbose' as one of the attributes that exists on langchain, and yet the AttributeError says module 'langchain' has no attribute 'verbose'.
Could I get you to add one more printing line next to the ones you already added?
print("*** langchain verbose value:", getattr(langchain, "verbose", "<non existent>"))

Also, could you scan your application code to make sure you never do anything like del langchain["verbose"] or something like that? It would be a strange thing to do, but we're in strange territory already so I have to ask 😅

*** langchain verbose value: False
pretty consistently

new intermittent
/Volumes/ScratchDiskNVME/Best_Developer/newfilesystem/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.dict)
File "/Volumes/ScratchDiskNVME/Best_Developer/newfilesystem/pages/chatNEW.py", line 248, in
main()
File "/Volumes/ScratchDiskNVME/Best_Developer/newfilesystem/pages/chatNEW.py", line 244, in main
chat_interface.run_chat()
File "/Volumes/ScratchDiskNVME/Best_Developer/newfilesystem/pages/chatNEW.py", line 148, in run_chat
response = self.process_message(user_query)
File "/Volumes/ScratchDiskNVME/Best_Developer/newfilesystem/pages/chatNEW.py", line 132, in process_message
res = self.agent.run(input=message)
File "/Volumes/ScratchDiskNVME/Best_Developer/newfilesystem/venv/lib/python3.9/site-packages/langchain/chains/base.py", line 480, in run
return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
File "/Volumes/ScratchDiskNVME/Best_Developer/newfilesystem/venv/lib/python3.9/site-packages/langchain/chains/base.py", line 260, in call
callback_manager = CallbackManager.configure(
File "/Volumes/ScratchDiskNVME/Best_Developer/newfilesystem/venv/lib/python3.9/site-packages/langchain/callbacks/manager.py", line 1334, in configure
return _configure(
File "/Volumes/ScratchDiskNVME/Best_Developer/newfilesystem/venv/lib/python3.9/site-packages/langchain/callbacks/manager.py", line 1740, in _configure
debug = _get_debug()
File "/Volumes/ScratchDiskNVME/Best_Developer/newfilesystem/venv/lib/python3.9/site-packages/langchain/callbacks/manager.py", line 87, in _get_debug
return langchain.debug
AttributeError: module 'langchain' has no attribute 'debug'

FYI
pretty much have to run
pip install --upgrade --force-reinstall --no-deps --no-cache-dir langchain
every time when starting the streamlit app.

Is it possible that the app is running inside a different virtualenv than where you added the print statements? I think something like that is the only possible answer here because of the printout value you showed earlier:
*** langchain verbose value: False

This was obtained by reading langchain.verbose, which is the value that the crashing code says doesn't exist. But it clearly exists with value False here, so it has to be the case that the error is coming from some other process which is invoking langchain in a different (probably outdated) virtualenv.
Going back through your previous messages, it seems like there might indeed be two virtualenvs at different paths and with different versions: one in python 3.9 and one in python 3.10.
Could you look through your machine (and your previous messages here) and make sure to run the pip freeze and pipdeptree commands in both virtualenvs? Here are the full commands one more time, for your convenience:
pip freeze | grep langchain
pip install pipdeptree && pipdeptree --reverse

@obi1kenobi Hi, I also enconter this issue, I got verbose= true, but when I initialize an agent, I got AttributeError: module 'langchain' has no attribute 'verbose'
import langchain
print("*** Running langchain version:", langchain.__version__)
print("*** langchain contents:", dir(langchain))
*** Running langchain version: 0.0.239
*** langchain contents: ['Anthropic', 'ArxivAPIWrapper', 'Banana', 'BaseCache', 'BasePromptTemplate', 'CerebriumAI', 'Cohere', 'ConversationChain', 'ElasticVectorSearch', 'FAISS', 'FewShotPromptTemplate', 'ForefrontAI', 'GoldenQueryAPIWrapper', 'GoogleSearchAPIWrapper', 'GoogleSerperAPIWrapper', 'GooseAI', 'HuggingFaceHub', 'HuggingFacePipeline', 'HuggingFaceTextGenInference', 'InMemoryDocstore', 'LLMBashChain', 'LLMChain', 'LLMCheckerChain', 'LLMMathChain', 'LlamaCpp', 'MRKLChain', 'Modal', 'OpenAI', 'Optional', 'PALChain', 'Petals', 'PipelineAI', 'PowerBIDataset', 'Prompt', 'PromptTemplate', 'QAWithSourcesChain', 'ReActChain', 'SQLDatabase', 'SQLDatabaseChain', 'SagemakerEndpoint', 'SearxSearchWrapper', 'SelfAskWithSearchChain', 'SerpAPIChain', 'SerpAPIWrapper', 'StochasticAI', 'VectorDBQA', 'VectorDBQAWithSourcesChain', 'Wikipedia', 'WikipediaAPIWrapper', 'WolframAlphaAPIWrapper', 'Writer', '__all__', '__annotations__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', 'agents', 'cache', 'debug', 'llm_cache', 'verbose']

print("*** langchain verbose value:", getattr(langchain, "verbose", "<non existent>"))
*** langchain verbose value: True

I use langchain V0.0.239, and the code is as following:
from langchain.llms import LlamaCpp
from langchain.agents import load_tools
from langchain.agents import initialize_agent

llms = LlamaCpp(model_path="/home/7B/ggml-model-f16.gguf")
tools = load_tools(["serpapi",], llm=llms)
agent = initialize_agent(tools, llms, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)

the error
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[41], line 1
----> 1 agent = initialize_agent(tools, llms, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)

File ~/anaconda3/envs/langchain/lib/python3.9/site-packages/langchain/agents/initialize.py:57, in initialize_agent(tools, llm, agent, callback_manager, agent_path, agent_kwargs, tags, **kwargs)
     55     agent_cls = AGENT_TO_CLASS[agent]
     56     agent_kwargs = agent_kwargs or {}
---> 57     agent_obj = agent_cls.from_llm_and_tools(
     58         llm, tools, callback_manager=callback_manager, **agent_kwargs
     59     )
     60 elif agent_path is not None:
     61     agent_obj = load_agent(
     62         agent_path, llm=llm, tools=tools, callback_manager=callback_manager
     63     )

File ~/anaconda3/envs/langchain/lib/python3.9/site-packages/langchain/agents/mrkl/base.py:110, in ZeroShotAgent.from_llm_and_tools(cls, llm, tools, callback_manager, output_parser, prefix, suffix, format_instructions, input_variables, **kwargs)
    102 cls._validate_tools(tools)
    103 prompt = cls.create_prompt(
    104     tools,
    105     prefix=prefix,
   (...)
    108     input_variables=input_variables,
    109 )
--> 110 llm_chain = LLMChain(
    111     llm=llm,
    112     prompt=prompt,
    113     callback_manager=callback_manager,
    114 )
    115 tool_names = [tool.name for tool in tools]
    116 _output_parser = output_parser or cls._get_default_output_parser()

File ~/anaconda3/envs/langchain/lib/python3.9/site-packages/langchain/load/serializable.py:74, in Serializable.__init__(self, **kwargs)
     73 def __init__(self, **kwargs: Any) -> None:
---> 74     super().__init__(**kwargs)
     75     self._lc_kwargs = kwargs

File ~/anaconda3/envs/langchain/lib/python3.9/site-packages/pydantic/main.py:339, in pydantic.main.BaseModel.__init__()

File ~/anaconda3/envs/langchain/lib/python3.9/site-packages/pydantic/main.py:1066, in pydantic.main.validate_model()

File ~/anaconda3/envs/langchain/lib/python3.9/site-packages/pydantic/fields.py:439, in pydantic.fields.ModelField.get_default()

File ~/anaconda3/envs/langchain/lib/python3.9/site-packages/langchain/chains/base.py:30, in _get_verbosity()
     29 def _get_verbosity() -> bool:
---> 30     return langchain.verbose

AttributeError: module 'langchain' has no attribute 'verbose'

It's werid that I didn't change anything, and the code could run without error yesterday, but run with error when I reload the LLM model today.

This is very strange, and I haven't been able to replicate this on my end no matter what I try 😞
Any chance you can try to construct a minimal repro that triggers the problem on a clean installation of Python or anaconda, such as inside a Docker container? There's clearly some kind of problem here, but since it's only happening on your end, I'm not able to debug it or even figure out which combination of Python, anaconda, something around the model, or langchain itself is contributing to the issue popping up.

While I still don't know what's causing this, I opened #11311 recently with some refactoring that should make a few of the possible underlying causes go away. After that PR gets merged and released, I'd love your help with testing to see if it perhaps makes this issue go away 🤞
Sorry we haven't been able to get to the bottom of this yet, and thanks for bearing with us as we try to figure out what's going on!

I'm also getting
module 'langchain' has no attribute 'debug'
it happens more often if there are two streamlit front ends open on the same backend.  but it does happen when there is a single one.

can you try putting import langchain at the top of your script? i think theres some funkiness with the way streamlit loads modules. if you make sure to load langchain fully (by just putting import langchain at the top) that usually fixes it

I have a related issue, where using langchain 0.0.311, I always get the following error:
AttributeError: type object 'APIOperation' has no attribute 'from_openapi_url' (although following the path in VS Code clearly shows the code for the attribute)
After removing langchain in my poetry virtualenv and installing specifically langchain=0.0.232, the error disappeared. I chose this version because I'm successfully using it in one of my other projects.

Same issue using langchain 0.1.4 on Windows 10 / CUDA 11.8 / Python 3.10.2.
Errors with attributes debug, verbose, and llm_cache.
llm_cache can't be bool so I cannot just setting it to True or False.

https://github.com/langchain-ai/langchain/issues/2079#issuecomment-1487416187
Found the comment here and found that I'm not a smart man either.😅

Renaming langchain.py to main.py fixed it!

@obi1kenobi the import langchain in get_verbose and get_debug is pulling in the user's langchain module.
➜ echo 'print("this is the wrong langchain")' > langchain.py
➜ poetry run python -c 'from langchain_core.globals import get_verbose; print(get_verbose())'
this is the wrong langchain
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File ".../lib/python3.12/site-packages/langchain_core/globals/__init__.py", line 72, in get_verbose
    old_verbose = langchain.verbose
                  ^^^^^^^^^^^^^^^^^
AttributeError: module 'langchain' has no attribute 'verbose'

this will also happen for get_llm_cache.
the langchain_core/globals/__init__.py code could except AttributeError to protect from this. it could also raise a warning to the user that they're masking the langchain module with their own.
i ran into this because i had a clone of langchain in my current working directory.

the langchain_core/globals/__init__.py code could except AttributeError to protect from this. it could also raise a warning to the user that they're masking the langchain module with their own.

I don't believe this would work. If there's another langchain module that import langchain ends up resolving to, then I think none of the langchain_core code gets executed and there's no way any addition to it could warn or prevent the situation.
It's possible I might be misunderstanding the solution you are proposing? If so, I'd love to see a PR and a test that shows how it would work.

@obi1kenobi something along the lines of https://github.com/langchain-ai/langchain/commit/8d5e110e433152b8cdc94dd0e51c5c5640165451, but w/ support  for debug & llm_cache and maybe better module detection. really we're detecting a problematic user environment and trying to guide them to fix it. the warning should arguably be an informative error.

The user might be running a script like the following:
import langchain

print(langchain.verbose)

Right?
If so, the suggested code you added in langchain_core never gets hit, because langchain_core never gets imported.
The user's import langchain imports the wrong thing and everything goes astray immediately. Nothing in the langchain or langchain_core gets a chance to execute to prevent the problem or warn about it.

you're right, all bets are off if a user does import langchain and get their own module instead of langchain-ai/langchain.
however, i ran into this w/ code that was using import langchain_core and tripping over a langchain/ in my working directory.

Interesting! Will defer to @hwchase17 in that case, since I've been a bit out of the loop on things here and I'm not sure if import langchain_core is an expected pattern for users or if things are generally expected to go via import langchain instead.

I got similar errors while trying to integrate prompt flow and langchain for a project. Precisely, I got AttributeErrors for these attributes: langchain.verbose, langchain.debug, langchain.debug.
In my case, this seems be solveable by extending the exception handling for setting the globals to also catch attribute errors.
https://github.com/langchain-ai/langchain/blob/71d0981f18dd2613261ab72d584b674c0cf180fa/libs/core/langchain_core/globals/__init__.py#L47-L77
Precisely, line 73 would instead be
except (ImportError, AttributeError):

This needs to be at least done for all 3 get functions in that file. I have not tested it a lot, and I am unsure if this has any side effects, but currently it seems to be working for me.

@obi1kenobi the import langchain in get_verbose and get_debug is pulling in the user's langchain module.
➜ echo 'print("this is the wrong langchain")' > langchain.py
➜ poetry run python -c 'from langchain_core.globals import get_verbose; print(get_verbose())'
this is the wrong langchain
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File ".../lib/python3.12/site-packages/langchain_core/globals/__init__.py", line 72, in get_verbose
    old_verbose = langchain.verbose
                  ^^^^^^^^^^^^^^^^^
AttributeError: module 'langchain' has no attribute 'verbose'

this will also happen for get_llm_cache.
the langchain_core/globals/__init__.py code could except AttributeError to protect from this. it could also raise a warning to the user that they're masking the langchain module with their own.
i ran into this because i had a clone of langchain in my current working directory.

Thank you so much!
I have my own langchain folder in my working dir too and python was confused!

Renaming langchain.py to main.py fixed it!

This method works for me


A couple test related improvements.

I don't like the way the file names stutter (e.g. unit/client_unit.py), but py.test really doesn't do a good job of namespacing anything, so...

oh thanks, I also searched the variable name and couldn't find it. need to look carefully; smh

@Izhmash ping

I'm good with all this once jeremy's question is addressed.

Cool, this has two signoffs, merging.


PHP Framework Block

Investigative information
Please provide the following:

UTC Timestamp: Thu, 11 Apr 2019 00:57:10
Migration Tool App version : <IP_ADDRESS>32901
OS Version: Server 2008R2 SP 1

Repro steps
Provide the steps required to reproduce the problem:

Open App Service Migration Tool as Admin on Shared IIS Server with PHP installed
Select simple HTML site for migration not using PHP
Receive Error advising PHP Configuration Detected

Expected behavior
Provide a description of the expected behavior.
I would think that if the actual selected site isn't using PHP then it would be valid for migration, seems to be picking up on PHP installed on the server, there is no reference to PHP in the sites web.config
Actual behavior
Provide a description of the actual behavior observed.
Receive error that PHP Configuration Detected
{"CheckName":"Frameworks","Result":false,"Status":"Block","Title":"Frameworks","Description":"Checks if the site is using unsupported frameworks.","DisplayMessage":"PHP configuration detected","LearnMoreLink":"https://go.microsoft.com/fwlink/?linkid=2084295"},
Known workarounds
Provide a description of any known workarounds.
Uninstall PHP from server? Not viable when running 20 sites on single server

Thanks for reporting this issue!
We only support migrating ASP.NET apps in the current version of the migration assistant. I agree that we can and should be more upfront about the supported and unsupported scenarios.  we will fix that.

Thanks for responding.
I've found that because PHP was installed on the Shared IIS Server it sets index.php and a PHP handler mapping to all sites regardless of if they utilize PHP or not. After removing those references the site is valid to migrate.
Cheers


Figure out the deployment to NuGet

It would be good if it deployed automatically from on of the CI systems. Some open questions:

how to be with versioning?
should every successful build be uploaded?
what about the changelog?

Versioning: probably the best is to use git tags. Anything that is tagged with a version number should get built, tested and released.

It's actually done for now. The release is done by creating a vX.Y.Z tag in repo and pushing it. The CI takes care of the rest, namely creating a GitHub release and pushing a new version to NuGet.


add js_of_ocaml version, requestAnimationFrame is available since v2.6

I compile it with js_of_ocaml, got an error:
File "director.ml", line 406, characters 17-32:
Error: This expression has type Dom_html.window
       It has no method requestAnimationFrame

Update js_of_ocaml will fix it.

Much appreciated!


Support for newer symfony finder 6.x

Hi,
first of all, thank you for this useful package 👍
We cannot install the package because we have a newer Symfony finder version 6.1.3 in the project and your package supports only finder version 4/5.
Can you please add support for symfony/finder 6.x ?
Thank you and have a nice day.

https://github.com/DarkGhostHunter/Preloader/pull/57
https://github.com/DarkGhostHunter/Preloader/pull/64


"This page could not be found" with the default (empty) settings

Version
v6.1.3
Reproduction link
https://github.com/tats-u/nuxt-ts-vuetify-i18n-test
Steps to reproduce
git clone https://github.com/tats-u/nuxt-ts-vuetify-i18n-test.git -b i18n-empty-settings
yarn run dev
chrome http://localhost:3000/
# or firefox http://localhost:3000/

What is expected ?
Page is successfully rendered
or maybe proper error message (e.g. "Prepare translations" or "Set default locales") shown
What is actually happening?
This page could not be found (rendered by Nuxt)
Additional comments?

It works correctly without nuxt-i18n.
Do you update the version selecting pull-down menu?  It stops at v5.3.0.

This bug report is available on Nuxt community (#c299)

Seems to be due to the fact that you haven't specified any locales.
It would probably make sense to just leave original routes if no locales are specified...

Seems to be due to the fact that you haven't specified any locales.

I believe so because because the page was successfully rendered after I set up nuxt-i18n properly.

It would probably make sense to just leave original routes if no locales are specified...

It doesn't matter for me whether nuxt-i18n ignores absence of locales or encourages the developers to set up by raising an error.


can you record only audio?

was looking through the apis, can't tell, but could I just record an Audio stream and save that as an audio file like mp3?

Sorry, that's outside the scope of this module.


Incorrect evaluation result

I get strange results when evaluating this model:
http://vectors.nlpl.eu/repository/10/11.zip
Serial              Dataset       Num Pairs       Not found             Rho

 1         EN-MC-30.txt              30               0         -0.1146
 2     EN-MEN-TR-3k.txt            3000               5          0.2697
 3     EN-MTurk-287.txt             287              10          0.3212
 4     EN-MTurk-771.txt             771               3          0.1994
 5         EN-RG-65.txt              65               0         -0.0006
 6   EN-RW-STANFORD.txt            2034             947          0.3325
 7    EN-SIMLEX-999.txt             999               2         -0.0299
 8      EN-VERB-143.txt             144              58          0.0305
 9    EN-WS-353-ALL.txt             353               0          0.2661
10    EN-WS-353-REL.txt             252               0          0.2858
11    EN-WS-353-SIM.txt             203               0          0.2514
12        EN-YP-130.txt             130               0          0.1524

The SimLex-999 score is negative, while gensim evaluation of the same model yields a score of 0.4189 with SimLex-999. Am I doing something wrong, or is there a bug somewhere?

Was this resolved?
I just tried it out with glove vectors and these are the results
`
Serial              Dataset       Num Pairs       Not found             Rho
 1     EN-MEN-TR-3k.txt            3000               0          0.2485
 2         EN-MC-30.txt              30               0          0.0142
 3     EN-MTurk-771.txt             771               0          0.2482
 4    EN-SIMLEX-999.txt             999               0          0.1687
 5      EN-VERB-143.txt             144               0          0.1959
 6        EN-YP-130.txt             130               0          0.1269
 7   EN-RW-STANFORD.txt            2034              29          0.2241
 8         EN-RG-65.txt              65               0          0.0148
 9    EN-WS-353-ALL.txt             353               0          0.1375
10    EN-WS-353-SIM.txt             203               0          0.1802
11    EN-WS-353-REL.txt             252               0          0.0994
12     EN-MTurk-287.txt             287               0          0.2995
13  EN-SimVerb-3500.txt            3500               0          0.0798`


Support APIv2

Remove support APIv1
Remove domain_token because dnsimple doesn't support this type of auth
Support APIv2
Add backward compatibility
Fix tests
Add fields ratelimit_limit, ratelimit_remaining, ratelimit_reset as documented here
Add account_id kwarg which need only if you use user token
Update requests version and pytest

@onlyhavecans ping


Want to Add Plank Game #2565

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes:  #2565

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[X ] I have made this from my own
[X ] I have taken help from some online resourses
[X ] My code follows the style guidelines of this project
[X ] I have performed a self-review of my own code
[X ] I have commented my code, particularly in hard-to-understand areas
[X ] I have made corresponding changes to the documentation
[X ] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

How many points you earned from my repo? 150 crossed? @nishant0708

Yeah done mam


Add mana field to outputs - python

[x] Basic
[x] NFT
[x] Account

Closed by https://github.com/iotaledger/iota-sdk/pull/1177


Update README with deployment models

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

Comparison is base (2faff03) 5.23% compared to head (0784af6) 5.23%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@          Coverage Diff          @@
##            main     #64   +/-   ##
=====================================
  Coverage   5.23%   5.23%
=====================================
  Files          1       1
  Lines        191     191
=====================================
  Hits          10      10
  Misses       181     181

Flag
Coverage Δ

unbound_exporter_tests
5.23% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Wire up create boundary

Overview
This PR adds endpoints, serializers, and views for the File Upload/Create Boundary page.
Closes #129
Notes
My attempt at converting a shape file to GEOSPolygon:
with NamedTemporaryFile(delete=False) as f:
    f.write(shapefile.read())
    temp_filename = f.name

real_filename = path.join(gettempdir(), '{}.shp'.format(time_ns()))
shutil.copyfile(temp_filename, real_filename)

ds = DataSource(real_filename) # fails here, can't read file

if ds.layer_count == 0:
    self.fail('no_layers')

layer = ds[0]
if layer.geom_type != 'Polygon':
    self.fail('invalid_geom_type', geom_type=layer.geom_type)

polygon = layer.get_geoms(geos=True)[0]

remove(real_filename)

Testing Instructions

Log out if logged in
Go to http://localhost:4545
Log in as<EMAIL_ADDRESS>Open network tab
Click through to file upload
Try upload some reference image files
After clicking continue, you should be taken to the draw page
Check get boundary details request

[ ] Ensure reference image meta data for your uploaded files was returned

Checklist

[ ] fixup! commits have been squashed
[ ] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines
[ ] README.md updated if necessary to reflect the changes
[ ] CI passes after rebase

Taking a look at the approach. Will take a formal look once the conflicts have been resolved.

Taking another look

Let's defer ingesting shapefiles into PostGIS geometries until #81

One final thing I'd request looking in to is disabling the "Review and submit" and "Save and back" buttons if the boundary has no shape, to discourage the user from navigating away without a shape.

Can we defer this to #154? It would be easier to implement with the draw context.

Yes that sounds good!


Allow the constructor for TargetRustInfo to allow Optional[str] instead of [str] for rustc_version and rustc_commit_hash

Rust developers can set the Rust standard library path to a different path that does not contain the rustc commit ID. When parsing a binary of this sort, the get_rustc_commit function attempts to return a tuple of (None, None).
When this tuple is returned, Pydantic is unhappy with this result, as the constructor for TargetRustInfo expects these fields to be a string, which causes an error.
This commit changes the type of the rustc_version and rustc_commit_hash variables to allow for None types. This is useful when analyzing malware samples without a rustc commit hash in the library path, allowing for crate information to still be displayed.

Thanks for this PR.
I had never encountered such malware before, nice catch. If you can share the sample, I would be happy to give it a look at.


Wrong elapsed time shown by Duration in accesslog

Do you want to request a feature or report a bug?
Bug
What did you do?
I want to know requests elapsed time.
What did you expect to see?
a time like my browser shown
$ time curl -vo /dev/null http://bxr.eduwxt.com/dmc/index.26938449.css
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying <IP_ADDRESS>...
* Connected to bxr.eduwxt.com (<IP_ADDRESS>) port 80 (#0)
> GET /dmc/index.26938449.css HTTP/1.1
> Host: bxr.eduwxt.com
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Content-Length: 418399
< Content-Type: text/css
< Date: Thu, 14 Jun 2018 01:37:43 GMT
< Etag: "5b20fd0e-6625f"
< Last-Modified: Wed, 13 Jun 2018 11:16:30 GMT
< Server: nginx/1.15.0
<
{ [12492 bytes data]
100  408k  100  408k    0     0  8798k      0 --:--:-- --:--:-- --:--:-- 8693k
* Connection #0 to host bxr.eduwxt.com left intact

real    0m0.055s
user    0m0.004s
sys     0m0.004s

What did you see instead?
a large number shown by Duration in accesslog
"4th 2018, 09:37:44.004 bxr.eduwxt.com" "GET /dmc/index.26938449.css HTTP/1.1" "200" "24,534,228" "220,354"

Duration:24,534,228
Output of traefik version: (What version of Traefik are you using?)

Version:      v1.6.3
Codename:     tetedemoine
Go version:   go1.10.2
Built:        2018-06-05_03:29:01PM
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?
 defaultEntryPoints = ["http", "https"]
    [entryPoints]
      [entryPoints.http]
      address = ":80"
      [entryPoints.https]
      address = ":443"
      [entryPoints.https.tls]
        [[entryPoints.https.tls.certificates]]
        certFile = "/etc/traefikssl/1_bxr.eduwxt.com_bundle.crt"
        keyFile = "/etc/traefikssl/2_bxr.eduwxt.com.key"
      [entryPoints.secure]
      address = ":8443"
      [entryPoints.secure.tls]
        [entryPoints.secure.tls.ClientCA]
        files = ["/etc/traefikssl/clientca.crt"]
        optional = false
        [[entryPoints.secure.tls.certificates]]
        certFile = "/etc/traefikssl/bxr.cn.crt"
        keyFile = "/etc/traefikssl/bxr.cn.key"
    [accessLog]
    filePath = "/accesslog/access.log"
    format = "json"
    [metrics]
      [metrics.prometheus]
        entryPoint = "traefik"
        buckets=[0.1,0.3,1.2,5.0]

If applicable, please paste the log output in DEBUG level (--logLevel=DEBUG switch)
(paste your output here)

I think the duration is right here. Mind that the duration in the Traefik logs is a value in nanoseconds. So the value 24,534,228 is actually 24.5 microseconds. This is the duration that the backend needs to respond as perceived by Traefik. So you still have to add the roundtrip latency to your running Trafik instance to get the same as the overall time from your curl. The overall time of about 55 microseconds fits into that.

I'm closing the issue as I think there is no problem. Pleas  re-open if desired.

@marco-jantke thanks

@marco-jantke This would be useful to document.  Many timing logs are written in milliseconds, not microseconds/nanoseconds.
This is confusing because other configurations refer to ms: https://docs.traefik.io/configuration/logs/#toml
And the available fields doesn't reference this at all:  https://docs.traefik.io/configuration/logs/#list-of-all-available-fields


fix: memoization of boolean values.

Description
Fixes memoization of boolean values. Previously memoization worked only when value was true.
Compatibility

OS
Implemented

iOS
✅

Android
✅

Windows
✅

Checklist

[ ] I have tested this on a device/simulator for each compatible OS
[ ] I added the documentation in README.md
[X] I mentioned this change in CHANGELOG.md
[ ] I updated the typings files (privateTypes.ts, types.ts)
[ ] I added a sample use of the API (example/App.js)

This looks good! Sorry for the delay, things are a little crazy right now, no? I appreciate the changelog edit also, that helps me out. Hoping for a release shortly


[dask] add cv() function

Summary
As of this writing, lightgbm.dask only supports  model classes that mimic the scikit-learn API. It should also support a function, equivalent to lightgbm.engine.cv.
https://github.com/microsoft/LightGBM/blob/36322ceeae1912f15ebb005c77cd9bf416087e78/python-package/lightgbm/engine.py#L391
Because cv() expects to be given a LightGBM Dataset object, this also implies creating a new class lightgbm.dask.DaskDataset. cv() should take in train_set as a lightgbm.dask.DaskDataset, and should return a regular LightGBM Booster.
Motivation
Having a functional interface would make the transition from non-Dask to Dask easier for users who are already using lightgbm.engine.cv).
References
See the DaskDMatrix in xgboost.dask for some inspiration on how DaskDataset might be implemented.
https://github.com/dmlc/xgboost/blob/a275f4026728ed14fbc70da142ef7a4a1d3de04d/python-package/xgboost/dask.py#L181-L186
DaskDataset may be implemented outside of this feature, to support #3846

Closing this in favor of putting it in #2302 with other feature requests. Comment below if you'd like to work on this, and it can be re-opened.

Closing this in favor of putting it in #2302 with other feature requests. Comment below if you'd like to work on this, and it can be re-opened.


Generate updated homebrew configuration for new versions

Thanks to a PR raised by @colindean, there is a formula in Homebrew for installing adr-viewer, and it is pinned against specific versions of the dependencies for that version of the project.
Upon release of a new non-RC version of adr-viewer, the project should be able to generate an updated formula so a PR can be raised against homebrew-core pointing to the latest changes.

brew bump-formula-pr might do the trick here. I think that's the first thing


Climber fixes

Adds solenoid to climber and puts updateInputs in periodic

Changed to NEOs, refer to split climber


fix(clusters): backfill json columns

Changes

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1015  👈
#1011
#1010
#1009
#1008
#1000
#1007
#1001
#999
#998
#996
#995
#988
#986
#974
#987
#977
#965
#964
#963
#962
#957
#956
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MasterPtato and the rest of your teammates on  Graphite


2.6.2 npm package works, but 2.6.2 tag doesn't

I found issues when trying to test out the fix to #591 on an Angular 6 project. I tracked down an issue that demonstrates that the 2.6.2 npm package works fine, but the 2.6.2 tag does not.
The issue present in the 2.6.2 tag seem to be present in the latest master.
Expected Behavior
I would have expected both the 2.6.2 tag and npm package to work the same.
Actual Behavior
There appears to be difference between the 2.6.2 npm package and the 2.6.2 tag. Here's a screenshot to demonstrate:

The code that produces this is:
const croppieOptions: CroppieOptions = {
  viewport: { width: 250, height: 250, type: this.shape },
  boundary: { width: 310, height: 310 },
};

this._croppie = new Croppie(this._croppiePortal.nativeElement, croppieOptions);
this._croppie.bind({
  url: this.srcUrl
});

Where srcUrl is the data url for a user-selected image. There are no errors logged.
Steps to Reproduce the Problem
Right now, I've dropped this into our Angular project.

If you install<EMAIL_ADDRESS>into a project that uses npm  and bind an image it will work.
Next, install croppie from the 2.6.2 tag on the same project and watch it no longer work.

Example Link
TBD
Specifications

Browser:
Version:

_ may be doing something naive and terribly wrong. There appear to be no changes to croppie.js or croppie.min.js between the tag and the tarball up on npm. Sigh.

Okay, so this is not a real issue. It appears that installing from Git or filesystem directly will cause the issue. But if you run npm pack on the checkout and then install the tarball directly then everything is okie dokie.
@thedustinsmith, out of curiosity, do you know enough about npm to know why this might be?
I'm going to go ahead and close this as it's appears to be a non-issue on Croppie's part and a misunderstanding on my part.

Off the top of my head, I have no idea.  How exactly are you installing the 2.6.2 tag?

I had cloned the project locally and then tried to install from the file-system:
npm install --save /path/to/local/checkout/of/Croppie

I noticed this created a symlink of node_modules/croppie -> /path/to/local/checkout/of/Croppie. I then checked out the tag and restarted my application.
it looks like installing from file-path is a bad idea. I installed a tarball from Github just now as a test and that works fine:
# works fine
npm install --save https://github.com/zdennis/Croppie/tarball/v2.6.2

# works fine
npm install --save https://github.com/zdennis/Croppie/tarball/master

You need to re-link the file after checking it out locally :) You probably had the old file linked.


Slivers support

Hi,
How to use InfiniteGroupedList with Slivers to perform floating appbar for example?
Looks like only the first header interact with floating AppBar while scrolling...
Thank you!

Hello @SirojiddinBoltayev,
Thanks for using the library and taking the time to open the issue.
I'll look into it, I haven't used it with Slivers in my use cases so can't say how much time will take to refactor.
Will get back at you as soon as possible.
Cheers.


Maritime Decision Aid Tools need tests written

Maritime Decision Aid Tools need tests written for the following tools:

[ ] Distance Of Horizon
[ ] Farthest On Circle

Added to Asana - https://app.asana.com/0/23179693844547/23186355169329


Update Terraform grafana to v1.25.0

This PR contains the following updates:

Package
Type
Update
Change

grafana (source)
required_provider
minor
1.24.0 -> 1.25.0

Release Notes

grafana/terraform-provider-grafana
v1.25.0
Compare Source
What's Changed

Pause running the failing test for datasource_permission resource by @vtorosyan in https://github.com/grafana/terraform-provider-grafana/pull/522
Bump github.com/grafana/synthetic-monitoring-agent from 0.9.1 to 0.9.3 by @dependabot in https://github.com/grafana/terraform-provider-grafana/pull/526
Grafana role resource: Use correct description when updating a role by @vtorosyan in https://github.com/grafana/terraform-provider-grafana/pull/519
Bump github.com/hashicorp/terraform-plugin-docs from 0.9.0 to 0.10.1 by @dependabot in https://github.com/grafana/terraform-provider-grafana/pull/527
RBAC - Add new fields for managing grafana_role resource by @vtorosyan in https://github.com/grafana/terraform-provider-grafana/pull/495
Grafana oncall better provider docs by @Konstantinov-Innokentii in https://github.com/grafana/terraform-provider-grafana/pull/525
Add resource and datasource for OnСall outgoing webhook by @Ferril in https://github.com/grafana/terraform-provider-grafana/pull/530
Add retries on the gcloud client by @julienduchesne in https://github.com/grafana/terraform-provider-grafana/pull/537
Tests: Wait for cloud instance to become ready by @julienduchesne in https://github.com/grafana/terraform-provider-grafana/pull/538
Bump github.com/hashicorp/terraform-plugin-docs from 0.10.1 to 0.12.0 by @dependabot in https://github.com/grafana/terraform-provider-grafana/pull/544
NOOP: Various small code formatting and shell script cleanup tasks by @mdb in https://github.com/grafana/terraform-provider-grafana/pull/545
Small provider authentication docs improvements by @mdb in https://github.com/grafana/terraform-provider-grafana/pull/548
Adding grafana_alerting as a type to grafana_oncall_integration resource by @ishanjainn in https://github.com/grafana/terraform-provider-grafana/pull/552
grafana_organization data source returns member user data  by @mdb in https://github.com/grafana/terraform-provider-grafana/pull/551
Bump github.com/hashicorp/terraform-plugin-docs from 0.12.0 to 0.13.0 by @dependabot in https://github.com/grafana/terraform-provider-grafana/pull/555
Bump github.com/grafana/amixr-api-go-client from 0.0.3 to 0.0.4 by @dependabot in https://github.com/grafana/terraform-provider-grafana/pull/556
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.17.0 to 2.18.0 by @dependabot in https://github.com/grafana/terraform-provider-grafana/pull/554
Fix modifying of default route on integration create by @Konstantinov-Innokentii in https://github.com/grafana/terraform-provider-grafana/pull/546
Bump grafana/grafana-api-golang-client to v0.8.0 by @alexweav in https://github.com/grafana/terraform-provider-grafana/pull/559
Update Grafana versions by @julienduchesne in https://github.com/grafana/terraform-provider-grafana/pull/550
Alerting: Add support for Unified Alerting message templates by @alexweav in https://github.com/grafana/terraform-provider-grafana/pull/532
add initial, basic grafana_annotation resource by @mdb in https://github.com/grafana/terraform-provider-grafana/pull/558
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.18.0 to 2.19.0 by @dependabot in https://github.com/grafana/terraform-provider-grafana/pull/561
add golangci-lint Make command by @mdb in https://github.com/grafana/terraform-provider-grafana/pull/564
Longer Cloud Stack readiness timeout by @julienduchesne in https://github.com/grafana/terraform-provider-grafana/pull/574
Bump github.com/grafana/grafana-api-golang-client from 0.9.0 to 0.9.1 by @dependabot in https://github.com/grafana/terraform-provider-grafana/pull/569
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.19.0 to 2.20.0 by @dependabot in https://github.com/grafana/terraform-provider-grafana/pull/575
Synthetic Monitoring: Restrict invalid labels by @julienduchesne in https://github.com/grafana/terraform-provider-grafana/pull/576

New Contributors

@ishanjainn made their first contribution in https://github.com/grafana/terraform-provider-grafana/pull/552
@alexweav made their first contribution in https://github.com/grafana/terraform-provider-grafana/pull/559

Full Changelog: https://github.com/grafana/terraform-provider-grafana/compare/v1.24.0...v1.25.0

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

removed myself as reviewer


ngOptions duplicates when used with group by

Hi,
When using ngOptions with expression using group by, every option appears twice in select.
Bug was found in IE9/10/11, with angular 1.4.8. Was working with previous versions and doesn't seem to be fixed in 1.5.0.
Here's a plunker : http://plnkr.co/edit/#!/cItCfLj6UvwDumzqxZnk?p=preview
Best regards.

Thanks for the report. This is already fixed and will be available in 1.4.9 and 1.5.0-rc.1


build(web): update web deps

I think "chore(web)" would be a more fitting name.
Were the node updates intentional, as you use more recent but not LTS nodeJS versions in the Dockerfiles? Otherwise looks good.

we checked this in conventional commits and it explicitly says build

we checked this in conventional commits and it explicitly says build

Alright, then please add this word to .chglog/config.yml , so it can show up at the next release!

Ready to review? @m8vago

nope, still in progress, as the pipeline fails


evm_revert do not revert clock

Expected Behavior
  `method: 'evm_revert'`

Should revert clock of blickchain to the time from snapshot it is reverting to
and ignore all increaseTimeTo invoked after snapshot has been made
Current Behavior
if i call
    web3.currentProvider.sendAsync({       jsonrpc: '2.0',       method: 'evm_snapshot',       id: id,     }, (err1,res) => {       if (err1) return reject(err1);       return resolve(res);     });   });
then I call
increaseTimeTo
and then
    web3.currentProvider.sendAsync({       jsonrpc: '2.0',       method: 'evm_revert',       params:[snapId],       id: id,     }, (err1,res) => {       if (err1) return reject(err1);       return resolve(res);     })
Time is equal to the one set in latest increaseTimeTo
Context
As It works now it makes impossible to write set of mutually independent tests all testing time dependent bechaviour.
Your Environment
truffle version
Truffle v4.1.13 (core: 4.1.13)
Solidity v0.4.24 (solc-js)

Thanks for raising this, @adamskrodzki! We fixed this issue already in ganache-core, and it has been repaired for several releases. If you're still experiencing the problem when using truffle develop on the latest version of truffle, it's likely because truffle hasn't been updated to use latest ganache-cli in a while. I'll bring this to their attention.
Otherwise there's nothing left to be done in ganache-core, so I'm going to close this issue.


Add TriumphMayflowerClub.com to list of READMEs

The repository README being recommended:
https://www.github.com/Stack-in-a-box/triumphmayflowerclub.com#readme

Awesome @andidavies92! Sorry it took me so long to see and approve this!

Fantastic, thank you 😃✌


flutter_quill_extensions  is not working in android

Is there an existing issue for this?

[X] I have searched the existing issues

The question
Following pub version I'm using . We are not getting any error but not able to write anything .
Below is the code snippet
QuillRichTextEditor(
  width: double.infinity,
  padding: EdgeInsets.symmetric(
     horizontal: Sizes.L.getValue(),
     vertical: Sizes.S.getValue()),
  height: 180.0,
  borderColor: KeyTheme.of(context).borderColor,
  fontColor: KeyTheme.of(context).tertiaryText,
  borderWidth: 2.0,
  fontSize: 15.0,
  borderRadius: 12.0,
  hintText: StringConst.eventDescriptionHint,
  hintTextColor: KeyTheme.of(context).textHintColor,
  initialText: eventDescription,
  controller: quillControllerEventDesc,
  onValueChanged: (quillResult) async {},
)

  flutter_quill: 9.3.12
  dart_quill_delta: 9.3.21
  flutter_quill_extensions: 9.3.4
  flutter_quill_test: 9.3.4
  vsc_quill_delta_to_html: ^1.0.5

I guess QuillRichTextEditor is your own custom widget. Do you already pass embedBuilders list from FlutterQuillEmbeds to your QuillEditorConfigurations?
Here is a code example of the embedBuilder param:
QuillEditorConfigurations(
  embedBuilders: [
     ...(isWeb()
     ? FlutterQuillEmbeds.editorWebBuilders()
     : FlutterQuillEmbeds.editorBuilders(),
  ]
);

Not related to the issue, though we recommend using the same version for all packages from this repository for better compatibility, we might import some non public API from flutter_quill in flutter_quill_extensions or do some internal breaking changes that cause build failure, even if you don't have any built failure, some fixes require changes from both packages.
Regarding the fix, try the suggestion above, and let's know if the issue persists.

flutter_quill_extension

Added this param still issue persist in android . After updating to the latest version getting below error.
`
======== Exception caught by widgets library =======================================================
The following assertion was thrown building QuillEditorBuilderWidget:
A GlobalKey was used multiple times inside one widget's child list.
The offending GlobalKey was: [LabeledGlobalKey#28eb4]
The parent of the widgets with that key was: QuillEditorBuilderWidget
The first child to get instantiated with that key became: QuillRawEditor-[LabeledGlobalKey#28eb4]
dirty
dependencies: [DefaultTextStyle, _InheritedTheme, _LocalizationsScope-[GlobalKey#f7ec3]]
state: QuillRawEditorState#8cdd5(lifecycle state: initialized, tickers: tracking 2 tickers)
The second child that was to be instantiated with that key was: QuillEditorBuilderWidget
A GlobalKey can only be specified on one widget at a time in the widget tree.
The relevant error-causing widget was:
`
In my scenario have to use 3 quill editor in the single screen . So I have added key UniqueKey() all the 3 quilleditor. Below is the code snippet .
QuillRichTextEditorV2(                    key: UniqueKey(),                   readOnly: false,                   quillControllerEdit: quillControllerEditAdd,                   scrollController: editorScrollControllerEdiAdd,                   buildContext: context,                   editorFocusNode: editorFocusNodeEditAdd,                   onImagePickCallback: _onImagePickCallback),

Any update on the above mentioned issues?


update BA site location for Admiralty Inlet, WA

From Sharon:

All  I finally looked at the BA mapping and found at least 1 that is a tad off.  The snopud marker should be down near that dotted line by Admiralty inlet its along the ferry route (dotted line) closer to the “I” in inlet. Pretty minor I know but I said I would check!

Updated with:

Created new marker in Google Maps along dashed ferry route shifted from original Admiralty Inlet - Google Maps.
Updated lat, lon cells for both Admiralty Inlet rows in ba-docs - Google Sheets
Ran update_ba() in scripts/update_all.R: https://github.com/marineenergy/apps/blob/19af11c6ebccde14ff1247f3c5598dd3a1e064e7/scripts/update_all.R#L1-L23

OLD

NEW


ARROW-1974: Fix creating Arrow table with duplicate column names

Thanks for doing this. Will review shortly

Unfortunately this doesn't seem sufficient. If I add the following test, I get an error and a crash:
diff --git a/src/parquet/arrow/arrow-reader-writer-test.cc b/src/parquet/arrow/arrow-reader-writer-test.cc
index 72e65d4..eb5a8ec 100644
--- a/src/parquet/arrow/arrow-reader-writer-test.cc
+++ b/src/parquet/arrow/arrow-reader-writer-test.cc
@@ -1669,6 +1669,27 @@ TEST(TestArrowReadWrite, TableWithChunkedColumns) {
   }
 }

+TEST(TestArrowReadWrite, TableWithDuplicateColumns) {
+  using ::arrow::ArrayFromVector;
+
+  auto f0 = field("duplicate", ::arrow::int8());
+  auto f1 = field("duplicate", ::arrow::int16());
+  auto schema = ::arrow::schema({f0, f1});
+
+  std::vector<int8_t> a0_values = {1, 2, 3};
+  std::vector<int16_t> a1_values = {14, 15, 16};
+
+  std::shared_ptr<Array> a0, a1;
+
+  ArrayFromVector<::arrow::Int8Type, int8_t>(a0_values, &a0);
+  ArrayFromVector<::arrow::Int16Type, int16_t>(a1_values, &a1);
+
+  auto table = Table::Make(schema,
+                           {std::make_shared<Column>(f0->name(), a0),
+                            std::make_shared<Column>(f1->name(), a1)});
+  CheckSimpleRoundtrip(table, table->num_rows());
+}
+
 TEST(TestArrowWrite, CheckChunkSize) {
   const int num_columns = 2;
   const int num_rows = 128;

Ok, the reason for the error is that a similar pattern needs fixing in SchemaDescriptor. Updating shortly.

@cpcloud @pitrou we may want to bump parquet-cpp in conda-forge to pick up this patch at some point


updated Valid Email API

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is ordered alphabetically
[x] My submission has a useful description
[x] The description does not have more than 100 characters
[x] The description does not end with punctuation
[x] Each table column is padded with one space on either side
[x] I have searched the repository for any relevant issues or pull requests
[x] Any category I am creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

Their docs says it needs an API key, so are you sure about these changes?

I noticed that there are two different endpoints to use, one that requieres an API key (/validate), and another one that doesn’t (/free-validation).Both endpoints seem to return the same response.I guess if one can make use of the service without an API key, then it should say that it doesn’t necessarily require one.On 28 May 2024, at 7:49 AM, Marcel Cruz @.***> wrote:
Their docs says it needs an API key, so are you sure about these changes?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Separate serializer/materializer into basic/object

A basic serializer/materializer needs to be usae throughout the system whenever primitives need to be read/write

@MarcusDenker I'm not sure if we need to separate the serializers into basic and full serializer. The alternative would be to make those methods that are basic to class side methods


Porterpad

Ready to submit your project? Nice job! Hopefully you've read the submission guidelines. If not, make sure to read them first.
If you're unsure about the format, make sure to check out the Orpheuspad example and follow the format there.
If this PR isn't a submission, that's okay too! If there's anything about this PR template that seems confusing, let me know in #hackpad on the slack!

I would also like to hand solder everything

Super neat stuff! You forgot to add bolts to your BOM, if you would like to request them, there is a box for you to request extra components. Get your hackpad here! https://forms.hackclub.com/hackpad


A hint of the full name and preferably addresses

CSS theme Why did you turn off the hint of the full name of the tab, if it is cut in the preview, not like in Chrome (there is a complete name)? Plus, I added the address in the name.

@PhoenixIndigo There's a compromise bound to be made. When the title name is short and not cut in the tab preview panel, the default tooltip is pure redundancy. But at the same time, it's quite impractical to make the tab title roll across when it's too long.

You do not hint at adding excess TitleBar instead of tips that I consider irreplaceable?

In addition, the tabs after the tenth also need to be presented?

In addition, the tabs after the tenth also need to be presented

I’ll say letting the preview panel adjust its size dynamically is difficult with the available API, so is balancing the performance whilst increasing the amount of the tab previews. But please don’t interpret it as I do not want to improve the add-on & CSS theme pack. Making the full tab title & URL visible and more tab previews available is undoubtedly ideal, just there are comprises to be made at the moment.
Any way, thank you for trying out the project and giving the suggestions. I’ll close the issue for now.


Call to undefined method Laravel\Lumen\Application::terminating()

How do you use Sentry?
Self-hosted / on-premises
SDK version
4.1
Steps to reproduce
When I use tracing to report data I get this error.
I use lumen. lumen version is v8.2.3
  Uncaught Error: Call to undefined method Laravel\Lumen\Application::terminating() in /Users/summer/Docker/www/x/vendor/sentry/sentry-laravel/src/Sentry/Larave
  l/Tracing/Middleware.php:141
  Stack trace:
  #0 /Users/summer/Docker/www/x/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(144): Sentry\Laravel\Tracing\Middleware->terminate(Object(Illumin
  ate\Http\Request), Object(Illuminate\Http\Response))
  #1 [internal function]: Laravel\Lumen\Application->callTerminableMiddleware(Object(Illuminate\Http\Response))
  #2 /Users/summer/Docker/www/x/vendor/hhxsv5/laravel-s/src/Illuminate/ReflectionApp.php(61): ReflectionMethod->invoke(Object(Laravel\Lumen\Application), Object
  (Illuminate\Http\Response))
  #3 /Users/summer/Docker/www/x/vendor/hhxsv5/laravel-s/src/Illuminate/Laravel.php(151): Hhxsv5\LaravelS\Illuminate\ReflectionApp->callTerminableMiddleware(Obje
  ct(Illuminate\Http\Response))
  #4 /Users/summer/Docker/www/x/vend

vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Middleware.php

I found that lumen version 9.x has this method. https://github.com/laravel/lumen-framework/blob/9.x/src/Application.php
A temporary workaround is to change the configuration in `sentry.php
    // Performance monitoring specific configuration
    'tracing' => [
        // Configures if the performance trace should continue after the response has been sent to the user until the application terminates
        // This is required to capture any spans that are created after the response has been sent like queue jobs dispatched using `dispatch(...)->afterResponse()` for example
        'continue_after_response' => env('SENTRY_TRACE_CONTINUE_AFTER_RESPONSE', false),
    ],

Do we need to update Lumen's documentation to avoid errors for others.? Or there are more elegant ways to deal with it

The terminating was add in Lumen 9.1.4 even (with laravel/lumen-framework#1253) so not every 9.x release has it.
We should probably detect the missing terminating method and fallback to finish the transaction immediately if it's missing and thus not supported.

I've opened #815 to fix this!

Fixed in 4.1.1


TypeError: methods is null when using

Describe the bug
After the initial installation of the library and the DevTool, and a simple setup from the docs, this error gets shown:

With the [TS] V7 I get a different error getValues is not a function.
https://codesandbox.io/s/eager-sun-jt4df?file=/package.json:169-177
V7

JS Template
TS Template

V6

JS Template
TS Template

Expected behavior
No error should be thrown.
Desktop (please complete the following information):

OS: Windows 10
Browser: Firefox
Version: 89
@hookform/devtools: next
react-hook-form: 7.8.3

doesn't look like you are using the right version in the csb?

The version was the problem in both situations csb and local.
When following the instructions, it direct to installing the "next" version, which, for me installed a release candidate.

Once I've installed the latest 3.1.0, things started working.
Perhaps it would make sense correcting the documentation to be more precise, which will not lead to this kind of errors.


Author/main

Author is in a stable position!
Features

[ ] You can add yourself as an author to an article if you are associated as an author
[ ] Adding yourself as an author re-renders the home page, removing the button and updating the author list
[ ] The article gets added to your author page
[ ] Marking as read does not cause a crash or the author list to un-render

Has unresolved conflicts. PR is not valid anymore.


Custom view does not appear on OS 11.3/iPhone-X

Loading a custom view from a nib does not appear when called with SwiftEntryKit.display(...)
Steps to reproduce the behavior:

Write custom view and load from nib like in the demo app
Define attributes like in the demo app
call SwiftEntryKit.display(entry: MyView(), using: attributes)
-> nothing appear

Expected behavior
the view should appear
iPhone (please complete the following information):

Device: iPhone-X
iOS Version: 11.3
Xcode Version 9.4
Dependency Manager Version CocoaPods 1.5.2
SwiftEntryKit Release # 0.5

Source
class EditExpenseView: UIView {
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
setup()
}
init() {
    super.init(frame: .zero)
    setup()
}

private func setup() {
    fromNib()
    clipsToBounds = true
    layer.cornerRadius = 5
}

}
extension NSObject {
var className: String {
return String(describing: type(of: self))
}
class var className: String {
    return String(describing: self)
}

}
extension UIView {
@discardableResult
func fromNib<T : UIView>() -> T? {
    guard let contentView = Bundle(for: type(of: self)).loadNibNamed(type(of: self).className, owner: self, options: nil)?.first as? T else {
        return nil
    }
    addSubview(contentView)
    contentView.fillSuperview()
    return contentView
}

}
    var attributes: EKAttributes

    attributes = .bottomFloat
    attributes.hapticFeedbackType = .success
    attributes.displayDuration = 3
    attributes.screenBackground = .clear
    attributes.entryBackground = .clear
    attributes.screenInteraction = .forward
    attributes.entryInteraction = .absorbTouches

    attributes.entranceAnimation = .init(translate: .init(duration: 0.5, spring: .init(damping: 0.9, initialVelocity: 0)),
                                         scale: .init(from: 0.8, to: 1, duration: 0.5, spring: .init(damping: 0.8, initialVelocity: 0)),
                                         fade: .init(from: 0.7, to: 1, duration: 0.3))
    attributes.exitAnimation = .init(translate: .init(duration: 0.5),
                                     scale: .init(from: 1, to: 0.8, duration: 0.5),
                                     fade: .init(from: 1, to: 0, duration: 0.5))
    attributes.popBehavior = .animated(animation: .init(translate: .init(duration: 0.3),
                                                        scale: .init(from: 1, to: 0.8, duration: 0.3)))
    attributes.shadow = .active(with: .init(color: .black, opacity: 0.3, radius: 6))
    attributes.positionConstraints.verticalOffset = 10
    attributes.positionConstraints.size = .init(width: .offset(value: 20), height: .intrinsic)
    attributes.positionConstraints.maxSize = .init(width: .constant(value: 375), height: .intrinsic)
    attributes.statusBar = .dark

//this works!
//        let myview:EditExpenseView = EditExpenseView()
//        myview.frame = CGRect(x: 10, y: 100, width: 200, height: 200)
//        self.view.addSubview(myview)
    SwiftEntryKit.display(entry: EditExpenseView(), using: attributes) -> **here the entry does not appear**

Custom views do work.
You need to use Auto Layout to define the size of your views. The height is inferred from the view unless you explicitly define the attributes to behave otherwise.
attributes.positionConstraints.size = .init(width: .offset(value: 20), height: .intrinsic)

Set explicit height that is not intrinsic in order to acheive your goal OR use Auto Layout (not explicity setting the frame).

I'm closing this since that is a none-issue IMO. Just follow the example project preset for View From Nib.

i am also unable to present custom views

Hi,
Please see the custom view preset in the example project. As I said, SwiftEntryKit infers the height of your view from its intrinsic height in case you use Auto Layout. In case you don't you auto layout - PositionConstraints construct provides everything you need in order to make things size properly to your custom view (It is fully documented).


Use new fonts

Updated fonts to the latest version of the Storm design.
Changes the headers to dark blue. Does not change the main text colour as per the new design - firstly because I didn't see this had been changed until the latest design and also because it might be best changed when we switch the site colours for the new ones.
Has required quite a bit of tidying to allow the changes to be made consistently across the site. This has mostly been to the headers to make them all use h tags where possible.
Found some places (i.e. some notices, but not all, on the dashboard) where h tags were being used for normal text, where we wouldn't have noticed the inconsistencies before as the fonts were the same (note to Deb to check I have all these!).
Because the headers are now bigger sizes than previous, some text does look a bit oversized, especially where h tags were used inline rather than as headers. I've mostly tried to rectify this with exception of the scoreboard pages - wanted to see what you thought first @ldodds. The front page and the find out more pages still don't look ideal to me but compared to the original, they do look similar :-)
I've kept the super big font on the pages that had it (now with a class of f-xl) but it would be good to go to just plain h1 if we could consistently for all headers.

Nearly there but just noticed transport surveys don't look right 😬

Just noticed the responsive layout on the masthead isn't right, just looking now

Some things I've noted during initial testing

the title on the /find-out-more page is now smaller. Think it should be a h1 now?
on the school group admin page, the text in the green pills for the school status (visible, etc) seems misaligned in the buttons. They display differently to the same set of buttons shown on school dashboard. I think that's because the versions in the page are now Inter?
on the pupil dashboard the equivalence text is now larger so that the text overlaps with the left arrow on the carousel. Think it should be an h2 instead?
the font sizes in the table in the priority actions page look off now. The table is using h4 for the text and number styles, which is probably wrong. But the action name now looks smaller than the numbers, which are also now a different colour. Think that needs adjusting. There's some specific styling for that table (.advice-priority-table) to try and get the text to display right, so maybe not working now for some reason?

Otherwise I'm generally finding the tweaked font sizes and coloured headings much easier to read. The Inter font might take a bit of getting used to, but it's more readable I think.
I've not tried responsive views yet.

the title on the /find-out-more page is now smaller. Think it should be a h1 now?

Have sorted this, along with the responsive layout on smaller devices to work the same as the existing front page, which I think behaves better (still not ideal but this can be looked at in more detail when these pages / elements are restyled).

on the pupil dashboard the equivalence text is now larger so that the text overlaps with the left arrow on the carousel. Think it should be an h2 instead?

The header tags are set in the equivalence admin interface (unless using default equivalences) e.g.:
https://test.energysparks.uk/admin/equivalence_types/30/edit
So have styled h1 to look like h2 in the carousel for now. Alternative would be to go through and change the headers in the equivalence types with an afterparty task?

the font sizes in the table in the priority actions page look off now. The table is using h4 for the text and number styles, which is probably wrong. But the action name now looks smaller than the numbers, which are also now a different colour. Think that needs adjusting. There's some specific styling for that table (.advice-priority-table) to try and get the text to display right, so maybe not working now for some reason?

I removed the h4 tags and initially tried using the f4 sized font (h4 sized) but the text just looked too oversized. So I have scaled down to f5, which is actually the standard text size for the site. Which has since led me on to removing all extra formatting for these tables, which is where it is now. See what you think. It's definitely smaller than before but looks standard I would say.

Otherwise I'm generally finding the tweaked font sizes and coloured headings much easier to read. The Inter font might take a bit of getting used to, but it's more readable I think.

Yes it's a bit different... pondering whether the general font size could be a bit smaller but I am not a designer :-) I am sure I'll get used to it

on the school group admin page, the text in the green pills for the school status (visible, etc) seems misaligned in the buttons. They display differently to the same set of buttons shown on school dashboard. I think that's because the versions in the page are now Inter?

I am about to look at this again - couldn't find a quick fix earlier. Wondering if it's line height issue or just change of font as you say. Will let you know how I get on!

@ldodds this is how the new fonts look on the School Group admin page for me:

This is what it looks like currently on test:

I'm now thinking the alignment is better in the new version of these buttons and looks off on the original? What does it look like for you?

Have added another font size in to bridge the gap between f4 and f5 (this font size is listed in Components -> Text Styles in Sketch H5 - but not in the "New Typography" page) and so we can have a H5 that is bigger than general paragraph text still... (we do use H5). Meant F6 is now the default text size so everything f5 and below needed shifting down one e.g. f5 became f6, f6 became f7 etc. Hope this is ok, just thought it wise to do it now rather than later.

Just a note to say I built a quick page with just bootstrap css (and non of our extra css) + replacing font with Inter / 18px / 30px line height and there is the same issue:


Depends on pronto 0.4.0

Hi @mmozuras,
I tried to install ALL the runners just to see what would happen.  I had to uninstall pronto-foodcritic because of the below conflict (also had to uninstall pronto-spell and pronto-fasterer for the same reason).
.rvm/rubies/ruby-2.1.4/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:2112:in `raise_if_conflicts': Unable to activate pronto-spell-0.4.1, because pronto-0.5.3 conflicts with pronto (~> 0.4.0) (Gem::ConflictError)

Is a fix for this as simple as updating the .gemspec file to ~>0.5.0?

Hi,
@elliotthilaire yes, that's the idea. When releasing newest version of Pronto, I missed this gem and failed to make it compatible with 0.5.0 :bow:.
Done now and released :smile:.

Thanks for the update!
Now I know how to fix this for next time.