I'm having a problem when using config : config.json settings file

Hi
I created a multires and and an index.html in the same directory as config.json with the script code

I added the line
"basePath": ".",
to the config.json
When I load index.html in a web browser, it reports "no panorama image was specified"
When I copy the code from config.json to the index.html file, it loads correctly.
Can you help?

This happens because config is a URL configuration parameter, not a JSON configuration parameter. The behavior you're describing is exactly what's expected per the documentation, since there's no JSON configuration parameter named config. A separate JSON configuration file is only directly supported by the standalone HTML viewer, not by the API. If you want to use a separate JSON configuration file with the API, you need to load it yourself and pass it to the API as a JavaScript object / dictionary.


chore(diff): add more diff cases

Summary

Make get chunk filename runtime module stable
Fix arrow function in relative url runtime module
Add diff cases for

relative url runtime module
chunk name runtime module
runtime id runtime module

Test Plan
Require Documentation?

[x] No
[ ] Yes, the corresponding rspack-website PR is __

!bench


Uncaught exception at ChangeStreamCursor (watcher node)

The following error happens on each deploy and restarts the whole node-red instance.
Microsoft Windows [Version 10.0.17763.5206]
Node-Red v.3.1.3
2024-01-10 11:13:18.332: 10 Jan 12:13:18 - [trace] runtime event: {"id":"runtime-state","payload":{"state":"start","deploy":true},"retain":true}
2024-01-10 11:13:18.332: 10 Jan 12:13:18 - [info] Started flows
2024-01-10 11:13:18.332: 10 Jan 12:13:18 - [trace] runtime event: {"id":"runtime-deploy","payload":{"revision":"ccb9291c11084ea0f40737873e4d15c1"},"retain":true}
2024-01-10 11:13:18.348: 10 Jan 12:13:18 - [debug] [inject:every 5 min] repeat = 300000
2024-01-10 11:13:18.348: 10 Jan 12:13:18 - [trace] git["rev-list","HEAD","--count"]
2024-01-10 11:13:18.348: 10 Jan 12:13:18 - [trace] git["log","--format=sha: %H%nparents: %p%nrefs: %D%nauthor: %an%ndate: %ct%nsubject: %s%n-----","-n 20"]
2024-01-10 11:13:18.348: 10 Jan 12:13:18 - [red] Uncaught Exception:
2024-01-10 11:13:18.348: 10 Jan 12:13:18 - [error] MongoNotConnectedError: Client must be connected before running operations
2024-01-10 11:13:18.348:     at executeOperationAsync (c:\node-red-be5\node_modules\mongodb\lib\operations\execute_operation.js:23:19)
2024-01-10 11:13:18.348:     at c:\node-red-be5\node_modules\mongodb\lib\operations\execute_operation.js:12:45
2024-01-10 11:13:18.348:     at maybeCallback (c:\node-red-be5\node_modules\mongodb\lib\utils.js:293:21)
2024-01-10 11:13:18.348:     at executeOperation (c:\node-red-be5\node_modules\mongodb\lib\operations\execute_operation.js:12:38)
2024-01-10 11:13:18.348:     at ChangeStreamCursor._getMore (c:\node-red-be5\node_modules\mongodb\lib\cursor\abstract_cursor.js:440:50)
2024-01-10 11:13:18.348:     at ChangeStreamCursor._getMore (c:\node-red-be5\node_modules\mongodb\lib\cursor\change_stream_cursor.js:102:15)
2024-01-10 11:13:18.348:     at node:internal/util:442:7
2024-01-10 11:13:18.348:     at new Promise (<anonymous>)
2024-01-10 11:13:18.348:     at bound _getMore (node:internal/util:428:12)
2024-01-10 11:13:18.348:     at next (c:\node-red-be5\node_modules\mongodb\lib\cursor\abstract_cursor.js:536:87)

Hi Michwo,
I fixed your issue. Please try out<EMAIL_ADDRESS>


Webp support

How to save images from pdf to webp?

@projct1 , I have added a pull request #221 that adds this feature 👍

@projct1 @ntaylor-86 I've merged support for .webp files - see the 2.3.0 release.


Groq integration

Hi all,
I have been trying to get h2ogpt to work in remote inference server mode, but so far haven't been successful.
This is how I invoke the app, as mentioned here:
python generate.py --inference_server="vllm:https://api.groq.com/openai:None:/v1:$GROQ_API_KEY" --base_model='mixtral-8x7b-32768'  --max_seq_len=31744 --prompt_type='plain'
And this is the output:
No GPUs detected
Using Model mixtral-8x7b-32768
Starting get_model: mixtral-8x7b-32768 vllm:https://api.groq.com/openai:None:/v1:<groq_api_key>
Not using tokenizer from HuggingFace:

Traceback (most recent call last):
  File "/home/premchan/.local/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 270, in hf_raise_for_status
    response.raise_for_status()
  File "/home/premchan/.local/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/mixtral-8x7b-32768/resolve/main/config.json

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/premchan/.local/lib/python3.10/site-packages/transformers/utils/hub.py", line 398, in cached_file
    resolved_file = hf_hub_download(
  File "/home/premchan/.local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
  File "/home/premchan/.local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1374, in hf_hub_download
    raise head_call_error
  File "/home/premchan/.local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1247, in hf_hub_download
    metadata = get_hf_file_metadata(
  File "/home/premchan/.local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
  File "/home/premchan/.local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1624, in get_hf_file_metadata
    r = _request_wrapper(
  File "/home/premchan/.local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 402, in _request_wrapper
    response = _request_wrapper(
  File "/home/premchan/.local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 426, in _request_wrapper
    hf_raise_for_status(response)
  File "/home/premchan/.local/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 320, in hf_raise_for_status
    raise RepositoryNotFoundError(message, response) from e
huggingface_hub.utils._errors.RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-65f2dc5e-16ee07f97270004e1946decb;f647e478-1e21-4291-a5d0-30cfb7cc030f)

Repository Not Found for url: https://huggingface.co/mixtral-8x7b-32768/resolve/main/config.json.
Please make sure you specified the correct `repo_id` and `repo_type`.
If you are trying to access a private or gated repo, make sure you are authenticated.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/premchan/h2ogpt/src/gen.py", line 2241, in get_config
    config = AutoConfig.from_pretrained(base_model, token=use_auth_token,
  File "/home/premchan/.local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1111, in from_pretrained
    config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
  File "/home/premchan/.local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 633, in get_config_dict
    config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
  File "/home/premchan/.local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 688, in _get_config_dict
    resolved_config_file = cached_file(
  File "/home/premchan/.local/lib/python3.10/site-packages/transformers/utils/hub.py", line 421, in cached_file
    raise EnvironmentError(
OSError: mixtral-8x7b-32768 is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing `token=<your_token>`
Model {'base_model': 'mixtral-8x7b-32768', 'base_model0': 'mixtral-8x7b-32768', 'tokenizer_base_model': '', 'lora_weights': '', 'inference_server': 'vllm:https://api.groq.com/openai:None:/v1:<groq_api_key>', 'prompt_type': 'plain', 'prompt_dict': {'promptA': None, 'promptB': None, 'PreInstruct': None, 'PreInput': None, 'PreResponse': None, 'terminate_response': [], 'chat_sep': '\n', 'chat_turn_sep': '\n', 'humanstr': None, 'botstr': None, 'generates_leading_space': False, 'system_prompt': '', 'can_handle_system_prompt': False}, 'visible_models': None, 'h2ogpt_key': None, 'load_8bit': False, 'load_4bit': False, 'low_bit_mode': 1, 'load_half': False, 'use_flash_attention_2': False, 'load_gptq': '', 'load_awq': '', 'load_exllama': False, 'use_safetensors': False, 'revision': None, 'use_gpu_id': False, 'gpu_id': None, 'compile_model': None, 'use_cache': None, 'llamacpp_dict': {'n_gpu_layers': 100, 'use_mlock': True, 'n_batch': 1024, 'n_gqa': 0, 'model_path_llama': '', 'model_name_gptj': '', 'model_name_gpt4all_llama': '', 'model_name_exllama_if_no_config': ''}, 'rope_scaling': {}, 'max_seq_len': 31694, 'max_output_seq_len': None, 'exllama_dict': {}, 'gptq_dict': {}, 'attention_sinks': False, 'sink_dict': {}, 'truncation_generation': False, 'hf_model_dict': {}}
Begin auto-detect HF cache text generation models
No loading model microsoft/speecht5_hifigan because The checkpoint you are trying to load has model type `hifigan` but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.
No loading model microsoft/speecht5_tts because is_encoder_decoder=True
No loading model openai/whisper-base.en because is_encoder_decoder=True
End auto-detect HF cache text generation models
Begin auto-detect llama.cpp models
End auto-detect llama.cpp models
/home/premchan/.local/lib/python3.10/site-packages/gradio/components/dropdown.py:173: UserWarning: The value passed into gr.Dropdown() is not in the list of choices. Please update the list of choices to include: None or set allow_custom_value=True.
  warnings.warn(
Running on local URL:  http://<IP_ADDRESS>:7860

Thanks for being a Gradio user! If you have questions or feedback, please join our Discord server and chat with us: https://discord.gg/feTf9x3ZSB

To create a public link, set `share=True` in `launch()`.
Started Gradio Server and/or GUI: server_name: localhost port: None
Use local URL: http://localhost:7860/
/home/premchan/.local/lib/python3.10/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "model_name" has conflict with protected namespace "model_".

You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
  warnings.warn(
/home/premchan/.local/lib/python3.10/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "model_names" has conflict with protected namespace "model_".

You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
  warnings.warn(
OpenAI API URL: http://<IP_ADDRESS>:5000
INFO:__name__:OpenAI API URL: http://<IP_ADDRESS>:5000
OpenAI API key: EMPTY
INFO:__name__:OpenAI API key: EMPTY
INFO:     <IP_ADDRESS>:59222 - "POST /queue/join HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59222 - "GET /queue/data?session_hash=xa743me4ifi HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59222 - "POST /queue/join HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59222 - "POST /queue/join HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59222 - "GET /queue/data?session_hash=xa743me4ifi HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59222 - "POST /queue/join HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59223 - "POST /queue/join HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59223 - "GET /queue/data?session_hash=xa743me4ifi HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59223 - "POST /queue/join HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59223 - "GET /queue/data?session_hash=xa743me4ifi HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59223 - "POST /queue/join HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59223 - "GET /queue/data?session_hash=xa743me4ifi HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59223 - "POST /queue/join HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59223 - "GET /queue/data?session_hash=xa743me4ifi HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59223 - "POST /queue/join HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:59223 - "GET /queue/data?session_hash=xa743me4ifi HTTP/1.1" 200 OK
evaluate_nochat exception: Error code: 404 - {'error': {'message': 'Unknown request URL: POST /openai/v1/completions. Please check the URL for typos, or see the docs at https://console.groq.com/docs/', 'type': 'invalid_request_error', 'code': 'unknown_url'}}: ('', '', '', True, 'plain', "{   'PreInput': None,\n    'PreInstruct': None,\n    'PreResponse': None,\n    'botstr': None,\n    'can_handle_system_prompt': False,\n    'chat_sep': '\\n',\n    'chat_turn_sep': '\\n',\n    'generates_leading_space': False,\n    'humanstr': None,\n    'promptA': None,\n    'promptB': None,\n    'system_prompt': '',\n    'terminate_response': []}", 0.1, 0.75, 40, 0, 1, 1024, 0, False, 600, 1.07, 1, False, True, '', '', 'LLM', True, 'Query', [], 10, True, 512, 'Relevant', ['All'], [], [], [], [], 'Pay attention and remember the information below, which will help to answer the question or imperative after the context ends.', 'According to only the information in the document sources provided within the context above, write an insightful and well-structured response to: ', 'In order to write a concise single-paragraph or bulleted list summary, pay attention to the following text.', 'Using only the information in the document sources above, write a condensed and concise summary of key results (preferably as bullet points).', 'Answer this question with vibrant details in order for some NLP embedding model to use that answer as better query than original question: ', 'auto', ['DocTR', 'ASR'], ['PyMuPDF'], ['Unstructured'], '.[]', 10, 'auto', [], '', False, '[]', '[]', 'best_near_prompt', 512, -1, -1, 'split_or_merge', '\n\n', 0, 'auto', False, False, '[]', 'None', None, [], 1, None, None, {'model': 'model', 'tokenizer': 'tokenizer', 'device': 'vllm:https://api.groq.com/openai:None:/v1:<groq_api_key>', 'base_model': 'mixtral-8x7b-32768', 'tokenizer_base_model': '', 'lora_weights': '[]', 'inference_server': 'vllm:https://api.groq.com/openai:None:/v1:<groq_api_key>', 'prompt_type': 'plain', 'prompt_dict': {'promptA': None, 'promptB': None, 'PreInstruct': None, 'PreInput': None, 'PreResponse': None, 'terminate_response': [], 'chat_sep': '\n', 'chat_turn_sep': '\n', 'humanstr': None, 'botstr': None, 'generates_leading_space': False, 'system_prompt': '', 'can_handle_system_prompt': False}, 'visible_models': 0, 'h2ogpt_key': None}, {'MyData': [None, 'c01082d7-aff5-4066-8288-f2f4350d4a5e', 'c01082d7-aff5-4066-8288-f2f4350d4a5e']}, {'langchain_modes': ['UserData', 'MyData', 'LLM', 'Disabled'], 'langchain_mode_paths': {'UserData': None}, 'langchain_mode_types': {'UserData': 'shared', 'github h2oGPT': 'shared', 'DriverlessAI docs': 'shared', 'wiki': 'shared', 'wiki_full': '', 'MyData': 'personal', 'LLM': 'personal', 'Disabled': 'personal'}}, {'headers': '', 'host': '<server_ip>:7860', 'username': 'c01082d7-aff5-4066-8288-f2f4350d4a5e', 'connection': 'keep-alive', 'content-length': '120', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36', 'dnt': '1', 'content-type': 'application/json', 'accept': '*/*', 'origin': 'http://<server_ip>:7860', 'referer': 'http://<server_ip>:7860/', 'accept-encoding': 'gzip, deflate', 'accept-language': 'en-IN,en-GB;q=0.9,en-US;q=0.8,en;q=0.7,nl;q=0.6,fr;q=0.5', 'host2': '<IP_ADDRESS>'}, {}, [['groq', '']])
Traceback (most recent call last):
  File "/home/premchan/.local/lib/python3.10/site-packages/gradio/queueing.py", line 495, in call_prediction
    output = await route_utils.call_process_api(
  File "/home/premchan/.local/lib/python3.10/site-packages/gradio/route_utils.py", line 235, in call_process_api
    output = await app.get_blocks().process_api(
  File "/home/premchan/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1627, in process_api
    result = await self.call_function(
  File "/home/premchan/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1185, in call_function
    prediction = await utils.async_iteration(iterator)
  File "/home/premchan/.local/lib/python3.10/site-packages/gradio/utils.py", line 514, in async_iteration
    return await iterator.__anext__()
  File "/home/premchan/.local/lib/python3.10/site-packages/gradio/utils.py", line 507, in __anext__
    return await anyio.to_thread.run_sync(
  File "/home/premchan/.local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
    return await get_async_backend().run_sync_in_worker_thread(
  File "/home/premchan/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
    return await future
  File "/home/premchan/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run
    result = context.run(func, *args)
  File "/home/premchan/.local/lib/python3.10/site-packages/gradio/utils.py", line 490, in run_sync_iterator_async
    return next(iterator)
  File "/home/premchan/.local/lib/python3.10/site-packages/gradio/utils.py", line 673, in gen_wrapper
    response = next(iterator)
  File "/home/premchan/h2ogpt/src/gradio_runner.py", line 4573, in bot
    for res in get_response(fun1, history, chatbot_role1, speaker1, tts_language1, roles_state1,
  File "/home/premchan/h2ogpt/src/gradio_runner.py", line 4468, in get_response
    for output_fun in fun1():
  File "/home/premchan/h2ogpt/src/gen.py", line 4275, in evaluate
    responses = openai_client.completions.create(
  File "/home/premchan/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/openai/_utils/_utils.py", line 275, in wrapper
    return func(*args, **kwargs)
  File "/home/premchan/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/openai/resources/completions.py", line 516, in create
    return self._post(
  File "/home/premchan/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/openai/_base_client.py", line 1208, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
  File "/home/premchan/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/openai/_base_client.py", line 897, in request
    return self._request(
  File "/home/premchan/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/openai/_base_client.py", line 988, in _request
    raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'error': {'message': 'Unknown request URL: POST /openai/v1/completions. Please check the URL for typos, or see the docs at https://console.groq.com/docs/', 'type': 'invalid_request_error', 'code': 'unknown_url'}}

My system has openai 1.12.0 python package installed. Has anyone had any success doing this?

Groq team is annoying.  They had OpenAI API support.  But after their beta testing was done, they continue to say they support it, but their url doesn't work anymore.  I've reached out to them several times and never get any response.

f32e3ea1b28b17f8e24fb1d0c5cabca23824ba05

Please follow new instructions as in the commit above and install packages in that commit too.

Thanks for the fast turnaround, it works now.


buildDotnetModule: allow fetching dependencies at compile time

Motivation for this change
This allows users to set nugetSha256 to resolve nuget dependencies, instead of having to manually generate a lockfile and checking it into source control. A huge improvement for the user experience! It should also make automated updating of buildDotnetModule derivations a lot simpler, which is great :)
This wasn't done before as dotnet allows you to specify floating version ranges for Nuget dependencies, which we obviously cannot deterministically fetch. We now generate an dotnet lockfile with dotnet restore, and parse it to check the version ranges it requests. If we detect any floating versions, we error out as follows:
depotdownloader-nuget-lockfile> Executing dotnetValidateLockfileHook
depotdownloader-nuget-lockfile> Parsing lockfile
depotdownloader-nuget-lockfile> Attempted to fetch floating NuGet dependency version(s):
depotdownloader-nuget-lockfile>   Package "Newtonsoft.Json" requested unstable version range "[13.*, )"
depotdownloader-nuget-lockfile> This project uses unstable version range(s) for it's Nuget dependencies, which we cannot deterministically fetch.
depotdownloader-nuget-lockfile> Please set the "nugetDeps" attribute to a lockfile generated with the "passthru.fetch-deps" script to ensure all dependencies are locked.

If not, we generate a lockfile with nuget-to-nix just like we do with nugetDeps.
We automatically attempt this when neither nugetDeps nor nugetSha256 are set, just like for example fetchurl does when sha256 isn't set.
I have a few ideas on how we can improve the restore process using this, but since the diff is getting pretty big already I thought it'd be best to keep that for another pr.
cc @winterqt @prusnak @SuperSandro2000 @jonringer @Mic92 hope you all don't mind the pings, would love some reviews :blush:
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

Conceptually this is the right thing to do and brings Dotnet packaging closer to Golang/Rust packaging where we just commit cargoSha256/vendorSha256 respectively. 👍
I am unable to review/test the code change for now, though.

I've made the FOD dependant on name, added a bit more documentation, and did some small cleanup :)

CI for building the manual fails because it can't access networking, seems unrelated.

Thats run in GitHub Actions and you need to re-run all jobs what I have done for you already.

Rebased to include https://github.com/NixOS/nixpkgs/pull/162187, which fixes some hash invalidations.

Thanks for the review! Adressed your comments :blush:

Specifically, I think we should replace the current version with a version adapted from this update script, which would allow for custom NuGet repositories like nuget2nix does.

Totally agreed, that functionality should be added to nuget-to-nix as well. We currently use fetchNuGet in the lockfiles which is defined in make-nuget-deps, I think this should be replaced with a generic fetcher like fetchFromNuGet to avoid confusion with fetchnuget. That would allow a standard format for the lockfile which both nuget2nix and nuget-to-nix can use. I also want to make nuget-to-nix generate the package list from a dotnet lockfile, to be more consistent with their internals. I think we can embed some more metadata as well, which is always nice. It also needs a comment explaining how to regenerate the file in case nugetDeps is used, so that maintainers dont have to dig through the documentation.
All in all the lockfile generation needs some work, its next up on my list. This PR only aims to get the basic fetching functionality in to minimise the diff, although of course internal changes to the lockfile generation would invalidate nugetSha256. Not sure if that should be blocking this PR.

Apologies for taking so long to get to this.
This looks great! Other than my minor grammar suggestions, I just have one thing we should discuss: nuget-to-nix.
Specifically, I think we should replace the current version with a version adapted from this update script, which would allow for custom NuGet repositories like nuget2nix does.
Thoughts?

The omnisharp script has a couple problems , for example making a lot of network requests to verify which package source should be used, which makes it pretty slow.
I made some changes to nuget-to-nix in https://github.com/NixOS/nixpkgs/pull/178004 which allow it to support alternative package sources, and it minimizes the number of network requests compared to the omnisharp. Maybe you can consider adapting it instead?

I've rebased this branch as I think this is ready to be merged now. I dont think there should be more changes to the generated lockfiles, hashes are expected to be stable now.
I would love to get this merged as soon as possible :)

Hello, any updates on this ?

@IvarWithoutBones sorry for not looking at this earlier. Could give this a rebase? I would than do a final test before merging.

@IvarWithoutBones If you could have a look, please, this PR would be greatly beneficial

Kind reminder :)


In native automation mode the original page title is changed to somtehing like this 'jsP39jbVh*3nMrYxeNI'

What is your Scenario?
I would like to assert the page title of my webpage in Chrome browser.
The page title is 'Login | Immowelt' but I get something like 'jsP39jbVh*3nMrYxeNI' back from testcafe in native automation mode.
For example, if not in native automation mode then testcafe returns the correct page title -> 'Login | Immowelt'
The issue happens only in native automation mode.
What is the Current behavior?
The page title is 'Login | Immowelt' but I get something like 'jsP39jbVh*3nMrYxeNI' back from testcafe in native automation mode.
What is the Expected behavior?
The original page title is returned from testcafe in native automation mode.
What is your public website URL? (or attach your complete example)
https://signin.immowelt.de/
What is your TestCafe test code?
// loginPage.js
this.pageTitle = Selector('title');
// test.js
await t
.expect(loginPage.pageTitle.textContent).eql('Login | Immowelt')
Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce

Navigate to the page https://signin.immowelt.de/
Assert the page title is 'Login | Immowelt'

TestCafe version
3.0.0
Node.js version
No response
Command-line arguments
yarn testcafe chrome:headless ./src/systemtests/test.js
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response

Thank you :)


Honor (and thus fail on) reserved close codes defined in the spec.

This brings us to only one failure and 8 non-strict conformance.


Implemented filter ADSR logic and volume and filter ADSR GUI controls.

This PR resolves issue #100 .

poly-synth/index.html now has containers for filter and volume ADSR.
poly-synth/src/poly-synth-demo.js now adds GUI elements for controlling filter and volume ADSR.
poly-synth/src/poly-synth.js now has default values for filter and volume ADSR.
poly-synth/src/poly-synth-voice.js now implements logic for filter ADSR.

The demo can be found here.
The parameters currently do not support nonlinear scaling. This is a desirable feature and entails modifying audio-worklet/lib/param-controllerer.js. This should be done in a separate PR, and is listed in issue #106

After playing around with the demo, I have some comments (based on my lack of any recent experience with real synthesizers):

There's a click at the start and end of every key I press.  Shouldn't the gain ADSR defaults be set to something so that the click doesn't happen?
The gain ADSR sliders have a range of up to 10 s.  Is that realistic?
The Volume section might have a different name to reflect that it's per voice gain ADSR?  Not sure, though.
The filter cutoff slider range is huge and very hard to control.  Seems like this would be a fairly simple change to the param controller stuff.  Add a function to the param controller that takes the slider value and a function to convert the slider value to a printed value.  This would also be the output value of the slider.

And there's a bug somewhere where you're not releasing notes. I picked a huge release and moved the mouse over all the keys randomly, generating a huge number of notes.  Somehow, I now have a note or two sustained apparently indefinitely.  Along with some clicks.
It's a known issue in Chrome that biquads liver forever.  This probably isn't helping with the CPU usage/clicks.  A work around is to disconnect the biquad shortly after the oscillator stops.

In the latest commit,

I added more JSDoc to getParameters(). This was overlooked in the last review (the old documentation didn't document the filter ADSR)
I tweaked default parameter variables. Decay can never be zero since the linear ramp to sustain level and max level will conflict with each other when the timing is identical. The default release is >0 to avoid glitching.
I added Q
Other modifications based on review.

Ray noticed a bug in the synthesizer, which I investigated, and the simplest way to reproduce it is to click a note with the keyboard and then to click that note again with the mouse while it is pressed. The note will continue forever. I will file an issue. The demo can be found here.

In the latest commit,

Modifications based on review
I have not changed sustain to sustain volume in the GUI since that is not the convention in other DAWs I have seen. This information is "subtly" conveyed by the other parameters having a seconds unit, e.g (Attack (s)).

The latest demo is now here.


forgot-password URL is not relative

When installing wekan-ynh in a "folder" https://y.example.org/wekan/ the link generated for "forgot my password" is https://y.example.org/forgot-password ... it should be https://y.example.org/wekan/forgot-password (typing that URL seems to work)

Is it still the case with the last version: 2.98

Feel free to reopen this issue if needed.


Incompatibility with the map item when it has a non-existent dimension

According to your testing, does the issue occur with ONLY Immersive Portals mod and Fabric API?
No
Describe the issue
When a map item has a custom dimension set that doesn't exist, the game crashes with the following stacktrace:

In this specific example a map was generated with MapartCraft that uses a custom dimension to protect it from accidental overwrites/updates, but I imagine there might also be other scenarios where you'd need to load a world with this kind of a map item in it.

You seem to be using MC 1.19. Unfortunately 1.19 is not being maintained because the development effort is limited, it's impossible to maintain every version. It's recommended to use 1.19.3 or 1.19.4 now. If the issue presists in MC 1.19.3 or 1.19.4, reopen the issue.


How to use pre-training weights to remove bone shadows on xcr images

Hello, I recently added new training and inference scripts to the repository, as well as the environment template. The any model can be inferenced with "test.py" file. You can provide the model with --data_path to a directory with your CXRs in png, jpg or bmp format and the script should handle the process. If you have any further questions or encounter any issues, feel free to ask.

您好，我最近向存储库添加了新的训练和推理脚本以及环境模板。任何模型都可以使用“test.py”文件进行推理。您可以使用 --data_path 将模型提供给包含 png、jpg 或 bmp 格式的 CXR 的目录，脚本应该会处理该过程。如果您有任何其他问题或遇到任何问题，请随时提问。

Thanks you


Variable range on realtime (line) plots

E.g. I have this graph representing memory useage of a process:

Now I can't set a fixed range from 0 to let's say 1GiB, because memory useage depends heavily on the circumstances, or in this example the memory useage doesn't change for the duration of the plot, as you can see, that really messes with Epoch, also triggering an exception (line 8, Uncaught TypeError: Cannot read property 'x' of undefined):
    Plot.prototype._updateTicks = function(newTime) {
      if (!(this.hasAxis('top') || this.hasAxis('bottom'))) {
        return;
      }
      if (!((++this._tickTimer) % this.options.ticks.time)) {
        this._pushTick(this.options.windowSize, newTime, true);
      }
      if (!(this._ticks[0].x - (this.w() / this.pixelRatio) >= 0)) {
        return this._ticks[0].exit = true;
      }
    };

I am not sure how to properly fix this, maybe replace the range option with an extent function (as called from the code)? Or an extent option which takes precedence over the range option.

@Dav1dde - Can you provide me with some sample data so I can test on my end?

If the real time chart only receives the same value over and over it never draws the Y axis ticks or values

any idea how we can set a minimum Y axis scale to prevent this from happening?

I did patch this functionallity into epoch manually. You can check the last commits https://github.com/Dav1dde/epoch/commits/master - this is just a quick and dirty (not even fix) workaround which adds a range option to pick the min and max based on the current values shown.

Thanks, @Dav1dde , I grabbed your changes. However, the scale is now always the same and doesn't expand like before. I wish there was some way to set a minimum value and still allow the graph to expand if necessary.

@cbdonohue This works, use function as range option. You can see it in action here: https://github.com/Dav1dde/mcw/blob/master/mcw/static/js/backend.js#L67-L73 (disclaimer the code is pretty messy, again ..)

Looks like a fix for this exists, but hasn't been implemented as a PR on the repository. Any takers?

@Dav1dde, @cbdonohue - Looking over this again I see that this ticket is actually reporting two problems that have been reported by others and are now fixed as of the latest version of epoch.
The first problem, an error being thrown with cannot property 'x' of undefined was fixed with #203. The second, variable extent-based axes for real-time charts, was fixed with the introduction of multi-axes in #198.
Seeing as the issues are now resolved, I am going to close this ticket. Feel free to ask questions here or continue the conversation.


Capture.cpp updates and fixes

Please test this capture.cpp before approving.
The new variables (dayskipframes, nightskipframes, and aggression) will be added to the .json files later.

Thanks Eric, appreciate your attention to these fixes!

@Hydrazine2501, you know how to grab this file (it hasn't been merged yet), it would be nice if you could test it.  It works on my Pi but it's always a good idea to have someone else test.

Oh, wait, I can just clone the branch...

Ok, I'm pretty sure I'm running the new version.  Thus far it's running well.


EndOf Years bug

There's a bug when getting EndOf a year
Detailed Description
let now = moment()
let endYear = now.subtract(1, .Years).endOf(.Years)  // 2016-12-30 23:59:59

expected result is 2016-12-31 23:59:59

What are your timeZone and locale ?

TimeZone: Asia/Jakarta
Locale: en_US


Support SwiftUI Previews from code in Swift packages

Is your feature request related to a problem? Please describe.
When code is in a Swift package it doe not have the .json files required when Amplify.configure is called. It results in an exception which causes Previews to crash. This is because the app has these files included as resources but the Swift package does not.
Describe the solution you'd like
The Amplify.configure command should return silently when it is called while running for SwiftUI Previews.
var isRunningForPreviews: Bool {
    ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] != nil
}

Describe alternatives you've considered
I attempted to configure AWS with a dummy dictionary but that did not work.
Is the feature request related to any of the existing Amplify categories?
No response
Additional context
No response

Is there any update on this? I'm unable to preview with Amplify installed.

Hi @brennanMKE Thanks for actioning this change! I've seen that it has been merged already a while ago, and yet I am experiencing the crashes on my previews.
Is there anything I need to configure additionally so the flag you implemented has effect when rendering previews?
Thanks a lot!!

@Pedrosolisg can you share any logs for the crash that you are seeing?

@Pedrosolisg can you share any logs for the crash that you are seeing?

Thanks for replying to quick! @harsh62 :)
Below the crash report by Xcode when trying to render the Preview on the canvas:
`-------------------------------------
Translated Report (Full Report Below)
Incident Identifier: 4DED7D1A-83C1-409F-9F7A-9467283D906B
CrashReporter Key:   B17AFC89-7248-A1EE-5B40-4A5F667C3E76
Hardware Model:      MacBookPro16,1
Process:             Kalisten [67794]
Path:                /Users/USER/Library/Developer/Xcode/UserData/Previews/Simulator Devices/74D1B278-0DF5-4A83-AB10-35363A4E4ED3/data/Containers/Bundle/Application/FC5DFDC3-367B-45DE-A0F9-9D869287AA82/Kalisten.app/Kalisten
Identifier:          vilhon.Kalisten
Version:             1.03 (1)
Code Type:           X86-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [7496]
Coalition:           com.apple.CoreSimulator.SimDevice.74D1B278-0DF5-4A83-AB10-35363A4E4ED3 [89706]
Responsible Process: SimulatorTrampoline [49585]
Date/Time:           2022-05-13 12:29:47.8812 +0200
Launch Time:         2022-05-13 12:29:45.9646 +0200
OS Version:          macOS 12.3.1 (21E258)
Release Type:        User
Report Version:      104
Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 4 Illegal instruction: 4
Terminating Process: exc handler [67794]
Triggered by Thread:  0
Application Specific Information:
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/pedro/Library/Developer/Xcode/DerivedData/Kalisten-ftkebijbwltjslbuajudpftkjaug/Build/Intermediates.noindex/Previews/Kalisten Debug/Products/Debug-iphonesimulator DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot//System/Library/PrivateFrameworks/PreviewsInjection.framework/PreviewsInjection DYLD_FRAMEWORK_PATH=/Users/pedro/Library/Developer/Xcode/DerivedData/Kalisten-ftkebijbwltjslbuajudpftkjaug/Build/Intermediates.noindex/Previews/Kalisten Debug/Products/Debug-iphonesimulator
CoreSimulator 802.6 - Device: iPhone 13 (74D1B278-0DF5-4A83-AB10-35363A4E4ED3) - Runtime: iOS 15.4 (19E240) - DeviceType: iPhone 13
Amplify/AuthCategory.swift:18: Fatal error: Authentication category is not configured. Call Amplify.configure() before using any methods on the category.
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/pedro/Library/Developer/Xcode/DerivedData/Kalisten-ftkebijbwltjslbuajudpftkjaug/Build/Intermediates.noindex/Previews/Kalisten Debug/Products/Debug-iphonesimulator DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot//System/Library/PrivateFrameworks/PreviewsInjection.framework/PreviewsInjection DYLD_FRAMEWORK_PATH=/Users/pedro/Library/Developer/Xcode/DerivedData/Kalisten-ftkebijbwltjslbuajudpftkjaug/Build/Intermediates.noindex/Previews/Kalisten Debug/Products/Debug-iphonesimulator
Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libswiftCore.dylib            	    0x7fff30982d85 assertionFailure(:_:file:line:flags:) + 421
1   Kalisten                      	       0x10c2bba51 AuthCategory.plugin.getter + 2337
2   Kalisten                      	       0x10c2ba544 AuthCategory.getCurrentUser() + 116
3   Kalisten                      	       0x10bfdd9b7 AuthSessionManager.getCurrentAuthUser() + 215 (AuthSessionManager.swift:27)
4   Kalisten                      	       0x10c17187c KalistenApp.init() + 236 (KalistenApp.swift:25)
5   Kalisten                      	       0x10c1729d1 protocol witness for App.init() in conformance KalistenApp + 17
6   SwiftUI                       	    0x7fff5d390c52 static App.main() + 47
7   Kalisten                      	       0x10c17294e static KalistenApp.$main() + 30 (KalistenApp.swift:14)
8   Kalisten                      	       0x10c1729f9 main + 9
9   dyld_sim                      	       0x10f110f21 start_sim + 10
10  dyld                          	       0x11c3c851e start + 462
Thread 1::  Dispatch queue: APMAnalyticsQueue
0   libnetwork.dylib              	    0x7fff2297bfc2 nw_resolver_get_next_log_id + 34
1   libnetwork.dylib              	    0x7fff2297b700 -[NWConcrete_nw_resolver initWithEndpoint:parameters:path:log_str:] + 1792
2   libnetwork.dylib              	    0x7fff2297c7b3 nw_resolver_create_with_path + 115
3   SystemConfiguration           	    0x7fff206bd2b3 __SCNetworkReachabilityRestartResolver + 111
4   SystemConfiguration           	    0x7fff206bc32e __SCNetworkReachabilitySetDispatchQueue + 956
5   SystemConfiguration           	    0x7fff206bbe08 SCNetworkReachabilityScheduleWithRunLoop + 510
6   Kalisten                      	       0x10c6250c2 -[GULReachabilityChecker start] + 322
7   Kalisten                      	       0x10c626d97 -[GULNetwork initWithReachabilityHost:] + 231
8   Kalisten                      	       0x10c9265b0 -[APMETaskManager init] + 175
9   Kalisten                      	       0x10c921078 -[APMEManager init] + 45
10  Kalisten                      	       0x10c920f10 __29+[APMEManager sharedInstance]_block_invoke + 37
11  libdispatch.dylib             	    0x7fff20115b25 _dispatch_client_callout + 8
12  libdispatch.dylib             	    0x7fff20116cdd _dispatch_once_callout + 20
13  Kalisten                      	       0x10c920ee9 +[APMEManager sharedInstance] + 46
14  Kalisten                      	       0x10c93ebf2 +[APMMeasurement initializeSharedInstanceWithAppID:isAnalyticsCollectionEnabled:isAnalyticsCollectionDeactivated:safelistedEvents:] + 168
15  Kalisten                      	       0x10c8f9e2b __46+[APMAnalytics startWithAppID:origin:options:]_block_invoke_2 + 56
16  libdispatch.dylib             	    0x7fff201148e4 _dispatch_call_block_and_release + 12
17  libdispatch.dylib             	    0x7fff20115b25 _dispatch_client_callout + 8
18  libdispatch.dylib             	    0x7fff2011c0df _dispatch_lane_serial_drain + 753
19  libdispatch.dylib             	    0x7fff2011ccc1 _dispatch_lane_invoke + 400
20  libdispatch.dylib             	    0x7fff2012797b _dispatch_workloop_worker_thread + 779
21  libsystem_pthread.dylib       	    0x7fff6fb05fd0 _pthread_wqthread + 326
22  libsystem_pthread.dylib       	    0x7fff6fb04f57 start_wqthread + 15
Thread 2:
0   libsystem_pthread.dylib       	    0x7fff6fb04f48 start_wqthread + 0
Thread 3::  Dispatch queue: com.firebase.FIRInstallationsStore
0   libsystem_kernel.dylib        	    0x7fff6faaa97a mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7fff6faaace8 mach_msg + 56
2   libdispatch.dylib             	    0x7fff2012e5ac _dispatch_mach_send_and_wait_for_reply + 567
3   libdispatch.dylib             	    0x7fff2012e997 dispatch_mach_send_with_result_and_wait_for_reply + 55
4   libxpc.dylib                  	    0x7fff20061bb4 xpc_connection_send_message_with_reply_sync + 219
5   CoreFoundation                	    0x7fff2042e65f __104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke_2 + 28
6   CoreFoundation                	    0x7fff2046dca5 -[_CFXPreferences withConnectionForRole:performBlock:] + 33
7   CoreFoundation                	    0x7fff2042e628 __104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke + 105
8   CoreFoundation                	    0x7fff2042e4f0 CFPREFERENCES_IS_WAITING_FOR_SYSTEM_CFPREFSD + 74
9   CoreFoundation                	    0x7fff2042bf9f -[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:] + 263
10  CoreFoundation                	    0x7fff2042e82d -[CFPrefsSearchListSource alreadylocked_generationCountFromListOfSources:count:] + 198
11  CoreFoundation                	    0x7fff2042d036 -[CFPrefsSearchListSource alreadylocked_getDictionary:] + 375
12  CoreFoundation                	    0x7fff2042cbca -[CFPrefsSearchListSource alreadylocked_copyValueForKey:] + 150
13  CoreFoundation                	    0x7fff203cc66b -[CFPrefsSource copyValueForKey:] + 47
14  CoreFoundation                	    0x7fff204709cd __76-[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:]_block_invoke + 32
15  CoreFoundation                	    0x7fff204301ef __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 395
16  CoreFoundation                	    0x7fff2042f8ee normalizeQuintuplet + 322
17  CoreFoundation                	    0x7fff20430048 -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 121
18  CoreFoundation                	    0x7fff204708b3 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 137
19  CoreFoundation                	    0x7fff204732fa _CFPreferencesCopyAppValueWithContainerAndConfiguration + 101
20  Kalisten                      	       0x10c60840d -[GULUserDefaults objectForKey:] + 349
21  Kalisten                      	       0x10c61c092 __60-[FIRInstallationsStore installationExistsForAppID:appName:]_block_invoke + 98
22  Kalisten                      	       0x10c5c71a6 __38+[FBLPromise(DoAdditions) onQueue:do:]_block_invoke + 54
23  libdispatch.dylib             	    0x7fff201148e4 _dispatch_call_block_and_release + 12
24  libdispatch.dylib             	    0x7fff20115b25 _dispatch_client_callout + 8
25  libdispatch.dylib             	    0x7fff2011c203 _dispatch_lane_serial_drain + 1045
26  libdispatch.dylib             	    0x7fff2011ccc1 _dispatch_lane_invoke + 400
27  libdispatch.dylib             	    0x7fff2012797b _dispatch_workloop_worker_thread + 779
28  libsystem_pthread.dylib       	    0x7fff6fb05fd0 _pthread_wqthread + 326
29  libsystem_pthread.dylib       	    0x7fff6fb04f57 start_wqthread + 15
Thread 4:
0   libsystem_pthread.dylib       	    0x7fff6fb04f48 start_wqthread + 0
Thread 5:
0   libsystem_pthread.dylib       	    0x7fff6fb04f48 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000200000003  rbx: 0x000000010c9b06f0  rcx: 0xfffffffe00000000  rdx: 0x0000000000000003
rdi: 0x0000600000a4cb08  rsi: 0x000060000185a100  rbp: 0x00007ff7b40065f0  rsp: 0x00007ff7b40065a0
r8: 0x0000000000002100   r9: 0x0000000000000080  r10: 0x00000000000007fb  r11: 0x000000000000007f
r12: 0x000000000000006d  r13: 0x0000000000000012  r14: 0x0000600000a4cb00  r15: 0x000000000000000b
rip: 0x00007fff30982d85  rfl: 0x0000000000010246  cr2: 0x0000700007d9df00
Logical CPU:     4
Error Code:      0x00000000
Trap Number:     6
Binary Images:
0x7fff30954000 -     0x7fff30ddafff libswiftCore.dylib ()  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswiftCore.dylib
0x10bef7000 -        0x10cadafff vilhon.Kalisten (1.03)  /Users/USER/Library/Developer/Xcode/UserData/Previews/Simulator Devices/74D1B278-0DF5-4A83-AB10-35363A4E4ED3/data/Containers/Bundle/Application/FC5DFDC3-367B-45DE-A0F9-9D869287AA82/Kalisten.app/Kalisten
0x7fff5cf58000 -     0x7fff5dde7fff com.apple.SwiftUI (3.4.12) <1f4075a1-4d0c-3c72-a76a-91300689360e> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SwiftUI.framework/SwiftUI
0x10f10f000 -        0x10f15cfff dyld_sim ()  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
0x11c3c3000 -        0x11c42efff dyld ()  /usr/lib/dyld
0x7fff22778000 -     0x7fff23058fff libnetwork.dylib () <153ece42-6d68-369f-8a04-6909f9e30059> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libnetwork.dylib
0x7fff20695000 -     0x7fff20703fff com.apple.SystemConfiguration (1.21) <404b9836-0b78-33b0-814f-2801093279c7> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x7fff20113000 -     0x7fff20159fff libdispatch.dylib () <2020b811-1706-3efe-8226-a9906bb69f52> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib
0x7fff6fb03000 -     0x7fff6fb0efff libsystem_pthread.dylib () <2f6c275d-7e14-3d31-a924-e1bb41d2415f> /usr/lib/system/libsystem_pthread.dylib
0x7fff6faa9000 -     0x7fff6fae0fff libsystem_kernel.dylib () <26a59789-b846-3ed4-96dc-8dbef3c0c8e7> /usr/lib/system/libsystem_kernel.dylib
0x7fff20057000 -     0x7fff2008afff libxpc.dylib () <3766ec43-ad39-3003-87ce-c54d4f64d800> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libxpc.dylib
0x7fff202f1000 -     0x7fff20694fff com.apple.CoreFoundation (6.9) <6cd8003f-fe68-3e98-8a29-cc834000fffd> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
EOF

Full Report
{"app_name":"Kalisten","timestamp":"2022-05-13 12:29:48.00 +0200","app_version":"1.03","slice_uuid":"c3c37920-d04f-3170-9314-6c1317292a41","build_version":"1","platform":7,"bundleID":"vilhon.Kalisten","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.3.1 (21E258)","incident_id":"4DED7D1A-83C1-409F-9F7A-9467283D906B","name":"Kalisten"}
{
"uptime" : 730000,
"procLaunch" : "2022-05-13 12:29:45.9646 +0200",
"procRole" : "Foreground",
"version" : 2,
"userID" : 502,
"deployVersion" : 210,
"modelCode" : "MacBookPro16,1",
"procStartAbsTime" :<PHONE_NUMBER>04926,
"coalitionID" : 89706,
"osVersion" : {
"train" : "macOS 12.3.1",
"build" : "21E258",
"releaseType" : "User"
},
"captureTime" : "2022-05-13 12:29:47.8812 +0200",
"incident" : "4DED7D1A-83C1-409F-9F7A-9467283D906B",
"bug_type" : "309",
"pid" : 67794,
"procExitAbsTime" :<PHONE_NUMBER>13255,
"cpuType" : "X86-64",
"procName" : "Kalisten",
"procPath" : "/Users/USER/Library/Developer/Xcode/UserData/Previews/Simulator Devices/74D1B278-0DF5-4A83-AB10-35363A4E4ED3/data/Containers/Bundle/Application/FC5DFDC3-367B-45DE-A0F9-9D869287AA82/Kalisten.app/Kalisten",
"bundleInfo" : {"CFBundleShortVersionString":"1.03","CFBundleVersion":"1","CFBundleIdentifier":"vilhon.Kalisten"},
"storeInfo" : {"deviceIdentifierForVendor":"461AF5D9-BB50-5877-A690-F0C3105A2F9A","thirdParty":true},
"parentProc" : "launchd_sim",
"parentPid" : 7496,
"coalitionName" : "com.apple.CoreSimulator.SimDevice.74D1B278-0DF5-4A83-AB10-35363A4E4ED3",
"crashReporterKey" : "B17AFC89-7248-A1EE-5B40-4A5F667C3E76",
"responsiblePid" : 49585,
"responsibleProc" : "SimulatorTrampoline",
"wakeTime" : 349279,
"bridgeVersion" : {"build":"19P4243","train":"6.4"},
"sleepWakeUUID" : "11DFC744-8703-4F34-BE9D-EC7B0096327B",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_INSTRUCTION","signal":"SIGILL"},
"termination" : {"flags":0,"code":4,"namespace":"SIGNAL","indicator":"Illegal instruction: 4","byProc":"exc handler","byPid":67794},
"asi" : {"dyld_sim":["dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/pedro/Library/Developer/Xcode/DerivedData/Kalisten-ftkebijbwltjslbuajudpftkjaug/Build/Intermediates.noindex/Previews/Kalisten Debug/Products/Debug-iphonesimulator DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot//System/Library/PrivateFrameworks/PreviewsInjection.framework/PreviewsInjection DYLD_FRAMEWORK_PATH=/Users/pedro/Library/Developer/Xcode/DerivedData/Kalisten-ftkebijbwltjslbuajudpftkjaug/Build/Intermediates.noindex/Previews/Kalisten Debug/Products/Debug-iphonesimulator"],"libsystem_sim_platform.dylib":["CoreSimulator 802.6 - Device: iPhone 13 (74D1B278-0DF5-4A83-AB10-35363A4E4ED3) - Runtime: iOS 15.4 (19E240) - DeviceType: iPhone 13"],"libswiftCore.dylib":["Amplify/AuthCategory.swift:18: Fatal error: Authentication category is not configured. Call Amplify.configure() before using any methods on the category."],"dyld":["dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/pedro/Library/Developer/Xcode/DerivedData/Kalisten-ftkebijbwltjslbuajudpftkjaug/Build/Intermediates.noindex/Previews/Kalisten Debug/Products/Debug-iphonesimulator DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot//System/Library/PrivateFrameworks/PreviewsInjection.framework/PreviewsInjection DYLD_FRAMEWORK_PATH=/Users/pedro/Library/Developer/Xcode/DerivedData/Kalisten-ftkebijbwltjslbuajudpftkjaug/Build/Intermediates.noindex/Previews/Kalisten Debug/Products/Debug-iphonesimulator"]},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":14555,"task_for_pid":326},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":17514506,"instructionState":{"instructionStream":{"bytes":[0,0,72,184,0,0,0,0,0,0,0,16,73,133,196,15,132,192,1,0,0,72,131,192,255,76,137,247,72,33,199,72,131,199,32,72,184,255,255,255,255,255,255,0,0,73,33,196,72,131,236,8,68,15,182,69,24,76,137,230,72,139,85,208,72,139,77,16,73,137,217,139,69,40,80,65,85,65,87,232,23,18,0,0,72,131,196,32,76,137,247,232,235,176,49,0,15,11,72,131,236,8,72,141,5,222,167,66,0,72,141,61,171,162,66,0,72,141,13,192,165,66,0,190,11,0,0,0,65,184,57,0,0,0,186,2,0,0,0,65,185,2,0,0,0,106,0,104,148,0,0,0,106,2,106,24,80,232,185,2,0,0,72,131,236,8,72,141,5,190,162,66,0,72,141,61,107,162,66,0,72,141,13,128,162,66,0,190,11,0,0,0],"offset":96}},"threadState":{"r13":{"value":18},"rax":{"value":8589934595},"rflags":{"value":66118},"cpu":{"value":4},"r14":{"value":105553127066368},"rsi":{"value":105553141801216},"r8":{"value":8448},"cr2":{"value":123145434029824},"rdx":{"value":3},"r10":{"value":2043},"r9":{"value":128},"r15":{"value":11},"rbx":{"value":4506453744},"trap":{"value":6},"err":{"value":0},"r11":{"value":127},"rip":{"value":140734008667525,"matchesCrashFrame":1},"rbp":{"value":140701853574640},"rsp":{"value":140701853574560},"r12":{"value":109},"rcx":{"value":18446744065119617024},"flavor":"x86_THREAD_STATE","rdi":{"value":105553127066376}},"queue":"com.apple.main-thread","frames":[{"imageOffset":191877,"symbol":"assertionFailure(:_:file:line:flags:)","symbolLocation":421,"imageIndex":0},{"imageOffset":3951185,"symbol":"AuthCategory.plugin.getter","symbolLocation":2337,"imageIndex":1},{"imageOffset":3945796,"symbol":"AuthCategory.getCurrentUser()","symbolLocation":116,"imageIndex":1},{"imageOffset":944567,"sourceLine":27,"sourceFile":"AuthSessionManager.swift","symbol":"AuthSessionManager.getCurrentAuthUser()","imageIndex":1,"symbolLocation":215},{"imageOffset":2599036,"sourceLine":25,"sourceFile":"KalistenApp.swift","symbol":"KalistenApp.init()","imageIndex":1,"symbolLocation":236},{"imageOffset":2603473,"sourceFile":"","symbol":"protocol witness for App.init() in conformance KalistenApp","symbolLocation":17,"imageIndex":1},{"imageOffset":4426834,"symbol":"static App.main()","symbolLocation":47,"imageIndex":2},{"imageOffset":2603342,"sourceLine":14,"sourceFile":"KalistenApp.swift","symbol":"static KalistenApp.$main()","imageIndex":1,"symbolLocation":30},{"imageOffset":2603513,"sourceFile":"KalistenApp.swift","symbol":"main","symbolLocation":9,"imageIndex":1},{"imageOffset":7969,"symbol":"start_sim","symbolLocation":10,"imageIndex":3},{"imageOffset":21790,"symbol":"start","symbolLocation":462,"imageIndex":4}]},{"id":17514586,"queue":"APMAnalyticsQueue","frames":[{"imageOffset":2113474,"symbol":"nw_resolver_get_next_log_id","symbolLocation":34,"imageIndex":5},{"imageOffset":2111232,"symbol":"-[NWConcrete_nw_resolver initWithEndpoint:parameters:path:log_str:]","symbolLocation":1792,"imageIndex":5},{"imageOffset":2115507,"symbol":"nw_resolver_create_with_path","symbolLocation":115,"imageIndex":5},{"imageOffset":164531,"symbol":"__SCNetworkReachabilityRestartResolver","symbolLocation":111,"imageIndex":6},{"imageOffset":160558,"symbol":"__SCNetworkReachabilitySetDispatchQueue","symbolLocation":956,"imageIndex":6},{"imageOffset":159240,"symbol":"SCNetworkReachabilityScheduleWithRunLoop","symbolLocation":510,"imageIndex":6},{"imageOffset":7528642,"symbol":"-[GULReachabilityChecker start]","symbolLocation":322,"imageIndex":1},{"imageOffset":7536023,"symbol":"-[GULNetwork initWithReachabilityHost:]","symbolLocation":231,"imageIndex":1},{"imageOffset":10679728,"symbol":"-[APMETaskManager init]","symbolLocation":175,"imageIndex":1},{"imageOffset":10657912,"symbol":"-[APMEManager init]","symbolLocation":45,"imageIndex":1},{"imageOffset":10657552,"symbol":"__29+[APMEManager sharedInstance]_block_invoke","symbolLocation":37,"imageIndex":1},{"imageOffset":11045,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":7},{"imageOffset":15581,"symbol":"_dispatch_once_callout","symbolLocation":20,"imageIndex":7},{"imageOffset":10657513,"symbol":"+[APMEManager sharedInstance]","symbolLocation":46,"imageIndex":1},{"imageOffset":10779634,"symbol":"+[APMMeasurement initializeSharedInstanceWithAppID:isAnalyticsCollectionEnabled:isAnalyticsCollectionDeactivated:safelistedEvents:]","symbolLocation":168,"imageIndex":1},{"imageOffset":10497579,"symbol":"__46+[APMAnalytics startWithAppID:origin:options:]_block_invoke_2","symbolLocation":56,"imageIndex":1},{"imageOffset":6372,"symbol":"_dispatch_call_block_and_release","symbolLocation":12,"imageIndex":7},{"imageOffset":11045,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":7},{"imageOffset":37087,"symbol":"_dispatch_lane_serial_drain","symbolLocation":753,"imageIndex":7},{"imageOffset":40129,"symbol":"_dispatch_lane_invoke","symbolLocation":400,"imageIndex":7},{"imageOffset":84347,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":779,"imageIndex":7},{"imageOffset":12240,"symbol":"_pthread_wqthread","symbolLocation":326,"imageIndex":8},{"imageOffset":8023,"symbol":"start_wqthread","symbolLocation":15,"imageIndex":8}]},{"id":17514587,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":17514588,"queue":"com.firebase.FIRInstallationsStore","frames":[{"imageOffset":6522,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":9},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":9},{"imageOffset":112044,"symbol":"_dispatch_mach_send_and_wait_for_reply","symbolLocation":567,"imageIndex":7},{"imageOffset":113047,"symbol":"dispatch_mach_send_with_result_and_wait_for_reply","symbolLocation":55,"imageIndex":7},{"imageOffset":43956,"symbol":"xpc_connection_send_message_with_reply_sync","symbolLocation":219,"imageIndex":10},{"imageOffset":1300063,"symbol":"__104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke_2","symbolLocation":28,"imageIndex":11},{"imageOffset":1559717,"symbol":"-[_CFXPreferences withConnectionForRole:performBlock:]","symbolLocation":33,"imageIndex":11},{"imageOffset":1300008,"symbol":"__104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke","symbolLocation":105,"imageIndex":11},{"imageOffset":1299696,"symbol":"CFPREFERENCES_IS_WAITING_FOR_SYSTEM_CFPREFSD","symbolLocation":74,"imageIndex":11},{"imageOffset":1290143,"symbol":"-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]","symbolLocation":263,"imageIndex":11},{"imageOffset":1300525,"symbol":"-[CFPrefsSearchListSource alreadylocked_generationCountFromListOfSources:count:]","symbolLocation":198,"imageIndex":11},{"imageOffset":1294390,"symbol":"-[CFPrefsSearchListSource alreadylocked_getDictionary:]","symbolLocation":375,"imageIndex":11},{"imageOffset":1293258,"symbol":"-[CFPrefsSearchListSource alreadylocked_copyValueForKey:]","symbolLocation":150,"imageIndex":11},{"imageOffset":898667,"symbol":"-[CFPrefsSource copyValueForKey:]","symbolLocation":47,"imageIndex":11},{"imageOffset":1571277,"symbol":"__76-[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:]_block_invoke","symbolLocation":32,"imageIndex":11},{"imageOffset":1307119,"symbol":"__108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke","symbolLocation":395,"imageIndex":11},{"imageOffset":1304814,"symbol":"normalizeQuintuplet","symbolLocation":322,"imageIndex":11},{"imageOffset":1306696,"symbol":"-[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:]","symbolLocation":121,"imageIndex":11},{"imageOffset":1570995,"symbol":"-[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:]","symbolLocation":137,"imageIndex":11},{"imageOffset":1581818,"symbol":"_CFPreferencesCopyAppValueWithContainerAndConfiguration","symbolLocation":101,"imageIndex":11},{"imageOffset":7410701,"symbol":"-[GULUserDefaults objectForKey:]","symbolLocation":349,"imageIndex":1},{"imageOffset":7491730,"symbol":"__60-[FIRInstallationsStore installationExistsForAppID:appName:]_block_invoke","symbolLocation":98,"imageIndex":1},{"imageOffset":7143846,"symbol":"__38+[FBLPromise(DoAdditions) onQueue:do:]_block_invoke","symbolLocation":54,"imageIndex":1},{"imageOffset":6372,"symbol":"_dispatch_call_block_and_release","symbolLocation":12,"imageIndex":7},{"imageOffset":11045,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":7},{"imageOffset":37379,"symbol":"_dispatch_lane_serial_drain","symbolLocation":1045,"imageIndex":7},{"imageOffset":40129,"symbol":"_dispatch_lane_invoke","symbolLocation":400,"imageIndex":7},{"imageOffset":84347,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":779,"imageIndex":7},{"imageOffset":12240,"symbol":"_pthread_wqthread","symbolLocation":326,"imageIndex":8},{"imageOffset":8023,"symbol":"start_wqthread","symbolLocation":15,"imageIndex":8}]},{"id":17514589,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":17514590,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "x86_64",
"base" :<PHONE_NUMBER>75648,
"size" : 4747264,
"uuid" : "b0a029ef-6df2-346b-8248-6570a2137e92",
"path" : "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswiftCore.dylib",
"name" : "libswiftCore.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" :<PHONE_NUMBER>,
"CFBundleShortVersionString" : "1.03",
"CFBundleIdentifier" : "vilhon.Kalisten",
"size" : 12468224,
"uuid" : "c3c37920-d04f-3170-9314-6c1317292a41",
"path" : "/Users/USER/Library/Developer/Xcode/UserData/Previews/Simulator Devices/74D1B278-0DF5-4A83-AB10-35363A4E4ED3/data/Containers/Bundle/Application/FC5DFDC3-367B-45DE-A0F9-9D869287AA82/Kalisten.app/Kalisten",
"name" : "Kalisten",
"CFBundleVersion" : "1"
},
{
"source" : "P",
"arch" : "x86_64",
"base" :<PHONE_NUMBER>80992,
"CFBundleShortVersionString" : "3.4.12",
"CFBundleIdentifier" : "com.apple.SwiftUI",
"size" : 15269888,
"uuid" : "1f4075a1-4d0c-3c72-a76a-91300689360e",
"path" : "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SwiftUI.framework/SwiftUI",
"name" : "SwiftUI",
"CFBundleVersion" : "3.4.12"
},
{
"source" : "P",
"arch" : "x86_64",
"base" :<PHONE_NUMBER>,
"size" : 319488,
"uuid" : "d5f18ce9-9569-30ea-86b1-355b990260dd",
"path" : "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim",
"name" : "dyld_sim"
},
{
"source" : "P",
"arch" : "x86_64",
"base" :<PHONE_NUMBER>,
"size" : 442368,
"uuid" : "dd9e80de-fb3b-349b-96a4-46874ad34d11",
"path" : "/usr/lib/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "x86_64",
"base" :<PHONE_NUMBER>44928,
"size" : 9310208,
"uuid" : "153ece42-6d68-369f-8a04-6909f9e30059",
"path" : "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libnetwork.dylib",
"name" : "libnetwork.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" :<PHONE_NUMBER>60704,
"CFBundleShortVersionString" : "1.21",
"CFBundleIdentifier" : "com.apple.SystemConfiguration",
"size" : 454656,
"uuid" : "404b9836-0b78-33b0-814f-2801093279c7",
"path" : "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration",
"name" : "SystemConfiguration",
"CFBundleVersion" : "1.21"
},
{
"source" : "P",
"arch" : "x86_64",
"base" :<PHONE_NUMBER>85344,
"size" : 290816,
"uuid" : "2020b811-1706-3efe-8226-a9906bb69f52",
"path" : "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib",
"name" : "libdispatch.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" :<PHONE_NUMBER>05632,
"size" : 49152,
"uuid" : "2f6c275d-7e14-3d31-a924-e1bb41d2415f",
"path" : "/usr/lib/system/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" :<PHONE_NUMBER>36992,
"size" : 229376,
"uuid" : "26a59789-b846-3ed4-96dc-8dbef3c0c8e7",
"path" : "/usr/lib/system/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" :<PHONE_NUMBER>15296,
"size" : 212992,
"uuid" : "3766ec43-ad39-3003-87ce-c54d4f64d800",
"path" : "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libxpc.dylib",
"name" : "libxpc.dylib"
},
{
"source" : "P",
"arch" : "x86_64",
"base" :<PHONE_NUMBER>43232,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 3817472,
"uuid" : "6cd8003f-fe68-3e98-8a29-cc834000fffd",
"path" : "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "1858.112"
}
],
"sharedCache" : {
"base" :<PHONE_NUMBER>58944,
"size" :<PHONE_NUMBER>,
"uuid" : "a2e42725-d117-33cc-85ec-1007e7b8389f"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=586.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=586.4M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           191.4M       26 \nMALLOC guard page                   16K        3 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.0M        6 \nStack                             10.5M        6 \nVM_ALLOCATE                          8K        2 \n__DATA                            23.0M      518 \n__DATA_CONST                      42.1M      508 \n__DATA_DIRTY                        22K       10 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       562.4M       14 \n__LLVM_COV                         624K        1 \n__OBJC_RO                         63.0M        1 \n__OBJC_RW                         3168K        1 \n__TEXT                           495.0M      523 \n__UNICODE                          592K        1 \ndyld private memory               2048K        2 \nmapped file                       29.0M        2 \nshared memory                       16K        1 \n===========                     =======  ======= \nTOTAL                              1.8G     1629 \nTOTAL, minus reserved VM space     1.4G     1629 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "61af99aeda72d16a4beb7756",
"factorPackIds" : {
"SIRI_DIALOG_ASSETS" : "62702db852dd330db9df17d1"
},
"deploymentId" : 240000156
},
{
"rolloutId" : "5ffde50ce2aacd000d47a95f",
"factorPackIds" : {
  },
  "deploymentId" : 240000145
}

],
"experiments" : [
]
}
}
Model: MacBookPro16,1, BootROM 17<IP_ADDRESS>.0 (iBridge: 19.16.14243.0.0,0), 8 processors, 8-Core Intel Core i9, 2,3 GHz, 16 GB, SMC
Graphics: Intel UHD Graphics 630, Intel UHD Graphics 630, Built-In
Graphics: AMD Radeon Pro 5500M, AMD Radeon Pro 5500M, PCIe, 4 GB
Display: Color LCD, 3072 x 1920 Retina, MirrorOff, Online
Display: DELL U2715H, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition), Main, MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, DDR4, 2667 MHz, Micron, 8ATF1G64HZ-2G6E1
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, DDR4, 2667 MHz, Micron, 8ATF1G64HZ-2G6E1
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Jul 12 2021 18:02:56 version 9.30.4<IP_ADDRESS>.76 FWID 01-c081cfed
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Spaces LAN, Ethernet, en7
Network Service: Wi-Fi, AirPort, en0
USB Device: USB3.0 Hub
USB Device: USB3.0 Card Reader
USB Device: AX88179A
USB Device: USB31Bus
USB Device: USB2.0 Hub
USB Device: Keyboard Hub
USB Device: Apple Keyboard
USB Device: Apple Watch Magnetic Charging Cable
USB Device: USB 2.0 BILLBOARD
USB Device: T2Bus
USB Device: composite_device
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5
Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5`

@Pedrosolisg From the logs, I see that you are using getCurrentUser in App.main(). This change that was done only applies to Amplify.configure(). We don't yet support other API's on SwiftUI Previews. If you would like to have this feature implemented in other API's, kindly create another ticket and our team will triage and prioritize it.


2.0.0 Authorization Token not being sent in Headers

In the new version, the Authorization token is not being passed in the request header.
Setup...

Call my Login method (POST) and retrieve JWT
Add "Bearer {JWT}" using the Authorize feature of Swagger UI.
Call a secured method (GET, POST, whatever) and receive 401 Unauthorized. The curl does not show the Authorization header has been added to the request at all. Confirmed the header is not there in the Chrome developer console.

I can uninstall Swashbuckle, and install 1.1.0 or 1.2.0 and it works. 2.0.0 does not work.
Thanks!

Sounds similar. I don't hide based on authorization. But, I do have the "Authorize" attribute set on all methods other than my Login method (which is AllowAnonymous) . As such, all methods other than Login return a 401, even after adding the Bearer {token} to the Authorization section of the Swagger doc.
I like the new Swagger layout a lot better. In particular I like that it renders the models at the bottom of the document. However, it's a nonstarter if the Authorization doesn't work.
Thanks all!

Can confirm that the authorization header is not set. I can take a look at it and hopefully soon have a PR for a fix + tests.

Also have the same issue. It is setting a WWW-Authenticate: Bearer HTTP header though.

I’ll look into this. The OAuth example in this repo works without a hitch so I’m surprised that other auth methods aren’t working.

I'm using both OAuth and Basic in the same API. Just confirmed that Basic is not working for me either.

I have the same problem. Meanwhile, I will be using version 1.2.0

As per the Swagger spec, defining the scheme alone is not sufficient. You also need to provide a Security Requirement Object at the document level or on individual operations to indicate which operations that scheme is applicable to.
If this was working in the previous version of the UI without the security requirement, then that's really a bug because it shouldn't have been according to the spec. The security semantics in Swagger 2.0 are fairly clunky IMO, but still, you should be able to get things working by wiring up the following DocumentFilter (see readme). I just verified locally and it works exactly as expected for Bearer and Basic.
public class SecurityRequirementsDocumentFilter : IDocumentFilter
{
    public void Apply(SwaggerDocument document, DocumentFilterContext context)
    {
        document.Security = new List<IDictionary<string, IEnumerable<string>>>()
        {
            new Dictionary<string, IEnumerable<string>>()
            {
                { "Bearer", new string[]{ } },
                { "Basic", new string[]{ } },
            }
        };
    }
}

Yep, that worked. Thanks @domaindrivendev

I got Basic auth working but OAuth2 is not. I can get as far as logging in as shown here:

When hitting Execute on an operation, it's not adding an Authorization HTTP header to the request:

Here is the code I'm using for OAuth2:
AddSwaggerGen
var scheme = new OAuth2Scheme()
{
    AuthorizationUrl = "https://login.microsoftonline.com/{Company Name}.onmicrosoft.com/oauth2/authorize",
    Description = "OAuth2 Authentication using Azure Active Directory.",
    Flow = "implicit",
    Type = "oauth2"
};
options.AddSecurityDefinition("oauth2", scheme);
options.OperationFilter<ClaimsOperationFilter>();

ClaimsOperationFilter
public class ClaimsOperationFilter : IOperationFilter
{
    public void Apply(Operation operation, OperationFilterContext context)
    {
        var filterDescriptors = context.ApiDescription.ActionDescriptor.FilterDescriptors;
        var authorizationRequirements = filterDescriptors.GetPolicyRequirements();
        var claimTypes = authorizationRequirements
            .OfType<ClaimsAuthorizationRequirement>()
            .Select(x => x.ClaimType)
            .ToList();
        if (claimTypes.Any())
        {
            operation.Security = new List<IDictionary<string, IEnumerable<string>>>
            {
                new Dictionary<string, IEnumerable<string>>()
                {
                    { "basic", claimTypes },
                    { "oauth2", claimTypes }
                }
            };
        }
    }
}

SwaggerUIOptions
options.OAuthAppName("My Application");
options.OAuthClientId("{Client ID GUID}");
options.OAuthAdditionalQueryStringParams(new { nonce = Guid.NewGuid().ToString() });

swagger.json
{
    "swagger": "2.0",
    "info": {
        "version": "1.0",
        "title": "...Omitted",
        "description": "...Omitted"
    },
    "paths": {
        "/foo": {
            "get": {
                "tags": [
                    "...Omitted"
                ],
                "summary": "...Omitted",
                "operationId": "...Omitted",
                "consumes": [],
                "produces": [
                    "application/json",
                    "text/json"
                ],
                "parameters": [],
                "responses": {
                    "200": {
                        "description": "...Omitted",
                        "schema": {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/...Omitted"
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized - The user has not supplied the necessary credentials to access the resource."
                    },
                    "403": {
                        "description": "Forbidden - The user does not have the necessary permissions to access the resource."
                    }
                },
                "security": [
                    {
                        "basic": [
                            "roles"
                        ],
                        "oauth2": [
                            "roles"
                        ]
                    }
                ]
            }
        }
    },
    "definitions": {
        "...Omitted": {
        },
    },
    "securityDefinitions": {
        "basic": {
            "type": "basic",
            "description": "Basic HTTP Authentication using a username and password."
        },
        "oauth2": {
            "flow": "implicit",
            "authorizationUrl": "https://login.microsoftonline.com/{Company Name}.onmicrosoft.com/oauth2/authorize",
            "type": "oauth2",
            "description": "OAuth2 Authentication using Azure Active Directory."
        }
    }
}

I also thought oauth2 is not working. It started to work when I changed the example above to this:
public class SecurityRequirementsDocumentFilter : IDocumentFilter
{
    public void Apply(SwaggerDocument document, DocumentFilterContext context)
    {
        document.Security = new List<IDictionary<string, IEnumerable<string>>>()
        {
            new Dictionary<string, IEnumerable<string>>()
            {
                { "oauth2", new string[]{ "openid", "profile", "email" } },
            }
        };
    }
}

oauth2 is the name of my security definition
options.AddSecurityDefinition("oauth2", new OAuth2Scheme
                    {
                            Description = "Client credentials needed.",
                            Type = "oauth2",
                            Flow = "implicit",
                            AuthorizationUrl  = "http://localhostandstuff/auth/realms/master/protocol/openid-connect/auth",
                            Scopes = new Dictionary<string, string>
                                {
                                    { "openid", "Standard openid scope" },
                                    { "profile", "Standard openid scope" },
                                    { "email", "Standard openid scope" },
                                }
                    });

@Razzeee That didn't seem to work for me. I still don't see the Authorization getting added to the request. I'm going to try and debug the JavaScript to see why that is the case.

I've worked it out, sadly Swagger UI has hard coded the name of the token to access_token and I'm using Azure Active Directory which uses an id_token. I had a workaround in Swagger v2 as described here https://github.com/swagger-api/swagger-ui/issues/1974 that no longer works with v3 because they've hard coded the token name in a few more places.

any 2.1.1 nuget package?

It’s published but unlisted because there seems to be other issues with it. Working on it

I'm having this bug with Bearer tokens. Here is my C#
c.AddSecurityDefinition("Bearer", new ApiKeyScheme
{
    Name = "Authorization",
    In = "header",
    Description = "JWT Authorization header using the Bearer scheme. Example: \"Bearer {token}\"",
    Type = "apiKey"
});

But when i try HttpDelete with [Authorise] Attribute added, this is the response -

The same API tested in Postman works completely fine -

Is your SecurityRequirementsDocumentFilter matching the one from this topic and referenced correctly?

I'm having too, and I add SecurityRequirementsDocumentFilter :
c.AddSecurityDefinition("oauth2", new OAuth2Scheme
{
    Type = "oauth2",
    Flow = "password",
    TokenUrl = "/api/Token/Authenticate"
});
c.DocumentFilter<SecurityRequirementsDocumentFilter>();

I loggin in, but Authorization Token still not being sent in Headers.

I've tried every option listed here and none of them work at all. Authorization worked fine prior to this update and now is totally broke.
Here is my code updated with suggested changes here:
options.AddSecurityDefinition("Bearer",
                              new ApiKeyScheme
                              {
                                  Description = "Token Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"",
                                  Name = "Authorization",
                                  In = "header",
                                  Type = "apiKey"
                              });

options.AddSecurityRequirement(new Dictionary<string, IEnumerable<string>>
                               {
                                   { "Bearer", new string[] { } }
                               });

Doesn't work rendering swagger useless requiring outside tooling.

This worked for me if you're using a bearer token.
c.AddSecurityDefinition("Bearer", new ApiKeyScheme
{
    In = "header",
    Description = "Please insert JWT with Bearer into field",
    Name = "Authorization",
    Type = "apiKey"
});

c.AddSecurityRequirement(new Dictionary<string, IEnumerable<string>>
{
    { "Bearer", new string[] { } }
});

@tariknz Thank you for setting authorize in swagger  v.2.2  It's work

Just wanted to say that add that the info @tariknz and @RainingNight also worked for me.  I am using JWT token but I was able to use the oath2 configuration.  That way i can use the Authorization form provided by Swagger UI
`c.AddSecurityDefinition("oauth2", new OAuth2Scheme
{
Type = "oauth2",
Flow = "password",
TokenUrl = "/api/token",
});
            c.AddSecurityRequirement(new Dictionary<string, IEnumerable<string>>
            {
                { "oauth2", new string[] { } }
            });`

Swagger UI Login

Successfull Call

For JWT
c.AddSecurityRequirement(new Dictionary<string, IEnumerable<string>>
{
    { "Bearer", new string[] { } }
});

sovles the problem.

For Oauth2 using Azure AD integration.
c.AddSecurityDefinition("oauth2", new OAuth2Scheme()
{
    AuthorizationUrl = $"https://login.microsoftonline.com/{Configuration["AzureAd:TenantId"]}/oauth2/authorize",
        Flow = "implicit",
        TokenUrl = $"https://login.microsoftonline.com/{Configuration["AzureAd:TenantId"]}/oauth2/token",
        Scopes = new Dictionary<string, string> { { "Arch.NetCoreAPI", "Dotnet Core API" } }
});

c.AddSecurityRequirement(new Dictionary<string, IEnumerable<string>>
{
    { "oauth2", new string[] { } }
});

Hello. I have problem with getting token by client credentials grant type.
Swashbuckle.AspNetCore V 2.4.0
I've added config for services:
services.AddSwaggerGen(c =>
{
	var oauthScheme = new OAuth2Scheme
	{
		Description =
			"JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"",
		TokenUrl = "/token",
		Flow = "application"
	};

	c.SwaggerDoc("v1", new Info { Title = "Map Service API", Version = "v1" });
	c.AddSecurityDefinition("application", oauthScheme);

	IncludeComments(c);
	c.DescribeAllEnumsAsStrings();
});

Then added config for app:
app.UseSwaggerUI(c =>
{
	c.SwaggerEndpoint("/swagger/v1/swagger.json", "Map Service API V1");
	c.OAuthClientId("someclientid");
	c.OAuthClientSecret("somepass2app");
	c.OAuthRealm(string.Empty);
	c.OAuthAppName("SomeService");
});

On trying to send post request for getting token, i see that in form data i have only grant_type property. My clientCredentials converted to Base64 and putted into Authorization header.

Is exist solution for getting my client_id and client_secret from Form Data. Or should I get the values from encoding Authorization header?
P.S. For example with flow flow: password in form data I'm getting username and password.
P.S.S. I have some doubts that this question should be asked in swagger-ui proj. :)

@alaniemieckota , yeah, thanks i found it later.
But for me it works by another way:
services.AddSwaggerGen(c =>
{
	var oauthScheme = new OAuth2Scheme
	{
		Description =
			"JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"",
		TokenUrl = "/token",
		Flow = "application",
		Type = "oauth2"
	};

	c.SwaggerDoc("v1", new Info { Title = "My Service API", Version = "v1" });
	c.AddSecurityDefinition("oauth2", oauthScheme);
	c.AddSecurityRequirement(new Dictionary<string, IEnumerable<string>> { { "oauth2", new string[] { } } });
	c.DocumentFilter<SecurityRequirementsDocumentFilter>();
	IncludeComments(c);
	c.DescribeAllEnumsAsStrings();
});

And i did it by encoding Header with basic auth:
if (!context.Request.Headers.TryGetValue("Authorization", out var authorizationHeader) || authorizationHeader.Count < 1 || !authorizationHeader.First().StartsWith("Basic", StringComparison.OrdinalIgnoreCase))
{
	context.Response.StatusCode = 400;
	await context.Response.WriteAsync(JsonConvert.SerializeObject(new ValidationResultModel((int)BusinessExceptionCode.AuthenticationFalied, "Authorization header must contains: Basic {clientCredentials}")));
}

var convertedCredetials = authorizationHeader.First().Replace("Basic ", string.Empty);
var clientCredentials = Encoding.UTF8.GetString(Convert.FromBase64String(convertedCredetials));
var credentials = clientCredentials.Split(':');
var clientid = credentials[0];
var clientsecret = credentials[1];

This issue solved my problem,thanks.

Awesome @Cular, this work for me !!! but I have an issue, how to put the response into the "Available authorizations" when it comes back from azure? How to create a response page to retrieve this info and put it on the needed place?
Than you.

@arlan85, sorry for late response. I have no trouble with case, that you describe. My previous post was implemented with nuget version: 2.5.0. And I don't update my dependency on new version, maybe it helps to you. :)

Swashbuckle.AspNetCore 3.0.0
I think my swagger.json (short version) follows the spec, but I still cannot get SwaggerUI to attach the JWT token on requests. I have implemented a local proxy to login.microsoft.com to avoid CORS when logging in, and the "authorize" function in the UI works - A JWT token is returned and the object follows the spec https://www.oauth.com/oauth2-servers/access-tokens/access-token-response/.
  "swagger": "2.0",
  "paths": {
    "/api/crm/images": {
      "get": {
        "tags": [ "Crm" ],
        "operationId": "ApiCrmImagesGet",
        "security": [ { "oauth2": [ "ImageAPI.Get" ] } ]
      }
    },
    "/api/security/oauth2/token": {
      "post": {
        "tags": [ "Security" ],
        "operationId": "ApiSecurityOauth2TokenPost",
        "consumes": [],
        "produces": [ "text/plain", "application/json", "text/json", "application/xml", "text/xml" ],
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": { "$ref": "#/definitions/AuthenticationResult" }
          }
        }
      }
    },
    "AuthenticationResult": {
      "type": "object",
      "properties": {
        "accessTokenType": { "type": "string" },
        "accessToken": { "type": "string" },
        "expiresOn": {
          "format": "date-time",
          "type": "string"
        }
    }
  },
  "securityDefinitions": {
    "oauth2": {
      "flow": "application",
      "tokenUrl": "/api/security/oauth2/token",
      "scopes": {
        "ImageAPI.Get": "Application can perform GET operations",
        "ImageAPI.Post": "Application can perform POST operations"
      },
      "type": "oauth2"
    }
  },
  "security": [
        { "oauth2": [
           "ImageAPI.Get", "ImageAPI.Post" ]
        }
    ]
}`
Logging in:
![swagger-auth](https://user-images.githubusercontent.com/6596084/45672184-cd764900-bb27-11e8-8597-c6082f5af3d1.png)

logged in:
![swagger-loggedin](https://user-images.githubusercontent.com/6596084/45672191-d404c080-bb27-11e8-899b-411b8eab05a5.PNG)

Executing a request, but without the required Bearer token resulting in 401
![swagger-request](https://user-images.githubusercontent.com/6596084/45672325-2a71ff00-bb28-11e8-8daa-2b16e65d1699.png)

(It all works with both Postman and a C# console client)

I had to fiddle around a bit to get this to work for ApiKey auth. Here's what works for me (no need to include the filter mentioned above):
c.AddSecurityDefinition("ApiKeyAuth", new ApiKeyScheme {
    Description = "Authorization by pre-shared API key.",
    In = "header",
    Type = "apiKey",
    Name = "X-API-KEY"
});

c.AddSecurityRequirement(new Dictionary<string, IEnumerable<string>> {
    { "ApiKeyAuth", new string[0] }
});

Should add Bearer before token string

It worked with me :)

.FilterDescriptors

.GetPolicyRequirements() Not works for me???
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS1061	'IList' does not contain a definition for 'GetPolicyRequirements' and no accessible extension method 'GetPolicyRequirements' accepting a first argument of type 'IList' could be found (are you missing a using directive or an assembly reference?)	iModelAcquisitionService	D:\PS_Aquisition_Service\toPR\ps-acquisitionservice\Startup.cs	184	Active


Improved tutorial flow. Added new 'box clear' requirement

Added new 'Good!' chime and pause when completing a tutorial section. This
more effectively communicates to the player, "Okay, we're doing something
different now."
Added countdown for final stage of tutorial, to better communicate "Okay,
now let's play for real!"
The start button and intro countdown are skipped during the first
tutorial. Instead, the instructions are shown behind the playfield so the
player can jump right into playing.
Added tutorial step for 'box clears'. Players were completing the tutorial
without understanding "Making boxes earns me more money." Hopefully that's
clearer now.
Pushed some of the level transition logic out of TutorialHud into other
classes such as StartEndSfx and Puzzle. I think there's an argument that
this stuff should stay in tutorial-specific classes, but it involved
posting messages, delaying pieces, and doing a lot of scattered things in
different classes. Moving the tutorial code into those different places
helps keeps it simpler.
Puzzle messages use a new 'Fredoka One' font. I like the styling of some other
fonts (particularly Norio Kanisawa's fonts) but their licensing seems too
restrictive for an open-source project. I have contacted Monotype just in
case but I am pessimistic.
Closes #383.

I found these nice fonts, but I don't think their license is compatible with an open source game (or, even with a closed-source game.)
ame chan pop maru - https://www.fonts.com/font/norio-kanisawa/ame-chan-pop-maru/ame-chan-pop-maru
yancha pop rounded - https://www.fonts.com/font/norio-kanisawa/yancha-pop/rounded


Metamist UI Not Displaying CRAM count

It's coming up as 0, even when there are crams there.

Issue is that seq-type is set to null for many -test projects.


add appveyor.yml

I will delete the appveyor project and re add it to see if we can start fresh..

the test process doesn't seem to end (I believe @cPhost observed that)

@refack Yes, it does not continue to run the coverage part after the tests are finished. I will open a PR to trace down which part is causing the hang later...


Fixes #676 and #677

[Breaking] Add an email scope to the Google OAuth provider and updates the fields of the GoogleUser type (fixes #676  )
Update documentation and throw errors for invalid user and provider ids (fixes #677 )

Closing this since #676 is already resolved and the PR should be split into 2. Still need to figure out the error message too


Roformer Audio cut-off error from roformer-add branch

"Hey, after I cloned the Roformer-add branch and ran it locally, I encountered an error where the output audio file gets cut off, resulting in the most of vocals turning to silence. Is this issue occurring only for me, or is it a common problem?

I have the same problem and no solution. Tried to remove UVR5 completely from my system, then again installed the newest installation file " UVR_v5.6.0_setup_10_14.exe ". After having installed this and downloaded all models I ran the Patch "UVR_Patch_4_14_24_18_7_BETA_full_Roformer! in order to be able to download and use the 4 (now additional) included roformer models. But when I use them, I have the same problems: Sometimes the complete sound is cut off after some seconds or/and sometimes the volume of the sound changes from loud to verly low and vice versa.

Hello, I only know that changing Overlap to a minimum fixes it


Change in secret doesn't result in new deploy.

When a secret used by a State is changed, it should trigger a new execution.

That would make for some cool automation. This should probably be opt-in functionlaity, not the default behavior.

This is fixed. terraform-controller notified on cm or secret changes


Possibility to change protocol in Interceptor on redirect

We have a usecase where TLS/mTLS is handled by a sidecar component (in our case, istio) and our requests need to be done using plain HTTP from applicative side (trying to call using HTTPS will make the call fail).
Some of the urls to call aren't handled by our organization and can have redirects to other https urls, hence have to be handled from applicative side.
We'd like to override protocol from https to http for redirects, but it seems it is not possible at the moment. In RealCall.getResponseWithInterceptorChain:

the order of core internal Interceptors is fixed
client.interceptors are before RetryAndFollowUpInterceptor and thus do not modify redirect requests
client.networkInterceptors are after ConnectInterceptor and thus the call fails with "javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?"
visibility level is internal, hence extension is not possible to override getResponseWithInterceptorChain

Only current workaround found is to disable client.followRedirects and copy/paste part of RetryAndFollowUpInterceptor, but that is not maintainable.
Would it be possible to allow extra interceptors to be inserted between RetryAndFollowUpInterceptor and ConnectInterceptor? (Or any other solution to override this behaviour on our side)
Impacted class: https://github.com/square/okhttp/blob/master/okhttp/src/main/java/okhttp3/RealCall.kt
@Throws(IOException::class)
  fun getResponseWithInterceptorChain(): Response {
    // Build a full stack of interceptors.
    val interceptors = mutableListOf<Interceptor>()
    interceptors += client.interceptors
    interceptors += RetryAndFollowUpInterceptor(client)
    interceptors += BridgeInterceptor(client.cookieJar)
    interceptors += CacheInterceptor(client.cache)
    interceptors += ConnectInterceptor
    if (!forWebSocket) {
      interceptors += client.networkInterceptors
    }
    interceptors += CallServerInterceptor(forWebSocket)

    val chain = RealInterceptorChain(interceptors, transmitter, null, 0, originalRequest, this,
        client.connectTimeoutMillis, client.readTimeoutMillis, client.writeTimeoutMillis)

Use a network interceptor to rewrite the returned Location header.

@swankjesse do you know if Envoy works as a http proxy?

It works very well!

It works very well!

So can you just work on the world of your end targets, so no URLs pointing to the local proxy, and instead just configure a http proxy for any services within the domain of your service mesh?

Yep. We’re doing everything cleartext between application and envoy. We were using H2_PRIOR_KNOWLEDGE but we ran into the flow control window bugs that we fixed in 4.2.0.

Just tested it, works like a charm.
Thanks for the quick answer ;)