Unexpected OOM after warmup for request that has token less than max-batch-prefill-token

System Info
text-generation-inference: 1.3.3
machine GPU: A100 40GB
cuda version: 11.8
Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
Command for running the model:
--model-id codellama/CodeLlama-34b-Instruct-hf --num-shard 1 --max-concurrent-requests 1 --max-input-length 6800 --max-total-tokens 6900 --max-batch-prefill-tokens 7000  --max-stop-sequences 20 --trust-remote-code --quantize eetq
The server is ready to serve but OOM for request with token 4000 and max_token=40
Request Error Trace:
Traceback (most recent call last):   File "a.py", line 21, in <module>     response = client.generate(prompt=prompt, max_new_tokens=40)   File "/home/chonghao/.local/lib/python3.8/site-packages/text_generation/client.py", line 153, in generate     raise parse_error(resp.status_code, payload) text_generation.errors.GenerationError: Request failed during generation: Server error: CUDA out of memory. Tried to allocate 42.00 MiB. GPU 0 has a total capacty of 39.39 GiB of which 31.94 MiB is free. Process 7529 has 39.23 GiB memory in use. Of the allocated memory 37.21 GiB is allo
Server Error Trace
chat_inference-text_generation_inference-1  | 2023-12-22T00:21:24.202169Z  INFO compat_generate{default_return_full_text=true}:generate{parameters=GenerateParameters { best_of: None, temperature: None, repetition_penalty: None, top_k: None, top_p: None, typical_p: None, do_sample: false, max_new_tokens: Some(40), return_full_text: Some(false), stop: [], truncate: None, watermark: false, details: true, decoder_input_details: false, seed: None, top_n_tokens: None } total_time="2.458150804s" validation_time="13.678487ms" queue_time="184.26µs" inference_time="2.444288229s" time_per_token="61.107205ms" seed="None"}: text_generation_router::server: router/src/server.rs:289: Success
chat_inference-text_generation_inference-1  | 2023-12-22T00:21:35.318928Z ERROR batch{batch_size=1}:prefill:prefill{id=1 size=1}:prefill{id=1 size=1}: text_generation_client: router/client/src/lib.rs:33: Server error: CUDA out of memory. Tried to allocate 222.00 MiB. GPU 0 has a total capacty of 39.39 GiB of which 217.94 MiB is free. Process 862944 has 39.17 GiB memory in use. Of the allocated memory 37.10 GiB is allocated by PyTorch, and 1.57 GiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
chat_inference-text_generation_inference-1  | 2023-12-22T00:21:35.318933Z ERROR text_generation_launcher: Method Prefill encountered an error.
chat_inference-text_generation_inference-1  | Traceback (most recent call last):
chat_inference-text_generation_inference-1  |   File "/opt/conda/bin/text-generation-server", line 8, in
chat_inference-text_generation_inference-1  |     sys.exit(app())
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/typer/main.py", line 311, in call
chat_inference-text_generation_inference-1  |     return get_command(self)(*args, **kwargs)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1157, in call
chat_inference-text_generation_inference-1  |     return self.main(*args, **kwargs)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/typer/core.py", line 778, in main
chat_inference-text_generation_inference-1  |     return _main(
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/typer/core.py", line 216, in _main
chat_inference-text_generation_inference-1  |     rv = self.invoke(ctx)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
chat_inference-text_generation_inference-1  |     return _process_result(sub_ctx.command.invoke(sub_ctx))
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
chat_inference-text_generation_inference-1  |     return ctx.invoke(self.callback, **ctx.params)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 783, in invoke
chat_inference-text_generation_inference-1  |     return __callback(*args, **kwargs)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/typer/main.py", line 683, in wrapper
chat_inference-text_generation_inference-1  |     return callback(**use_params)  # type: ignore
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/cli.py", line 89, in serve
chat_inference-text_generation_inference-1  |     server.serve(
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py", line 228, in serve
chat_inference-text_generation_inference-1  |     asyncio.run(
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/asyncio/runners.py", line 44, in run
chat_inference-text_generation_inference-1  |     return loop.run_until_complete(main)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
chat_inference-text_generation_inference-1  |     self.run_forever()
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
chat_inference-text_generation_inference-1  |     self._run_once()
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once
chat_inference-text_generation_inference-1  |     handle._run()
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/asyncio/events.py", line 80, in _run
chat_inference-text_generation_inference-1  |     self._context.run(self._callback, *self._args)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/grpc_interceptor/server.py", line 165, in invoke_intercept_method
chat_inference-text_generation_inference-1  |     return await self.intercept(
chat_inference-text_generation_inference-1  | > File "/opt/conda/lib/python3.10/site-packages/text_generation_server/interceptor.py", line 21, in intercept
chat_inference-text_generation_inference-1  |     return await response
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py", line 82, in _unary_interceptor
chat_inference-text_generation_inference-1  |     raise error
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py", line 73, in _unary_interceptor
chat_inference-text_generation_inference-1  |     return await behavior(request_or_iterator, context)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py", line 96, in Prefill
chat_inference-text_generation_inference-1  |     generations, next_batch, timings = self.model.generate_token(batch)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/contextlib.py", line 79, in inner
chat_inference-text_generation_inference-1  |     return func(*args, **kwds)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_causal_lm.py", line 825, in generate_token
chat_inference-text_generation_inference-1  |     raise e
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_causal_lm.py", line 822, in generate_token
chat_inference-text_generation_inference-1  |     out = self.forward(batch)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_causal_lm.py", line 788, in forward
chat_inference-text_generation_inference-1  |     return self.model.forward(
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_llama_modeling.py", line 431, in forward
chat_inference-text_generation_inference-1  |     hidden_states = self.model(
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
chat_inference-text_generation_inference-1  |     return self._call_impl(*args, **kwargs)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
chat_inference-text_generation_inference-1  |     return forward_call(*args, **kwargs)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_llama_modeling.py", line 390, in forward
chat_inference-text_generation_inference-1  |     hidden_states, residual = layer(
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
chat_inference-text_generation_inference-1  |     return self._call_impl(*args, **kwargs)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
chat_inference-text_generation_inference-1  |     return forward_call(*args, **kwargs)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_llama_modeling.py", line 334, in forward
chat_inference-text_generation_inference-1  |     mlp_output = self.mlp(normed_attn_res_output)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
chat_inference-text_generation_inference-1  |     return self._call_impl(*args, **kwargs)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
chat_inference-text_generation_inference-1  |     return forward_call(*args, **kwargs)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_llama_modeling.py", line 280, in forward
chat_inference-text_generation_inference-1  |     return self.down_proj(self.act(gate_up_states[:, 0]) * gate_up_states[:, 1])
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
chat_inference-text_generation_inference-1  |     return self._call_impl(*args, **kwargs)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
chat_inference-text_generation_inference-1  |     return forward_call(*args, **kwargs)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/transformers/activations.py", line 150, in forward
chat_inference-text_generation_inference-1  |     return nn.functional.silu(input)
chat_inference-text_generation_inference-1  |   File "/opt/conda/lib/python3.10/site-packages/torch/nn/functional.py", line 2072, in silu
chat_inference-text_generation_inference-1  |     return torch._C._nn.silu(input)
chat_inference-text_generation_inference-1  | torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 222.00 MiB. GPU 0 has a total capacty of 39.39 GiB of which 217.94 MiB is free. Process 862944 has 39.17 GiB memory in use. Of the allocated memory 37.10 GiB is allocated by PyTorch, and 1.57 GiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
chat_inference-text_generation_inference-1  |
chat_inference-text_generation_inference-1  | 2023-12-22T00:21:35.320088Z ERROR compat_generate{default_return_full_text=true}:generate{parameters=GenerateParameters { best_of: None, temperature: None, repetition_penalty: None, top_k: None, top_p: None, typical_p: None, do_sample: false, max_new_tokens: Some(40), return_full_text: Some(false), stop: [], truncate: None, watermark: false, details: true, decoder_input_details: false, seed: None, top_n_tokens: None }}:generate:generate_stream:infer:send_error: text_generation_router::infer: router/src/infer.rs:608: Request failed during generation: Server error: CUDA out of memory. Tried to allocate 222.00 MiB. GPU 0 has a total capacty of 39.39 GiB of which 217.94 MiB is free. Process 862944 has 39.17 GiB memory in use. Of the allocated memory 37.10 GiB is allocated by PyTorch, and 1.57 GiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
script for getting request:
import random

from text_generation import Client
from transformers import AutoTokenizer

random.seed(5)

def generate_test_prompt(prompt_length: int, tokenizer: AutoTokenizer):
    max_vocab_index = tokenizer.vocab_size - 1
    prompt_tokens = [random.randint(0, max_vocab_index) for _ in range(prompt_length)]
    return tokenizer.decode(prompt_tokens)

client = Client("http://<IP_ADDRESS>:8080")
tokenizer = AutoTokenizer.from_pretrained("codellama/CodeLlama-34b-Instruct-hf")
prompt = generate_test_prompt(
    prompt_length=4000, tokenizer=tokenizer
)  # actual tokens should be greater than 4000 but should definitely lower than 6000.
print(len(tokenizer.encode(prompt)))
response = client.generate(prompt=prompt, max_new_tokens=40)
print(response)

Expected behavior
Since the request token is smaller than max-batch-prefill-tokens and max-input-length. We should be able to generate request. I also tried previous tgi version for 1.1.1 and 1.1.0 but it also does not work.

script for getting request:
import random

from text_generation import Client
from transformers import AutoTokenizer

random.seed(5)

def generate_test_prompt(prompt_length: int, tokenizer: AutoTokenizer):
    max_vocab_index = tokenizer.vocab_size - 1
    prompt_tokens = [random.randint(0, max_vocab_index) for _ in range(prompt_length)]
    return tokenizer.decode(prompt_tokens)

client = Client("http://<IP_ADDRESS>:8080")
tokenizer = AutoTokenizer.from_pretrained("codellama/CodeLlama-34b-Instruct-hf")
prompt = generate_test_prompt(
    prompt_length=2000, tokenizer=tokenizer
)  # actual tokens should be greater than 2000 but should definitely lower than 6000.
print(len(tokenizer.encode(prompt)))
response = client.generate(prompt=prompt, max_new_tokens=40)
print(response)

Request Error Trace:
Traceback (most recent call last):   File "a.py", line 21, in <module>     response = client.generate(prompt=prompt, max_new_tokens=40)   File "/home/chonghao/.local/lib/python3.8/site-packages/text_generation/client.py", line 153, in generate     raise parse_error(resp.status_code, payload) text_generation.errors.GenerationError: Request failed during generation: Server error: CUDA out of memory. Tried to allocate 42.00 MiB. GPU 0 has a total capacty of 39.39 GiB of which 31.94 MiB is free. Process 7529 has 39.23 GiB memory in use. Of the allocated memory 37.21 GiB is allo

I also observe some memory leaking after oom. For example, the program can give response on 3k tokens. but when I first run 5k tokens request(it will fail but 5k is still less than max-batch-prefill-token). When I rerun the 3k token request, it will oom.

after some time debugging, I found it should be eetq quantization problem. I disable it and everything work as fine. But still have no idea how we should fix eetq case.

I try the set up without the eetq quantization with command
--model-id  codellama/CodeLlama-13b-Instruct-hf --num-shard 1 --max-concurrent-requests 2 --max-input-length 7700 --max-total-tokens 7900 --max-batch-prefill-tokens 10000 --max-stop-sequences 20 --trust-remote-code
This will  give oom on 7500 tokens.
After the oom error, it will not free the memory so even if the next request is 3k tokens, it will still oom, which makes me believe there is some bug during warm up.

solve by add env variable PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:64

Thanks a lot for sharing your fix !


enhance writing while fixing grammar and punctuation mistakes

Thanks to grammarly.com

@madeindjs
Please review the changes and let's discuss


Fix effect docs in microcosm api documentation

Thanks for catching this, @cwmanning

Codecov Report

Merging #253 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #253   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          19     19
  Lines         561    561
=====================================
  Hits          561    561

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d1307ce...dd6d922. Read the comment docs.

Noting that this addresses parts of #250

@leobauza I merged this, I'll follow up with another PR for the domains stuff.


update nginx

What type of PR is this?

What does this do?

Which issue(s) does this PR fix/relate to?

Related Issue #
Resolves #

Have you included tests for your changes?

Did you document any new/modified feature?

Notes

@arvindh123 please correct the title and description of this

@arvindh123 please correct the title and description of this

@drasko This PR is intended to my fork arvindh123/magistrala,  accidentally raised to absmach/magistrala


Add Dockerfile

Hello,
This is a simple Dockerfile as you were probably aiming for this in #64.
You might want to create a docker hub account and tie it to your github account to take advantage of automated build. Doing so will allow your user to simply pull the resulting image.
Bellow is an example of the resulting image
$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
python              3.5                 7f4efc85a56c        7 days ago          920MB
$ docker build -t manga-py .
Sending build context to Docker daemon  21.91MB
Step 1/7 : FROM python:3.5
 ---> 7f4efc85a56c
Step 2/7 : VOLUME /data
 ---> Running in 7a030b391ec5
Removing intermediate container 7a030b391ec5
 ---> c87eec64778d
Step 3/7 : WORKDIR /usr/src/app
 ---> Running in 7db4ed5e5d82
Removing intermediate container 7db4ed5e5d82
 ---> cbe6bfd28f12
Step 4/7 : COPY . .
 ---> d5e865dacb86
Step 5/7 : RUN pip install -q -r requirements.txt &&     python setup.py -q install
 ---> Running in 242899286bc3
Removing intermediate container 242899286bc3
 ---> b78a2feb2a44
Step 6/7 : WORKDIR /data
 ---> Running in 015cf0a7df4b
Removing intermediate container 015cf0a7df4b
 ---> 873c95e92b64
Step 7/7 : ENTRYPOINT ["manga-py"]
 ---> Running in b5365d100560
Removing intermediate container b5365d100560
 ---> e413a5054e63
Successfully built e413a5054e63
Successfully tagged manga-py:latest
$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
manga-py            latest              e413a5054e63        25 seconds ago      1.06GB
python              3.5                 7f4efc85a56c        7 days ago          920MB
$ docker run -v $HOME:/data manga-py -h
usage: manga-py [--version] [-n name] [-d path] [-np]
                [--not-change-files-extension] [--no-webp] [--cbz]
                [--rename-pages] [-s count] [-c count]
                [--user-agent USER_AGENT] [--proxy PROXY]
                [--reverse-downloading] [--rewrite-exists-archives] [-nm]
                [--one-thread] [--zero-fill] [-N] [--min-free-space Mb] [-h]
                [--print-json] [--simulate]
                url
--8<--
docker run -v $HOME:/data manga-py -N --cbz https://www.mangareader.net/hunter-x-hunter
100% (33 of 33) |########################| Elapsed Time: 0:00:07 Time:  0:00:07
100% (24 of 24) |########################| Elapsed Time: 0:00:05 Time:  0:00:05
 90% (18 of 20) |#####################   | Elapsed Time: 0:00:01 ETA:   0:00:00
--8<--

As you can see the image itself is 1GB, but you can always start from a slimer base image (there is slim and alpine which can do the trick). You can also integrate node.js.
Cheers.
W.

See https://github.com/yuru-yuri/manga-py-docker
Soon I will fix the Docker file (add nodejs) and it will be fine
:-)


Add and use hash-canonicalizing field comparator [phab:D1212]

Created by shahms at 2017-01-03 21:01:56:
Next step in cleaning up shell-based extractor tests

zarko commented inline (context lost during migration) at 2017-01-03 22:46:49:
A brief comment would be helpful (or a rename to FindNestedFieldByLowercasePath or similar).

zarko commented inline (context lost during migration) at 2017-01-03 22:46:49:
It's not clear to me why you're assigning new hash### strings. IIRC in the original tests the hash### tokens were used in a pseudo-unification algorithm with no backtracking. Here, you assign, e.g.:
CHash(hash0) => hash1
CHash(23d6e5ea4f1f8cf7f2b1abad9a48bc92a2d97411d45182b8a50baf36333de713) => hash1
CHash(hash1) => hash2
CHash(7222c88b57d041af3b9e998a483dccc44d15950bde1fb8df4ccb4b7dd7250962) => hash2
CHash(hash1) => hash2
CHash(7222c88b57d041af3b9e998a483dccc44d15950bde1fb8df4ccb4b7dd7250962) => hash2

I believe this will work, but it's surprising enough to comment.

zarko accepted this revision at 2017-01-03 22:46:49

shahms commented inline (context lost during migration) at 2017-01-03 23:18:54:
This is semantically equivalent to the original (from kindex_tool_main.cc), except the ordinal is increased by one.  However, as I don't need to use strings at all, I've switched back to using size_t and added a comment.

shahms wrote at 2017-01-03 23:19:01:

Use insertion-index rather than generated hash string for comparison
Rename and add a comment to FindNestedFieldByLowercasePath

schroederc wrote at 2017-08-17 17:14:30:
What's the status of this?

shahms wrote at 2017-08-17 17:18:49:

! In (earlier comment), schroederc wrote:
What's the status of this?

On the back burner, potentially abandoned.  Certainly low priority.,

jrtom wrote at 2017-10-18 16:48:57:
Echoing schroederc's question from a couple of months ago: is this worth pursuing further, or should we just abandon it?  It looks like it was already approved a while back; what further action is needed?

shahms wrote at 2017-10-18 16:58:35:

Update newest allowed Bazel version

shahms closed via commit 811b9e780018a94658e97aa373df78db1fbfd82e at 2017-10-18 17:00:32


'svc.CurrentAccessToken' threw an exception of type 'System.NullReferenceException'

I am following the tutorial at the link https://learn.microsoft.com/en-us/power-apps/developer/data-platform/org-service/quick-start-org-service-console-app.
I am trying to use the WhoAmI function to get my userId following the tutorial. I found a null reference error at line 37 when I ran the code with the credentials so I debugged the program and found the below error for the svc vairable of type CrmServiceClient(conn). As you can see, there is no current access token injected into svc. To replicate my issue, follow the tutorial and put in your credentials and see what happens. I do not know if the error is repeatable.

Do I need to add an access token to conn?
Thank you for the help!
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: e8916bbc-6834-44e1-1354-92ba60eacd0c
Version Independent ID: ce53ff38-bf6a-9659-5834-aca6a7446cdd
Content: Quickstart: Organization service sample (C#) (Microsoft Dataverse) - Power Apps
Content Source: powerapps-docs/developer/data-platform/org-service/quick-start-org-service-console-app.md
Service: powerapps
Sub-service: dataverse-developer
GitHub Login: @JimDaly
Microsoft Alias: jdaly

Thanks for your comment, @ElijahMansur. This issue has been assigned to the doc author for review.

@ElijahMansur
Thanks for reporting this. I can't help but wonder if this is somehow connected to the issue you experienced using Postman #3676
That issue seems to be related to network proxy configuration and I hope you can address it by changing settings in Postman. Please let us know.
But you don't have the same settings with CrmServiceClient.
@phecke  I know we have content to configure tracing for Xrm Tooling here: Configure tracing for XRM tooling
Perhaps some troubleshooting content could be added here to emit more detailed logs to determine the source of the issue?
@ElijahMansur
If you edit the App.config file in your project and add this to the <configuration> node:
<system.diagnostics>
		<trace autoflush="true" />
		<sources>
			<source name="Microsoft.Xrm.Tooling.Connector.CrmServiceClient"
					switchName="Microsoft.Xrm.Tooling.Connector.CrmServiceClient"
					switchType="System.Diagnostics.SourceSwitch">
				<listeners>
					<add name="console"
						 type="System.Diagnostics.DefaultTraceListener" />
					<remove name="Default"/>
					<add name ="fileListener"/>
				</listeners>
			</source>
		</sources>
		<switches>
	<!--
            Possible values for switches: Off, Error, Warning, Info, Verbose
                Verbose:    includes Error, Warning, Info, Trace levels
                Info:       includes Error, Warning, Info levels
                Warning:    includes Error, Warning levels
                Error:      includes Error level
        -->
			<add name="Microsoft.Xrm.Tooling.Connector.CrmServiceClient"
				 value="Verbose" />

		</switches>
		<sharedListeners>
			<add name="fileListener"
				 type="System.Diagnostics.TextWriterTraceListener"
				 initializeData="XRMToolingLogs.log"/>
			<add name="eventLogListener"
				 type="System.Diagnostics.EventLogTraceListener"
				 initializeData="XRMTooling" />
		</sharedListeners>
	</system.diagnostics>

Then try again. When successful, the Output window of Visual Studio you should see logs like this:
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : Initialize CRM connection Started - AuthType: OAuth
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : Direct Login Process Started
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : Attempting to Connect to Uri [Organization URI]/XRMServices/2011/Organization.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : DiscoveryServer indicated organization service location = [Organization URI]/XRMServices/2011/Organization.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : Organization Service URI is = [Organization URI]/XRMServices/2011/Organization.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : ConnectAndInitCrmOrgService - Initializing Organization Service Object
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : ConnectAndInitCrmOrgService - Requesting connection to Organization with CRM Version: No organization data available
'NetFrameworkTestProject.exe' (CLR v4.0.30319: NetFrameworkTestProject.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a\System.Net.Http.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : AuthenticateService - found authority with name https://login.microsoftonline.com/[Tenant Id]/oauth2/authorize
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : AuthenticateService - found resource with name [Organization URI]/
'NetFrameworkTestProject.exe' (CLR v4.0.30319: NetFrameworkTestProject.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Security\v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a\System.Security.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : ObtainAccessToken - CRED
'NetFrameworkTestProject.exe' (CLR v4.0.30319: NetFrameworkTestProject.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_<IP_ADDRESS>__31bf3856ad364e35\System.ServiceModel.Internals.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NetFrameworkTestProject.exe' (CLR v4.0.30319: NetFrameworkTestProject.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Diagnostics.ServiceModelSink\v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a\Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : Added WebClient Header Hooks to the Request object.
'NetFrameworkTestProject.exe' (CLR v4.0.30319: NetFrameworkTestProject.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_<IP_ADDRESS>__b77a5c561934e089\System.IdentityModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : ConnectAndInitCrmOrgService - Proxy created, total elapsed time: 00:00:01.1104686
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : Querying Organization Instance Details. Request ID: 98dff72a-7bcd-4a03-9b9b-fb831b3158b2
'NetFrameworkTestProject.exe' (CLR v4.0.30319: NetFrameworkTestProject.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_<IP_ADDRESS>__b77a5c561934e089\System.Xaml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : Completed Querying Organization Instance Details, total duration: 00:00:00.7800119
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : Completed Parsing Organization Instance Details
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : Connected to User Organization (crmue version: 9.2.22083.172)
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : Direct Login Process Succeeded - duration 00:00:01.9107510
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : Beginning Validation of CRM Connection. RequestID: 4f2a7fba-7cf7-441b-be4d-830f240e7d68
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : Executed Command - WhoAmIRequest : RequestId=4f2a7fba-7cf7-441b-be4d-830f240e7d68 : total duration: 00:00:00.1550853
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : Validation of CRM Connection Complete, total duration: 00:00:00.1574086
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : New Batch Manager Created, Max #of Batches:50000, Max #of RequestsPerBatch:5000

Except yours should include some detail about why it fails.

Okay, great! I did that and I get a lot of exceptions, one of which was a 407 exception. Here is what it says on the screen. I know I am using a company laptop for the company I work at. Are there any possibilities that a network restriction could cause the 407 issues?
'Dataverse Web API project.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_<IP_ADDRESS>__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Users\v0072973\source\repos\Dataverse Web API project\Dataverse Web API project\bin\Debug\Dataverse Web API project.exe'. Symbols loaded. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\Users\v0072973\source\repos\Dataverse Web API project\Dataverse Web API project\bin\Debug\Microsoft.Xrm.Tooling.Connector.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\Users\v0072973\source\repos\Dataverse Web API project\Dataverse Web API project\bin\Debug\Microsoft.Xrm.Sdk.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\Users\v0072973\source\repos\Dataverse Web API project\Dataverse Web API project\bin\Debug\Microsoft.Crm.Sdk.Proxy.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_<IP_ADDRESS>__b77a5c561934e089\System.Runtime.Serialization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_<IP_ADDRESS>__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\common7\ide\PrivateAssemblies\Runtime\Microsoft.VisualStudio.Debugger.Runtime.Desktop.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_<IP_ADDRESS>__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_<IP_ADDRESS>__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\Users\v0072973\source\repos\Dataverse Web API project\Dataverse Web API project\bin\Debug\Microsoft.IdentityModel.Clients.ActiveDirectory.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_<IP_ADDRESS>__b77a5c561934e089\System.ServiceModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_<IP_ADDRESS>__b77a5c561934e089\System.Data.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_<IP_ADDRESS>__b77a5c561934e089\SMDiagnostics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a\System.Web.Services.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Caching\v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a\System.Runtime.Caching.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : Initialize CRM connection Started - AuthType: OAuth Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : Direct Login Process Started Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : Attempting to Connect to Uri https://org040c6598.api.crm.dynamics.com/XRMServices/2011/Organization.svc Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : DiscoveryServer indicated organization service location = https://org040c6598.api.crm.dynamics.com/XRMServices/2011/Organization.svc Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : Organization Service URI is = https://org040c6598.api.crm.dynamics.com/XRMServices/2011/Organization.svc Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : ConnectAndInitCrmOrgService - Initializing Organization Service Object Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information: 8 : ConnectAndInitCrmOrgService - Requesting connection to Organization with CRM Version: No organization data available 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a\System.Net.Http.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Dataverse Web API project.exe' (CLR v4.0.30319: Dataverse Web API project.exe): Loaded 'C:\Users\v0072973\source\repos\Dataverse Web API project\Dataverse Web API project\bin\Debug\Microsoft.Xrm.Sdk.Deployment.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Source	: mscorlib Method	: ThrowIfExceptional Date	: 9/22/2022 Time	: 12:51:11 PM Error	: One or more errors occurred. Stack Trace	: at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.CreateFromResourceUrlAsync(Uri targetServiceUrl)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.GetAuthorityFromTargetService(Uri targetServiceUrl, CrmLogEntry logSink)
Inner Exception Level 1	:
Source	: mscorlib
Method	: ThrowForNonSuccess
Date	: 9/22/2022
Time	: 12:51:11 PM
Error	: An error occurred while sending the request.
Stack Trace	: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Http.HttpClientWrapper.d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationParameters.d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationParameters.d__12.MoveNext()
Inner Exception Level 2	:
Source	: System
Method	: EndGetResponse
Date	: 9/22/2022
Time	: 12:51:11 PM
Error	: The remote server returned an error: (407) Proxy Authentication Required.
Stack Trace	: at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : ERROR REQUESTING Token FROM THE Authentication context - General ADAL Error
Source	: mscorlib
Method	: ThrowIfExceptional
Date	: 9/22/2022
Time	: 12:51:11 PM
Error	: One or more errors occurred.
Stack Trace	: at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)    at System.Threading.Tasks.Task1.get_Result()
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.CreateFromResourceUrlAsync(Uri targetServiceUrl)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.GetAuthorityFromTargetService(Uri targetServiceUrl, CrmLogEntry logSink)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.ExecuteAuthenticateServiceProcess(Uri serviceUrl, ClientCredentials clientCredentials, X509Certificate2 userCert, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, Uri& targetServiceUrl, AuthenticationContext& authContext, String& resource, UserIdentifier& userIdent, CrmLogEntry logSink, Boolean useDefaultCreds, SecureString clientSecret)
Inner Exception Level 1	:
Source	: mscorlib
Method	: ThrowForNonSuccess
Date	: 9/22/2022
Time	: 12:51:11 PM
Error	: An error occurred while sending the request.
Stack Trace	: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Http.HttpClientWrapper.d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationParameters.d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationParameters.d__12.MoveNext()
Inner Exception Level 2	:
Source	: System
Method	: EndGetResponse
Date	: 9/22/2022
Time	: 12:51:11 PM
Error	: The remote server returned an error: (407) Proxy Authentication Required.
Stack Trace	: at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Source	: mscorlib
Method	: ThrowIfExceptional
Date	: 9/22/2022
Time	: 12:51:11 PM
Error	: One or more errors occurred.
Stack Trace	: at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)    at System.Threading.Tasks.Task1.get_Result()
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.CreateFromResourceUrlAsync(Uri targetServiceUrl)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.GetAuthorityFromTargetService(Uri targetServiceUrl, CrmLogEntry logSink)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.ExecuteAuthenticateServiceProcess(Uri serviceUrl, ClientCredentials clientCredentials, X509Certificate2 userCert, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, Uri& targetServiceUrl, AuthenticationContext& authContext, String& resource, UserIdentifier& userIdent, CrmLogEntry logSink, Boolean useDefaultCreds, SecureString clientSecret)
Inner Exception Level 1	:
Source	: mscorlib
Method	: ThrowForNonSuccess
Date	: 9/22/2022
Time	: 12:51:11 PM
Error	: An error occurred while sending the request.
Stack Trace	: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Http.HttpClientWrapper.d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationParameters.d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationParameters.d__12.MoveNext()
Inner Exception Level 2	:
Source	: System
Method	: EndGetResponse
Date	: 9/22/2022
Time	: 12:51:11 PM
Error	: The remote server returned an error: (407) Proxy Authentication Required.
Stack Trace	: at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Unable to connect to CRM: An error occurred while sending the request.
Source	: mscorlib
Method	: ThrowIfExceptional
Date	: 9/22/2022
Time	: 12:51:11 PM
Error	: One or more errors occurred.
Stack Trace	: at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)    at System.Threading.Tasks.Task1.get_Result()
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.CreateFromResourceUrlAsync(Uri targetServiceUrl)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.GetAuthorityFromTargetService(Uri targetServiceUrl, CrmLogEntry logSink)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.ExecuteAuthenticateServiceProcess(Uri serviceUrl, ClientCredentials clientCredentials, X509Certificate2 userCert, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, Uri& targetServiceUrl, AuthenticationContext& authContext, String& resource, UserIdentifier& userIdent, CrmLogEntry logSink, Boolean useDefaultCreds, SecureString clientSecret)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.ConnectAndInitCrmOrgService(OrganizationDetail orgdata, Boolean IsOnPrem, Uri homeRealmUri)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DoDirectLogin(Boolean IsOnPrem)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.InitCRM2011Service()
Inner Exception Level 1	:
Source	: mscorlib
Method	: ThrowForNonSuccess
Date	: 9/22/2022
Time	: 12:51:11 PM
Error	: An error occurred while sending the request.
Stack Trace	: at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Http.HttpClientWrapper.d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationParameters.d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationParameters.d__12.MoveNext()
Inner Exception Level 2	:
Source	: System
Method	: EndGetResponse
Date	: 9/22/2022
Time	: 12:51:11 PM
Error	: The remote server returned an error: (407) Proxy Authentication Required.
Stack Trace	: at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Unable to Login to Dynamics CRM
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Unable to Login to Dynamics CRM
Source	: Not Provided
Method	: Not Provided
Date	: 9/22/2022
Time	: 12:51:11 PM
Error	: Unable to Login to Dynamics CRM
Stack Trace	: Not Provided
The thread 0x7a3c has exited with code 0 (0x0).
The thread 0x7734 has exited with code 0 (0x0).
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : Execute Command - WhoAmI : Execute (WhoAmI) request to CRM from IOrganizationService : RequestID=c6a2a128-cbbc-4126-9717-8c6eae53843f
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose: 16 : No retry attempted for Command WhoAmI
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : ************ NullReferenceException - WhoAmI : Execute (WhoAmI) request to CRM from IOrganizationService |=> Object reference not set to an instance of an object.
Source	: Microsoft.Xrm.Tooling.Connector
Method	: CrmCommand_Execute
Date	: 9/22/2022
Time	: 12:52:31 PM
Error	: Object reference not set to an instance of an object.
Stack Trace	: at Microsoft.Xrm.Tooling.Connector.CrmServiceClient.CrmCommand_Execute(OrganizationRequest req, String errorStringCheck)
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : [TerminalFailure] Failed to Execute Command - WhoAmI : RequestID=c6a2a128-cbbc-4126-9717-8c6eae53843f : Execute (WhoAmI) request to CRM from IOrganizationService duration=00:00:00.0096691 ExceptionMessage = Object reference not set to an instance of an object.
Source	: Microsoft.Xrm.Tooling.Connector
Method	: CrmCommand_Execute
Date	: 9/22/2022
Time	: 12:52:31 PM
Error	: Object reference not set to an instance of an object.
Stack Trace	: at Microsoft.Xrm.Tooling.Connector.CrmServiceClient.CrmCommand_Execute(OrganizationRequest req, String errorStringCheck)
Exception thrown: 'System.NullReferenceException' in Microsoft.Xrm.Tooling.Connector.dll
Object reference not set to an instance of an object.`

@ElijahMansur Seems there is something wrong with your login credentials or endpoint URL. The WhoAmI sample is short and sweet showing minimum code. In general, it is better to check that svc.IsReady is true before executing message requests.
What URL are you using? https://org040c6598.api.crm.dynamics.com?
The error indicates that the call cannot connect/login to the service. Verify you are using the correct URL. You can find it in  make.powerapps.com for your environment under Settings > Developer resources.
(407) Proxy Authentication
You could also try removing the username and password parameters from the 'conn' string in the code to force the interactive login prompt to show. Then try to login there.
string conn = $@"
Url = {url};
AuthType = OAuth;
AppId = 51f81489-12ee-4a9e-aaae-a2591f45987d;
RedirectUri = app://58145B91-0C36-4500-8554-080854F2AC97;
LoginPrompt=Auto;
RequireNewInstance = True";

@ElijahMansur Try https://org040c6598.api.crm.dynamics.com/ for the URL.

Hello, I got it work. When I ran my computer on my personal network, the code ran with any issues. Thus, the bug isn't with this code but the network I was on before. Thank you so much for the help!


added aps-environment to plugin.xml, fixes #1408

Okay, this is a good PR. But there is no Entilements.plist until Cordova IOS 4.3.0, see PR #256. So we should have the Entitlements.plist added.
What we are trying now is to add this to our config.xml
    <asset src="Entitlements.plist" target="Entitlements-Release.plist" />
    <asset src="Entitlements.plist" target="Entitlements-Debug.plist" />

and with a Entilements.plist in our root folder like this.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at
      http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
-->
<plist version="1.0">
    <dict>
    </dict>
</plist>

Those lines are already in plugin.xml https://github.com/phonegap/phonegap-plugin-push/blob/master/plugin.xml#L98-L103
@frederikbosch Adding the file is not enough, you definitely need Cordova IOS 4.3.0 to make it work

@jcesarmobile Yes, those files are in the master. We cannot use the master, because version 1.9.x cannot be used in Phonegap now. Only version 1.8.4 can be used. Hence, we must make this work with 1.8.4.
@jcesarmobile And regarding Cordova IOS. We do not need 4.3.0, we need 4.2.0 with a Entitlements.plist.

But this PR is against master, right?
And as I told you, the files are not enough, the PR you reference also made changes in bin/templates/scripts/cordova/build.xcconfig, which are needed to make the project use the plist file, adding the file without that change will do nothing, so you need 4.3.0

@jcesarmobile Hmm, that's right. That is wrong in the PR.

@jcesarmobile You are right I guess. The only thing we can do is wait until this gets fixed.

It is possible to get Cordova iOS 4.3.0 by using the latest cli in PGB - worked ok for me:

@rgagne When you complete the build, can you click on the "logs" for your iOS app and search for the push plugin if it installed correctly? And are you installing 1.8.4 or 1.9.x?

It built and installed and device registration worked, settings and log snippet below. I don't think it works anymore however because the branch @tonijn created was deleted.
With the build I did I got:
Repository "https://github.com/tonijn/phonegap-plugin-push" checked out to git ref "fix-aps-environment" at "94b0cac".
Installing "phonegap-plugin-push" at "1.8.4" for ios
My settings were:
<preference name='phonegap-version' value='cli-6.4.0' />
<gap:plugin name="phonegap-plugin-push" source="npm" spec="https://github.com/tonijn/phonegap-plugin-push#fix-aps-environment">
	<param name="SENDER_ID" value="xxxxxx" />
</gap:plugin>

I was talking to the PGB team and Shaz today about this we are working on a fix for y'all.
@rgagne if you ever find that branch or a copy of it shoot me a link.

@macdonst - that branch is gone, but great to hear that a fix is coming (that branch fixed it for me but a backwards compatible fix for older cli versions is even better)

@macdonst That PR only contained these lines.
    <config-file target="*-Debug.plist" parent="aps-environment">
      <string>development</string>
    </config-file>
    <config-file target="*-Release.plist" parent="aps-environment">
      <string>production</string>
     </config-file>

It a try of @tonijn to make 1.8.x support the Entitlements.plist, but then we found out that it was not enough. But now I see the comment by @rgagne. That reminds me that it indeed could work when sets the cordova cli version to 6.4.0 the cordova ios to 4.3.0 and the plugin to that specific branch. I will reopen a new PR with the same content.

Just opened a new PR.

New PR: #1469


Error ionic setup sass  with last version of nodejs 4.1.1

I've create a blank application with a clean and last version of nodejs.
~/p/e/helloIonic ionic setup sass
npmnpm WARN package.json<EMAIL_ADDRESS>No README data
npm WARN package.json<EMAIL_ADDRESS>No license field.

<EMAIL_ADDRESS>install ~/projects/experimentos/helloIonic/node_modules/node-sass
node scripts/install.js

<EMAIL_ADDRESS>postinstall ~/projects/experimentos/helloIonic/node_modules/node-sass
node scripts/build.js

~/projects/experimentos/helloIonic/node_modules/node-sass/vendor/darwin-x64-46/binding.node exists.
testing binary.
Binary is fine; exiting.
Successful npm install
Updated ~/projects/experimentos/helloIonic/www/index.html  references to sass compiled css
Ionic project ready to use Sass!

Customize the app using scss/ionic.app.scss
Run ionic serve to start a local dev server and watch/compile Sass to CSS

~/projects/experimentos/helloIonic/node_modules/gulp-sass/node_modules/node-sass/lib/index.js:22
throw new Error('libsass bindings not found. Try reinstalling node-sass?');
^
Error: libsass bindings not found. Try reinstalling node-sass?
at getBinding (~/projects/experimentos/helloIonic/node_modules/gulp-sass/node_modules/node-sass/lib/index.js:22:11)
at Object. (~/projects/experimentos/helloIonic/node_modules/gulp-sass/node_modules/node-sass/lib/index.js:188:23)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (~/projects/experimentos/helloIonic/node_modules/gulp-sass/index.js:3:17)
at Module._compile (module.js:434:26)
Error running gulp sass
Exception with  (CLI v1.6.4)
Your system information:
Cordova CLI: 5.3.3
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.0
Ionic Version: 1.1.0
Ionic CLI Version: 1.6.4
Ionic App Lib Version: 0.3.8
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X Yosemite
Node Version: v4.1.1
Xcode version: Xcode 7.0 Build version 7A220

Greetings @frendon!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

http://www.plugbunch.com/

I fixed by changing in package.json:
from
"dependencies": {
   "gulp-sass": "^1.3.3"
}

to
"dependencies": {
   "gulp-sass": "2.1.0-beta"
}

and then running again ionic setup sass

Fixed mine too. +1 for that. @Ionic-Team: gulp-sass should get upgraded. 1.3.3 is kind of outdated

Fixing this tomorrow.


[BUG] fix the cursor animation, check description

Description
the cursor animation is still visible even after user's cursor is moved to another display or not at the site,
Expected ;
the cursor animation should disapper if the user's cursor is not on the site.
I will fix this issue. Assign me this.
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@vishanurag can you assign me this issue.

can i start working upon it? Assign me this task


ContentMode not working for some SVGs

Hello,
ContentMode does not work for some svg, for example "worldLow". Regardless of what I choose, it is always shown as very small in the center-left.
I have attached one svg in which it does not work for reference.
Thanks
worldLow.svg.zip

I noticed the issue is solved if I remove the dimension and viewbox attributes from the SVG

Hello @GDGapps, this happens cause the extra "blank" space is included into this svg's viewBox. You can easily check this by setting a background color for the root  item:

We do not modify viewBoxes, since it is a part of the scene. Indeed if you were to remove the viewBox entirely, it would work as you expect it.

any progress on this "contentMode" issue?


Log startup info including versions of mongo-connector, Python, OS, and DocManagers

Add the idea of a version to a DocManager class. Downstream DocManager implementations should add their package version to the class similar to what is done by MongoDB DocManager in this pull request.
Change the default logging verbosity to 1 (warnings and above).
Add LOG.always which is always logged no matter the verbosity.

Rebased and moved the logging.always setup out of __init__.py.


Do something about outside open corners

When should they be removed?

keep them in UFO and add an option in ufo2ft to remove them
remove in UFO (but keep the original path somewhere to round-trip back)

Related:
https://forum.glyphsapp.com/t/how-to-detect-an-outside-open-corner/4117

To decide if the overlap is visible or not, it uses the percentage of the parts of the two segments that are "outside" (both segments are at least 50% inside or one of the two is at least 70% inside).

Thanks Georg, that's helpful.

Since these are Glyphs only at the moment we can remove them with converting to UFO but it would be useful to add the functionality to UFO for roundtripping.
Say we store the original outline in the lib with a glyphsLib key and restore it on roundtrip if it's still valid, do not it if it isn't any more. Either by hashing it, or recalculating and comparing it.
We might want to unify this with how FontLab VI doors open contours overlaps further down.


node-init: remove aws iptables rules in eni mode

When running in AWS ENI mode, it's likely that aws-node has had a chance to install SNAT iptables rules. These can result in dropped traffic, so we should attempt to remove them. We do it using a postStart hook since this may need to run for nodes which might have already been init'ed (as they may still have dangling rules). This is safe because there are no dependencies on anything that is part of the startup script itself, and can be safely run multiple times per node (e.g. in case of a restart).
node-init: cleanup snat iptables rules when running in eni mode with masquerading disabled

Personally, I think that the current recommendation to use  brand-new nodes, either by installing Cilium before any nodes are added, or by recreating/rebooting them, is more reliable, as it's possible some new state gets added and it won't be covered by this kind of point-solution. Despite that, I'm supportive of having some solution for deployments to existing clusters.

@bmcustodio needs rebase.

@nathanjsweet thanks — done!

I see the ready-to-merge label, but has this ever passed CI? While I'm aware that the feature itself is not covered by CI, how confident are we that this doesn't break any unrelated nodeinit code? I'm mostly asking because I see an unconditional volume definition on the nodeinit container.

test-me-please

@bmcustodio anything left to be done here?

@aanm I don't think so!

/test

/test

ci-aks

@bmcustodio There's the same error in all Jenkins test pipelines, so it's likely a legitimate failure. It's also likely it's the same error we had before rebasing because all Jenkins pipelines were also failing. Please have a look.

@pchaigno there was indeed an issue with the rendered templates, I think I've fixed it. The AKS failure should be unrelated though, as it's using Cilium CLI rather than the Helm chart and this PR modifies the chart only. Let's see. 🙏🏼

/test

k8s-1.22-kernel-4.9 hit known flake https://github.com/cilium/cilium/issues/13011. Reviews are in and other tests are passing. Marking ready to merge and merging.


When trying to install pip package from VS 2017, Python Tools for VS runs into expected error

Python Tools for Visual Studio 2017 crashes when I try to install pytest into the active python environment my python project is using. Here is the detailed information from the error dialog I got when trying to do it:
[Window Title]
Visual Studio - Python support
[Main Instruction]
An unexpected error occurred
[Content]
Please press Ctrl+C to copy the contents of this dialog and report this error to our issue tracker.
[V] Show details  [Close]
[Expanded Information]
System.InvalidOperationException: Operation cannot be started because the environment is not configured.
   at Microsoft.PythonTools.Interpreter.PipPackageManager.<AbortIfNotReady>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Interpreter.PipPackageManager.<InstallAsync>d__35.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.EnvironmentsList.PipExtensionProvider.<InstallPackage>d__36.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.EnvironmentsList.PipExtension.<InstallPackage_Executed>d__14.MoveNext()

Thanks for the info!
This looks like there's something not configured properly about your environment - could you collect the output from Tools, Python, Diagnostic Info while your project is loaded and either attach it here or email to<EMAIL_ADDRESS>That will help us see what setting we are failing on.

I also came across this issue a week ago and e-mailed the diagnostic info. Is there anything new to this?

@suoranta I found your email (we were mostly out of the office last week at PyCon). It looks like you're using IronPython, which has a range of problems with pip, but it's likely you're hitting the one that we have recently fixed where pip is not installed but we do not show the button to install it.
I'd strongly recommend switching to CPython or Anaconda if you want to use the Python ecosystem - IronPython is great for .NET integration but very limited outside of that. If you choose to continue with IronPython, you'll have to install pip manually (e.g. ipy.exe -m ensurepip run with admin privileges should do it).

My primary aim is to have interactive environment for utilizing developed with static/compiled .NET languages, so I would switch to F# Interactive rather than CPython.
Ipy.exe -X:Frames -m ensurepip confirms that pip is already installed and pip show pip indicates version 9.0.1 and location c:\program files\anaconda3\lib\site-packages (I installed Anaconda with VS 2017). I'm not very familiar with pip, but it appears I am unable to control which Python environment pip should modify. If I run ipy -X:Frames -m pip install [package] with IronPython interpreter, pip either tells that package is already installed (if Anaconda has it) or fails with unhandled exception

File "C:\Program Files (x86)\IronPython 2.7\Lib\site-packages\pip_vendor\pyparsing.py", line 4715, in
IndexError: index out of range: -1

So this goes really beyond PTVS.

So this goes really beyond PTVS.

Yes, I'm afraid it does. Both the IronPython project and the pip project are keen for contributions, and I think both need work to fix this situation.
However, if F# is a suitable alternative then why do you need pip? You can use nuget.exe from the command line (they haven't enabled support for Python projects in VS) to get .NET packages and reference them from IronPython relatively easily via sys.path (or search paths in VS projects).

Need to reference .NET libraries is a hard constraint, but there are secondary objectives that made me consider IronPython. IronPython combined with popular Python packages would have offered advantage over F# in, e.g., interactive plotting functionality. Python is more popular and perhaps easier to adopt than F# for the other users. So I will use F# interactive for now but see continued case for adopting IronPython if it gains ground and support in VS is improved.

Closing this as an IronPython limitation, and not something we can reasonably fix ourselves.


Mark extension-specific APIs as unavailable for watchOS.

This APIs don't quite make sense on watchOS, since there is no ability to use main app + extensions on watchOS.
Contributes to #179.

Hey @nlutsenko. I spent a lot of time today trying to debug why this method wasn't working on watchOS:
Parse.enableDataSharingWithApplicationGroupIdentifier(groupIdentifier: NSString, bundleIdentifier: NSString)

This GH issue definitely answers that, though it's mentioned nowhere else. The docs sadly seem to be oblivious to the change, still telling users to use this method for WatchKit apps. Should I edit the docs...?

@Bogidon, that would be super helpful, thank you.
One thing that would be helpful to note in the docs that they are still valid if targeting watchOS 1 apps.

@nlutsenko ah ok. Will do in the next few days.


What is Wordle Sellout?

I was using wordle on cesium, when the wordle sellout was shown. when i clicked it, it was the same as wordle. When I deleted it, nothing changed. What is it's function, and should i keep it?

Both of them are named the same thing, but you can only have one of them on the calculator at a time. The regular version uses the word list from the original site, while the Sellout version uses the word list from the New York Times site.
In theory, the Sellout version should give you the same word that the real game does each day, if you have your clock set correctly, but in practice, they've probably changed the wordlist by now and gotten them out of sync.


Carstream only sound on S class

I got carstream on android auto on S class but only hearing sound and no video... what to do?
Thanks

it seems live stream has been block again by Google... but still you can play offline video

need changes on carstream to play video

Bende son bir haftadır çalışmıyor AA 2.9 gps11.9.75 Cs 2.0 kullanıyordum

Hi
Any help?
Thanks

try uninstalling and reinstalling carstream 2.0 and give root access

How to give root access

same here unfortunately, only sound works no video


cannot run examples [libsnopt7.so.0: cannot open shared object file: No such file or directory]

Hi,
Thanks for developing this python interface for snopt.
similar to issue #4, I experienced similar problems when installing snopt-python with precompiled snopt7, which I solve that by copy the built lib folder into the "snopt-python/solvers/'. The build and install snopt-python seems good.
Appending optimize.solvers configuration to optimize
Ignoring attempt to set 'name' (from 'optimize' to 'optimize.solvers')
Appending optimize.solvers/snopt configuration to optimize
Ignoring attempt to set 'name' (from 'optimize' to 'optimize.solvers/snopt')
Appending optimize.solvers/dnopt configuration to optimize
Ignoring attempt to set 'name' (from 'optimize' to 'optimize.solvers/dnopt')
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "optimize.solvers.snopt7_python" sources
f2py options: []
  adding 'build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/solvers/f2py/fortranobject.c' to sources.
  adding 'build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/solvers/f2py' to include_dirs.
building data_files sources
build_src: building npy-pkg config files
running build_py
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
running install_lib
copying build/lib.linux-x86_64-2.7/optimize/solvers/libsnopt7.so.0 -> /home/huawei/.local/lib/python2.7/site-packages/optimize/solvers
copying build/lib.linux-x86_64-2.7/optimize/solvers/libsnopt7.so.0.0.0 -> /home/huawei/.local/lib/python2.7/site-packages/optimize/solvers
copying build/lib.linux-x86_64-2.7/optimize/solvers/setup.py -> /home/huawei/.local/lib/python2.7/site-packages/optimize/solvers
byte-compiling /home/huawei/.local/lib/python2.7/site-packages/optimize/solvers/setup.py to setup.pyc
running install_data
running install_egg_info
Removing /home/huawei/.local/lib/python2.7/site-packages/optimizeoptimize-0.0.0-py2.7.egg-info
Writing /home/huawei/.local/lib/python2.7/site-packages/optimizeoptimize-0.0.0-py2.7.egg-info
running install_clib
customize UnixCCompiler

However, I have an issue when running example (dieta.py). The error information always like following:
Traceback (most recent call last):
  File "dieta.py", line 7, in <module>
    from   optimize import snopta, SNOPT_options
  File "/home/huawei/.local/lib/python2.7/site-packages/optimize/__init__.py", line 8, in <module>
    from .solvers  import(
  File "/home/huawei/.local/lib/python2.7/site-packages/optimize/solvers/__init__.py", line 8, in <module>
    from .snopt    import snopta, snoptb, snoptc, sqopt
  File "/home/huawei/.local/lib/python2.7/site-packages/optimize/solvers/snopt/__init__.py", line 4, in <module>
    from .snopt import snopta, snoptb, snoptc, sqopt
  File "/home/huawei/.local/lib/python2.7/site-packages/optimize/solvers/snopt/snopt.py", line 4, in <module>
    from   optimize.solvers          import snopt7_python as fsnopt
ImportError: libsnopt7.so.0: cannot open shared object file: No such file or directory

Do you have suggestions what is wrong with this? Is it because my snopt didn't complied sucessfully (I did the make check with the the snopt only, it runs successfully)? Does the error means the connect between my complied snopt7 and snopt-python interface didn't connect with each other?
Thanks for the help!

I just looked into this on my linux machine.  Assuming everything else is fine, you have to add the location of the SNOPT Fortran library to LD_LIBRARY_PATH.  Will add it to the instructions.

Hi,
Thanks for the help. I added the LD_LIBRARY_PATH, and it works. Now the old issue removed, however, another error showed up:
huawei@huawei-HP-EliteBook-2570p:~/snopt-python-snopt-only/examples$ python dieta.py
Traceback (most recent call last):
  File "dieta.py", line 7, in <module>
    from   optimize import snopta, SNOPT_options
  File "/home/huawei/.local/lib/python2.7/site-packages/optimize/__init__.py", line 6, in <module>
    from .solvers  import(
  File "/home/huawei/.local/lib/python2.7/site-packages/optimize/solvers/__init__.py", line 6, in <module>
    from .snopt    import snopta, snoptb, snoptc, sqopt
  File "/home/huawei/.local/lib/python2.7/site-packages/optimize/solvers/snopt/__init__.py", line 4, in <module>
    from .snopt import snopta, snoptb, snoptc, sqopt
  File "/home/huawei/.local/lib/python2.7/site-packages/optimize/solvers/snopt/snopt.py", line 4, in <module>
    from   optimize.solvers          import snopt7_python as fsnopt
ImportError: /home/huawei/.local/lib/python2.7/site-packages/optimize/solvers/snopt7_python.so: undefined symbol: snfileclose_

It seems the solver can find snopt7_python.so, but a small bug is inside the snopt7_python.so. Could you give me some suggestions on how to fix this? Thanks a lot!

snfileclose is a subroutine in the Fortran SNOPT library.  Assuming the python interface is picking up the library correctly, I'm not sure what's wrong.  Can you check if snfileclose is in the SNOPT library that you have?  You can use command 'nm' to list subroutines, etc in a library.
(Also, I've created an "snopt-only" branch that you should switch to if you haven't already)

Sorry to reply you late, I was in  conference last week. Here is my situation right now.
I am using the 'snopt-only' branch. I checked the SNOPT library, but there is no snfileclose library. The Snopt version I used is Version 7.4-1.1. Which Version do you use? Could you also check whether your SNOPT library has the snfileclose library or not? Thanks a lot!


Use long argument for fedimint-cli 'workdir'

Positional arguments are cursed. :)

Codecov Report
Base: 66.85% // Head: 66.84% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (3d57159) compared to base (2e302d6).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #719      +/-   ##
==========================================
- Coverage   66.85%   66.84%   -0.02%
==========================================
  Files          87       87
  Lines       12700    12700
==========================================
- Hits         8491     8489       -2
- Misses       4209     4211       +2

Impacted Files
Coverage Δ

client/cli/src/main.rs
0.29% <ø> (ø)

client/client-lib/src/query.rs
91.57% <0.00%> (-3.16%)
:arrow_down:

client/client-lib/src/ln/mod.rs
71.91% <0.00%> (+0.37%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


doc for install by yaourt

Thanks! I couldn't found the package catimg on here
Are you sure this would work?

https://aur.archlinux.org/packages/catimg/

Great, thanks for submitting


#1037 Put collections status to between artist and actions

Thank you for your contribution to the KodaDot NFT gallery.
👇 Let's do a quick check before the merge.
PR type

[ ] Bugfix
[ ] Feature
[x] Refactoring

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted screenshot of demonstrated change in this PR

Optional

[x] I've tested PR on mobile and everything works
[ ] I found edge cases

What's new?

[x] PR closes #1037

Had issue bounty label ?

[x] Fill up your KSM address:
Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI, a screenshot for others, is best to understand changes.

bump, you've made it against main-nuxt which isn't finished on migration and I've changed it to main
we will resolve this in #1077

@prachi00 is that possible to put it a bit smaller numbers? Reason is to be bit horizontal alignment plus extra, let's put labels under number, as brain reads from up to down, left to right :)

@yangwao you mean I should decrease the font size of numbers? Sure, that could be done

@prachi00 is that possible to put it a bit smaller numbers? Reason is to be bit horizontal alignment plus extra, let's put labels under number, as brain reads from up to down, left to right :)

@yangwao you mean I should decrease the font size of numbers? Sure, that could be done

@yangwao something like this?

LGTM!
https://deploy-preview-1079--nftkodadot.netlify.app/rmrk/collection/8c5359d2bddaca9f4c-BBSF

Let's expand rounding to 4 decimal numbers to be consistent.

/rmrk/collection/8c5359d2bddaca9f4c-BBSF

@yangwao done

/rmrk/collection/8c5359d2bddaca9f4c-BBSF

@yangwao done

@prachi00 I'm changing column size in #1063, so collectionActivity will be aligned to the center of the screen.

@prachi00 I'm changing column size in #1063, so collectionActivity will be aligned to the center of the screen.

@roiLeo In this pr, I have aligned it in between

@prachi00 I'm changing column size in #1063, so collectionActivity will be aligned to the center of the screen.

@roiLeo but in this pr, its getting aligned between profile and actions?

payout sent!
https://kusama.subscan.io/extrinsic/0x21990f2dc1f4c111206d22417c11afd97ce92ca1c6fcac9a126cfd2172eda2d4
merging


Add loading screen when page is opened

Pull Request Description
Adds a loading screen when the page is opened, for users with high latency
Important Notes
None
Screenshot

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

merged without QA because this is a simple change. i did some self-testing:

:heavy_check_mark: appears on refresh when logged in
:heavy_check_mark: does not appear when logging in
:heavy_check_mark: does not appear when logging out
:heavy_check_mark: does not appear when entering in offline mode


addStation not working correctly

When addingstation with PointIndex from a polyline.... the number is not correct used in addStation(pointIndex,duration)
let's say i have this polyline:
[[40.64397,22.908537],[40.643888,22.908784],[40.643672,22.90953],[40.64353,22.909975],[40.643404,22.910372],[40.643294,22.910758],[40.643041,22.911461],[40.642752,22.912373],[40.642447,22.913349],[40.642077,22.91446],[40.641413,22.916622],[40.641002,22.917925],[40.640884,22.918279],[40.640807,22.918569],[40.640611,22.919433],[40.640599,22.919486]]
i want to addStation on points: 1,4,7,10,11,13,14
but for some reason i had to use 1,5,9,13,15,18,20     to make it work.
after the first addStation i had to add +1,  +2, +3, +4 , +5, +6

Because the current implementation of addStation adds a new point in the polyline with the given duration. I will try to fix it asap.

nice of you to fix this.
I tried to create some Go to Next station and Go to Previous station.... which i finally did it manually by reseting the durations the current marker had.... (was a pain in the ***)
hopefully if you could add such a functionality it would be great :)

You could also include a fixed speed for the polyline's....
this is how i did duration for each point so that the speed on each spot is the same... check it out.
var speedArray = []
var speed;
var distance;
var speedToRUN = 20
var interval = 10000
for (var i = 1; i < diadromi1.length; i++) {
distance =  L.GeometryUtil.distance(map,diadromi1[i-1], diadromi1[i])
speed = distance * interval / speedToRUN
speedArray.push(speed)
}
i am not sure if the calculations are correct but i managed to have same speed on each polyline...


Fileupload custom action

Hi @ejholmes
Here another feature. I just added the possibility also to provide an custom uploader action. I added this because I like to scale down images before they gets saved at S3. I just don't believe enough in the editors that they don't put a 3MB Image in. All the tests still run and new ones are added.
ActiveAdmin::Editor.configure do |config|
  config.uploader_action_path = '/admin/posts/upload_image'
end

example action
collection_action :upload_image, :method => :post do
  img = ImageUploader.new(image: params[:file])
  img.upload

  # IMPORTANT the image url must be set as the headers location porperty
  render json: {location: img.remote_url} , location: img.remote_url
end

Cheers

cc @codingluke


typo: arguement -> argument

@nschonni : Thanks for your contribution! The author, @mamccrea, has been notified to review your proposed change.

Thanks @nschonni  - we cannot make changes to this repo at this time. I have created a work item to fix the typos when it becomes available again. #please-close

@mamccrea is that specific to these documents? Just asking because some of the others like https://github.com/MicrosoftDocs/azure-reference-other/pull/47 are starting to be merged

@nschonni - Specifically stream-analytics-query-language

@nschonni - I wanted to let you know that I made those updates and they are live. Please checkout our Stream Analytics query language content in its new location: https://docs.microsoft.com/en-us/stream-analytics-query/stream-analytics-query-language-reference


Uncomment volume dckfile

Proposed changes:

uncommented volumes in dockerfile_full, docker-compose now has 3 volumes, the same as dockerfiles

Status (please check what you already did):

[ ] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog

@EPedrotti Are all these changes on purpose? E.g. the ones with ner_duckling?


Animation effects and smooth transitions

Will advanced special effects such as animation effects and smooth transitions be added to future versions?

What do you mean by Animation effects and smooth transitions?

动画效果和平滑过渡是什么意思？

https://github.com/HASwitchPlate/openHASP/assets/129178072/d4d65806-770f-4f4c-8341-f3e53b04725b
This is not implemented by ESP32S3. I understand that the performance of ESP32 may not be sufficient, but will future versions have similar effects?

There are currently no plans to add this sort of animations to openHASP, but maybe you can implement them by using the low level LVGL api's.


Attribute loses namespace when node moved

I found the following from another user in the nokogiri-talk page. I'm encountering the same issue, so I'm posting it here. I was using Nokogiri <IP_ADDRESS> and MRI 2.1.4 on Ubuntu 14.
I'd guess the issue stems from the namespace definitions being different objects, but that seems like something that should be resolved without losing the namespace of the added node.
Thanks for any insight or info!
From the other user:
An attribute lost a namespace, when a node append an other document's element with the namespaced attribute.
I'm using Nokogiri <IP_ADDRESS> on CRuby 1.9.3.
This problem is similar to https://groups.google.com/forum/#!msg/nokogiri-talk/xJID0rVqikA/oDBvwhy4lgMJ
Running this:
require 'nokogiri'

raw_xml = <<"EOS"
<?xml version="1.0"?>
<Root xmlns:prefix="namespace">
  <Element prefix:attribute="value"/>
  <Add/>
</Root>
EOS

src = Nokogiri.XML(raw_xml){|c|c.noblanks}
doc = Nokogiri.XML(raw_xml){|c|c.noblanks}

child = src.xpath('//Element').first
#puts child.to_xml
doc.xpath('//Add').first.add_child(child)
#puts child.to_xml
#puts doc.to_xml

__END__

I would expect doc.to_xml to produce:
<?xml version="1.0"?>
<Root xmlns:prefix="namespace">
  <Element prefix:attribute="value"/>
  <Add>
    <Element prefix:attribute="value"/>
  </Add>
</Root>

However, calling doc.to_xml actually produces:
<?xml version="1.0"?>
<Root xmlns:prefix="namespace">
  <Element prefix:attribute="value"/>
  <Add>
    <Element attribute="value"/>
  </Add>
</Root>

source: https://groups.google.com/forum/#!topic/nokogiri-talk/PgxWEszbgD4

I responded to the email thread, but I'll reproduce my response here ...
I don't think anything is wrong; this mystified me for a few minutes as well. The justification for the current behavior is simply that we're not doing the comparison of namespace URIs when moving nodes between documents. I couldn't find any sort of XML specification stating how this should work; so we likely adopted this behavior because it was the easiest thing to do at the time. (And please note that it works this way consistently in both MRI and JRuby.)
Worth noting that this code works fine if you're simply reparenting nodes within a document; this example displays odd behavior because the node is moving between documents.
Can you tell me why you think one way is better than another? I'd love to beter understand your particular use case.

Sorry for the late response; I missed the notification.
My use case involves moving content nodes between docx files (within the internal OOXML files). OOXML docs have at least a half dozen different namespaces within each document. Right now I resolve the namespaces of attributes after they've been imported to a new doc.
Without there being any XML spec for resolving this, I can understand the current behavior. I guess a new feature could allow for namespace URI comparison against imported nodes to be turned on as a configuration option on the target document. That way the current behavior remains the default. If you think that's outside the scope of the gem, though, feel free to close.

I ran into something similar with #1200 I think the solution may be to add a duplicate of the node instead of the node itself. add_child(node.dup)
My case I moved from one document to another. But I hope that will help solve your problem too.

@kbrock , thanks, that's useful and works.
@flavorjones This doesn't seem like much of a bug anymore, so I'm closing it. Thanks for your help.


Licensing issue with Stackoverflow's CC-BY-SA License

Hi, thank you for this library.
We have recently been FOSS audited and this package was flagged with potential licensing issues.
Code copied/distributed and/or adapted from Stackoverflow requires:

attribution and
licensing under the same license as the original (CC-BY-SA-3.0 or CC-BY-SA-4.0).
This repositories MIT License is not compatible with CC-BY-SA.

The code that is causing issue:
https://github.com/onelogin/python-saml/blob/62a96394344c3188edc8aee540706f3255a59c06/src/onelogin/saml2/idp_metadata_parser.py#L257
I would suggest doing something like this:
Removing the attribution and changing the code significantly but maintaining functionality.
def dict_deep_merge(a, b):
    merged_subpaths = {
        k: dict_deep_merge(a[k], b[k])
        for k in b
        if (k in a and isinstance(a[k], dict) and isinstance(b[k], dict))
    }
    return {
        **a, **b, **merged_subpaths
    }

Thoughts?

Hi @uptickmetachu
I found https://github.com/toumorokoshi/deepmerge which is licensed as MIT.
I'm not adding a new dependency, but I guess we can extract the code from there:
https://github.com/toumorokoshi/deepmerge/blob/master/deepmerge/strategy/dict.py


Instances in the Compute Engine Go API

I am building a Go program, that I am putting onto an AppEngine that receives an email and then starts a compute engine.  I can receive the email successfully receive an email, and then start a compute engine with some of the basic parameters set.
I am using the following link as a reference: https://cloud.google.com/compute/docs/reference/latest/instances
I am having a little trouble understanding some of the elements in some of the structures for the networkInterfaces.  One of them is natIP, which seems like the one that I want to use so that when I start the compute engine, it uses my static IP.
When I enter the natIP field into the structure, the Go program does not compile with the error "unknown compute.AccessConfig field 'natIp' in struct literal".
I am using this command to compile and deploy to the app engine:
./appcfg.py --noauth_local_webserver update /xxxx/xxxxx/AppEngineCode/src/space-nav/
But I see it plainly in the documentation.  Also, what is confusing to me is that the values that I am using "Name, Type etc... have a capital letters vs. the lower case described in the documentation.
Also, I cannot find any examples of a Go program that start a compute engine, or any place that shows any type of example values for all of the settings. Do any exist somewhere special? :)
Thanks
Dave
Below is the NetworkInterfaces structure I use, and below that are the imports I have.
NetworkInterfaces: []*compute.NetworkInterface{
{
Network: "https://www.googleapis.com/compute/v1/projects/"+project+"/global/networks/default",
//NetworkIP: "xx.xx.xx.xx",
AccessConfigs: []*compute.AccessConfig{
{
Name: "External NAT",
Type: "ONE_TO_ONE_NAT",
natIP: "xx.xx.xx.xx",
},
},
},
},
IMPORTS:
"fmt"
"net/http"
"net/mail"
newappengine "google.golang.org/appengine"
"google.golang.org/api/compute/v1"
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
"google.golang.org/appengine/urlfetch"
"appengine"

Anyone have any ideas on this?


Made User Story template readable in markdown and consistent across user stories

Thank you very much for your fantastic work! I read the user stories with great interest. When reading through the stories, I found that the brackets '<>' were not properly escaped in markdown. When reading further I also found that the stories were varying a bit on the rear end of the pattern: Sometimes "so that", sometimes "to". Since the former is the commonly used one (e.g. also suggested by Mike Cohn, https://www.mountaingoatsoftware.com/agile/user-stories), I just went ahead and made them consistent. This should be merely a trivial fix.

Thank you very much for these fixes!


Ceedling launches .out file in Windows rather than executing the file in shell

After Ceedling outputs the "Running [output file].out" text, it launches the file in Windows using the default application. For instance, Wireshark opens and attempts to open the .out file.
This issue does not occur with examples, so I'm seeing the output from the example .out file via Ceedling. I'm confident there's an issue with the setup I have, but I am unsure where. The SUT is an IAR project targeting the MSP430, if that's relevant.
Here's the project.yml:
---

:project:
  :use_exceptions: FALSE
  :use_test_preprocessor: FALSE
  :use_auxiliary_dependencies: TRUE
  :build_root: build
  :release_build: FALSE
  :test_file_prefix: test_

#You'll have to specify these
:environment: []

:extension:
  :executable: .out

:paths:
  :test:
    - +:test/**
    - -:test/support
  :source:
    - src/app/**
  :support:
    - test/support

:defines:
  # in order to add common defines:
  #  1) remove the trailing [] from the :common: section
  #  2) add entries to the :common: section (e.g. :test: has TEST defined)
  :commmon: &common_defines []
  :test:
    - *common_defines
    - TEST
  :test_preprocess:
    - *common_defines
    - TEST

:tools:
  :test_compiler:
    :executable: icc430.exe
    :arguments:
      - ${1}
      ...
  :test_linker:
    :executable: xlink.exe
    :arguments:
      ...
      - -o C:\projects\ceedlingtest\build\test\out\test_Uart.out
      - -Fraw-binary

:cmock:
  :mock_prefix: mock_
  :when_no_prototypes: :warn
  :enforce_strict_ordering: TRUE
  :plugins:
    - :ignore
  :treat_as:
    uint8:    HEX8
    uint16:   HEX16
    uint32:   UINT32
    int8:     INT8
    bool:     UINT8

:plugins:
  :load_paths:
    - vendor/ceedling/plugins
  :enabled:
    - stdout_pretty_tests_report
    - module_generator
...

Under tools, I'm seeing that you defined a custom test_compiler and test_linker... which is making an executable meant to be run on an MSP430... but then you are attempting to run it on your Windows box as a native executable.
You'll need to override the default by also creating a test_fixture definition. This will look much like your test_compiler section, except you want to specify the command line arguments for calling IAR simulator for the MSP430. Your tests will then run on the simulator. This can get a little complicated, but that's the best option if you want to stick with the same compiler your release code uses.
If you don't care which compiler is used for your tests, you can instead make sure you have gcc, etc in your path somewhere and remove your tool definitions to run with defaults.

Running CSpy as the test fixture did the trick. I gathered the command and arguments via the script generated by IAR in the settings folder. Thank you!

:) glad to hear it!

How did u fix this ? @dyang08


slice order changes

Hi guys. You have a mistake in your code that messes up the order of elements inside the slice.
I'm sorry I didn't save your original code but to fix it you need to change the code in file unserialize.go starting from line 208 to this code:
if indexLen == arrLen {
		var slice []interface{}
		for i := 0; i < arrLen; i++ {
			n, _ := utils.NumericalToString(i)
			slice = append(slice, val[n])
		}
		return slice, nil

	}

Have a nice day and thanks for your work! It's awesome besides this issue

@booksmaster  Hi, Can you update to the latest version and try ?

It has been fixed https://github.com/leeqvip/gophp/pull/14