[Swift] undefined method `each' for nil:NilClass - Cannot Create Group Within FastlaneSwiftRunner Project

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

If you create a new group (also known as a "folder" reference that doesn't create a real folder in Finder) within FastlaneSwiftRunner project, the project compiles fine but no lanes work anymore, throwing the same error.
Command executed

bundle exec fastlane release --verbose
(custom lane)
Note: it's not a complete output, just the useful part of it. Again, no lanes work, it doesn't matter what it has inside of it, so the lane name doesn't matter below.

bundle exec fastlane release --verbose
[✔] 🚀
DEBUG [2019-08-17 10:25:41.86]: Checking if there are any plugins that should be loaded...
INFO [2019-08-17 10:25:41.99]: loading manifest: /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/fastlane-2.129.0/fastlane/swift/upgrade_manifest.json
DEBUG [2019-08-17 10:25:42.06]: No missing groups found, so we don't need to worry about adding new groups
DEBUG [2019-08-17 10:25:42.06]: Fastlane.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.55/0.9.55
DEBUG [2019-08-17 10:25:42.06]: File versions are the same, but the two files are not equal, so that's a problem, setting needs update to 'true'
DEBUG [2019-08-17 10:25:42.06]: file Fastlane.swift needs an update
DEBUG [2019-08-17 10:25:42.06]: DeliverfileProtocol.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.8/0.9.8
DEBUG [2019-08-17 10:25:42.06]: GymfileProtocol.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.4/0.9.4
DEBUG [2019-08-17 10:25:42.06]: File versions are the same, but the two files are not equal, so that's a problem, setting needs update to 'true'
DEBUG [2019-08-17 10:25:42.06]: file GymfileProtocol.swift needs an update
DEBUG [2019-08-17 10:25:42.06]: MatchfileProtocol.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.5/0.9.5
DEBUG [2019-08-17 10:25:42.06]: PrecheckfileProtocol.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.1/0.9.1
DEBUG [2019-08-17 10:25:42.06]: ScanfileProtocol.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.12/0.9.12
DEBUG [2019-08-17 10:25:42.06]: File versions are the same, but the two files are not equal, so that's a problem, setting needs update to 'true'
DEBUG [2019-08-17 10:25:42.06]: file ScanfileProtocol.swift needs an update
DEBUG [2019-08-17 10:25:42.06]: ScreengrabfileProtocol.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.1/0.9.1
DEBUG [2019-08-17 10:25:42.06]: SnapshotfileProtocol.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.4/0.9.4
DEBUG [2019-08-17 10:25:42.06]: LaneFileProtocol.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.2/0.9.2
DEBUG [2019-08-17 10:25:42.06]: ControlCommand.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.2/0.9.2
DEBUG [2019-08-17 10:25:42.06]: RubyCommand.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.2/0.9.2
DEBUG [2019-08-17 10:25:42.06]: RubyCommandable.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.2/0.9.2
DEBUG [2019-08-17 10:25:42.06]: Runner.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.2/0.9.2
DEBUG [2019-08-17 10:25:42.06]: SocketClient.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.2/0.9.2
DEBUG [2019-08-17 10:25:42.06]: SocketClientDelegateProtocol.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.2/0.9.2
DEBUG [2019-08-17 10:25:42.06]: SocketResponse.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.2/0.9.2
DEBUG [2019-08-17 10:25:42.06]: ArgumentProcessor.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.2/0.9.2
DEBUG [2019-08-17 10:25:42.06]: main.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.2/0.9.2
DEBUG [2019-08-17 10:25:42.06]: RunnerArgument.swift FastlaneRunnerAPIVersion (bundled/target): 0.9.2/0.9.2
WARN [2019-08-17 10:25:42.06]: Lane Context:
INFO [2019-08-17 10:25:42.06]: {:LANE_NAME=>"release"}
ERROR [2019-08-17 10:25:42.06]: undefined method `each' for nil:NilClass
ERROR [2019-08-17 10:25:42.06]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...
Search query: undefined method `each' for nil

URL: https://api.github.com/search/issues?q=undefined%20method%20%60each%27%20for%20nil+repo:fastlane/fastlane
➡  [Swift] undefined method `each' for nil:NilClass - Cannot Create Group Within FastlaneSwiftRunner Project
    https://github.com/fastlane/fastlane/issues/15184 [open] 3 💬
    7 hours ago

➡  Need help with Spaceship stuff that used to work
    https://github.com/fastlane/fastlane/issues/15033 [open] 6 💬
    9 hours ago

➡  upload_to_testflight: fails with nil in pilot/build_manager.rb:449:in `update_build_beta_details`
    https://github.com/fastlane/fastlane/issues/14977 [open] 23 💬
    2 weeks ago

and 155 more at: https://github.com/fastlane/fastlane/search?q=undefined%20method%20%60each%27%20for%20nil&type=Issues&utf8=✓

🔗  You can ⌘ + double-click on links to open them directly in your browser.
bundler: failed to load command: fastlane (/Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/bin/fastlane)
NoMethodError: [!] undefined method `each' for nil:NilClass
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/swift_runner_upgrader.rb:159:in `block in add_new_files_to_groups!'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/swift_runner_upgrader.rb:148:in `each'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/swift_runner_upgrader.rb:148:in `add_new_files_to_groups!'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/swift_runner_upgrader.rb:48:in `upgrade_if_needed!'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/swift_lane_manager.rb:265:in `ensure_runner_up_to_date_fastlane!'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/swift_lane_manager.rb:34:in `cruise_lane'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/command_line_handler.rb:34:in `handle'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/fastlane-2.129.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/commands_generator.rb:333:in `run'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/gems/fastlane-2.129.0/bin/fastlane:23:in `<top (required)>'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/bin/fastlane:23:in `load'
  /Users/rogerluan/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/bin/fastlane:23:in `<top (required)>'```
</details>

### Environment

<!--
Please run `fastlane env` and copy the output below. This will help us help you.
If you used the `--capture_output` option, please remove this block as it is already included there.
-->

<details>
<details><summary>✅ fastlane environment ✅</summary>

### Stack

| Key                         | Value                                                           |
| --------------------------- | --------------------------------------------------------------- |
| OS                          | 10.14.6                                                         |
| Ruby                        | 2.4.1                                                           |
| Bundler?                    | true                                                            |
| Git                         | git version 2.20.1 (Apple Git-117)                              |
| Installation Source         | ~/Documents/Projects/tellus-ios/.vendor/ruby/2.4.0/bin/fastlane |
| Host                        | Mac OS X 10.14.6 (18G87)                                        |
| Ruby Lib Dir                | /usr/local/Cellar/ruby/2.4.1_1/lib                              |
| OpenSSL Version             | OpenSSL 1.0.2k  26 Jan 2017                                     |
| Is contained                | false                                                           |
| Is homebrew                 | false                                                           |
| Is installed via Fabric.app | false                                                           |
| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/                     |
| Xcode Version               | 10.3                                                            |

### System Locale

| Variable | Value       |   |
| -------- | ----------- | - |
| LANG     | en_US.UTF-8 | ✅ |
| LC_ALL   | en_US.UTF-8 | ✅ |
| LANGUAGE |             |   |

### fastlane files:

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

```ruby
// This file contains the fastlane.tools configuration
// You can find the documentation at https://docs.fastlane.tools
//
// For a list of all available actions, check out
//
//     https://docs.fastlane.tools/actions
//

import Foundation

class Fastfile: LaneFile {
    func releaseLane() {
        desc("Push a new release build to the App Store, updating the metadata.")
        sh(command: "bundle exec fastlane match appstore") // Invokes the Ruby version of fastlane that uses the Ruby config file, because there's no support to Match in Swift yet.
        prepareTellusCoreToBeCompiled()
        buildApp(workspace: workspace, scheme: productionScheme)
        deliver(username: appleID, app: appIdentifier)
        slack(message: "A build has been archived, uploaded and submitted to the App Store and is now under 'Waiting for Review' status.", slackUrl: "https://hooks.slack.com/services/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", username: "Fastlane iOS Minion")
        cleanUpTellusCoreChanges()
    }

    func onError(currentLane: String, errorInfo: String) {
        switch currentLane {
        case "release": cleanUpTellusCoreChanges()
        default: break
        }
    }

    // MARK: Utilities
    private func prepareTellusCoreToBeCompiled() {
        sh(command: "./_env.sh debug-core")
    }

    private func cleanUpTellusCoreChanges() {
        sh(command: "./_env.sh undebug-core")
    }
}

No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.129.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

bundler
2.0.1

CFPropertyList
3.0.0

ZenTest
4.11.2

RubyInline
3.12.4

concurrent-ruby
1.1.5

i18n
0.9.5

minitest
5.11.3

thread_safe
0.3.6

tzinfo
1.2.5

activesupport
<IP_ADDRESS>

public_suffix
2.0.5

addressable
2.6.0

atomos
0.1.3

babosa
1.0.2

claide
1.0.3

fuzzy_match
2.0.4

nap
1.1.0

cocoapods-core
1.7.0

cocoapods-deintegrate
1.0.4

cocoapods-downloader
1.2.2

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.1.0

netrc
0.11.0

cocoapods-trunk
1.3.1

cocoapods-try
1.1.0

colored2
3.1.2

escape
0.0.4

fourflusher
2.3.1

gh_inspector
1.1.3

molinillo
0.6.6

ruby-macho
1.4.0

nanaimo
0.2.6

xcodeproj
1.12.0

cocoapods
1.7.0

dotenv
2.7.5

osx_keychain
1.0.2

cocoapods-keys
2.1.0

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.10

declarative-option
0.1.0

digest-crc
0.4.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

emoji_regex
1.0.1

excon
0.66.0

multipart-post
2.0.0

faraday
0.15.4

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.5

jwt
2.1.0

memoist
0.16.0

multi_json
1.13.1

os
1.0.1

signet
0.11.0

googleauth
0.6.7

httpclient
2.8.3

mime-types-data
3.2019.0331

mime-types
3.2.2

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.23.9

google-cloud-env
1.2.0

google-cloud-core
1.3.0

google-cloud-storage
1.16.0

json
2.2.0

mini_magick
4.9.5

multi_xml
0.6.0

plist
3.5.0

rubyzip
1.2.3

security
0.1.3

naturally
2.2.0

simctl
1.6.5

slack-notifier
2.3.2

terminal-notifier
2.0.0

unicode-display_width
1.6.0

terminal-table
1.8.0

tty-screen
0.7.0

tty-cursor
0.7.0

tty-spinner
0.9.1

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.0

ffi
1.11.1

mustache
1.1.0

open4
1.3.4

redcarpet
3.4.0

rb-fsevent
0.10.3

rb-inotify
0.10.0

sass-listen
4.0.0

sass
3.7.4

sqlite3
1.4.1

liferaft
0.0.6

xcinvoke
0.3.0

jazzy
0.10.0

psych
3.0.3

generated on: 2019-08-15

Same output with --verbose?
Did this work before?

What part would be different with --verbose, and why? 🤔
This is the first time I do this, so I don't know the answer to that 😅

--verbose usually adds more verbose output that might be helpful.

Nothing different in this case (I think). I updated the original post with the verbose option 👍

having almost the same error when running fastlane with swift setup:
$ fastlane test --verbose
[✔] 🚀
[16:13:49]: fastlane detected a Gemfile in the current directory
[16:13:49]: however it seems like you don't use `bundle exec`
[16:13:49]: to launch fastlane faster, please use
[16:13:49]:
[16:13:49]: $ bundle exec fastlane test --verbose
[16:13:49]:
[16:13:49]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
DEBUG [2019-09-01 16:13:50.24]: Checking if there are any plugins that should be loaded...
INFO [2019-09-01 16:13:50.66]: loading manifest: /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane/swift/upgrade_manifest.json
DEBUG [2019-09-01 16:13:50.74]: No missing groups found, so we don't need to worry about adding new groups
WARN [2019-09-01 16:13:50.74]: Lane Context:
INFO [2019-09-01 16:13:50.74]: {:LANE_NAME=>"test"}
ERROR [2019-09-01 16:13:50.74]: undefined method `[]' for nil:NilClass
ERROR [2019-09-01 16:13:50.74]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...
Search query: undefined method `[]' for nil

URL: https://api.github.com/search/issues?q=undefined%20method%20%60%5B%5D%27%20for%20nil+repo:fastlane/fastlane
➡  Pilot - undefined method `strip' for nil:NilClass
    https://github.com/fastlane/fastlane/issues/15204 [open] 10 💬
    a week ago

➡  [pilot] undefined method `id' for nil:NilClass
    https://github.com/fastlane/fastlane/issues/15138 [open] 15 💬
    4 days ago

➡  [Spaceship] Error 'undefined method `each' for nil:NilClass' when using Spaceship::Portal::Persons
    https://github.com/fastlane/fastlane/issues/15216 [open] 3 💬
    16 hours ago

and 399 more at: https://github.com/fastlane/fastlane/search?q=undefined%20method%20%60%5B%5D%27%20for%20nil&type=Issues&utf8=✓

🔗  You can ⌘ + double-click on links to open them directly in your browser.
Traceback (most recent call last):
	20: from /usr/local/bin/fastlane:23:in `<main>'
	19: from /usr/local/bin/fastlane:23:in `load'
	18: from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/bin/fastlane:23:in `<top (required)>'
	17: from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
	16: from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
	15: from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane/lib/fastlane/commands_generator.rb:349:in `run'
	14: from /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
	13: from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
	12: from /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
	11: from /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
	10: from /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
	 9: from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
	 8: from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane/lib/fastlane/command_line_handler.rb:34:in `handle'
	 7: from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane/lib/fastlane/swift_lane_manager.rb:34:in `cruise_lane'
	 6: from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane/lib/fastlane/swift_lane_manager.rb:265:in `ensure_runner_up_to_date_fastlane!'
	 5: from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane/lib/fastlane/swift_runner_upgrader.rb:47:in `upgrade_if_needed!'
	 4: from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane/lib/fastlane/swift_runner_upgrader.rb:61:in `upgrade_files!'
	 3: from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane/lib/fastlane/swift_runner_upgrader.rb:61:in `each'
	 2: from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane/lib/fastlane/swift_runner_upgrader.rb:62:in `block in upgrade_files!'
	 1: from /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane/lib/fastlane/swift_runner_upgrader.rb:111:in `copy_file_if_needed!'
/usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.130.0/fastlane/lib/fastlane/swift_runner_upgrader.rb:93:in `file_needs_update?': [!] undefined method `[]' for nil:NilClass (NoMethodError)

@Sega-Zero what did you change in your fastlane project for it to start happening?

Nothing, I've just ran fastlane init swift, tried to run the project in xcode, debug failed with
[1567343581.0510988]: [FastlaneRunner.RunnerArgument(name: "lane", value: "test")]
[1567343581.0825992]: input stream error occurred
[1567343581.0833511]: sending: {"commandType" : "control", "command" : {"command":"done"}}
[1567343583.053505]: timeout: couldn't start socket thread in: 2 seconds
[1567343583.053547]: socket thread timeout
Fatal error: file /Users/user/foo/fastlane/swift/Runner.swift, line 79
[1567343583.053772]: Timeout: Couldn't connect to ruby process within: 2 seconds
[1567343583.053801]: Runner timed out after 2 second(s)
[1567343583.053931]: error encountered while executing command:
connectionFailure

then I tried to run both bundle exec fastlane test and fastlane test and both failed.
Ruby ver:
$ ruby -v
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]

Fastfile.swift:
import Foundation

class Fastfile: LaneFile {
    func test() {
        print("test")
    }
}

It seems like file_needs_update tries to find regex match in bundled version of Actions.swift and, due to no footer with version is exists, it fails to get matches[1] and crashes.
A quick adhoc fixes problem for me
      return false unless source_file_content.include? "FastlaneRunnerAPIVersion"
      return false unless target_file_content.include? "FastlaneRunnerAPIVersion"

Maybe it's better to find other way of version checking? I'd suggest extended file attribute instead of text footer

Heyyy 👋 Sorry about this error! It will be fixed in new version going out later today

Interesting that it was just those tags 🤔 thanks though!

fastlane 2.131.0
the same problem, I can not found the way to resolute it

Still happens in the latest version

This fixed my issue.
I also need to do bundle install and bundle update fastlane to work after step 3.

Reproduced with Ruby 2.6.5 and Fastlane 2.142.0

Also still happening with ruby 2.7.0p0, fastlane 2.142.0

Any update on this? I'm seeing the same issue.

I am seeing the exact same error as above with Ruby 2.7.1 and fastlane 2.145.0:
➡  [Swift] undefined methodeach' for nil:NilClass - Cannot Create Group Within FastlaneSwiftRunner Project
https://github.com/fastlane/fastlane/issues/15184 [open] 22 💬
4 days ago
➡  [!] undefined method `[]' for #<Gem::NameTuple fastlane, 2.143.0, ruby> (NoMethodError)
https://github.com/fastlane/fastlane/issues/16127 [open] 16 💬
35 minutes ago
➡  Mac Notarize Failing
https://github.com/fastlane/fastlane/issues/16095 [open] 6 💬
3 weeks ago`

Any update on this? Having the same problem

@michaelkollmann I got past this, but can't recall the exact sequence.
I believe that, after updating fastlane and bundle in the ios directory, running bundle exec .. rather than fastlane {lane} got me beyond the error above and allowed gym to build.
I then hit a second set of errors, caused by Apple changing policy for uploads.  I had to:

set an application password in Apple Connect, which generated a UUID-like code;
Add a new item into info.plist: App Uses Non-Exempt Encryption: NO
Store that code, along with 2 other ENV VARS in my .zshrc; and
re-run fastlane cert to recreate credentials for upload to testflight

Bot please don't close this.

the problem still exist

I am seeing the exact same error as above with Ruby 2.7.0 and fastlane 2.145.0. Occurs at the gym stage in fastfile:
gym(
      scheme: "connect",
      workspace: "connect.xcworkspace",
      clean: true,
      export_method: "app-store",
      export_options: {
        provisioningProfiles: {
            CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier) => CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier) + " AppStore"
        }
      },
      build_path: "./builds",
      output_directory: "./builds"
    )

Errors:
	31: from /usr/local/lib/ruby/gems/2.6.0/gems/fastlane-2.134.0/bin/fastlane:23:in `<main>'
	30: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
	29: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
	28: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/commands_generator.rb:349:in `run'
	27: from /usr/local/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
	26: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
	25: from /usr/local/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
	24: from /usr/local/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
	23: from /usr/local/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
	22: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
	21: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
	20: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane'
	19: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
	18: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
	17: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
	16: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/lane.rb:33:in `call'
	15: from Fastfile:54:in `block (2 levels) in parsing_binding'
	14: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
	13: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
	12: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
	11: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:227:in `chdir'
	10: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:253:in `block in execute_action'
	 9: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
	 8: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/runner.rb:261:in `block (2 levels) in execute_action'
	 7: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane/lib/fastlane/actions/build_app.rb:66:in `run'
	 6: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/gym/lib/gym/manager.rb:19:in `work'
	 5: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/gym/lib/gym/runner.rb:18:in `run'
	 4: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/gym/lib/gym/runner.rb:106:in `build_app'
	 3: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/fastlane_core/lib/fastlane_core/command_executor.rb:89:in `execute'
	 2: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/gym/lib/gym/runner.rb:110:in `block in build_app'
	 1: from /usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/gym/lib/gym/error_handler.rb:59:in `handle_build_error'
/usr/local/lib/ruby/gems/2.7.0/gems/fastlane-2.145.0/gym/lib/gym/error_handler.rb:147:in `print_full_log_path': \e[31m[!] undefined method `each' for nil:NilClass\e[0m (NoMethodError)```

➡  [Swift] undefined method `each' for nil:NilClass - Cannot Create Group Within FastlaneSwiftRunner Project
    https://github.com/fastlane/fastlane/issues/15184 [open] 22 💬
    4 days ago

➡  [!] undefined method `[]' for #<Gem::NameTuple fastlane, 2.143.0, ruby> (NoMethodError)
    https://github.com/fastlane/fastlane/issues/16127 [open] 16 💬
    35 minutes ago

➡  Mac Notarize Failing
    https://github.com/fastlane/fastlane/issues/16095 [open] 6 💬
    3 weeks ago

have the same error, have you solved it?

I have the same issue.

the problem still exist

When are you going to fix this?

Can someone prompt me some adhoc solution for handling this issue?
Still doesn't work(

@EugeneEl , I'm not creating Groups within FastlaneSwiftRunner Xcode Project, the structure is flat. This way, the problem doesn't occur.

@rogerluan
Could you please prompt how not to create groups FastlaneSwiftRunner ?

Just don't, it's not supported

what is FastlaneSwiftRunner?
Not sure understand what is it.
could please give some link please

This GitHub Issue is related to a very specific error in fastlane when creating a group within Fastlane's Swift API xcodeproj. FastlaneSwiftRunner is just the name of the Xcode project.
@EugeneEl what are you trying to achieve? What's the issue you're facing? What have you tried to resolve your issue so far?

This will be fixed using SPM probably in #16844.

Still happens in the latest version.

func testLane() {
    desc("just testing the lane")
}

Will need a bit of time before I can tackle this issue and see the root of the problem but thanks for the heads-up @rogerluan 🤗

Awesome! 🚀 appreciate the feedback!

I have this same error on a deploy today after no change to the fastlane config or github actions script. I haven't seen this error previously.
The app build properly but seems to be an issue uploading to testflight.

@aidandavis sounds like your issue is unrelated to this one, could you file a new Issue?

@aidandavis sounds like your issue is unrelated to this one, could you file a new Issue?

You're right, but the error message linked directly to this issue.

Just to clarify things out, does the example provided crash fastlane in the latest version? To avoid fixing an issue that has been solved😅

It was last tested in 2.160.0, I'll test again now in 2.162.0 @minuscorp

Yes, it still happens as of 2.162.0 @minuscorp 😅

Your example of still usable isn't it? It's SPM, Xcode or both? @rogerluan

I don't understand your first question 😅
It's Xcode, not SPM.
To replicate:

Initiate a brand new fastlane swift project.
Create a test lane like func testLane() { } that does nothing, just for testing purposes. Here you can attest that it works fine.
Create a swift file, a group, and move the swift file into the group. Like this:

Now try to run the test lane again, and it will crash with the logs shown above https://github.com/fastlane/fastlane/issues/15184#issuecomment-693654635

Alright thank you very much for the example!🤗

I'm having the same problem as well:
/Library/Ruby/Gems/2.6.0/gems/highline-1.7.10/lib/highline/question.rb:413:in remove_whitespace': [!] undefined method strip' for nil:NilClass (NoMethodError) Did you mean?  String Did you mean?  String 	from /Library/Ruby/Gems/2.6.0/gems/highline-1.7.10/lib/highline.rb:873:in get_line'
from /Library/Ruby/Gems/2.6.0/gems/highline-1.7.10/lib/highline.rb:891:in get_response' 	from /Library/Ruby/Gems/2.6.0/gems/highline-1.7.10/lib/highline.rb:264:in ask'
from /Library/Ruby/Gems/2.6.0/gems/forwardable-1.3.1/lib/forwardable.rb:235:in ask' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/spaceship/lib/spaceship/two_step_or_factor_client.rb:225:in ask_for_2fa_code'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/spaceship/lib/spaceship/two_step_or_factor_client.rb:308:in request_two_factor_code_from_phone' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/spaceship/lib/spaceship/two_step_or_factor_client.rb:141:in handle_two_factor'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/spaceship/lib/spaceship/two_step_or_factor_client.rb:20:in handle_two_step_or_factor' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/spaceship/lib/spaceship/client.rb:499:in send_shared_login_request'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/spaceship/lib/spaceship/tunes/tunes_client.rb:127:in send_login_request' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/spaceship/lib/spaceship/client.rb:781:in do_login'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/spaceship/lib/spaceship/client.rb:389:in login' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/spaceship/lib/spaceship/client.rb:351:in login'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/spaceship/lib/spaceship/tunes/spaceship.rb:24:in login' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/spaceship/lib/spaceship/connect_api/client.rb:53:in login'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/spaceship/lib/spaceship/connect_api/spaceship.rb:82:in login' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/deliver/lib/deliver/runner.rb:36:in login'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/deliver/lib/deliver/runner.rb:22:in initialize' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/actions/upload_to_app_store.rb:18:in new'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/actions/upload_to_app_store.rb:18:in run' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:255:in block in execute_action'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:229:in chdir' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:229:in execute_action'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/fast_file.rb:159:in method_missing'
from Fastfile:186:in block (2 levels) in parsing_binding' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/lane.rb:33:in call'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:49:in block in execute' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:45:in chdir'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:45:in execute' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/commands_generator.rb:108:in block (2 levels) in run'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call' 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/commands_generator.rb:352:in run'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/commands_generator.rb:41:in start' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in take_off'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.163.0/bin/fastlane:23:in <top (required)>' 	from /usr/local/bin/fastlane:23:in load'
from /usr/local/bin/fastlane:23:in <main>'

@luismarquesfreire I have doubts about that backtrace bring related to Fastlane.Swift, could you elaborate the crash steps and environment?

anybody?

As I said, I need more context about the backtrace of the error to see if it is related to the Swift code or the back Ruby execution or an error with the socket communication.

Yes, this error message is thrown in various scenarios, not only the one I mentioned 😅

I recommend all the participants in the issue here that, if the backtrace and not the exception thrown is different, to open a new separate issue because it gets impossible to discard when the issue is solved for each individual case that does not match with the one that @rogerluan originally posted.
Thank you for your comprehension 😊

I encountered a similar problem, just because I renamed the Xcode application before, and then changed Xcode 12.3 back to Xcode.

Hello,
Greetings of the day! I hope you are doing well.
I have been working on Firebase Test Lab with https://github.com/fastlane/fastlane-plugin-firebase_test_lab plugin. It works perfectly fine with my local machine. But, when I try to do it with circle ci, I faced similar problem.

Fastfile

lane :test do     scan(         scheme: '*******',         clean: true,         skip_detect_devices: true,         build_for_testing: true,         sdk: 'iphoneos',         should_zip_build_products: true,         xcargs: "CODE_SIGNING_ALLOWED=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO"     )     firebase_test_lab_ios_xctest(         gcp_project: '****-****-****',         devices: [             {                 ios_model_id: 'iphone11pro',                 ios_version_id: '14.1',                 locale: 'en_US',                 orientation: 'portrait'             }         ]    )   end

Circleci jobs

run-and-test:     macos:       xcode: 12.3.0     environment:       FL_OUTPUT_DIR: output       FASTLANE_LANE: test     steps:       - checkout       - run: bundle update --bundler       - run: bundle install       - run:           name: Store service account           command: echo $GCLOUD_SERVICE_KEY > /Users/distiller/project/*******/gcloud-service-key.json       - run:           name: Export to gcloud environment variable           command: export GOOGLE_APPLICATION_CREDENTIALS="/Users/distiller/project/*******/gcloud-service-key.json"       - run:           name: Run the tests in Firebase test lab           command: bundle exec fastlane $FASTLANE_LANE --verbose       - store_artifacts:           path: output       - store_test_results:           path: output/scan

Error output log

[⠋] 🚀 [⠙] 🚀 [⠹] 🚀 [⠸] 🚀 [⠼] 🚀 [⠴] 🚀 [⠦] 🚀 [⠧] 🚀 [⠇] 🚀 [⠏] 🚀 [⠋] 🚀 [✔] 🚀
DEBUG [2021-05-12 20:11:42.14]: Checking if there are any plugins that should be loaded...
DEBUG [2021-05-12 20:11:42.14]: Loading 'fastlane-plugin-firebase_test_lab' plugin
INFO [2021-05-12 20:11:42.14]: gem 'fastlane-plugin-firebase_test_lab' is already installed
+-----------------------------------+---------+------------------------------+
|                                Used plugins                                |
+-----------------------------------+---------+------------------------------+
| Plugin                            | Version | Action                       |
+-----------------------------------+---------+------------------------------+
| fastlane-plugin-firebase_test_lab | 1.0.8   | firebase_test_lab_ios_xctest |
+-----------------------------------+---------+------------------------------+
Successfully loaded Appfile at path '/Users/distiller/project/fastlane/Appfile'

app_identifier: '*********************'
apple_id: '************************'
team_id: '**********'

INFO [2021-05-12 20:11:42.49]: Sending anonymous analytics information
INFO [2021-05-12 20:11:42.50]: Learn more at https://docs.fastlane.tools/#metrics
INFO [2021-05-12 20:11:42.50]: No personal or sensitive data is sent.
INFO [2021-05-12 20:11:42.50]: You can disable this by adding opt_out_usage at the top of your Fastfile
ERROR [2021-05-12 20:11:42.51]: Your Fastfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.
INFO [2021-05-12 20:11:42.57]: ------------------------------
INFO [2021-05-12 20:11:42.57]: --- Step: default_platform ---
INFO [2021-05-12 20:11:42.57]: ------------------------------
INFO [2021-05-12 20:11:42.57]: Driving the lane 'ios test' 🚀
INFO [2021-05-12 20:11:42.57]: -----------------------------
INFO [2021-05-12 20:11:42.57]: --- Step: setup_circle_ci ---
INFO [2021-05-12 20:11:42.57]: -----------------------------
INFO [2021-05-12 20:11:42.57]: Creating temporary keychain: "fastlane_tmp_keychain".
INFO [2021-05-12 20:11:42.71]: $ security list-keychains -d user
INFO [2021-05-12 20:11:42.72]: ▸ "/Users/distiller/Library/Keychains/fastlane_tmp_keychain-db"
WARN [2021-05-12 20:11:42.72]: Found keychain '/Users/distiller/Library/Keychains/fastlane_tmp_keychain-db' in list-keychains, adding to search list skipped
INFO [2021-05-12 20:11:42.72]: Enabling match readonly mode.
INFO [2021-05-12 20:11:42.74]: ------------------
INFO [2021-05-12 20:11:42.74]: --- Step: scan ---
INFO [2021-05-12 20:11:42.74]: ------------------
WARN [2021-05-12 20:11:42.82]: Resolving Swift Package Manager dependencies...
+------------------------------------------------+--------------------------------------------------------------------------------------------+
|                                                          Summary for scan 2.182.0                                                           |
+------------------------------------------------+--------------------------------------------------------------------------------------------+
| scheme                                         | ********                                                                                |
| clean                                          | true                                                                                |
| skip_detect_devices                            | true                                                                                |
| build_for_testing                              | true                                                                                |
| sdk                                            | iphoneos                                                                                |
| should_zip_build_products                      | true                                                                                |
| xcargs                                         | CODE_SIGNING_ALLOWED=NO CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO                       |
| workspace                                      | ./.xcworkspace                                                                     |
| ensure_devices_found                           | false                                                                                |
| force_quit_simulator                           | false                                                                                |
| reset_simulator                                | false                                                                                |
| disable_slide_to_type                          | true                                                                                |
| reinstall_app                                  | false                                                                                |
| app_identifier                                 | *********************                                                                      |
| open_report                                    | false                                                                                |
| output_directory                               | output/scan                                                                                |
| output_types                                   | html,junit                                                                                |
| buildlog_path                                  | output/buildlogs/scan                                                                      |
| include_simulator_logs                         | true                                                                                |
| derived_data_path                              | /Users/distiller/Library/Developer/Xcode/DerivedData/-cebtjamhvzvoqrchdawjrkktjxhc |
| output_xctestrun                               | false                                                                                |
| result_bundle                                  | false                                                                                |
| use_clang_report_name                          | false                                                                                |
| disable_concurrent_testing                     | false                                                                                |
| skip_build                                     | false                                                                                |
| slack_use_webhook_configured_username_and_icon | false                                                                                |
| slack_username                                 | fastlane                                                                                |
| slack_icon_url                                 | https://fastlane.tools/assets/img/fastlane_icon.png                                        |
| skip_slack                                     | false                                                                                |
| slack_only_on_failure                          | false                                                                                |
| xcodebuild_command                             | env NSUnbufferedIO=YES xcodebuild                                                          |
| skip_package_dependencies_resolution           | false                                                                                |
| disable_package_automatic_updates              | false                                                                                |
| use_system_scm                                 | false                                                                                |
| number_of_retries                              | 0                                                                                |
| fail_build                                     | true                                                                                |
| xcode_path                                     | /Applications/Xcode-12.3.app                                                               |
+------------------------------------------------+--------------------------------------------------------------------------------------------+
INFO [2021-05-12 20:26:07.02]: $ set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace ./.xcworkspace -scheme ******** -derivedDataPath /Users/distiller/Library/Developer/Xcode/DerivedData/-cebtjamhvzvoqrchdawjrkktjxhc -sdk 'iphoneos'  CODE_SIGNING_ALLOWED=NO CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO clean build-for-testing | tee '/Users/distiller/project/output/buildlogs/scan/-.log' | xcpretty  --report html --output '/Users/distiller/project/output/scan/report.html' --report junit --output '/Users/distiller/project/output/scan/report.junit' --report junit --output '/var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/T/junit_report20210512-2472-1ldsdfz'
INFO [2021-05-12 20:26:07.02]: ▸ Loading...
INFO [2021-05-12 20:26:40.93]: ▸ Clean Succeeded
INFO [2021-05-12 20:26:57.39]: ▸ Compiling ObjcExceptionHandler.m
COMPILES whole project..........
INFO [2021-05-12 20:45:23.87]: ▸ Test build Succeeded
+--------------------+---+
|      Test Results      |
+--------------------+---+
| Number of tests    | 0 |
| Number of failures | 0 |
+--------------------+---+
INFO [2021-05-12 20:45:23.93]: ------------------------------
INFO [2021-05-12 20:45:23.93]: --- Collecting system logs ---
INFO [2021-05-12 20:45:23.93]: ------------------------------
WARN [2021-05-12 20:45:25.32]: Lane Context:
INFO [2021-05-12 20:45:25.33]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios test", :KEYCHAIN_PATH=>"~/Library/Keychains/fastlane_tmp_keychain", :ORIGINAL_DEFAULT_KEYCHAIN=>""/Users/distiller/Library/Keychains/login.keychain-db"", :SCAN_DERIVED_DATA_PATH=>"/Users/distiller/Library/Developer/Xcode/DerivedData/********-cebtjamhvzvoqrchdawjrkktjxhc", :SCAN_GENERATED_PLIST_FILES=>[], :SCAN_GENERATED_PLIST_FILE=>nil}
INFO [2021-05-12 20:45:25.33]: Successfully generated documentation at path '/Users/distiller/project/fastlane/README.md'
+------+------------------+-------------+
|           fastlane summary            |
+------+------------------+-------------+
| Step | Action           | Time (in s) |
+------+------------------+-------------+
| 1    | default_platform | 0           |
| 2    | setup_circle_ci  | 0           |
| 💥   | scan             | 2022        |
+------+------------------+-------------+
DEBUG [2021-05-12 20:45:25.40]: All plugins are up to date
ERROR [2021-05-12 20:45:25.40]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
Search query: undefined method `each' for nil
URL: https://api.github.com/search/issues?q=undefined method `each' for nil+repo:fastlane/fastlane
➡  [Swift] undefined method `each' for nil:NilClass - Cannot Create Group Within FastlaneSwiftRunner Project
https://github.com/fastlane/fastlane/issues/15184 [open] 56 💬
2 weeks ago
➡  set_changelog failing to update and ends in error: handle_response': [!] undefined method `status' for nil:NilClass
https://github.com/fastlane/fastlane/issues/17071 [open] 13 💬
3 weeks ago
➡  update_project_provisioning.rb:74:in block (2 levels) in run': \e[31m[!] undefined method []' for nil:NilClass\e[0m (NoMethodError)
https://github.com/fastlane/fastlane/issues/18486 [open] 2 💬
2 weeks ago
and 208 more at: https://github.com/fastlane/fastlane/search?q=undefined method `each' for nil&type=Issues&utf8=✓
🔗  You can ⌘ + double-click on links to open them directly in your browser.
DEBUG [2021-05-12 20:45:26.23]: All plugins are up to date
bundler: failed to load command: fastlane (/Users/distiller/.gem/ruby/2.7.2/bin/fastlane)
Traceback (most recent call last):
45: from /Users/distiller/.rubies/ruby-2.7.2/bin/bundle:23:in <main>' 	44: from /Users/distiller/.rubies/ruby-2.7.2/bin/bundle:23:in load'
43: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/exe/bundle:37:in <top (required)>' 	42: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/friendly_errors.rb:130:in with_friendly_errors'
41: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/exe/bundle:49:in block in <top (required)>' 	40: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli.rb:24:in start'
39: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start' 	38: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli.rb:30:in dispatch'
37: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch' 	36: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command'
35: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run' 	34: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli.rb:497:in exec'
33: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli/exec.rb:28:in run' 	32: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli/exec.rb:63:in kernel_load'
31: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli/exec.rb:63:in load' 	30: from /Users/distiller/.gem/ruby/2.7.2/bin/fastlane:23:in <top (required)>'
29: from /Users/distiller/.gem/ruby/2.7.2/bin/fastlane:23:in load' 	28: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/bin/fastlane:23:in <top (required)>'
27: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in take_off' 	26: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/commands_generator.rb:42:in start'
25: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/commands_generator.rb:353:in run' 	24: from /Users/distiller/.gem/ruby/2.7.2/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!'
23: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!' 	22: from /Users/distiller/.gem/ruby/2.7.2/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command'
21: from /Users/distiller/.gem/ruby/2.7.2/gems/commander-4.6.0/lib/commander/command.rb:157:in run' 	20: from /Users/distiller/.gem/ruby/2.7.2/gems/commander-4.6.0/lib/commander/command.rb:187:in call'
19: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/commands_generator.rb:109:in block (2 levels) in run' 	18: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle'
17: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane' 	16: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:45:in execute'
15: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:45:in chdir' 	14: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:49:in block in execute'
13: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/lane.rb:33:in call' 	12: from Fastfile:18:in block (2 levels) in parsing_binding'
11: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/fast_file.rb:159:in method_missing' 	10: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name'
9: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:229:in execute_action' 	 8: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:229:in chdir'
7: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:255:in block in execute_action' 	 6: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action'
5: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action' 	 4: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/actions/run_tests.rb:16:in run'
3: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/scan/lib/scan/manager.rb:23:in work' 	 2: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/scan/lib/scan/runner.rb:23:in run'
1: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/scan/lib/scan/runner.rb:164:in handle_results' /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/scan/lib/scan/runner.rb:271:in copy_simulator_logs': undefined method each' for nil:NilClass (NoMethodError) 	45: from /Users/distiller/.rubies/ruby-2.7.2/bin/bundle:23:in '
44: from /Users/distiller/.rubies/ruby-2.7.2/bin/bundle:23:in load' 	43: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/exe/bundle:37:in <top (required)>'
42: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/friendly_errors.rb:130:in with_friendly_errors' 	41: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/exe/bundle:49:in block in <top (required)>'
40: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli.rb:24:in start' 	39: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start'
38: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli.rb:30:in dispatch' 	37: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch'
36: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command' 	35: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run'
34: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli.rb:497:in exec' 	33: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli/exec.rb:28:in run'
32: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli/exec.rb:63:in kernel_load' 	31: from /Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli/exec.rb:63:in load'
30: from /Users/distiller/.gem/ruby/2.7.2/bin/fastlane:23:in <top (required)>' 	29: from /Users/distiller/.gem/ruby/2.7.2/bin/fastlane:23:in load'
28: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/bin/fastlane:23:in <top (required)>' 	27: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in take_off'
26: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/commands_generator.rb:42:in start' 	25: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/commands_generator.rb:353:in run'
24: from /Users/distiller/.gem/ruby/2.7.2/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!' 	23: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
22: from /Users/distiller/.gem/ruby/2.7.2/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command' 	21: from /Users/distiller/.gem/ruby/2.7.2/gems/commander-4.6.0/lib/commander/command.rb:157:in run'
20: from /Users/distiller/.gem/ruby/2.7.2/gems/commander-4.6.0/lib/commander/command.rb:187:in call' 	19: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/commands_generator.rb:109:in block (2 levels) in run'
18: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle' 	17: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane'
16: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:45:in execute' 	15: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:45:in chdir'
14: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:49:in block in execute' 	13: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/lane.rb:33:in call'
12: from Fastfile:18:in block (2 levels) in parsing_binding' 	11: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/fast_file.rb:159:in method_missing'
10: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name' 	 9: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:229:in execute_action'
8: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:229:in chdir' 	 7: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:255:in block in execute_action'
6: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action' 	 5: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action'
4: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/fastlane/lib/fastlane/actions/run_tests.rb:16:in run' 	 3: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/scan/lib/scan/manager.rb:23:in work'
2: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/scan/lib/scan/runner.rb:23:in run' 	 1: from /Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/scan/lib/scan/runner.rb:164:in handle_results'
/Users/distiller/.gem/ruby/2.7.2/gems/fastlane-2.182.0/scan/lib/scan/runner.rb:271:in copy_simulator_logs': \e[31m[!] undefined method each' for nil:NilClass\e[0m (NoMethodError)
Exited with code exit status 1
I look forward to hearing from you soon. Thanks in advance.

Bump

Bump

Bump


Setup to include multidict and orderedset

Hi,
A small issue when installing the project, missing multidict and orderedset in the requirements.
Just need to update setup.py
setup.py.txt

fixed it in  #1e0f931c654f680266ae45d950fd0817be46db4e
Thanks for letting me know

https://github.com/decentralized-identity/keripy/pull/39


Update workspace

Update dev deps
Switch to pnpm as the package manager
Add a test gh action that will attempt installing and building the package on each PR
Add a vite playground for development
Add a prettier format script
Add prettier to recommended extensions and gitpod config file
(I want to make some changes to the lib too, but I decided to start with this 😄)

Thank you


Inquirer.js' input types using odd-looking delimiter

It seems that Inquirer.js' input type renders rather strangely in Vorpal – lacking spacing and the green question mark:

As opposed to the following in Inquirer.js:

Repro case:
const prompt = function(object, callback) {
  object.prompt([
    {
      type: 'input',
      name: 'name',
      message: 'What is your name?',
      default: 'John Doe',
    },
    {
      type: 'list',
      name: 'list',
      message: 'What do cows drink?',
      choices: ['milk', 'water', 'applejuice'],
      default: 'water',
    }
  ], function(result) {
    callback();
  });
};

Using Vorpal:
const cli = require('vorpal')();
cli
  .command('test')
  .action(function(args, callback) {
    prompt(this, callback);
  });

cli.show();

Using Inquirer.js:
const inquirer = require('vorpal/node_modules/inquirer');
prompt(inquirer, function() {
  console.log(arguments);
});

Am unsure where this is going wrong, any ideas?

I use inquirer's input as the default REPL prompt, so I make some modifications to it. I'll have to clean that up!

Thanks! Would you happen to know of any immediate work-arounds?

I would just make it yourself:
...
message: chalk.green('?') + ' What is your name? ',
...

This should work, I believe.

Vorpal extends Inquirer's prompt intentionally to omit the question mark and space. I've thought this over, and I'm not really going to change this. The workaround as above is really simple.


Problems by checking out the project

I just checked out the project, and I run into some problems:
First I had to convert the project from 2018.3.2f1to 2018.3.8f1
After this was done, I was greeted by the following error message:

Compute Shader: The destination buffer in CopyComputeBufferCount is not of type Raw or IndirectArguments. DX11 only supports CopyComputeBufferCount to these types.

While trying to execute the scenes, or just looking around the scene, I got often this message:

OutOfMemoryException: Out of memory
MeshGenerator.UpdateChunkMesh (Chunk chunk) (at Assets/Scripts/MeshGenerator.cs:201)

And when inspecting the components in the scenes, I saw 2 components that had a "missing script" warning. The "Main Camera" in the submarine scene, and the "Chunk holder" in the terrain scene.

What could this be hapenning?

I had the same problem, and it turned out, that you have to provide a ComputeBufferType, when using DirectX. So in MeshGenerator.cs@290 just add ComputeBufferType.Raw as third parameter when creating triBoundBuffer

triCountBuffer = new ComputeBuffer(1, sizeof(int), ComputeBufferType.Raw);

Unfortunately i cannot help with the missing scripts. I have them too, but it seems to run anyway.

That solved everything! THanks!


[HxGrid] Placeholder rendering performance optimization

Suggestion by @crdo:

I found what I think is a nice spot for improving the performance of rendering those placeholders.
Jirka everywhere added  and it seems that he puts that placeholder as a Blazor component into each column.
In reality, however, only the inner part, i.e.,  is needed, and the class determining the animation of the placeholder can be applied just once somewhere at the root of the table. As it is now, it's being repeated in each cell over and over again.

Iteration 1 - switched Blazor components to HTML elements (4.5.0-pre1)


Shuffle messages less in the producer.

Put them in a map right up front in the aggregator, it only requires tracking
one exta piece of metadata (total messages in the map) and it means we don't
have to shuffle them into this form before constructing the request anyways.
One piece of #433.
Not sure if this is worth landing as-is or if it makes more sense to just rewrite the whole thing at once rather than incrementally.

This looks innocent enough to me, but it's hard to look at this wad of code and make sure no changes in behaviour were introduced. Not sure what we can do to overcome that though.

Definitely in favor of doing this one step at a time. After landing this, the second batch of changes to produce requests incrementally will be a lot easier to review.


Update validation.py python script.

Update validation.py python script.
Fixed the behavior of validate_user function in validation.py
Closes: #1
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Thanks!


#513: Added a JXSON format option to support using the Jackson serial…

…izer to produce JSON output.
We've recently tried deserializing JSON ELM in the Java library and the output from the JAXB-JSON serialization is inconsistent (i.e. it produces type elements only in the case that the type cannot be inferred from the element definition). Deserializing using JAXB is not possible for certain environments (specifically Android phones just don't work with it). We have been able to successfully deserialize JSON in Java on Android, but only with the Jackson deserializer, but the Jackson deserializer doesn't work with the JAXB-JSON serialized output. So we're proposing a new JXSON format option that instructs the translator to serialize to JSON with the Jackson serializer, resulting in consistent, and we believe backwards-compatible, JSON output.
However, we're not 100% confident in that backwards-compatible output, and that's the reason for introducing it as a separate option. So the JSON option works the same as it always did, using the JAXB-JSON serializer, where the JXSON option produces JSON, but using the Jackson serializer. We've added a suite of regression tests to the Java engine project, but it only verifies that the content can be deserialized without errors, not that the resulting content is semantically equivalent.
So, this PR is a request to add JXSON as an option to support efforts to use CQL in an Android device, but without impacting the current capabilities, and providing a trajectory to align on JXSON support moving forward (since JAXB support seems to be a dying thing).

Thanks for the heads up.  I'm pleasantly surprised to see how little needed to change in the codebase in order to support Jackson.
I tested this out using the legacy JSON mode on a bunch of MITRE-developed artifacts and confirmed that there was no change at all in the output when using JSON format.  So that's good!
I also tested it with JXSON format and saw that there are definitely some differences from JSON format that would need to be investigated further.  Two that popped out immediately:

JXSON serialization seems to include the type property in a lot more of the objects than JSON serialization does
JXSON serialization has top-level library property "annotation" : [ { } ], whereas JSON serialization has "annotation" : [ { "translatorOptions" : "", "type" : "CqlToElmInfo" } ]

So I think I'm fine w/ this PR as-is (as long as that annotation issue noted above isn't a show-stopper), but agree that more work is needed to determine if the two outputs are really semantically equivalent and compatible.

I've created an issue to track regression of JXSON: #522
Yes, the JXSON serializer consistently produces type elements, and that's actually the key to getting it to work. In the Jackson deserializer, if the type element isn't consistently present, deserialization will error out.
And yes, there is some more work to be done on the annotation serialization, I've noted #523 for that, but the target for JXSON at this point is a minimal library resource that wouldn't be expected to include annotations, so the use case isn't impacted by that issue.


Test multi-value headers

I'm raising draft PR to discuss results for #155
I suspect that now there might be few false-positive and false-negative tests, so I have questions:

Is it ok to send empty string if no value was passed?
It seems that WWW-Authenticate and Set-Cookie should use semicolon delimiter as well as Cookie header but now it is not working
Should I add tests for multi-value headers into https://github.com/microsoft/reverse-proxy/blob/main/test/ReverseProxy.FunctionalTests/HeaderTests.cs as well?

[ ] Add tests for HTTP/1.1

3. Should I add tests for multi-value headers into https://github.com/microsoft/reverse-proxy/blob/main/test/ReverseProxy.FunctionalTests/HeaderTests.cs as well?

Yes, we need to see what makes it out on the wire. SocketsHttpHandler and Kestrel ultimately decide the format to write.

2. It seems that WWW-Authenticate and Set-Cookie should use semicolon delimiter as well as Cookie header but now it is not working

The specs for these are weird:

Cookie is always supposed to be a single header (except maybe in HTTP/2 https://github.com/dotnet/aspnetcore/issues/26461), separated by ';'.
Set-Cookie is always supposed to be separate headers, one per cookie.
Most clients expect WWW-Authenticate to be separate headers.

Is it ok to send empty string if no value was passed?

You mean Header: ? Yes. It's not supposed to matter in most cases, but some applications rely on the presence of a header even if there's no value. YARP should flow these headers just like any other.

I updated what we discussed but few more issues left. I need help to understand if it is a correct behavior:

HttpHeader removes empty values, so both RequestWithEmptyMultiHeaders and ResponseWithEmptyMultiHeaders failed for all headers.
For request headers I got empty value untouched, if it was not the only one, but for response headers behavior is the opposite (except Set-Cookie header).
There are several headers that seems to be required but were removed: Allow, Upgrade, TE, Tranfer-Encoding and Content-Length/Type/Encoding. Do we need to test them as well?

HttpHeader removes empty values, so both RequestWithEmptyMultiHeaders and ResponseWithEmptyMultiHeaders failed for all headers.

There's a test over here for empty single-value headers.

3. There are several headers that seems to be required but were removed: Allow, Upgrade, TE, Tranfer-Encoding and Content-Length/Type/Encoding. Do we need to test them as well?

Most of these require special processing since they affect the request format on the wire. See:
https://github.com/microsoft/reverse-proxy/blob/07aa1683fb1b697c81f5fb47492dcbf52f203e0c/src/ReverseProxy/Forwarder/RequestUtilities.cs#L63-L85
Allow, Content-Type, and Content-Encoding shouldn't have been removed. Content-Length is rarely removed.

There's a test over here for empty single-value headers. How is that working but multi-value fails? https://github.com/microsoft/reverse-proxy/pull/1202/files#diff-4ffa10100339146ae9048f52f94656c0aff1b984dabdbb5200d87284069b1379R23

It's probably because of different scenarios, in your example empty values are checked by IDictionary.TryGetValue, my tests in HeaderTests.cs also passed. I was talking about HttpForwarderTests.cs https://github.com/microsoft/reverse-proxy/pull/1498/files#:~:text=public async Task RequestWithEmptyMultiHeaders(string version%2C string headerName%2C string[] headers), there I'm checking values in HttpHeaders.Contains.

For request headers I got empty value untouched, if it was not the only one, but for response headers behavior is the opposite (except Set-Cookie header).

I don't understand, can you give examples?

I mean case { "testA=A_Value", "",  "testB=B_Value, testC=C_Value" }. In request headers I got as a result { "testA=A_Value", "",  "testB=B_Value, testC=C_Value" }, but in response it is mostly without empty value { "testA=A_Value", "testB=B_Value, testC=C_Value" }, except for Set-Cookie.

Most of these require special processing since they affect the request format on the wire. See:
https://github.com/microsoft/reverse-proxy/blob/07aa1683fb1b697c81f5fb47492dcbf52f203e0c/src/ReverseProxy/Forwarder/RequestUtilities.cs#L63-L85
Allow, Content-Type, and Content-Encoding shouldn't have been removed. Content-Length is rarely removed. Do you mean they were removed if they contained empty values? Maybe HttpHeaders if marking them as invalid.

Thank you, I see about special headers, I won't add them then. But I don't see Content-Language (instead of Content-Length, sorry, because length cannot be multi-value), Allow, Content-Type, and Content-Encoding even if they had values:

for request https://github.com/microsoft/reverse-proxy/pull/1498/files#diff-e2060282ce1ef75079b6dbfc7c67f8769f2231509ee7d98e0284d766060136baR905
for response https://github.com/microsoft/reverse-proxy/pull/1498/files#diff-e2060282ce1ef75079b6dbfc7c67f8769f2231509ee7d98e0284d766060136baR2333

Maybe it is not a proper place/method to check them?

There's a test over here for empty single-value headers. How is that working but multi-value fails? https://github.com/microsoft/reverse-proxy/pull/1202/files#diff-4ffa10100339146ae9048f52f94656c0aff1b984dabdbb5200d87284069b1379R23

It's probably because of different scenarios, in your example empty values are checked by IDictionary.TryGetValue, my tests in HeaderTests.cs also passed. I was talking about HttpForwarderTests.cs https://github.com/microsoft/reverse-proxy/pull/1498/files#:~:text=public async Task RequestWithEmptyMultiHeaders(string version%2C string headerName%2C string[] headers), there I'm checking values in HttpHeaders.Contains.

For request headers I got empty value untouched, if it was not the only one, but for response headers behavior is the opposite (except Set-Cookie header).

I don't understand, can you give examples?

I mean case { "testA=A_Value", "", "testB=B_Value, testC=C_Value" }. In request headers I got as a result { "testA=A_Value", "", "testB=B_Value, testC=C_Value" }, but in response it is mostly without empty value { "testA=A_Value", "testB=B_Value, testC=C_Value" }, except for Set-Cookie.
UPD for p.2: I made a mistake here, the behavior for request/response is consistent - it always deletes empty values except for Set-Cookie

Dropping an empty value from a multi-value list is acceptable, so long as the header gets sent. Keep the test for this condition and tell it to expect only non-empty results. The example customers were concerned about was a header with a single empty value being removed completely.

Most of these require special processing since they affect the request format on the wire. See:
https://github.com/microsoft/reverse-proxy/blob/07aa1683fb1b697c81f5fb47492dcbf52f203e0c/src/ReverseProxy/Forwarder/RequestUtilities.cs#L63-L85
Allow, Content-Type, and Content-Encoding shouldn't have been removed. Content-Length is rarely removed. Do you mean they were removed if they contained empty values? Maybe HttpHeaders if marking them as invalid.

Thank you, I see about special headers, I won't add them then. But I don't see Content-Language (instead of Content-Length, sorry, because length cannot be multi-value), Allow, Content-Type, and Content-Encoding even if they had values:

for request https://github.com/microsoft/reverse-proxy/pull/1498/files#diff-e2060282ce1ef75079b6dbfc7c67f8769f2231509ee7d98e0284d766060136baR905
for response https://github.com/microsoft/reverse-proxy/pull/1498/files#diff-e2060282ce1ef75079b6dbfc7c67f8769f2231509ee7d98e0284d766060136baR2333

Maybe it is not a proper place/method to check them?

Content headers must be in HttpRequestMessage.Content.Headers, not HttpRequestMessage.Headers.

Dropping an empty value from a multi-value list is acceptable, so long as the header gets sent. Keep the test for this condition and tell it to expect only non-empty results. The example customers were concerned about was a header with a single empty value being removed completely.

In that case total failures of RequestWithEmptyMultiHeaders and ResponseWithEmptyMultiHeaders indicate a bug. At least if the scenario is correct.

Thanks for the tip, I found it! So, the only question left with missed headers is about Allow.

Content headers must be in HttpRequestMessage.Content.Headers, not HttpRequestMessage.Headers. https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.httpcontentheaders?view=net-6.0

Allow is also an HttpContent header.

Dropping an empty value from a multi-value list is acceptable, so long as the header gets sent. Keep the test for this condition and tell it to expect only non-empty results. The example customers were concerned about was a header with a single empty value being removed completely.

In that case total failures of RequestWithEmptyMultiHeaders and ResponseWithEmptyMultiHeaders indicate a bug. At least if the scenario is correct.

Contains might be over-normalizing. Try enumerating under the debugger, or TryGetValue.

If a header is considered "known", we may have restrictions on the format of the value.
Add/TryGetValues/Enumeration all force validation of the value, potentially removing the header.
In order to preserve "invalid" values in the collection (and therefore on the wire), they should be added via TryAddWithoutValidation and their existence checked via Headers.NonValidated.

If a header is considered "known", we may have restrictions on the format of the value.
Add/TryGetValues/Enumeration all force validation of the value, potentially removing the header.
In order to preserve "invalid" values in the collection (and therefore on the wire), they should be added via TryAddWithoutValidation and their existence checked via Headers.NonValidated. Note that NonValidated only exists in 6.0+.

It works, thank you! So I will leave unit test with empty values for 6.0+.

What's left to do to make this PR ready to merge:

Make check for content headers differently.
Add function test into HeaderTests.cs for response.


introduce fileDialog context

This PR creates a new context key fileDialog which by default has the value local.
Commands which depend on the fileDialog now depend on this context key.
Also I have refactored a bit already added context keys isMac, isWindows and isLinux so it is easier to use them insider the workbench.
fyi @Tyriar @aeschli @bpasero

Merging in and if somebody has feedback I will adress it on master.


Lightmap progress

Issue to keep track of lightmap progress
Related to Improving simulation rendering realism
Engine level issues:
~Ignition textures bugfix PR https://github.com/ignitionrobotics/ign-gazebo/pull/874~ Merged!
Export lights for Collada world exporterWaiting for merge Merged!
https://github.com/ignitionrobotics/ign-gazebo/issues/1010
<experimental:params> <cast_shadows> tag not working! (Needs checking)
Issues with shadows not casting on lightmapped environments (see screenshots below)
Traffic editor progress/issues

[x] Support making .world files for dae export, and a combined one that makes use of these
[x] Support traffic editor with fields to specify what the models/floors/walls are for baking, seperated by ;
[ ] (reconsider?) Upload baked models to fuel and use them as downloads
[ ] Guide to lightmapping with blender and traffic editor (also upload lightmap scripts to ignition)
[ ] Performance and quality (level-specific)

Traffic editor branches/PRs (not updated yet):
add baking pipeline capabilities, bugfixes for alpha values
https://github.com/open-rmf/rmf_traffic_editor/pull/363
Add baking pipeline, add baked office assets
https://github.com/open-rmf/rmf_demos/pull/58

Screenshot showcasing . There are 2 lightmapped static models, L1_R1 for the corner room and L1 for the rest of the building. Note that the door is a seperate object but not casting a shadow.


Question: Is there a way to set the project root for mono repo projects?

Description
I have a rails project that contains two ember projects. Since IntelliJ is a bit of a resource hog I put everything in one project. So my project folder looks like this:

Where star-fox and swift-fox are my two client apps for the API.
I would love to use the new test runner facilities, however since the project root isn't where the ember apps are, the test runner can't find node_modules.
I had thought there would be some way to run it from a particular path.
IE: here

But I can't seem to.
Any thoughts?
Versions
IntelliJ IDEA 2018.3.4 (Ultimate Edition)
Build #IU-183.5429.30, built on January 28, 2019
v2018.3.2-0

Figured it out :)


Reorganizes text parsing modules

This PR contains no logic changes, it only reorganizes some of the text parsing functions and their corresponding unit tests.

Creates an annotations module and relocates the
relevant parser functions to it.
Moves top_level_stream_item unit tests from the
reader module to the stream_item module.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Oops, I see that one of the moved functions has the wrong visibility. Pushing a fix.


Insert missing method names

Under the No More Current Position section, the sentence that describes the departure from GDI seems to be missing the names of the methods called. I have added those method names so the sentence reads correctly,

@ericmutta : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Optimize pre_save_values in AttributeAssignmentMixin

In AttributeAssignmentMixin class the pre_save_values method should be optimized to not send so many db queries. Keep in mind cases when multiple values with the same slug (e.g. red, Red, r.e.d) are passed and they all need a unique slug to be generated.

The function doesn't exist in the codebase anymore, so I'm assuming this has been fixed.


”Miheșu de Câmpie”, ”Bujor”, ”Cirhagău”, ”Groapa Rădăii” are listed in the drop-down menu

Description:
When user writes ”Miheșu de Câmpie”, ”Bujor”, ”Cirhagău”, ”Groapa Rădăii” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Miheșu de Câmpie"

Expected results
The location appears in the drop-down menu as "Sat Miheșu de Câmpie, MUREȘ (Miheșu de Câmpie)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Bujor"

Expected results
The location appears in the drop-down menu as "Sat Bujor, MUREȘ (Miheșu de Câmpie)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Cirhagău"

Expected results
The location appears in the drop-down menu as "Sat Cirhagău, MUREȘ (Miheșu de Câmpie)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Groapa Rădăii"

Expected results
The location appears in the drop-down menu as "Sat Groapa Rădăii, MUREȘ (Miheșu de Câmpie)".


Decouple store-ui from emotion

We should decouple store-ui from emotion by removing all emotion related code from store-ui and moving them to the stores

I'm working on this, and currently, we have only one component: Button. I will keep this issue updated with my works on new components.

Button: #692

🕐  Input: #696


Using Elasticsearch Java Clients with Search Guard

Hi,
I want to use Elasticsearch Java native clients to get data from Elasticsearch.
Is there any way to use Elasticsearch java clients with Search Guard?
Is there any library like shield: https://www.elastic.co/guide/en/shield/current/_using_elasticsearch_java_clients_with_shield.html#_using_elasticsearch_java_clients_with_shield ?

Hey @jackiekhuu-work ,
Did you find a way to do it? If it's the case please can you give me sample codes?

+1

@maximus2situation I can't. However, I tried this https://www.elastic.co/blog/playing-http-tricks-nginx, and It's working well.

closing #70 in favor of these

With elasticsearch 2 and Search Guard 2 it will work like that:

Settings settings = Settings.settingsBuilder()
        .put("path.home", ".")
        .put("cluster.name", "myclustername")
        .put("searchguard.ssl.transport.enabled", true)
        .put("searchguard.ssl.transport.keystore_filepath", "spock-keystore.jks.jks"))
        .put("searchguard.ssl.transport.truststore_filepath", "truststore.jks")
        .put("searchguard.ssl.transport.enforce_hostname_verification", false)
        .build();

try (TransportClient tc = TransportClient.builder().settings(settings).addPlugin(SearchGuardSSLPlugin.class).build()) {

            tc.addTransportAddress(new InetSocketTransportAddress(new InetSocketAddress(nodeHost, nodePort)));
          //do something with tc
         tc.admin().cluster().nodesInfo(new NodesInfoRequest()).actionGet();
         //with impersonation (could also be specified globally)
         tc.admin().cluster().nodesInfo(new NodesInfoRequest().putHeader("sg.impersonate.as", "worf")).actionGet();
}

To specify global impersonation one can do that:

.put("request.headers.sg.impersonate.as", "worf")

Hello @floragunncom
Is the truststore.jks and other JKS path is as per in the application itself or is the path relative to config folder only, just like what is done in elasticsearch.yml as suggested in configuration steps ?


Get podcast episode length

I would like to have the duration of a podcast episode returned as an int in milliseconds if possible please.

The endpoint result is really a WordPress post. PowerPress embeds the player with the URL of the file. The only way to really get the information you’re looking for is to make the call directly to the file as PowerPress does not provide that datapoint.


Internationalization!

Ldnode with multi-language support

Not for now

@nicola But why did you close this issue?

Hey @akuckartz I was cleaning issues that were outdated and not in the current and near milestones. I am happy to reopen this

Created https://github.com/solid/node-solid-server/issues/735 to tackle one aspect of i18n.


Update to indicate Asp.Net core

Asp.net core does not support counters. The doc is edited to reflect that.

@cijothomas : Thanks for your contribution to the Azure documentation! The author, @CFreemanwa, has been notified to review your proposed change.

gentle reminder to look at this and merge! Thanks

#sign-off

@cijothomas Thanks for the patience and the reminder. Sorry for the delay I was traveling this week so I am still catching up on a few things. Sign-off is complete it should go through shortly.

Thanks.

#sign-off


Hover events

Hi,
was testing hover events and am having some issues- only a few of the shorter lines generated are working. See test here:
https://www.holoceneadventures.com/ivft2/hoverTest.html
you'll find that only the inner 3 lines hover properly.
Are there any limitations to hover events, such as line length?

Hi jrjdavidson,
Well, to be honest, I haven't tried to understand your app but I could see something fishy in the input data... I think the problem is in isopachPolyline.json, you give an ID to the first 3 lines only. The hover events are working when all lines have an ID:
@@ -339,8 +339,9 @@
               ]
             ]
           ],
+          "id": 4,
           "properties": {
-            "id": null,
+            "id": 4,
             "isovalue": 5
           }
         },
@@ -439,8 +440,9 @@
               ]
             ]
           ],
+          "id": 5,
           "properties": {
-            "id": null,
+            "id": 5,
             "isovalue": 3
           }
         },
@@ -574,8 +576,9 @@
               ]
             ]
           ],
+          "id": 6,
           "properties": {
-            "id": null,
+            "id": 6,
             "isovalue": 2
           }
         },
@@ -709,8 +712,9 @@
               ]
             ]
           ],
+          "id": 7,
           "properties": {
-            "id": null,
+            "id": 7,
             "isovalue": 1
           }
         },
@@ -819,8 +823,9 @@
               ]
             ]
           ],
+          "id": 8,
           "properties": {
-            "id": null,
+            "id": 8,
             "isovalue": 1
           }
         },
@@ -884,8 +889,9 @@
               ]
             ]
           ],
+          "id": 9,
           "properties": {
-            "id": null,
+            "id": 9,
             "isovalue": 0
           }
         },
@@ -949,8 +955,9 @@
               ]
             ]
           ],
+          "id": 10,
           "properties": {
-            "id": null,
+            "id": 10,
             "isovalue": 0
           }
         },
@@ -1034,8 +1041,9 @@
               ]
             ]
           ],
+          "id": 11,
           "properties": {
-            "id": null,
+            "id": 11,
             "isovalue": 1
           }
         }

Have a great day!

Yes- that worked!
Not sure how only the first three ended with an id, I'll make sure to pay attention in the future


Konnected will continuously reboot if the network if offline, which makes it pointless to ever buy a Battery Backup.

Issue: Firmware Source is written to fail when the rest of the network if offline.
What happens: Konnected Reboots every 5 minutes if either of the following occur:

NTP does not connect to hard coded internet URLs.
failsafe: reboot after 5 minutes in case of extended wifi outage

With the Current Configuration, this leads disable the entire Konnected Ecosystem under the following conditions:

Loss of Internet Access (cannot resolve NTP to time.google.com or pool.ntp.org results to reboot)
Loss of DNS (cannot resolve the NTP urls to IP, results in reboot)
Deatuh attack on wifi. (cannot connect to Wifi, results in reboot)
Power Outage  (cannot connect to Network, DNS, NTP, resulting in reboot
DHCP offline (calls DHCP every few minutes, even if the lease is set to 30 days or adjusted down to 7)

File:   konnected-security/src/lfs/wifi.lua
Lines 15-18:
-- failsafe: reboot after 5 minutes in case of extended wifi outage
failsafeTimer = tmr.create()
failsafeTimer:register(300000, tmr.ALARM_SINGLE, function() node.restart() end)
Line 64:
sntp.sync({gw, 'time.google.com', 'pool.ntp.org'},
I block all NTP requests leaving the network to stop replay attacks. Once I created DNS records to point to my NTP Server, the connection stayed online.

Thanks for the report, @trooperthorn.
Yes, you are correct that the firmware is designed to reboot loop when the network is offline. The idea is that ultimately the network will come back up and the device will automatically reconnect and resume operation when that happens.
You'll notice that the first server in the NTP server list is gw (your router/gateway IP) so if you configure your router to respond to NTP, then the NTP request will never leave your network.
It's not pointless to buy a battery backup. If your network/router is also backed-up with a battery, then everything should continue working through a power outage. Our backup battery also works quite well with most consumer grade 12V routers/modems.
The failsafe reboot loop is by design, to allow for the network to recover and the device to reconnect. Did you have any other suggestions for how to mitigate a network failure?


disk sizes don't match the confirmation for mattermost

disk sizes (2, 5, 10)
while in confirmation (1 GB disk)

Fix in commit: https://github.com/threefoldtech/js-sdk/commit/42631008176880fc38fd062b5c207299e5c831de
and added the Domain Name.

Commit_ID  45c12e93fc703ccbaf902c05bf5faa011913b669 , Branch development_capacitypool


Turn invalid record field types into runtime errors

By emitting a runtime error rather than panicking when we can't layout
a record, we help programs like
main =
    get = \{a} -> a
    get {b: "hello world"}

execute as
Mismatch in compiler/unify/src/unify.rs Line 1071 Column 13
Trying to unify two flat types that are incompatible: EmptyRecord ~ { 'a' : Demanded(122), }<130>

🔨 Rebuilding host...
── TYPE MISMATCH ───────────────────────────────────────────────────────────────

The 1st argument to get is not what I expect:

8│      get {b: "hello world"}
            ^^^^^^^^^^^^^^^^^^

This argument is a record of type:

    { b : Str }

But get needs the 1st argument to be:

    { a : a }b

Tip: Seems like a record field typo. Maybe a should be b?

Tip: Can more type annotations be added? Type annotations always help
me give more specific messages, and I think they could help a lot in
this case

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

'+fast-variable-shuffle' is not a recognized feature for this target (ignoring feature)
'+fast-variable-shuffle' is not a recognized feature for this target (ignoring feature)
Done!
Application crashed with message

    Can't create record with improper layout

Shutting down

rather than the hanging
Mismatch in compiler/unify/src/unify.rs Line 1071 Column 13
Trying to unify two flat types that are incompatible: EmptyRecord ~ { 'a' : Demanded(122), }<130>

thread '<unnamed>' panicked at 'invalid layout from var: UnresolvedTypeVar(104)', compiler/mono/s
rc/layout.rs:1510:52

that was previously produced.

It seems this issue can be closed now?


Fix bug where table rows are not rendered correctly when the table is reattached to the DOM

Pull Request
🤨 Rationale
Fixes #1753
👩💻 Implementation
The bug in the existing code is that the table's viewport always reset to a scroll position of 0 when reconnected, but the virutalizer maintained its state of being scrolled to a certain position. To fix this problem, I update the table's viewport scroll position to match the virtualizer's scroll position once the state of the virtualizer has been updated upon reconnection of the nimble-table element.
🧪 Testing

Manually tested
Wrote some new unit tests that verify that the scroll position and rendered rows are as expected when the table is disconnected and reconnected. This includes tests that update the data while the table is not connected.

✅ Checklist

[ ] I have updated the project documentation to reflect my changes or determined no changes are needed.

@atmgrifter00, will you buddy this PR for me?


question about the pretrained HAIS model

Hi, thanks for you great work. I wonder if the HAIS pretrained model is necessary to achieve the high performance. Have you tried totally training from scratch?

One more question I have is the HAIS pretrained model trained on ScanNet or STPLS3D?

HAIS pretrained model is on ScanNet. In my experiments, training from pretrained model gets better performance.


Previously logged out user is displayed for a moment in second tab

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue was found when executing #5190
Action Performed:

Sign in to New Expensify in one tab (A), open a second tab (B) with New Expensify (you should be signed in automatically)
In tab A, sign out then sign in with a new account

Expected Result:
In tab B, the user should be automatically signed out
Actual Result:
In tab B, the previously logged in account is displayed for a few seconds before new account is displayed
Workaround:
Unkown
Platform:

Where is this issue occurring?

Web
Mobile Web (Safari)

Version Number:
1.0.98-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/133266729-ff8b926d-5d48-44d9-b6af-3756f4d93efe.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub

Triggered auto assignment to @aldo-expensify (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

It looks like the logout account synchronization across tabs is not working in Safari. In Chrome it looks fine.
Safari - other tab doesn't log out
https://user-images.githubusercontent.com/87341702/133321433-c84cced5-0940-4548-9775-0b5d59ec836c.mov
Chrome
https://user-images.githubusercontent.com/87341702/133321450-79893acb-6336-4c47-aff2-d462fc2707b6.mov

Good find @aldo-expensify. I will take a look.

Good find @aldo-expensify. I will take a look.

Sorry @parasharrajat , tested again and I'm not being able to reproduce it again, so my comment on this may be misleading from the real cause.

It can be closed.

Maybe this happens on a mobile browser because in mobile the browser doesn't work on updating all tabs at the same rate as in the desktop (for performance reasons)? Is it possible that Safari + IPhone shows snapshot of the tab when we see it from this view:

And that could be the reason why we don't see it change it until we make it the active tab?
@Beamanator @marcaaron , what do you guys think? should we just close this?

Doesn't seem like a priority to me.

Triggered auto assignment to @jliexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Hi! Just hoping to confirm: are we ok to close this GH, or are we looking to roll out a fix after n6?

I would vote to close it. It doesn't seem like a real problem we need to solve.