The Request can't request a keep-alive http connection on web platform.

I want to request an MJPEG stream using Request. It works normally on mobile and desktop platforms, but abnormally on the web platform. It seems that it can't get the data until the request is finished, but MJPEG can't be finished.
My simple code:
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;

void main() => runApp(RequestDemo());

class RequestDemo extends StatefulWidget {
  RequestDemo({
    Key? key,
  }) : super(key: key);

  @override
  _RequestDemoState createState() => _RequestDemoState();
}

class _RequestDemoState extends State<RequestDemo> {
  final url = "https://mjpeg-server.herokuapp.com/";
  String log = "LOG:";

  void _connect() {
    final request = http.Request("GET", Uri.parse(url));
    setState(() {
      log += "[${DateTime.now()}] send request...\n";
    });
    request.send().then((response) {
      setState(() {
        log += "[${DateTime.now()}] status code: ${response.statusCode}\n";
      });
      response.stream.listen((data) {
        setState(() {
          log += "[${DateTime.now()}] on data, length: ${data.length}\n";
        });
      });
    });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: "HTTP REQUEST DEMO",
      home: Scaffold(
        appBar: AppBar(title: Text("HTTP REQUEST DEMO")),
        body: Center(
          child: Column(
            mainAxisSize: MainAxisSize.min,
            children: [
              Text("URL: $url"),
              Padding(padding: const EdgeInsets.only(bottom: 30)),
              Container(
                margin: const EdgeInsets.all(20),
                color: Colors.black12,
                width: double.infinity,
                height: 200,
                child: SingleChildScrollView(
                  child: Text(log),
                ),
              ),
            ],
          ),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: _connect,
          child: Icon(Icons.send),
        ),
      ),
    );
  }
}

The effect of the application running: (The expected is that it can get one image data per second. But it's not.)

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.1, on macOS 11.3.1 20E241 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.2.1 at /Users/yowfung/Library/Flutter
    • Framework revision 02c026b03c (13 days ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/yowfung/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/yowfung/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.3.1 20E241 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Microsoft Edge 90.0.818.62

• No issues found!

This is a sub-issue of #73459.

Hi @YowFung
Thanks for filing the issue

stable
master

❌
❌

Check flutter doctor -v outputs for each channel below

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.1, on Microsoft Windows [Version 10.0.19043.1052], locale en-US)
    • Flutter version 2.2.1 at C:\Users\Taha\Code\flutter_stable
    • Framework revision 02c026b03c (13 days ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_SDK_ROOT = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\openjdk\bin\java.exe
    • Java version OpenJDK Runtime Environment (build 1.8.0-262-b10)
    • All Android licenses accepted.

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

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.0)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.10.31321.278
    • Windows 10 SDK version 10.0.19041.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.1.1
    • Flutter plugin version 57.0.5
    • Dart plugin version 211.7233

[✓] VS Code (version 1.56.2)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.23.0

[✓] Connected device (4 available)
    • IN2011 (mobile)   • c9d8ee0c • android-arm64  • Android 11 (API 30)
    • Windows (desktop) • windows  • windows-x64    • Microsoft Windows [Version 10.0.19043.1052]
    • Chrome (web)      • chrome   • web-javascript • Google Chrome 91.0.4472.77
    • Edge (web)        • edge     • web-javascript • Microsoft Edge 91.0.864.41

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.3.0-17.0.pre.275, on Microsoft Windows [Version 10.0.19043.1052], locale en-US)
    • Flutter version 2.3.0-17.0.pre.275 at C:\Users\Taha\Code\flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 1694188e21 (7 hours ago), 2021-06-09 02:29:02 -0400
    • Engine revision 132669b021
    • Dart version 2.14.0 (build 2.14.0-189.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_SDK_ROOT = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    • All Android licenses accepted.

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

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.0)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.10.31321.278
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 4.2.0)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.1.1
    • Flutter plugin version 57.0.5
    • Dart plugin version 211.7233

[✓] VS Code (version 1.56.2)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.23.0

[✓] Connected device (5 available)
    • IN2011 (mobile)         • c9d8ee0c • android-arm64   • Android 11 (API 30)
    • Windows (desktop)       • windows  • windows-x64     • Microsoft Windows [Version 10.0.19043.1052]
    • Windows (UWP) (desktop) • winuwp   • windows-uwp-x64 •
    • Chrome (web)            • chrome   • web-javascript  • Google Chrome 91.0.4472.77
    • Edge (web)              • edge     • web-javascript  • Microsoft Edge 91.0.864.41

• No issues found!

✅ : No Issue ❌: Issue reproduced

If I follow correctly it would mean there is a problem with Dart once compiled into JS?
Look like I hit this problem too.

I have recently encountered this issue while I tried to implement an MJPEG streaming widget, is there any progress or updates regarding this issue?

@kevmoo @natebosch - is it possible that package:http doesn't support keep-alive on the web? If so, I'd consider tracking this in the package:http  repo.

is it possible that package:http doesn't support keep-alive on the web?

Support it how? What is the user visible behavior we expect it to have?

It seems that it can't get the data until the request is finished, but MJPEG can't be finished.

This is a feature request best tracked at https://github.com/dart-lang/http/issues/595
It is true that package:http does not support streaming requests on the web.
How does this relate to the keep-alive header?

[dart web gardening] this is a feature request tracked by https://github.com/dart-lang/http/issues/595

Closing in favor of https://github.com/dart-lang/http/issues/595. There's no action the Flutter team can take to fix this.


React warning about TimerProvider & MatchingScreen

i've fixed it. Apparently React doesn't like it when u run set-state functions in the component body


Possibility of partial match

Hi.
I just wanted to know if it's possible use this project to scan the ambient's sound and send an alarm when it match just only a percentage and not 100%.
I'll try to explain my request: my son is epileptic and all the doctor says that the monitoring systems for the seizure during the night are not so reliable, the only thing that helps us to be alerted of a epileptic seizure starting is a baby monitor, because the sound of the breathing changes in a very particular way during an epileptic seizure.
My idea is this: if I record the sound of the breathing of my son during some epileptic seizure (let's say 20 times) and I put that files in the dejavu database, it is possibile that dejavu will find a match, even if it's not a 100% match? And it's possible to keep dejavu active during the night and make it sending alerts in that cases?
If I didn't explain weel the problem tell me and I'll try to explain it better.
Thank you.

Hi @damares86,
I think it may be possible to use dejavu to achieve this but it'll require some work. You need to be able to keep a continuous audio stream through the sleep process. You can then run a scan against the stream.

Thank you @steveouma for your reply!
I don't know python so I don't think I will be able to do that work.
Do you know some similar projects or some kind of forum where I can found some suggestions? Because it's also difficult to find the right keywords for this kind of search on Google

Unfortunately, I don't know of any similar projects. It looks like a very niche conversation area from what I can see online. In case I stumble upon anything interesting I will buzz back. https://nightwatchepilepsy.com/

Dejavu supports "partial matches" out of the box; by default it returns two nearest matches and their confidence, and the confidence could be anything in between 0 and 100%. It is then up to your code to decide if what's returned is a good enough match or not.
I recently made a Dejavu-based project of finding advertisement jingles in TV transmissions, https://github.com/denis-stepanov/advent. While seemingly different area, I believe that it has got 90% of what you need. It supports listening from a stream like a mike continuously, and you can specify match confidence. The only difference is that you'd need to replace a line which controls TV with something that would send a whatever alert you need. Some Python knowledge would not hurt anyway.
I can't tell for the quality of ambient sound recognition; this is something that you would need to test for your case.


multicolumn layout is unprefixed since Chrome 50

Chrome 50 is currently in beta, the change was committed on Feb 18:
https://bugs.chromium.org/p/chromium/issues/detail?id=492297

It still doesn't support break-before, break-after, break-inside though, but that will be fixed later in this bug: https://bugs.chromium.org/p/chromium/issues/detail?id=223068

I also checked Opera and updated the PR.

Thanks!


Not rendering properly on rails 6 with bootstrap 4

This is how it renders for me on a rails 6 with bootstrap 4 project.
I think it's detecting the that I'm using bootstrap 4 but not sure why its not working.

My html
<select class="selectpicker" multiple data-selected-text-format="count > 3" data-live-search="true">
  <option>Mustard</option>
  <option>Ketchup</option>
  <option>Relish</option>
  <option>Onions</option>
</select>

@sebastienb Did you get this working yet?  I ran into the same issue and it turns out I wasn't importing the CSS properly.  Let me know if you're still working on it and post your application.css or application.css.scss and I bet I could give you a hand with this.

Agreed - this looks like a CSS issue.


Provide helper scripts / maven commands for building with local DSE jars

Stargate contributors that are also DSE customers still have difficulties building and testing the DSE Persistence module locally.
The Stargate project could provide a script or a maven target to make required Maven artifacts from a local DSE installation. The artifacts would be published to the local Maven repository and should be usable for building DSE modules locally.
CI will continue to use existing (private) DSE artifacts.

we have the equivalent of this


Improve display of long paths

The language I use at work is Scala. Being a JVM language, the directory structure tends to be deeply nested, and the file names often long. As a result the filename tends to get cut off in the harpoon window.
Some ideas for how to remedy this

Config option to display filenames only, without directories. Though this raises the question of how to differentiate files with the same name, but in different paths
Config option for setting the width of the window
Auto-expand window so that it fits contents
Text wrapping
Maybe a comination of auto-expand and text-wrap?

Setting the width in the config is already on supported. Wrapping text is also working if you have it enabled already in neovim.

Cool, okay. Could the width option be documented? I'm not particularly knowledgable on lua or lua-based plugins, so it's not clear to me how to apply this.
Regarding text-wrap, personally I'd find it useful to have wrap set in the Harpoon menu, without changing my global nowrap setup. That's just me though. Don't know how many others would attach any importance to that.

Regarding text-wrap, personally I'd find it useful to have wrap set in the Harpoon menu, without changing my global nowrap setup. That's just me though. Don't know how many others would find value in that.

The harpoon menu has the filetype harpoon. So you can define some autocmd to set wrap:
autocmd FileType harpoon set wrap

Thanks renerocksai! 👍

I think setlocal is preferred when setting wrap via autocmd.
There's an menu option in the config. You can check my dots for how I setup harpoon: https://github.com/sQVe/dotfiles/blob/master/config/nvim/lua/plugins/harpoon.lua

Thanks. Just 2 things: good catch with setlocal.  I'll edit my post.
Yours read a bit misleading: after the setlocal stuff you continue with "There's a menu option in the config..." - which led me to believe there's a wrap option in the config that I then didn't find in your config.

Yeah. My bad. Height and width is the only thing set via config, as far as I know.

@sQVe @simonmclean I added an example to the README in #163 that might be helpful. Maybe that's a good default value to consider. Is that example sufficient to close this issue?


Add 'kn source kafka list' command

Add list command to kafka source plugin

OK... Updated the common source to latest client v0.20.0. See https://github.com/maximilien/kn-source-pkg/releases/tag/v0.6.0

OK... Updated the common source to latest client v0.20.0. See https://github.com/maximilien/kn-source-pkg/releases/tag/v0.6.0

I will be pushing an update to solve this this week. Hopefully tomorrow. I’ll tag here.

I will be pushing an update to solve this this week. Hopefully tomorrow. I’ll tag here.

@Kaustubh-pande FYI ^^.

@Kaustubh-pande FYI ^^.

Hi, all, see https://github.com/maximilien/kn-source-pkg/releases/tag/v0.6.1
@dsimansk @Kaustubh-pande let me know if any issue(s) Thanks 🙏

Hi, all, see https://github.com/maximilien/kn-source-pkg/releases/tag/v0.6.1
@dsimansk @Kaustubh-pande let me know if any issue(s) Thanks 🙏

/assign


doesn't work in windows phone 10

Clappr Version: https://cdn.jsdelivr.net/clappr/latest/clappr.min.js
Steps to reproduce:
We tried few hardwares to see if player works everywhere and we have an issue with windowsphone 10
it appears but it fails to display video
fyi it works with hlsjs from flowplayer
thanks
Nico
PS : I know windowsphone is not popular but if you could integrate it that could be a plus ;-)

it works...
it was a network issue
sorry for the noise


[astro-purgecss] Doesn't work with imported files

I am trying to use package astro-purgecss, and nothing was deleted from final files.
I have library with many css variables. Lated I use this variables to create my theme, and next I use theme variables as final styles.
File src/layouts/Layout.astro:
---
// styles
import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>---

<!doctype html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width" />
    </head>
    <body>
        <div>
            <main id="main" class="main" role="main">
                <slot />
            </main>
        </div>
    </body>
</html>

Result: All variables from @/styles/variables.css are present in my css styles:

Expected: only used variables will be present.
File astro.config.mjs:
import { defineConfig } from "astro/config";
import Compress from "@playform/compress";
import purgecss from "astro-purgecss";

// https://astro.build/config
export default defineConfig({
    integrations: [
        purgecss({
            variables: true,

            // for Astro view transitions
            keyframes: false,

            // for Astro view transitions
            safelist: {
                greedy: [
                    /*astro*/
                ],
            },

            // for SSR
            content: [
                process.cwd() + "/src/**/*.{astro,jsx,tsx,css}", // Watching astro and vue sources (for SSR, read the note below)
            ],
        }),
        Compress({
            // CSS: false,
            // HTML: false,
            Image: false,
            // JavaScript: false,
            SVG: false,
        }), // should be last in the list
    ],
});

But after npm run build and npm run preview it worked. Is it expected behavior?


[!] Undefined method `description' for nil:NilClass (NoMethodError)

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
When I run "deliver" it fails with the following error:
/Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/deliver/lib/deliver/upload_metadata.rb:58:in block (2 levels) in upload': [!] undefined method description' for nil:NilClass (NoMethodError)
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/deliver/lib/deliver/upload_metadata.rb:55:in `each'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/deliver/lib/deliver/upload_metadata.rb:55:in `block in upload'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/deliver/lib/deliver/upload_metadata.rb:46:in `each'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/deliver/lib/deliver/upload_metadata.rb:46:in `upload'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/deliver/lib/deliver/runner.rb:62:in `upload_metadata'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/deliver/lib/deliver/runner.rb:21:in `run'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/actions/deliver.rb:16:in `run'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/runner.rb:232:in `block (2 levels) in execute_action'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/runner.rb:217:in `block in execute_action'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/runner.rb:213:in `chdir'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/runner.rb:213:in `execute_action'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/runner.rb:135:in `trigger_action_by_name'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'
from Fastfile:53:in `block (2 levels) in parsing_binding'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/lane.rb:33:in `call'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/lane_manager.rb:52:in `cruise_lane'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/commands_generator.rb:96:in `block (2 levels) in run'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/commander-4.4.2/lib/commander/command.rb:178:in `call'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/commander-4.4.2/lib/commander/command.rb:153:in `run'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/commander-4.4.2/lib/commander/runner.rb:446:in `run_active_command'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:38:in `run!'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/commander-4.4.2/lib/commander/delegates.rb:15:in `run!'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/commands_generator.rb:293:in `run'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/commands_generator.rb:36:in `start'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/fastlane/lib/fastlane/cli_tools_distributor.rb:59:in `take_off'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/gems/fastlane-2.3.0/bin/fastlane:5:in `<top (required)>'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/bin/fastlane:22:in `load'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/bin/fastlane:22:in `<main>'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
from /Users/SimplyLearn/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'

Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.11.6

Ruby
2.3.1

Bundler?
true

Git
git version 2.8.4 (Apple Git-73)

Installation Source
~/.rvm/gems/ruby-2.3.1/bin/fastlane

Host
Mac OS X 10.11.6 (15G1004)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.3.1/lib

OpenSSL Version
OpenSSL 1.0.2h  3 May 2016

Is contained
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.0

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
fastlane gems

Gem
Version
Update-Status

fastlane
2.3.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

executable-hooks
1.3.2

bundler-unload
1.0.2

rubygems-bundler
1.4.4

bundler
1.13.7

io-console
0.4.6

CFPropertyList
2.3.4

i18n
0.7.0

json
1.8.3

minitest
5.10.1

thread_safe
0.3.5

tzinfo
1.2.2

activesupport
<IP_ADDRESS>

public_suffix
2.0.4

addressable
2.5.0

babosa
1.0.2

claide
1.0.1

colored
1.2

highline
1.7.8

commander
4.4.2

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161129

dotenv
2.1.1

excon
0.54.0

multipart-post
2.0.0

faraday
0.10.0

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.10.1

fastimage
2.0.1

gh_inspector
1.0.2

jwt
1.5.6

little-plugger
1.1.4

multi_json
1.12.1

logging
2.1.0

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

hurley
0.2

mime-types-data
3.2016.0521

mime-types
3.1

uber
0.0.15

representable
2.3.0

retriable
2.1.0

google-api-client
0.9.20

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.2.0

rubyzip
1.2.0

security
0.1.3

slack-notifier
1.5.1

terminal-notifier
1.7.1

unicode-display_width
1.1.2

terminal-table
1.7.3

word_wrap
1.0.0

nanaimo
0.2.3

xcodeproj
1.4.2

rouge
1.11.1

xcpretty
0.2.4

xcpretty-travis-formatter
0.0.4

generated on: 2016-12-28

We just pushed a new release, could you give it a shot and let us know if that works for you?

Hey，I have also encounter the similar Error when I use fastlane beta command. So  I use fastlane env command to capture the stack trace output like this below.
<details><summary>🚫 fastlane environment 🚫</summary>

### Stack

| Key                 | Value                                       |
| ------------------- | ------------------------------------------- |
| OS                  | 10.11.6                                     |
| Ruby                | 2.3.0                                       |
| Bundler?            | false                                       |
| Git                 | git version 2.7.4 (Apple Git-66)            |
| Installation Source | ~/.rvm/gems/ruby-2.3.0/bin/fastlane         |
| Host                | Mac OS X 10.11.6 (15G1212)                  |
| Ruby Lib Dir        | ~/.rvm/rubies/ruby-2.3.0/lib                |
| OpenSSL Version     | OpenSSL 1.0.2e 3 Dec 2015                   |
| Is contained        | false                                       |
| Xcode Path          | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version       | 7.3.1                                       |

### System Locale

| Error                       |
| --------------------------- |
| No Locale with UTF8 found 🚫 |

### fastlane files:

<details><summary>`./fastlane/Fastfile`</summary>

```ruby
#
# Learn more here: https://github.com/fastlane/setups/blob/master/samples-ios/distribute-beta-build.md 🚀
#
lane :beta do |values|
# Fabric generated this lane for deployment to Crashlytics Beta
# set 'export_method' to 'ad-hoc' if your Crashlytics Beta distribution uses ad-hoc provisioning
gym(scheme: 'ShihuoIPhone', export_method: 'development')

emails = values[:test_email] ? values[:test_email] : ['lizhiyuan@hupu.com’,’lynulzy<EMAIL_ADDRESS># You can list more emails here
groups = values[:test_email] ? nil : nil # You can define groups on the web and reference them here

crashlytics(api_token: '7835e2d9653a12d828a9d0736d2184961c91f0fd',
         build_secret: 'eb0ac8ff4ad2ae0b6c85a63f827160126e1be903416ac6b560b8917b9d4a9779',
               emails: emails,
               groups: groups,
                notes: 'Distributed with fastlane', # Check out the changelog_from_git_commits action
        notifications: true) # Should this distribution notify your testers via email?

# for all available options run `fastlane action crashlytics`

hockey(
    api_token: "1a0cf8ed6cc04178b2e9f10333fcd463"
  )
firim(firim_api_token: “57e6f9bd8be5e22afd8aa72d9278c63e”)
# You can notify your team in chat that a beta build has been uploaded
# slack(
#   slack_url: "https://hooks.slack.com/services/YOUR/TEAM/INFO"
#   channel: "beta-releases",
#   message: "Successfully uploaded a beta release - see it at https://fabric.io/_/beta"
# )
end```
</details>

<details><summary>`./fastlane/Appfile`</summary>

```ruby
# The Appfile can be used to specify information that's used across all fastlane
# tools, like your username or the app's bundle identifier.
#
# For more details, check out the documentation at:
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

# app_identifier "com.your.app" # the bundle identifier of your app
# apple_id<EMAIL_ADDRESS># Your Apple ID

fastlane gems

Gem
Version
Update-Status

fastlane
2.1.3
🚫 Update availaible

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-firim
0.1.0
✅ Up-To-Date

fastlane-plugin-versioning
0.2.5
✅ Up-To-Date

Loaded gems

Gem
Version

did_you_mean
1.0.0

slack-notifier
1.5.1

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

multipart-post
2.0.0

word_wrap
1.0.0

babosa
1.0.2

colored
1.2

excon
0.54.0

faraday-cookie_jar
0.0.6

gh_inspector
1.0.2

highline
1.7.8

mini_magick
4.5.1

multi_json
1.12.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.1.1

json
2.0.2

commander
4.4.3

io-console
0.4.5

rubyzip
1.2.0

plist
3.2.0

CFPropertyList
2.3.4

claide
1.0.1

nanaimo
0.2.3

xcodeproj
1.4.2

bundler
1.13.7

terminal-table
1.7.3

unicode-display_width
1.1.2

fastlane-plugin-firim
0.1.0

firim
0.1.2

fastlane-plugin-versioning
0.2.5

generated on: 2016-12-29

@KrauseFx

@lynulzy did you try sudo gem update fastlane? This fixed it for me

yea. I pulled the new release. It worked. Thank you

Hi there,
I am getting the same error right now after updating fastlane, and doing a gem cleanup
/Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/deliver/lib/deliver/upload_metadata.rb:58:in `block (2 levels) in upload': [!] undefined method `description' for nil:NilClass (NoMethodError)
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/deliver/lib/deliver/upload_metadata.rb:55:in `each'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/deliver/lib/deliver/upload_metadata.rb:55:in `block in upload'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/deliver/lib/deliver/upload_metadata.rb:46:in `each'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/deliver/lib/deliver/upload_metadata.rb:46:in `upload'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/deliver/lib/deliver/runner.rb:62:in `upload_metadata'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/deliver/lib/deliver/runner.rb:21:in `run'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/actions/deliver.rb:16:in `run'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:232:in `block (2 levels) in execute_action'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:217:in `block in execute_action'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:213:in `chdir'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:213:in `execute_action'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:135:in `trigger_action_by_name'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'
	from Fastfile:43:in `block (2 levels) in parsing_binding'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/lane.rb:33:in `call'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:188:in `try_switch_to_lane'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:143:in `trigger_action_by_name'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'
	from Fastfile:56:in `block (2 levels) in parsing_binding'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/lane.rb:33:in `call'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/lane_manager.rb:52:in `cruise_lane'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/commands_generator.rb:96:in `block (2 levels) in run'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:38:in `run!'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/commands_generator.rb:293:in `run'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/commands_generator.rb:36:in `start'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/cli_tools_distributor.rb:59:in `take_off'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/bin/fastlane:5:in `<top (required)>'
	from /Users/glesage/.rbenv/versions/2.3.1/bin/fastlane:22:in `load'
	from /Users/glesage/.rbenv/versions/2.3.1/bin/fastlane:22:in `<main>'

Any advice?

@glesage yes, please share your complete output and configuration files, otherwise we can't really help.

Also, is this your first version on iTunes Connect? Can you share a screenshot of the iTC page?

Yes this is indeed for the first version of the app, all the app updates for existing apps work fine.
The ITC connect page is pretty bare, just has the name of the app but nothing else so far.
Here is my environment:
osx 10.12.2
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin16]
rubygem 2.6.8
fastlane 2.4.0
deliver 2.0.1

Here is my lane (usually part of the bigger process, but running it by itself produces the same error):
lane :appstore_push do
    deliver(
      app_identifier: ENV['APP_IDENTIFIER'],
      username: ENV['ITC_USERNAME'],
      price_tier: 0,
      ipa: "./fastlane/ipa/Starchup.ipa",
      automatic_release: true,
      submit_for_review: false,
      force: true,
      edit_live: true
    )
  end

Here is the output of my deliver command:
$ fastlane appstore_push
[16:39:10]: ---------------------------
[16:39:10]: --- Step: opt_out_usage ---
[16:39:10]: ---------------------------
[16:39:10]: Disabled upload of used actions
[16:39:10]: -------------------------------------------------
[16:39:10]: --- Step: Verifying required fastlane version ---
[16:39:10]: -------------------------------------------------
[16:39:10]: Your fastlane version 2.4.0 matches the minimum requirement of 1.16.0  ✅
[16:39:10]: ------------------------------
[16:39:10]: --- Step: default_platform ---
[16:39:10]: ------------------------------
[16:39:10]: Driving the lane 'ios appstore_push' 🚀
[16:39:10]: ---------------------
[16:39:10]: --- Step: deliver ---
[16:39:10]: ---------------------
[16:39:10]: Successfully loaded '/Users/glesage/Desktop/Repos/customer-ios/app/fastlane/Deliverfile' 📄

+------------------------+---------------------------+
|   Detected Values from './fastlane/Deliverfile'    |
+------------------------+---------------------------+
| description            |                           |
| name                   |                           |
| release_notes          |                           |
| support_url            |                           |
| keywords               |                           |
| app_rating_config_path | ./fastlane/ratings.json   |
| app_icon               | ../branded_files/icon.png |
| primary_category       | Utilities                 |
| secondary_category     | Productivity              |
| app_version            | 4.2.8                     |
| copyright              | 2017                      |
| app_review_information |                           |
+------------------------+---------------------------+

[16:39:10]: Login to iTunes Connect<EMAIL_ADDRESS>[16:39:13]: Login successful

+--------------------------------------+-----------------------------------------------------------+
|                                      deliver 2.4.0 Summary                                       |
+--------------------------------------+-----------------------------------------------------------+
| app_identifier                       | com.starchup.sweetdarlin                                  |
| username                             |<EMAIL_ADDRESS>                                       |
| price_tier                           | 0                                                         |
| ipa                                  | ./fastlane/ipa/Starchup.ipa                               |
| automatic_release                    | true                                                      |
| submit_for_review                    | false                                                     |
| force                                | true                                                      |
| edit_live                            | true                                                      |
| description.en-US                    | Save time by letting Sweet Darlin' Dry Cleaning delive... |
| name.en-US                           | Sweet Darlin Dry Cleaning                                 |
| release_notes.en-US                  | Fixed a few minor bugs                                    |
| support_url.en-US                    | http://www.sweetdarlincleaners.com/                       |
| keywords.en-US                       | sweet darlin,dry cleaning,bear,DE,pickup,delivery,laun... |
| app_rating_config_path               | ./fastlane/ratings.json                                   |
| app_icon                             | ../branded_files/icon.png                                 |
| primary_category                     | Utilities                                                 |
| secondary_category                   | Productivity                                              |
| app_version                          | 4.2.8                                                     |
| copyright                            | 2017                                                      |
| app_review_information.first_name    | Geoffroy                                                  |
| app_review_information.last_name     | Lesage                                                    |
| app_review_information.phone_number  |<PHONE_NUMBER>                                                |
| app_review_information.email_address |<EMAIL_ADDRESS>                                   |
| screenshots_path                     | ./fastlane/screenshots                                    |
| metadata_path                        | ./fastlane/metadata                                       |
| platform                             | ios                                                       |
| skip_binary_upload                   | false                                                     |
| skip_screenshots                     | false                                                     |
| skip_metadata                        | false                                                     |
| overwrite_screenshots                | false                                                     |
+--------------------------------------+-----------------------------------------------------------+

[16:39:13]: Making sure the latest version on iTunes Connect matches '4.2.8' from the ipa file...
[16:39:15]: '4.2.8' is the latest version on iTunes Connect
[16:39:16]: -------------------
[16:39:16]: --- Step: slack ---
[16:39:16]: -------------------
[16:39:16]: Successfully sent Slack notification
+------------------+-------------------+
|             Lane Context             |
+------------------+-------------------+
| DEFAULT_PLATFORM | ios               |
| PLATFORM_NAME    | ios               |
| LANE_NAME        | ios appstore_push |
+------------------+-------------------+
[16:39:16]: undefined method `description' for nil:NilClass

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | opt_out_usage                       | 0           |
| 2    | Verifying required fastlane version | 0           |
| 3    | default_platform                    | 0           |
| 💥    | deliver                             | 6           |
| 5    | slack                               | 0           |
+------+-------------------------------------+-------------+

[16:39:16]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...

➡  [!] undefined method `release_on_approval=' for nil:NilClass
   https://github.com/fastlane/fastlane/issues/7668 [open] 1 💬
   5 days ago

➡  Undefined method `fetch` for nil:NilClass (NoMethodError) again?
   https://github.com/fastlane/fastlane/issues/7307 [open] 2 💬
   4 weeks ago

➡  [!] Undefined method `description' for nil:NilClass (NoMethodError)
   https://github.com/fastlane/fastlane/issues/7686 [closed] 7 💬
   an hour ago

and 91 more at: https://github.com/fastlane/fastlane/search?q=undefined%20method%20%60description'%20for%20nil&type=Issues&utf8=✓
/Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/deliver/lib/deliver/upload_metadata.rb:58:in `block (2 levels) in upload': [!] undefined method `description' for nil:NilClass (NoMethodError)
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/deliver/lib/deliver/upload_metadata.rb:55:in `each'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/deliver/lib/deliver/upload_metadata.rb:55:in `block in upload'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/deliver/lib/deliver/upload_metadata.rb:46:in `each'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/deliver/lib/deliver/upload_metadata.rb:46:in `upload'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/deliver/lib/deliver/runner.rb:62:in `upload_metadata'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/deliver/lib/deliver/runner.rb:21:in `run'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/actions/deliver.rb:16:in `run'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:232:in `block (2 levels) in execute_action'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:217:in `block in execute_action'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:213:in `chdir'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:213:in `execute_action'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:135:in `trigger_action_by_name'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'
	from Fastfile:43:in `block (2 levels) in parsing_binding'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/lane.rb:33:in `call'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/lane_manager.rb:52:in `cruise_lane'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/commands_generator.rb:96:in `block (2 levels) in run'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:38:in `run!'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/commands_generator.rb:293:in `run'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/commands_generator.rb:36:in `start'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/fastlane/lib/fastlane/cli_tools_distributor.rb:59:in `take_off'
	from /Users/glesage/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.4.0/bin/fastlane:5:in `<top (required)>'
	from /Users/glesage/.rbenv/versions/2.3.1/bin/fastlane:22:in `load'
	from /Users/glesage/.rbenv/versions/2.3.1/bin/fastlane:22:in `<main>'

Hey @KrauseFx I did find some additional details.. thks @EricKuck
It seems that the Deliverfile isn't being read properly, specifically the language. My Deliverfile looks like this:
description({
  "en-US" => ENV['APP_DESCRIPTION']
})
name({
  "en-US" => ENV['APP_TITLE']
})
release_notes ({
  "en-US" => ENV['RELEASE_CHANGELOG']
})
support_url({
  "en-US" => ENV['SUPPORT_URL']
})
keywords({
  "en-US" => ENV['KEYWORDS']
})
...

But during the output of deliver I get:
+------------------------+---------------------------+
|   Detected Values from './fastlane/Deliverfile'    |
+------------------------+---------------------------+
| description            |                           |
| name                   |                           |
| release_notes          |                           |
| support_url            |                           |
| keywords               |                           |
| app_rating_config_path | ./fastlane/ratings.json   |
| app_icon               | ../branded_files/icon.png |
| primary_category       | Utilities                 |
| secondary_category     | Productivity              |
| app_version            | 4.2.8                     |
| copyright              | 2017                      |
| app_review_information |                           |
+------------------------+---------------------------+

Changing my Deliverfile to
description ENV['APP_DESCRIPTION']
name ENV['APP_TITLE']
release_notes ENV['RELEASE_CHANGELOG']
support_url ENV['SUPPORT_URL']
keywords({
  "en-US" => ENV['KEYWORDS']
})
...

Works, inasmuch as it shows data on the output.. though it does yell at me about the parameters needing to be hashes and such... so it's somehow not finding the language

@glesage ok, this is lots of information, can you publish it with a full description as a new issue please? 👍


Adds further technical info for font-family and font stack choices.

Hey @joolswood, these are my minor edits to the guidance around the sans-serif font family choice, and the font-stacks.
This should close #72
This is Mark II of this PR — started a new branch to resolve the merge issues.
Soz that the deltas got screwed entirely.

#105 fixes the build — merging.


Data sync broken due to 7/23-7/24 Red Line origins

Trip names that lack "Ashmont" or "Braintree" are assumed to be Ashmont, but we have "Quincy Center to Alewife" and that is causing an exception.

Fixed in 5618897


Error when running npm install on Windows 10

I get the following error when trying to run npm install on Windows 10:
..\src\bind.cc(67): error C2466: cannot allocate an array of constant size 0

It's coming from this line in bind.cc.
node-gyp is using the Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x64.
Looks like there is varying support in compilers for zero-size arrays: https://stackoverflow.com/questions/9722632/what-happens-if-i-define-a-0-size-array-in-c-c

We are currently rewritting the binding to support the latest version of Node.js. Which version of Node.js are u using, if 8, try with 6 to confirm that the issue also apply with this version.

I'm running Node 6.10.2.

Hello.
Are there any solution for this?
At the moment as workaround I have to change row 71 of hades-krb5/rc/bind.cc file from:
const int argc = 0;
to:
const int argc = 1;
Thanks.

Hi All,
I tried to run the npm install for the hbase project and received an error from the attempted compilation of this project (krb5).  I have cloned this project and tried the npm install directly on this project with the same error.
I am running Windows 10 with Node v10.16.3 and npm 6.12.10 installing this to a Nestjs application.
I have the MIT Kerberos installed in the default location and have been able to fully compile the "npm install kerberos" project, so the set up for Windows compilation seems to be working.
The error is:
Microsoft Windows [Version 10.0.17134.1009]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Users\273008\source\repos\node-krb5>npm install
npm WARN registry Unexpected warning for http://registry.npmjs.org/: Miscellaneous Warning ETIMEDOUT: request to http://
registry.npmjs.org/coffeescript failed, reason: connect ETIMEDOUT <IP_ADDRESS>:80
npm WARN registry Using stale data from http://registry.npmjs.org/ due to a request error during revalidation.

<EMAIL_ADDRESS>install C:\Users\273008\source\repos\node-krb5
node-gyp rebuild

C:\Users\273008\source\repos\node-krb5>if not defined npm_config_node_gyp (node "C:\Users\273008\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\273008\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
nothing.c
win_delay_load_hook.cc
nothing.vcxproj -> C:\Users\273008\source\repos\node-krb5\build\Release\nothing.lib
module.cc
krb5_bind.cc
gss_bind.cc
base64.cc
win_delay_load_hook.cc
c:\users\273008\source\repos\node-krb5\src\krb5_bind.h(7): fatal error C1083: Cannot open include file: 'unistd.h': No
such file or directory (compiling source file ..\src\module.cc) [C:\Users\273008\source\repos\node-krb5\build\krb5.vcxp
roj]
c:\users\273008\source\repos\node-krb5\src\krb5_bind.h(7): fatal error C1083: Cannot open include file: 'unistd.h': No
such file or directory (compiling source file ..\src\krb5_bind.cc) [C:\Users\273008\source\repos\node-krb5\build\krb5.v
cxproj]
c:\users\273008\source\repos\node-krb5\src\gss_bind.h(10): fatal error C1083: Cannot open include file: 'unistd.h': No
such file or directory (compiling source file ..\src\gss_bind.cc) [C:\Users\273008\source\repos\node-krb5\build\krb5.vc
xproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\273008\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\273008\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\273008\source\repos\node-krb5
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      C:\Users\273008\AppData\Roaming\npm-cache_logs\2019-10-14T14_48_55_077Z-debug.log
C:\Users\273008\source\repos\node-krb5>
C:\Users\273008\source\repos\node-krb5>
The "unistd.h" file is a Unix file and is not found on the Windows system.  Is there another step I missed perhaps?  Looks like there may be a couple of other Unix only header files included in some of the header files.  Is there a work around for Windows at this time?
Thanks a ton for any help!!
2019-10-14T14_48_55_077Z-debug.log

@RReivax any idea ?

I am facing same isssue with node version 12.2.0.

I managed to solve unistd.h and sys/syscall.h errors, but now im stuck to this (sorry for no english):
c:\users\bbr.kerb.adm\desktop\kerberos node\libraries\krb5\src\krb5_bind.cc(12): error C2061: błąd składniowy: identyfikator "uint" [C:\Users\BBR.KERB.adm\Desktop\Kerberos Node\Libraries\krb5\build\krb5.vcxproj]
c:\users\bbr.kerb.adm\desktop\kerberos node\libraries\krb5\src\krb5_bind.cc(59): error C3646: "rlen": nieznany specyfikator przesłonięcia [C:\Users\BBR.KERB.adm\Desktop\Kerberos Node\Libraries\krb5\build\krb5.vcxproj]
c:\users\bbr.kerb.adm\desktop\kerberos node\libraries\krb5\src\krb5_bind.cc(59): error C4430: brak specyfikatora typu - założono, że int. Uwaga: C++ nie obsługuje domyślnie typu int [C:\Users\BBR.KERB.adm\Desktop\Kerberos Node\Libraries\krb5\build\krb5.vcxproj]
c:\users\bbr.kerb.adm\desktop\kerberos node\libraries\krb5\src\krb5_bind.cc(17): error C2065: "callback": niezadeklarowany identyfikator [C:\Users\BBR.KERB.adm\Desktop\Kerberos Node\Libraries\krb5\build\krb5.vcxproj]
c:\users\bbr.kerb.adm\desktop\kerberos node\libraries\krb5\src\krb5_bind.cc(18): error C2065: "rlen": niezadeklarowany identyfikator [C:\Users\BBR.KERB.adm\Desktop\Kerberos Node\Libraries\krb5\build\krb5.vcxproj]
c:\users\bbr.kerb.adm\desktop\kerberos node\libraries\krb5\src\krb5_bind.cc(18): error C2614: "Worker_krb5_build_principal": Niedozwolone inicjowanie składowej: "rlen" nie jest obiektem bazowym ani składową [C:\Users\BBR.KERB.adm\Desktop\Kerberos Node\Libraries\krb5\build\krb5.vcxproj]
c:\users\bbr.kerb.adm\desktop\kerberos node\libraries\krb5\src\krb5_bind.cc(32): error C2065: "rlen": niezadeklarowany identyfikator [C:\Users\BBR.KERB.adm\Desktop\Kerberos Node\Libraries\krb5\build\krb5.vcxproj]
c:\users\bbr.kerb.adm\desktop\kerberos node\libraries\krb5\src\krb5_bind.cc(41): error C2065: "rlen": niezadeklarowany identyfikator [C:\Users\BBR.KERB.adm\Desktop\Kerberos Node\Libraries\krb5\build\krb5.vcxproj]
c:\users\bbr.kerb.adm\desktop\kerberos node\libraries\krb5\src\krb5_bind.cc(75): error C2065: "uint": niezadeklarowany identyfikator [C:\Users\BBR.KERB.adm\Desktop\Kerberos Node\Libraries\krb5\build\krb5.vcxproj]
c:\users\bbr.kerb.adm\desktop\kerberos node\libraries\krb5\src\krb5_bind.cc(75): error C2146: błąd składniowy: brakuje ";" przed identyfikatorem "rlen" [C:\Users\BBR.KERB.adm\Desktop\Kerberos Node\Libraries\krb5\build\krb5.vcxproj]
c:\users\bbr.kerb.adm\desktop\kerberos node\libraries\krb5\src\krb5_bind.cc(75): error C2065: "rlen": niezadeklarowany identyfikator [C:\Users\BBR.KERB.adm\Desktop\Kerberos Node\Libraries\krb5\build\krb5.vcxproj]
c:\users\bbr.kerb.adm\desktop\kerberos node\libraries\krb5\src\krb5_bind.cc(82): error C2065: "rlen": niezadeklarowany identyfikator [C:\Users\BBR.KERB.adm\Desktop\Kerberos Node\Libraries\krb5\build\krb5.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "build"
gyp ERR! cwd C:\Users\BBR.KERB.adm\Desktop\Kerberos Node\Libraries\krb5
gyp ERR! node -v v14.15.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok

Hi Maciej, we don't work on Windows so we can't really help with this OS. @himanshiGitHub last time we built the package was probably with Node.js version 10.  @RReivax could you try to make it pass with a recent version of Node.js such as 14 ?

Hi Maciej, we don't work on Windows so we can't really help with this OS. @himanshiGitHub last time we built the package was probably with Node.js version 10.  @RReivax could you try to make it pass with a recent version of Node.js such as 14 ?

Sure.
On Tue, 12 Jan, 2021, 8:30 PM Worms David<EMAIL_ADDRESS>wrote:

Hi Maciej, we don't work on Windows so we can't really help with this OS.
@himanshiGitHub https://github.com/himanshiGitHub last time we built
the package was probably with Node.js version 10. @RReivax
https://github.com/RReivax could you try to make it pass with a recent
version of Node.js such as 14 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/adaltas/node-krb5/issues/9#issuecomment-758712582,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANDDD5E7XOQAZ63SS2MNBY3SZRPXLANCNFSM4DZW3PQQ
.

Sure.
On Tue, 12 Jan, 2021, 8:30 PM Worms David<EMAIL_ADDRESS>wrote:

Hi Maciej, we don't work on Windows so we can't really help with this OS.
@himanshiGitHub https://github.com/himanshiGitHub last time we built
the package was probably with Node.js version 10. @RReivax
https://github.com/RReivax could you try to make it pass with a recent
version of Node.js such as 14 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/adaltas/node-krb5/issues/9#issuecomment-758712582,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANDDD5E7XOQAZ63SS2MNBY3SZRPXLANCNFSM4DZW3PQQ
.

Hi,
With PR #27, the windows build should be fixed.
We have a vagrant file setting up Windows VM (if you want to check the build tool necessary).
We also have a Github Action job building on Windows (no testing for now).
Closing this issue, don't hesitate to open another one if you have any issue.


Getting OAuth token POST request is extremely slow, as any other API requests (more than 1min for a single request)

I am following the tutorial https://developers.google.com/people/quickstart/python to access my own contacts via People API.
I created the credentials (have the client_secret....json) and everything required before running quickstart.py.
The InstalledAppFlow.from_client_secrets_file launches a web browser tab, I'm authorizing the app and getting he authentication flow has completed. You may close this window. message served from the local web server. The local OAuth flow then goes on to making a POST request to https://oauth2.googleapis.com/token, but this POST request hangs at https://github.com/requests/requests-oauthlib/blob/50472c9/requests_oauthlib/oauth2_session.py#L363
How do I fix this? Thanks :)

Oh, it just seems it's super slow. It took ~1 minute to get the token.
And this sample code also took ~1 minute to run
print('List 10 connection names')
    results = service.people().connections().list(
        resourceName='people/me',
        pageSize=10,
        personFields='names,emailAddresses').execute()

Why is it so slow? (my internet connection is absolutely fine, for that matter)

I have similar and if I ping oauth2.googleapis.com, it just hangs. I'm wondering if it's something to do with how my router handles IPv6 IP addresses.

This is clearly dependent on the router and routing. For me, this issue was present while at s coworking shop, but not at home wifi

Yes, for sure. I put the following in my /etc/hosts file to choose the google servers to connect based on IPv4 addresses and I got immediate connections:
<IP_ADDRESS> oauth2.googleapis.com
<IP_ADDRESS> compute.googleapis.com
Note: be wary of editing the hosts file!
I think it's an issue with IPv6 resolution with some routers.

I'm going to close this issue based on the comments that this is related to routing settings but please feel free to open a new issue with more information.

Could Python client include a method for benchmarking/testing/ diagnosing connectivity?
E.g. it could access some heartbeat endpoint and maybe diagnose the used route / response times


Ongoing stream-recordings shown after restart of container and "cold" stop of stream-recordings

when streamers of the list are live and the recording is still on work, while I restart the container, the streamer is shown as live forever and a stream as recording even if the stream is offline. There is no recording job shown in the joblist

.

What I do in these cases is delete all files related in the vods folder and restart the container. I agree that there should be some button that would remove these from being displayed/remove leftover files.

shutting the server down while recording is a big no-no. i do have some checks on startup that fixes some of the issues, but it's difficult knowing when it's an error or not.
i could try adding more checks on startup, but this is just normal behavior for force closing any program like this

Just have a button that can "stop" recordings even in this case. Then it's the user responsibility to use it or not.
Since this case the recording is not running and it fails to find the job, there's no other way than deleting files manually and restarting the container.

Maybe call the button "NUKE" or something 😆

I would like to have the possibility to stop recordings and shutdown the container clean as well.
sometimes it is even not intended to shutdown but the container stops working unexpected for no known reason and the result is the same.

shutting the server down while recording is a big no-no. i do have some checks on startup that fixes some of the issues, but it's difficult knowing when it's an error or not.
i could try adding more checks on startup, but this is just normal behavior for force closing any program like this

Just have a button that can "stop" recordings even in this case. Then it's the user responsibility to use it or not.
Since this case the recording is not running and it fails to find the job, there's no other way than deleting files manually and restarting the container.
I believe its easier like this than having startup checks.

killing the job should work now i think, technically it would work the same way as if the stream ended
the startup issue still needs to be fixed somehow, as the status for capturing is in the json itself

2022-04-29 16:43:15.151 29 | exec <INFO> Executing linux process status (capture_threedogg_2022-04-29T15_37_49Z_45316025324): ps -p 57
2022-04-29 16:43:15.162 29 | config <SUCCESS> Loading config stuff done.
2022-04-29 16:43:15.171 29 | helper <ERROR> Process undefined for linux process status (capture_threedogg_2022-04-29T15_37_49Z_45316025324) error: Error: spawn ps ENOENT
2022-04-29 16:43:15.211 29 | job <ERROR> Error checking status for linux job capture_threedogg_2022-04-29T15_37_49Z_45316025324 (false)
2022-04-29 16:43:15.213 29 | job <WARNING> Job capture_threedogg_2022-04-29T15_37_49Z_45316025324 is stale, no process found. Clearing.
2022-04-29 16:43:15.215 29 | job <INFO> Clear job capture_threedogg_2022-04-29T15_37_49Z_45316025324 with PID 57
2022-04-29 16:43:15.217 29 | job <SUCCESS> Job capture_threedogg_2022-04-29T15_37_49Z_45316025324 removed from jobs list
2022-04-29 16:43:15.227 29 | helper <INFO> Process undefined for linux process status (capture_threedogg_2022-04-29T15_37_49Z_45316025324) exited with code -2
2022-04-29 16:43:17.226 29 | exec <INFO> Executing linux process status (capture_threedogg_2022-04-29T15_37_49Z_45316025324): ps -p 57
2022-04-29 16:43:17.229 29 | helper <ERROR> Process undefined for linux process status (capture_threedogg_2022-04-29T15_37_49Z_45316025324) error: Error: spawn ps ENOENT
2022-04-29 16:43:17.230 29 | job <ERROR> Error checking status for linux job capture_threedogg_2022-04-29T15_37_49Z_45316025324 (false)
2022-04-29 16:43:17.233 29 | helper <INFO> Process undefined for linux process status (capture_threedogg_2022-04-29T15_37_49Z_45316025324) exited with code -2

is the job running in the jobs list when you do that?

is the job running in the jobs list when you do that?

This was after the container was restarted while the recording was going on. So there was no job nor any file in the pids folder. Just the files in the vods folder

right, so you can't kill a job if it doesn't exist in the jobs list, maybe that isn't telegraphed very well
i fixed the issues fixer at least, did a breaking change earlier

right, so you can't kill a job if it doesn't exist in the jobs list, maybe that isn't telegraphed very well
i fixed the issues fixer at least, did a breaking change earlier

Exactly, but since the files were created before in the vods folder it appears as "recording" in the frontend. Only way to remove that is by deleting those files AND restart the docker container which is a problem if I have other streams recording.

and that's an issue that should never be happening if everything works correctly, it should always check for errors
the only reason a recording should completely fail is when the server/container is shut down, which when restarted will fix all the vods automatically

pushing the fix that repairs failed capture vods on startup


Fix A11y EndExclusive Error for Move & Expand

EndExclusive represents the end of the buffer. This is designed to not
point to any data on the buffer. UiaTextRange would point to this
EndExclusive and then attempt to move based on it. However, since it
does not point to any data, it could experience undefined behavior or
(inevitably) crash from running out of bounds.
This PR specifically checks for expansion and movement at that point,
and prevents us from moving beyond it. There are plans in the future to
define the "end" as the last character in the buffer. Until then, this
solution will suffice and provide correct behavior that doesn't crash.
Validation Steps Performed
Performed the referenced bugs' repro steps and added test coverage.
Closes MSFT-20458595
Closes #7663
Closes #7664

did you figure out how we could end up with -1 in a uia endpoint?
it looks like this stops all movement at the end-degenerate. what about moving backwards?

Build veyr mad

CC @simon818

Yeah. Gonna resolve this comment.

@carlos-zamora presumably in a follow-up PR?

Yeah. Gonna resolve this comment.

@carlos-zamora presumably in a follow-up PR?

Just a thought to play around with. This could be a part of #6453, since we'll hit that case often then.

This fix was just released as part of Windows in Insider Build 20236!


[WIP] Cascader: fix invalid zero value (#3470)

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's contributing guide (中文 | English).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

然而本地测试总是挂的不行.....

@Kingwl 大佬又回来写前端了？

噗。。。我一直在写前端啊。。。。前段时间忙着毕业没写啥代码。。。。


Error in GATK - empty read

Hello,
I'm getting an error during the pipeline, which is similar to what is reported in issue #460 . I tracked this down to an empty read.
I'm not really sure how can I provide bcbio the relevant flags to overcome this problematic reads.
GGGGGGGGGGIIIGIIIIIIGIIIIIIIIIIIIIIIIIIIIIIIGGIIIGIIIIIIIGGGGGGGIGIIGGIIIIGGIIGGGIGGIIGIIIGIIGIIGIIIG
@D00166:565:HWFZ6BCXX:1:2302:18025:97411 1:N:0:TGGTGGT
CTTGTGGGGTGACTGAGGAACCCCAGCGACTCTTTTATGGTGAGTGCTCTCAGCCTCAAGACTCCTCCCATAGAGACTGGGGGAAAAGAGGGGACTTTACC
+
AAGAGGGAAGGAGGGAAGA..AGGI.AGAGG.GGAAGGIIGGGGGGGGIGIGGGIGGGAGGIGGGG.GG<.GAAGGGGGGIGA.GGGGGGGGGGGGGGGAG
@D00166:565:HWFZ6BCXX:1:2302:18159:97423 1:N:0:TGGTGGT

@D00166:565:HWFZ6BCXX:1:2302:18080:97449 1:N:0:TGGTGGT
ATAAGCGTTAGTTCTTGAAACCAAGGCATTTGGGCAAATATTATACATTTTTATTTTATTAATTTTCCAGAACCCGTTTGAACCATGAAGCCATTTGTGC
And this is the log
[2016-10-17T07:14Z] INFO 07:14:05,256 ProgressMeter - done 4741.0 1.0 s 4.7 m 99.7% 1.0 s 0.0 s
[2016-10-17T07:14Z] INFO 07:14:05,256 ProgressMeter - Total runtime 1.34 secs, 0.02 min, 0.00 hours
[2016-10-17T07:14Z] INFO 07:14:05,257 MicroScheduler - 2 reads were filtered out during the traversal out of approximately 4743 total reads (0.04%)
[2016-10-17T07:14Z] INFO 07:14:05,257 MicroScheduler - -> 0 reads (0.00% of total) failing BadCigarFilter
[2016-10-17T07:14Z] INFO 07:14:05,257 MicroScheduler - -> 0 reads (0.00% of total) failing MalformedReadFilter
[2016-10-17T07:14Z] INFO 07:14:05,258 MicroScheduler - -> 2 reads (0.04% of total) failing NotPrimaryAlignmentFilter
[2016-10-17T07:14Z] INFO 07:14:05,846 GATKRunReport - Uploaded run statistics report to AWS S3
[2016-10-17T07:14Z] Index BAM file: 1_2016-10-16_germline_pipeline-sort-chrUn_gl000215_0_172545-prep.bam
[2016-10-17T07:14Z] GATK: realign ('chrUn_gl000216', 0, 172294) : 224433
[2016-10-17T07:14Z] INFO 07:14:06,285 GATKRunReport - Uploaded run statistics report to AWS S3
[2016-10-17T07:14Z] ##### ERROR ------------------------------------------------------------------------------------------
[2016-10-17T07:14Z] ##### ERROR A USER ERROR has occurred (version 3.5-0-g36282e4):
[2016-10-17T07:14Z] ##### ERROR
[2016-10-17T07:14Z] ##### ERROR This means that one or more arguments or inputs in your command are incorrect.
[2016-10-17T07:14Z] ##### ERROR The error message below tells you what is the problem.
[2016-10-17T07:14Z] ##### ERROR
[2016-10-17T07:14Z] ##### ERROR If the problem is an invalid argument, please check the online documentation guide
[2016-10-17T07:14Z] ##### ERROR (or rerun your command with --help) to view allowable command-line arguments for this tool.
[2016-10-17T07:14Z] ##### ERROR
[2016-10-17T07:14Z] ##### ERROR Visit our website and forum for extensive documentation and answers to
[2016-10-17T07:14Z] ##### ERROR commonly asked questions http://www.broadinstitute.org/gatk
[2016-10-17T07:14Z] ##### ERROR
[2016-10-17T07:14Z] ##### ERROR Please do NOT post this error to the GATK forum unless you have really tried to fix it yourself.
[2016-10-17T07:14Z] ##### ERROR
[2016-10-17T07:14Z] ##### ERROR MESSAGE: SAM/BAM/CRAM file htsjdk.samtools.SamReader$PrimitiveSamReaderToSamReaderAdapter@4a8fa358 is malformed. Please see http://gatkforums.broadinstitute.org/discussion/1317/collected-faqs-about-input-files-for-sequence-read-data-bam-cramfor more information. Error details: the BAM file has a read with no stored bases (i.e. it uses '*') which is not supported in the GATK; see the --filter_bases_not_stored argument. Offender: D00155:466:HWF7YBCXX:1:2205:18159:97423
[2016-10-17T07:14Z] ##### ERROR ------------------------------------------------------------------------------------------
[2016-10-17T07:14Z] Uncaught exception occurred
Traceback (most recent call last):
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 21, in run
do_run(cmd, checks, log_stdout)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 95, in do_run
raise subprocess.CalledProcessError(exitcode, error_msg)
CalledProcessError: Command 'set -o pipefail; java -Xms166m -Xmx583m -XX:+UseSerialGC -Djava.io.tmpdir=/mnt/work/tx/tmpqUEvZa -jar /mnt/work/inputs/jars/gatk/GenomeAnalysisTK.jar -T PrintReads -L chr1:109827209-142541836 -R /mnt/work/inputs/data/genomes/hg19/seq/hg19.fa -I /mnt/work/align/224433/1_2016-10-16_germline_pipeline-sort.bam -BQSR /mnt/work/align/224433/1_2016-10-16_germline_pipeline-sort.grp -U LENIENT_VCF_PROCESSING --read_filter BadCigar --read_filter NotPrimaryAlignment -o /mnt/work/bamprep/224433/chr1/tx/tmp1KuGJ/1_2016-10-16_germline_pipeline-sort-chr1_109827208_142541836-prep.bam
INFO 07:12:35,635 HelpFormatter - --------------------------------------------------------------------------------
INFO 07:12:35,637 HelpFormatter - The Genome Analysis Toolkit (GATK) v3.5-0-g36282e4, Compiled 2015/11/25 04:03:56
INFO 07:12:35,637 HelpFormatter - Copyright (c) 2010 The Broad Institute
INFO 07:12:35,637 HelpFormatter - For support and documentation go to http://www.broadinstitute.org/gatk
INFO 07:12:35,640 HelpFormatter - Program Args: -T PrintReads -L chr1:109827209-142541836 -R /mnt/work/inputs/data/genomes/hg19/seq/hg19.fa -I /mnt/work/align/224433/1_2016-10-16_germline_pipeline-sort.bam -BQSR /mnt/work/align/224433/1_2016-10-16_germline_pipeline-sort.grp -U LENIENT_VCF_PROCESSING --read_filter BadCigar --read_filter NotPrimaryAlignment -o /mnt/work/bamprep/224433/chr1/tx/tmp1KuGJ/1_2016-10-16_germline_pipeline-sort-chr1_109827208_142541836-prep.bam
INFO 07:12:35,645 HelpFormatter - Executing as ubuntu@frontend001 on Linux 3.13.0-98-generic amd64; OpenJDK 64-Bit Server VM 1.7.0_95-b00.
INFO 07:12:35,646 HelpFormatter - Date/Time: 2016/10/17 07:12:35
INFO 07:12:35,646 HelpFormatter - --------------------------------------------------------------------------------
INFO 07:12:35,646 HelpFormatter - --------------------------------------------------------------------------------
INFO 07:12:35,816 GenomeAnalysisEngine - Strictness is SILENT
INFO 07:12:36,351 ContextCovariate - Context sizes: base substitution model 2, indel substitution model 3
INFO 07:12:36,383 GenomeAnalysisEngine - Downsampling Settings: No downsampling
INFO 07:12:36,390 SAMDataSource$SAMReaders - Initializing SAMRecords in serial
INFO 07:12:36,420 SAMDataSource$SAMReaders - Done initializing BAM readers: total time 0.03
INFO 07:12:36,445 IntervalUtils - Processing 32714628 bp from intervals
INFO 07:12:36,664 GenomeAnalysisEngine - Preparing for traversal over 1 BAM files
INFO 07:12:36,883 GenomeAnalysisEngine - Done preparing for traversal
INFO 07:12:36,884 ProgressMeter - [INITIALIZATION COMPLETE; STARTING PROCESSING]
INFO 07:12:36,885 ProgressMeter - | processed | time | per 1M | | total | remaining
INFO 07:12:36,886 ProgressMeter - Location | reads | elapsed | reads | completed | runtime | runtime
INFO 07:12:36,901 ReadShardBalancer$1 - Loading BAM index data
INFO 07:12:37,149 ReadShardBalancer$1 - Done loading BAM index data
INFO 07:13:07,579 ProgressMeter - chr1:110469275 0.0 30.0 s 50.8 w 2.0% 25.5 m 25.0 m
INFO 07:13:38,006 ProgressMeter - chr1:111924380 200005.0 61.0 s 5.1 m 6.4% 15.9 m 14.8 m
INFO 07:14:06,285 GATKRunReport - Uploaded run statistics report to AWS S3
ERROR ------------------------------------------------------------------------------------------
ERROR A USER ERROR has occurred (version 3.5-0-g36282e4):
ERROR
ERROR This means that one or more arguments or inputs in your command are incorrect.
ERROR The error message below tells you what is the problem.
ERROR
ERROR If the problem is an invalid argument, please check the online documentation guide
ERROR (or rerun your command with --help) to view allowable command-line arguments for this tool.
ERROR
ERROR Visit our website and forum for extensive documentation and answers to
ERROR commonly asked questions http://www.broadinstitute.org/gatk
ERROR
ERROR Please do NOT post this error to the GATK forum unless you have really tried to fix it yourself.
ERROR
ERROR MESSAGE: SAM/BAM/CRAM file htsjdk.samtools.SamReader$PrimitiveSamReaderToSamReaderAdapter@4a8fa358 is malformed. Please see http://gatkforums.broadinstitute.org/discussion/1317/collected-faqs-about-input-files-for-sequence-read-data-bam-cramfor more information. Error details: the BAM file has a read with no stored bases (i.e. it uses '*') which is not supported in the GATK; see the --filter_bases_not_stored argument. Offender: D00155:466:HWF7YBCXX:1:2205:18159:97423
ERROR ------------------------------------------------------------------------------------------
' returned non-zero exit status 1
Traceback (most recent call last):
File "/usr/local/bin/bcbio_nextgen.py", line 226, in
main(kwargs)
File "/usr/local/bin/bcbio_nextgen.py", line 43, in main
run_main(kwargs)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 39, in run_main
fc_dir, run_info_yaml)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 82, in run_toplevel
for xs in pipeline(config, run_info_yaml, parallel, dirs, samples):
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 147, in variant2pipeline
samples = region.parallel_prep_region(samples, run_parallel)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/pipeline/region.py", line 139, in parallel_prep_region
"piped_bamprep", add_combine_info, file_key, ["config"])
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/distributed/split.py", line 59, in parallel_split_combine
split_output = parallel_fn(parallel_name, split_args)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 28, in run_parallel
return run_multicore(fn, items, config, parallel=parallel)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 86, in run_multicore
for data in joblib.Parallel(parallel["num_jobs"])(joblib.delayed(fn)(x) for x in items):
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 812, in __call
self.retrieve()
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 749, in retrieve
exception = exception_type(report)
TypeError: init() takes at least 3 arguments (2 given)
' returned non-zero exit status 1

Thanks for the report. Is this a pre-aligned BAM going into bcbio? If so, you'd need to set bam_clean: picard which will use this flag and cleanup the BAM for downstream analysis:
http://bcbio-nextgen.readthedocs.io/en/latest/contents/configuration.html#alignment
If not, maybe we should be detecting or removing these problem reads in bcbio? Or is there some way to fix the input fastqs on your side before feeding into bcbio? Thanks again for the report and hope this helps.

Thanks Brad.
These are fastq files and not bam.
I can try and remove these reads before, but I wondered if I can instrcut bcbio to pass parameters to GATK by setting a configuration of extra flags which should be passed to GATK. In this specific case pass the flag --filter_bases_not_stored as suggested here
https://software.broadinstitute.org/gatk/gatkdocs/org_broadinstitute_gatk_engine_filters_MalformedReadFilter.php
Thanks you for your help

Apologies, I meant to respond more directly to that question as well. We don't have a way to pass arbitrary command line arguments to that part of the pipeline so there isn't an easy way to do this.
In general, I'm happier if bcbio generates an error here rather than silently ignores the problem since it indicates some kind of problem upstream that should be fixed, or at least understood to determine if it's a problem or not. We could patch it here but that doesn't preclude the same issue causing problems at other places: for instance, if you weren't using realignment so it never went through these steps.
Sorry to be a pain in searching for a more general fix but hope this makes sense.

Thanks for the prompt reply Brad. It makes sense. I'll see how to work around it.


Fix running pymc-client.py for windows

Addresses #7 by wrapping the script with if __name__ == "__main__": (see pymc discourse)

Thanks a lot!


Feat: Supply filters as part of the dashboard url

https://www.notion.so/rilldata/Passing-Filters-as-part-of-URL-ac2972fcd3f64de3af20838ec1c0231b?pvs=4

PR - https://github.com/rilldata/rill/pull/5340


Need to add controls functionality

Feature Request
Feature description:
Need to have controls functionality, so we can write specific tests for CIS Foundations Benchmarks, CIS Controls, CIS Docker, CSA CCM, GDPR, HIPAA, ISO 27001, NIST 800-53, PCI, and SOC 2.
Since a singled test might be applicable to multiple controls, we need to have the ability to map a test to a control.
Also need the ability to filter by controls.
Suggested Solution description ( if you have any ):
Refactor existing framework for a control feature.

Thanks for the feature request.
It is possible to tag a feature or a scenario with a custom tag that you want - which can be used for mapping those features or scenarios to controls.
For e.g. ;
@control_A
Feature: test

  @control_A.1
  Scenario: Some scenario related with control A.1
      Given I have ...

    @control_A.1
    @control_A.2
    Scenario: Some scenario related with control A.1 and A.2

      Given I have ...

Then you can even run these specific feature or scenarios by using --tags parameter.
For e.g. ;

This will run 2 scenarios since both of them are tagged with control_A.1
terraform-compliance -p plan.out.json -f . --tags control_A.1

This will run control_A.2 scenario only
terraform-compliance -p plan.out.json -f . --tags control_A.2

This will run every scenario within the feature because the feature is tagged with control_A
terraform-compliance -p plan.out.json -f . --tags control_A

Let me know if this is suitable for your feature.


Error when creating a new Product Backlog

Hello!
I have a problem when i create a product backlog, i have an error:
ErrorException in ProductBacklogObserver.php line 46:
Undefined property: stdClass::$html_url
can you help me to solve it?
Thanks

I fixed this by changing Github.php
look here: f766a0b
if it gives you problems when trying to create a new product backlog, make the same change in the requests.


docs: add CONTRIBUTING.md

This PR is a first pass at establishing a set of norms and conventions as part of the contributor guidelines that will be included in our open source repos. My goal was to write a basic set of contributor guidelines that are generalized enough to be included in all of our repos, with room to add repo specific information where needed.
I opened this as a PR instead of pushing to main so that we could have a conversation around the contents of the document.

Is there anything that ought to be included or excluded?
Are we in agreement that this is a sensible set of reqs?
Is this generalized enough to include in all of our open source repos?

When building this document I referred to a few sources:

https://opensource.guide/building-community/
https://opensource.guide/starting-a-project/#writing-your-contributing-guidelines
https://github.com/nayafia/contributing-template/blob/HEAD/CONTRIBUTING-template.md
https://mozillascience.github.io/working-open-workshop/contributing/
https://opensource.guide/best-practices/

@beckettsean I have updated the document with a section on contributor license agreement and this should be ready for review again


Idea: Test for bad version parsing tuple(map(int, __version__)))

Inspired by a recent bug in pycharm, caused by bad version parsing that went undetected until matplotlib, for the first time in 20 years, published a non-pre-release version with a postfix (3.9.1.post1 on Aug 7th).
What it does
Checks for the presence of tuple(map(int, obj.__version__.split("."))) and equivalent variants thereof.
Why this is bad
This breaks if the package uses a postfix that is not convertible to integer, such as matplotlib==3.9.1.post1.
Use instead
Version string should be parsed using the PEP440 specification.

PyPA's packaging provides the packaging.version utility.
PEP440 provides a canonical regex if one wants to avoid additional dependencies.

A quick GitHub search shows that this vulnerability is present in many packages.

I'm in favor of this.


allowing logged-in user to bind a passport without username or email

The reasoning behind this change is that we need unique user credentials provided in auth profile only for the case when there is no corresponding passport stored in DB and the current user is not authenticated.
Live example: I am authenticated and I want to connect my facebook profile with my user, and facebook for some reason doesn't give me the email/username. Basically, I don't care for the email right now because the current user has a verified email already attached.

@maslennikov Thanks for your code :wink:
@tjwebb May you please merge it?

This branch has conflicts that must be resolved
Use the command line


create-react-app doesn't work

Even after installing npm instal create-react-app -g globally,
create-react-app ReactApp doesn't work and throws the following error as given below -
E:\Folder\ReactJS>create-react-app helloReact
'create-react-app' is not recognized as an internal or external command,
operable program or batch file.

Any kind of help would be appreciated.

Hi,
Looks like you are using Windows, make sure you added your npm global modules to your PATH variable.
Plus, which npm version are you using? I think there's some kind of bugs with version 5.2.0, so in case you are using that one, you should upgrade to 5.3.0 or even downgrade to latest v4.
Although with that error message I'd go with the PATH issue.
Hope it helps!

Hi @afontcu. Yes I am on Windows 7 and my npm version is 3.10.10 and node version is v6.11.1.
Actually, I tried setting the path as C:\Program Files\nodejs\node_modules\npm to the path in environment variables but it is not working. Can you please specify the exact path variables which I need to append to my create-react-app work?

I'm afraid I'm not using Windows so I can't really tell you the exact path, but search it online, it might help: Stack Overflow, Github.
Hope it helps!

How did you install Node.js? I would recommend reinstalling it with the official installer on the website. Then open "Node.js command prompt" from your Start menu and use that.
I'll close because this question is about Node/npm rather than Create React App itself. If you're having issues with Node I suggest to consult Node specific resources that might have more experts in this area.

Thanks @gaearon for the suggestion for using Node.js command prompt. But that too didn't work.
Actually I was not able to find out where create-react-app file is. But that I was able to locate it at C:\Program Files\Git\usr\local and added it to path variable. And now it works fine.

I had the same problem with node v8 ended downgrading to v6

I faced the same issue. I am a windows 10 user and what i did is add environment variable  C:\Users{user}\AppData\Roaming\npm in system variable PATH. It worked for me.

I updated the Node on my computer, after that I ran Command Line as an Administrator and it worked for me.

Hello,
I had the same problem with  npm  5.5.1, node v8.9.2;
Open cmd as administrator, ie C:\Windows\System32>npm install create-react-app -g  then go back to the path you want to create your react app, run create-react-app AppName

@JayStackKrisz  @Ulrikp32 maybe its a good workaround but its a security issue to run npm install whatever as windows admin, or linux root ....

Fun links and random code for Windows 10 users:
https://superuser.com/questions/949560/how-do-i-set-system-environment-variables-in-windows-10
https://stackoverflow.com/questions/9587665/nodejs-cannot-find-installed-module-on-windows
Some fun commands:
Open powershell, run
npm root -g
Then go to
Windows control panel > System
(Control Panel\System and Security\System)
Then > Advanced system settings > Advanced > Environment Variables
Then select 'Path' from the list > edit
Paste in the path from the Powershell command
Add an environment variable called NODE_PATH and set it to %USERPROFILE%\Application Data\npm\node_modules (Windows XP), %AppData%\npm\node_modules (Windows 7/8/10), or wherever npm ends up installing the modules on your Windows flavor. To be done with it once and for all, add this as a System variable in the Advanced tab of the System Properties dialog (run control.exe sysdm.cpl,System,3).
Following some of this worked for me.

I had the same issue I reinstalled my node and the do the following
npm instali -g create-react-app