text_generation_launcher: Method Decode encountered an error.

System Info
In generating very large output tokens, I get the following  error
2023-10-25T23:23:01.660259Z  INFO text_generation_launcher: Args { model_id: "kiamesdavies/Llama-2-13b-code-hf-standalone-designer", revision: Some("7bc946e01970e6dc9738f0b44214763fa45c0a1d"), validation_workers: 2, sharded: None, num_shard: None, quantize: None, dtype: Some(BFloat16), trust_remote_code: false, max_concurrent_requests: 128, max_best_of: 2, max_stop_sequences: 4, max_top_n_tokens: 5, max_input_length: 4000, max_total_tokens: 68000, waiting_served_ratio: 1.2, max_batch_prefill_tokens: 4096, max_batch_total_tokens: None, max_waiting_tokens: 20, hostname: "<IP_ADDRESS>", port: 8000, shard_uds_path: "/tmp/text-generation-server", master_addr: "localhost", master_port: 29500, huggingface_hub_cache: Some("/data"), weights_cache_override: None, disable_custom_kernels: false, cuda_memory_fraction: 1.0, rope_scaling: None, rope_factor: None, json_output: false, otlp_endpoint: None, cors_allow_origin: [], watermark_gamma: None, watermark_delta: None, ngrok: false, ngrok_authtoken: None, ngrok_edge: None, env: false }
2023-10-25T23:23:01.662834Z  INFO download: text_generation_launcher: Starting download process.
2023-10-25T23:23:10.903587Z  INFO text_generation_launcher: Files are already present on the host. Skipping download.

2023-10-25T23:23:11.743815Z  INFO download: text_generation_launcher: Successfully downloaded weights.
2023-10-25T23:23:11.745306Z  INFO shard-manager: text_generation_launcher: Starting shard rank=0
2023-10-25T23:23:21.831724Z  INFO shard-manager: text_generation_launcher: Waiting for shard to be ready... rank=0
2023-10-25T23:23:31.858127Z  INFO shard-manager: text_generation_launcher: Waiting for shard to be ready... rank=0
2023-10-25T23:23:41.903472Z  INFO shard-manager: text_generation_launcher: Waiting for shard to be ready... rank=0
2023-10-25T23:23:51.940081Z  INFO shard-manager: text_generation_launcher: Waiting for shard to be ready... rank=0
2023-10-25T23:23:55.886832Z  INFO text_generation_launcher: Server started at unix:///tmp/text-generation-server-0

2023-10-25T23:23:55.899458Z  INFO shard-manager: text_generation_launcher: Shard ready in 44.146040694s rank=0
2023-10-25T23:23:55.935623Z  INFO text_generation_launcher: Starting Webserver
2023-10-25T23:23:57.013990Z  INFO text_generation_router: router/src/main.rs:371: Serving revision 7bc946e01970e6dc9738f0b44214763fa45c0a1d of model kiamesdavies/Llama-2-13b-code-hf-standalone-designer
2023-10-25T23:23:57.030736Z  INFO text_generation_router: router/src/main.rs:213: Warming up model
2023-10-25T23:24:00.675919Z  INFO text_generation_router: router/src/main.rs:246: Setting max batch total tokens to 68048
2023-10-25T23:24:00.675961Z  INFO text_generation_router: router/src/main.rs:247: Connected
Webserver ready!
2023-10-25T23:30:57.913500Z ERROR text_generation_launcher: Method Decode encountered an error.
Traceback (most recent call last):
  File "/opt/conda/bin/text-generation-server", line 8, in <module>
    sys.exit(app())
  File "/opt/conda/lib/python3.9/site-packages/typer/main.py", line 311, in __call__
    return get_command(self)(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/typer/core.py", line 778, in main
    return _main(
  File "/opt/conda/lib/python3.9/site-packages/typer/core.py", line 216, in _main
    rv = self.invoke(ctx)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/conda/lib/python3.9/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/typer/main.py", line 683, in wrapper
    return callback(**use_params)  # type: ignore
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/cli.py", line 81, in serve
    server.serve(
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 195, in serve
    asyncio.run(
  File "/opt/conda/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 634, in run_until_complete
    self.run_forever()
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 601, in run_forever
    self._run_once()
  File "/opt/conda/lib/python3.9/asyncio/base_events.py", line 1905, in _run_once
    handle._run()
  File "/opt/conda/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/opt/conda/lib/python3.9/site-packages/grpc_interceptor/server.py", line 159, in invoke_intercept_method
    return await self.intercept(
> File "/opt/conda/lib/python3.9/site-packages/text_generation_server/interceptor.py", line 21, in intercept
    return await response
  File "/opt/conda/lib/python3.9/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py", line 82, in _unary_interceptor
    raise error
  File "/opt/conda/lib/python3.9/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py", line 73, in _unary_interceptor
    return await behavior(request_or_iterator, context)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py", line 109, in Decode
    generations, next_batch = self.model.generate_token(batch)
  File "/opt/conda/lib/python3.9/contextlib.py", line 79, in inner
    return func(*args, **kwds)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/flash_causal_lm.py", line 851, in generate_token
    raise e
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/flash_causal_lm.py", line 839, in generate_token
    out = self.forward(
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/flash_causal_lm.py", line 815, in forward
    return self.model.forward(
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/custom_modeling/flash_llama_modeling.py", line 480, in forward
    hidden_states = self.model(
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/custom_modeling/flash_llama_modeling.py", line 439, in forward
    hidden_states, residual = layer(
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/custom_modeling/flash_llama_modeling.py", line 383, in forward
    mlp_output = self.mlp(normed_attn_res_output)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/text_generation_server/models/custom_modeling/flash_llama_modeling.py", line 329, in forward
    return self.down_proj(self.act(gate_up_states[:, 0]) * gate_up_states[:, 1])
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/transformers/activations.py", line 150, in forward
    return nn.functional.silu(input)
  File "/opt/conda/lib/python3.9/site-packages/torch/nn/functional.py", line 2059, in silu
    return torch._C._nn.silu(input)
RuntimeError: CUDA error: invalid argument
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

2023-10-25T23:30:57.914809Z ERROR batch{batch_size=1}:decode:decode{size=1}:decode{size=1}: text_generation_client: router/client/src/lib.rs:33: Server error: CUDA error: invalid argument
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

2023-10-25T23:30:57.916354Z ERROR HTTP request{otel.name=POST / http.client_ip= http.flavor=1.1 http.host=<IP_ADDRESS>:8000 http.method=POST http.route=/ http.scheme=HTTP http.target=/ http.user_agent=Python/3.9 aiohttp/3.8.3 otel.kind=server trace_id=0b5462bf84f6e492cae390066e85bfad}: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: 20000, return_full_text: Some(false), stop: [], truncate: None, watermark: false, details: true, decoder_input_details: false, seed: None, top_n_tokens: None }}:generate{request=GenerateRequest { inputs: "<s>[INST] <<SYS>>\nProvided series of PromQL queries for several Grafana panels, generate a full Grafana dashboard.\n<</SYS>>\n\n```json\n{\"overview\":\"LFP / HTTP Requests\",\"panelGroups\":[{\"rowTitle\":\"\",\"panels\":[{\"title\":\"External connection - $namespace\",\"description\":null,\"dashboard\":\"singlestat\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]},{\"rowTitle\":\"\",\"panels\":[{\"title\":\"Internal traffic in [[interval]] - [[namespace]]\",\"description\":\"\",\"dashboard\":\"singlestat\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]},{\"rowTitle\":\"\",\"panels\":[{\"title\":\"Request response time heatmap\",\"description\":\"Displays how many requests land in which response time scope\",\"dashboard\":\"heatmap\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]},{\"rowTitle\":\"\",\"panels\":[{\"title\":\"Average request response time in $interval - Service: $service, Path: $path\",\"description\":\"\",\"dashboard\":\"graph\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]},{\"rowTitle\":\"\",\"panels\":[{\"title\":\"95% Request response time in $interval - Service: $service, Path: $path\",\"description\":null,\"dashboard\":\"graph\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]},{\"rowTitle\":\"\",\"panels\":[{\"title\":\"No of Request by Service in [[interval]] - Service: $service, Path: $path\",\"description\":\"\",\"dashboard\":\"graph\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]},{\"rowTitle\":\"\",\"panels\":[{\"title\":\"Request by Status in [[interval]] - Service: $service, Path: $path\",\"description\":\"\",\"dashboard\":\"graph\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]},{\"rowTitle\":\"\",\"panels\":[{\"title\":\"Request path status count - Service: $service, Path: $path\",\"description\":\"\",\"dashboard\":\"graph\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]}],\"allMetrics\":[{\"metric\":\"nginx_connections_active\",\"help\":\"\",\"type\":\"gauge\",\"labels\":[{\"name\":\"namespace\",\"examples\":[]}]},{\"metric\":\"http_requests_total\",\"help\":\"\",\"type\":\"counter\",\"labels\":[{\"name\":\"endpoint\",\"examples\":[\"web\",\"web\",\"web\",\"web\"]},{\"name\":\"namespace\",\"examples\":[]},{\"name\":\"service\",\"examples\":[]},{\"name\":\"path\",\"examples\":[]}]},{\"metric\":\"requests_latency_seconds_bucket\",\"help\":\"\",\"type\":\"gauge\",\"labels\":[{\"name\":\"endpoint\",\"examples\":[\"web\",\"web\"]},{\"name\":\"namespace\",\"examples\":[]},{\"name\":\"service\",\"examples\":[]},{\"name\":\"path\",\"examples\":[]}]},{\"metric\":\"requests_latency_seconds_count\",\"help\":\"\",\"type\":\"gauge\",\"labels\":[{\"name\":\"endpoint\",\"examples\":[\"web\"]},{\"name\":\"namespace\",\"examples\":[]},{\"name\":\"service\",\"examples\":[]},{\"name\":\"path\",\"examples\":[]}]},{\"metric\":\"requests_latency_seconds_sum\",\"help\":\"\",\"type\":\"gauge\",\"labels\":[{\"name\":\"endpoint\",\"examples\":[\"web\"]},{\"name\":\"namespace\",\"examples\":[]},{\"name\":\"service\",\"examples\":[]},{\"name\":\"path\",\"examples\":[]}]}]}\n```\n[/INST]\n", 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: 20000, return_full_text: Some(false), stop: [], truncate: None, watermark: false, details: true, decoder_input_details: false, seed: None, top_n_tokens: None } }}:generate_stream{request=GenerateRequest { inputs: "<s>[INST] <<SYS>>\nProvided series of PromQL queries for several Grafana panels, generate a full Grafana dashboard.\n<</SYS>>\n\n```json\n{\"overview\":\"LFP / HTTP Requests\",\"panelGroups\":[{\"rowTitle\":\"\",\"panels\":[{\"title\":\"External connection - $namespace\",\"description\":null,\"dashboard\":\"singlestat\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]},{\"rowTitle\":\"\",\"panels\":[{\"title\":\"Internal traffic in [[interval]] - [[namespace]]\",\"description\":\"\",\"dashboard\":\"singlestat\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]},{\"rowTitle\":\"\",\"panels\":[{\"title\":\"Request response time heatmap\",\"description\":\"Displays how many requests land in which response time scope\",\"dashboard\":\"heatmap\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]},{\"rowTitle\":\"\",\"panels\":[{\"title\":\"Average request response time in $interval - Service: $service, Path: $path\",\"description\":\"\",\"dashboard\":\"graph\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]},{\"rowTitle\":\"\",\"panels\":[{\"title\":\"95% Request response time in $interval - Service: $service, Path: $path\",\"description\":null,\"dashboard\":\"graph\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]},{\"rowTitle\":\"\",\"panels\":[{\"title\":\"No of Request by Service in [[interval]] - Service: $service, Path: $path\",\"description\":\"\",\"dashboard\":\"graph\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]},{\"rowTitle\":\"\",\"panels\":[{\"title\":\"Request by Status in [[interval]] - Service: $service, Path: $path\",\"description\":\"\",\"dashboard\":\"graph\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]},{\"rowTitle\":\"\",\"panels\":[{\"title\":\"Request path status count - Service: $service, Path: $path\",\"description\":\"\",\"dashboard\":\"graph\",\"queries\":[{\"query\":\"increase(http_requests_total{endpoint=\\\"web\\\",namespace=~\\\"$namespace\\\",service=~\\\"$service\\\",path=~\\\"$path\\\"}[$interval])\"}]}]}],\"allMetrics\":[{\"metric\":\"nginx_connections_active\",\"help\":\"\",\"type\":\"gauge\",\"labels\":[{\"name\":\"namespace\",\"examples\":[]}]},{\"metric\":\"http_requests_total\",\"help\":\"\",\"type\":\"counter\",\"labels\":[{\"name\":\"endpoint\",\"examples\":[\"web\",\"web\",\"web\",\"web\"]},{\"name\":\"namespace\",\"examples\":[]},{\"name\":\"service\",\"examples\":[]},{\"name\":\"path\",\"examples\":[]}]},{\"metric\":\"requests_latency_seconds_bucket\",\"help\":\"\",\"type\":\"gauge\",\"labels\":[{\"name\":\"endpoint\",\"examples\":[\"web\",\"web\"]},{\"name\":\"namespace\",\"examples\":[]},{\"name\":\"service\",\"examples\":[]},{\"name\":\"path\",\"examples\":[]}]},{\"metric\":\"requests_latency_seconds_count\",\"help\":\"\",\"type\":\"gauge\",\"labels\":[{\"name\":\"endpoint\",\"examples\":[\"web\"]},{\"name\":\"namespace\",\"examples\":[]},{\"name\":\"service\",\"examples\":[]},{\"name\":\"path\",\"examples\":[]}]},{\"metric\":\"requests_latency_seconds_sum\",\"help\":\"\",\"type\":\"gauge\",\"labels\":[{\"name\":\"endpoint\",\"examples\":[\"web\"]},{\"name\":\"namespace\",\"examples\":[]},{\"name\":\"service\",\"examples\":[]},{\"name\":\"path\",\"examples\":[]}]}]}\n```\n[/INST]\n", 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: 20000, return_full_text: Some(false), stop: [], truncate: None, watermark: false, details: true, decoder_input_details: false, seed: None, top_n_tokens: None } }}:infer:send_error: text_generation_router::infer: router/src/infer.rs:588: Request failed during generation: Server error: CUDA error: invalid argument
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
Traceback (most recent call last):
  File "/pkg/modal/_container_entrypoint.py", line 358, in handle_input_exception
    yield
  File "/pkg/modal/_container_entrypoint.py", line 525, in run_input
    value = await res
  File "/root/designer-13b.py", line 104, in generate
    result = await self.client.generate(prompt, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/text_generation/client.py", line 401, in generate
    raise parse_error(resp.status, payload)
text_generation.errors.GenerationError: Request failed during generation: Server error: CUDA error: invalid argument
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

2023-10-25T23:34:01.293937Z  INFO text_generation_launcher: Terminating webserver
2023-10-25T23:34:01.294579Z  INFO text_generation_launcher: Waiting for webserver to gracefully shutdown
2023-10-25T23:34:01.296020Z  INFO text_generation_router::server: router/src/server.rs:789: signal received, starting graceful shutdown
2023-10-25T23:34:01.394864Z  INFO text_generation_launcher: webserver terminated
2023-10-25T23:34:01.395020Z  INFO text_generation_launcher: Shutting down shards

This only happens when the output is large, for smaller outputs, errror doesnt happen
Information

[X] Docker
[ ] The CLI directly

Tasks

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

Reproduction

Deploy a finetuned merged 13b CodeLlamma model to modal.com following this step https://modal.com/docs/guide/ex/text_generation_inference
Set the launcher flags to the following:

LAUNCH_FLAGS = [
    "--max-total-tokens",
    "15968",
    "--max-input-length",
    "4000",
    "--dtype",
    "bfloat16",
]

Use a long prompt of 4000 input tokens, and expected output close to 15000 tokens
set max_new_tokens to 20000

Expected behavior
Large model ouput

Model's Config
{
  "_name_or_path": "kiamesdavies/Llama-2-13b-code-hf",
  "architectures": [
    "LlamaForCausalLM"
  ],
  "attention_bias": false,
  "bos_token_id": 1,
  "eos_token_id": 2,
  "hidden_act": "silu",
  "hidden_size": 5120,
  "initializer_range": 0.02,
  "intermediate_size": 13824,
  "max_position_embeddings": 16384,
  "model_type": "llama",
  "num_attention_heads": 40,
  "num_hidden_layers": 40,
  "num_key_value_heads": 40,
  "pretraining_tp": 1,
  "rms_norm_eps": 1e-05,
  "rope_scaling": null,
  "rope_theta": 1000000,
  "tie_word_embeddings": false,
  "torch_dtype": "bfloat16",
  "transformers_version": "4.34.1",
  "use_cache": false,
  "vocab_size": 32016
}

ditto but with mistral and zephyr.  4k max input, 8k max total.  reproducible on every attempt with a long prompt.  short prompts are ok until the error occurs.  Then every request gives the 424 error.
curl <IP_ADDRESS>:10080/generate \
    -X POST \
    -d @req-latin.json \
    -H 'Content-Type: application/json'

req-latin.json
{"timestamp":"2023-12-05T22:36:44.127472Z","level":"INFO","fields":{"message":"Args { model_id: \"mistralai/Mistral-7B-Instruct-v0.1\", revision: None, validation_workers: 2, sharded: None, num_shard: None, quantize: None, dtype: None, trust_remote_code: false, max_concurrent_requests: 128, max_best_of: 2, max_stop_sequences: 4, max_top_n_tokens: 5, max_input_length: 4096, max_total_tokens: 8192, waiting_served_ratio: 1.2, max_batch_prefill_tokens: 4096, max_batch_total_tokens: None, max_waiting_tokens: 20, hostname: \"mistral-7b-api-d9f578d8b-jhtrm\", port: 8001, shard_uds_path: \"/tmp/text-generation-server\", master_addr: \"localhost\", master_port: 29500, huggingface_hub_cache: Some(\"/data\"), weights_cache_override: None, disable_custom_kernels: false, cuda_memory_fraction: 1.0, rope_scaling: Some(Linear), rope_factor: Some(8.0), json_output: true, otlp_endpoint: Some(\"jaeger-collector.istio-system.svc.cluster.local:4317\"), cors_allow_origin: [], watermark_gamma: None, watermark_delta: None, ngrok: false, ngrok_authtoken: None, ngrok_edge: None, env: false }"},"target":"text_generation_launcher"}
{"timestamp":"2023-12-05T22:36:44.127688Z","level":"INFO","fields":{"message":"Starting download process."},"target":"text_generation_launcher","span":{"name":"download"},"spans":[{"name":"download"}]}
{"timestamp":"2023-12-05T22:36:51.061881Z","level":"INFO","fields":{"message":"Files are already present on the host. Skipping download.\n"},"target":"text_generation_launcher"}
{"timestamp":"2023-12-05T22:36:51.735071Z","level":"INFO","fields":{"message":"Successfully downloaded weights."},"target":"text_generation_launcher","span":{"name":"download"},"spans":[{"name":"download"}]}
{"timestamp":"2023-12-05T22:36:51.735391Z","level":"INFO","fields":{"message":"Starting shard"},"target":"text_generation_launcher","span":{"rank":0,"name":"shard-manager"},"spans":[{"rank":0,"name":"shard-manager"}]}
{"timestamp":"2023-12-05T22:37:01.747875Z","level":"INFO","fields":{"message":"Waiting for shard to be ready..."},"target":"text_generation_launcher","span":{"rank":0,"name":"shard-manager"},"spans":[{"rank":0,"name":"shard-manager"}]}
{"timestamp":"2023-12-05T22:37:11.760493Z","level":"INFO","fields":{"message":"Waiting for shard to be ready..."},"target":"text_generation_launcher","span":{"rank":0,"name":"shard-manager"},"spans":[{"rank":0,"name":"shard-manager"}]}
{"timestamp":"2023-12-05T22:37:21.773450Z","level":"INFO","fields":{"message":"Waiting for shard to be ready..."},"target":"text_generation_launcher","span":{"rank":0,"name":"shard-manager"},"spans":[{"rank":0,"name":"shard-manager"}]}
{"timestamp":"2023-12-05T22:37:31.786640Z","level":"INFO","fields":{"message":"Waiting for shard to be ready..."},"target":"text_generation_launcher","span":{"rank":0,"name":"shard-manager"},"spans":[{"rank":0,"name":"shard-manager"}]}
{"timestamp":"2023-12-05T22:37:41.801399Z","level":"INFO","fields":{"message":"Waiting for shard to be ready..."},"target":"text_generation_launcher","span":{"rank":0,"name":"shard-manager"},"spans":[{"rank":0,"name":"shard-manager"}]}
{"timestamp":"2023-12-05T22:37:51.738745Z","level":"INFO","fields":{"message":"Server started at unix:///tmp/text-generation-server-0\n"},"target":"text_generation_launcher"}
{"timestamp":"2023-12-05T22:37:51.813302Z","level":"INFO","fields":{"message":"Shard ready in 60.077057542s"},"target":"text_generation_launcher","span":{"rank":0,"name":"shard-manager"},"spans":[{"rank":0,"name":"shard-manager"}]}
{"timestamp":"2023-12-05T22:37:51.896313Z","level":"INFO","fields":{"message":"Starting Webserver"},"target":"text_generation_launcher"}
{"timestamp":"2023-12-05T22:37:52.265278Z","level":"WARN","message":"`--revision` is not set","target":"text_generation_router","filename":"router/src/main.rs","line_number":349}
{"timestamp":"2023-12-05T22:37:52.265326Z","level":"WARN","message":"We strongly advise to set it to a known supported commit.","target":"text_generation_router","filename":"router/src/main.rs","line_number":350}
{"timestamp":"2023-12-05T22:37:52.433914Z","level":"INFO","message":"Serving revision 7ad5799710574ba1c1d953eba3077af582f3a773 of model mistralai/Mistral-7B-Instruct-v0.1","target":"text_generation_router","filename":"router/src/main.rs","line_number":371}
{"timestamp":"2023-12-05T22:37:52.439129Z","level":"INFO","message":"Warming up model","target":"text_generation_router","filename":"router/src/main.rs","line_number":213}
{"timestamp":"2023-12-05T22:37:54.437992Z","level":"INFO","message":"Setting max batch total tokens to 513600","target":"text_generation_router","filename":"router/src/main.rs","line_number":246}
{"timestamp":"2023-12-05T22:37:54.438024Z","level":"INFO","message":"Connected","target":"text_generation_router","filename":"router/src/main.rs","line_number":247}
{"timestamp":"2023-12-05T22:37:54.438032Z","level":"WARN","message":"Invalid hostname, defaulting to <IP_ADDRESS>","target":"text_generation_router","filename":"router/src/main.rs","line_number":252}
{"timestamp":"2023-12-05T22:40:29.513476Z","level":"ERROR","fields":{"message":"Method Decode encountered an error.\nTraceback (most recent call last):\n  File \"/opt/conda/bin/text-generation-server\", line 8, in <module>\n    sys.exit(app())\n  File \"/opt/conda/lib/python3.10/site-packages/typer/main.py\", line 311, in __call__\n    return get_command(self)(*args, **kwargs)\n  File \"/opt/conda/lib/python3.10/site-packages/click/core.py\", line 1157, in __call__\n    return self.main(*args, **kwargs)\n  File \"/opt/conda/lib/python3.10/site-packages/typer/core.py\", line 778, in main\n    return _main(\n  File \"/opt/conda/lib/python3.10/site-packages/typer/core.py\", line 216, in _main\n    rv = self.invoke(ctx)\n  File \"/opt/conda/lib/python3.10/site-packages/click/core.py\", line 1688, in invoke\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\n  File \"/opt/conda/lib/python3.10/site-packages/click/core.py\", line 1434, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n  File \"/opt/conda/lib/python3.10/site-packages/click/core.py\", line 783, in invoke\n    return __callback(*args, **kwargs)\n  File \"/opt/conda/lib/python3.10/site-packages/typer/main.py\", line 683, in wrapper\n    return callback(**use_params)  # type: ignore\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/cli.py\", line 83, in serve\n    server.serve(\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py\", line 207, in serve\n    asyncio.run(\n  File \"/opt/conda/lib/python3.10/asyncio/runners.py\", line 44, in run\n    return loop.run_until_complete(main)\n  File \"/opt/conda/lib/python3.10/asyncio/base_events.py\", line 636, in run_until_complete\n    self.run_forever()\n  File \"/opt/conda/lib/python3.10/asyncio/base_events.py\", line 603, in run_forever\n    self._run_once()\n  File \"/opt/conda/lib/python3.10/asyncio/base_events.py\", line 1909, in _run_once\n    handle._run()\n  File \"/opt/conda/lib/python3.10/asyncio/events.py\", line 80, in _run\n    self._context.run(self._callback, *self._args)\n  File \"/opt/conda/lib/python3.10/site-packages/grpc_interceptor/server.py\", line 165, in invoke_intercept_method\n    return await self.intercept(\n> File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/interceptor.py\", line 21, in intercept\n    return await response\n  File \"/opt/conda/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py\", line 82, in _unary_interceptor\n    raise error\n  File \"/opt/conda/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py\", line 73, in _unary_interceptor\n    return await behavior(request_or_iterator, context)\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py\", line 121, in Decode\n    generations, next_batch = self.model.generate_token(batch)\n  File \"/opt/conda/lib/python3.10/contextlib.py\", line 79, in inner\n    return func(*args, **kwds)\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_causal_lm.py\", line 753, in generate_token\n    raise e\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_causal_lm.py\", line 750, in generate_token\n    out = self.forward(batch)\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_mistral.py\", line 343, in forward\n    logits = self.model.forward(\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_mistral_modeling.py\", line 530, in forward\n    hidden_states = self.model(\n  File \"/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py\", line 1518, in _wrapped_call_impl\n    return self._call_impl(*args, **kwargs)\n  File \"/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py\", line 1527, in _call_impl\n    return forward_call(*args, **kwargs)\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_mistral_modeling.py\", line 469, in forward\n    cos, sin = self.layers[0].self_attn.rotary_emb.get_cos_sin(\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/layers.py\", line 745, in get_cos_sin\n    cos = torch.index_select(self._cos_cached, 0, position_ids)\nRuntimeError: CUDA error: device-side assert triggered\nCompile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.\n\n"},"target":"text_generation_launcher"}
{"timestamp":"2023-12-05T22:40:29.514417Z","level":"ERROR","message":"Server error: Unexpected <class 'RuntimeError'>: CUDA error: device-side assert triggered\nCompile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.\n","target":"text_generation_client","filename":"router/client/src/lib.rs","line_number":33,"span":{"size":1,"name":"decode"},"spans":[{"batch_size":1,"name":"batch"},{"name":"decode"},{"size":1,"name":"decode"},{"size":1,"name":"decode"}]}
{"timestamp":"2023-12-05T22:40:29.517339Z","level":"ERROR","fields":{"message":"Method ClearCache encountered an error.\nTraceback (most recent call last):\n  File \"/opt/conda/bin/text-generation-server\", line 8, in <module>\n    sys.exit(app())\n  File \"/opt/conda/lib/python3.10/site-packages/typer/main.py\", line 311, in __call__\n    return get_command(self)(*args, **kwargs)\n  File \"/opt/conda/lib/python3.10/site-packages/click/core.py\", line 1157, in __call__\n    return self.main(*args, **kwargs)\n  File \"/opt/conda/lib/python3.10/site-packages/typer/core.py\", line 778, in main\n    return _main(\n  File \"/opt/conda/lib/python3.10/site-packages/typer/core.py\", line 216, in _main\n    rv = self.invoke(ctx)\n  File \"/opt/conda/lib/python3.10/site-packages/click/core.py\", line 1688, in invoke\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\n  File \"/opt/conda/lib/python3.10/site-packages/click/core.py\", line 1434, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n  File \"/opt/conda/lib/python3.10/site-packages/click/core.py\", line 783, in invoke\n    return __callback(*args, **kwargs)\n  File \"/opt/conda/lib/python3.10/site-packages/typer/main.py\", line 683, in wrapper\n    return callback(**use_params)  # type: ignore\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/cli.py\", line 83, in serve\n    server.serve(\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py\", line 207, in serve\n    asyncio.run(\n  File \"/opt/conda/lib/python3.10/asyncio/runners.py\", line 44, in run\n    return loop.run_until_complete(main)\n  File \"/opt/conda/lib/python3.10/asyncio/base_events.py\", line 636, in run_until_complete\n    self.run_forever()\n  File \"/opt/conda/lib/python3.10/asyncio/base_events.py\", line 603, in run_forever\n    self._run_once()\n  File \"/opt/conda/lib/python3.10/asyncio/base_events.py\", line 1909, in _run_once\n    handle._run()\n  File \"/opt/conda/lib/python3.10/asyncio/events.py\", line 80, in _run\n    self._context.run(self._callback, *self._args)\n  File \"/opt/conda/lib/python3.10/site-packages/grpc_interceptor/server.py\", line 165, in invoke_intercept_method\n    return await self.intercept(\n> File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/interceptor.py\", line 21, in intercept\n    return await response\n  File \"/opt/conda/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py\", line 82, in _unary_interceptor\n    raise error\n  File \"/opt/conda/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py\", line 73, in _unary_interceptor\n    return await behavior(request_or_iterator, context)\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py\", line 43, in ClearCache\n    self.cache.delete(request.id)\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/cache.py\", line 26, in delete\n    torch.cuda.empty_cache()\n  File \"/opt/conda/lib/python3.10/site-packages/torch/cuda/memory.py\", line 159, in empty_cache\n    torch._C._cuda_emptyCache()\nRuntimeError: CUDA error: device-side assert triggered\nCompile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.\n\n"},"target":"text_generation_launcher"}
{"timestamp":"2023-12-05T22:40:29.518434Z","level":"ERROR","message":"Server error: Unexpected <class 'RuntimeError'>: CUDA error: device-side assert triggered\nCompile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.\n","target":"text_generation_client","filename":"router/client/src/lib.rs","line_number":33,"span":{"batch_id":"Some(0)","name":"clear_cache"},"spans":[{"batch_size":1,"name":"batch"},{"name":"decode"},{"batch_id":"Some(0)","name":"clear_cache"},{"batch_id":"Some(0)","name":"clear_cache"}]}
{"timestamp":"2023-12-05T22:40:29.518523Z","level":"ERROR","message":"Request failed during generation: Server error: Unexpected <class 'RuntimeError'>: CUDA error: device-side assert triggered\nCompile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.\n","target":"text_generation_router::infer","filename":"router/src/infer.rs","line_number":581,"span":{"name":"send_error"},"spans":[{"parameters":"GenerateParameters { best_of: None, temperature: Some(0.1), repetition_penalty: None, top_k: None, top_p: None, typical_p: None, do_sample: false, max_new_tokens: None, return_full_text: None, stop: [], truncate: None, watermark: false, details: false, decoder_input_details: false, seed: None, top_n_tokens: None }","name":"generate"},{"name":"generate"},{"name":"generate_stream"},{"name":"infer"},{"name":"send_error"}]}

Can we re-open this issue?

Same problem

I have the same issue. Is there any solution?


Addon Not Importing

Exactly what it says in the title

Version is 4.2.2 LTS (IK it seems to not be supported according to the readme but I tried with other tested versions and failed)

This is very strange too

Exactly what it says in the title

I wasn't able to reproduce the error message until I removed every line after line 16 (non inclusive).
This is probably indicative of damaged addon files.
Try removing the files (in your screenshot, everything besides Rigid Body Bones) and re-installing the addon again in Blender.

Version is 4.2.2 LTS (IK it seems to not be supported according to the readme but I tried with other tested versions and failed)

This version has been verified to work (since it's the one I'm working with rn). I'll update the readme ASAP.

This is very strange too

Stray py files from this addon shouldn't be dropped with Blender's addon installation routine (from its UI).
Did you manually unpack the content there?

I wasn't able to reproduce the error message until I removed every line after line 16 (non inclusive).
This is probably indicative of damaged addon files.
Try removing the files (in your screenshot, everything besides Rigid Body Bones) and re-installing the addon again in Blender.

Did that, got this

Stray py files from this addon shouldn't be dropped with Blender's addon installation routine (from its UI). Did you manually unpack the content there?

I don't remember doing that but it still didn't seem to install despite the stray py files being gone. BTW I'm using the current newest version. Unless somehow I'm forever cursed to have damaged addon files, IDK what's going on. I'll maybe do a complete uninstall of Blender and come back with more info. I know it's not a storage issue however since I have around 600-smth gb left

My n key tab looks like this btw, is mmdtools causing some conflict?

I've tried basically everything except reinstalling python and sssekai
WHY CAN'T IT WORK LIKE A NORMAL ADDON AAAAAAAAAAAAAAA

Well this is awkward..
I'm actually able to reproduce it now  - with a fresh install of 4.2.2 LTS and the addon itself.
Turns out Blender itself didn't read the full content of the __init__.py script of the addon.
For context, the snippet from  _fake_module @ Blender 4.2/4.2/script/modules/addon_utils.py (which caused the error):
            while not l.startswith("bl_info"):
                try:
                    l = line_iter.readline()
                except UnicodeDecodeError as ex:
                    if not error_encoding:
                        error_encoding = True
                        print("Error reading file as UTF-8:", mod_path, ex)
                    return None

                if len(l) == 0:
                    break
            while l.rstrip():
                lines.append(l)
                try:
                    l = line_iter.readline()
                except UnicodeDecodeError as ex:
                    if not error_encoding:
                        error_encoding = True
                        print("Error reading file as UTF-8:", mod_path, ex)
                    return None

            data = "".join(lines)

Starts reading the lines once bl_info is found
Stop reading the content once there's nothing more to read, or there's only a newline/empty line read for the line read

This is meant to read (and only read) the bl_info part - but fails when

A. The bl_info part is syntactically incorrect (which should fail)
B. The extra code read after bl_info (since it would only stop when there's EOF or newline) is syntactically incorrect (which shouldn't be read in the first place.)

With B. (which is our case) this caused extra, incomplete code to be read and caused the AST exception you posted earlier.
The fix however is simple. Adding a newline after the end of bl_info does it.
Meanwhile I should look for references that actually mentioned this requirement for Blender addons - otherwise it could be actually a Blender bug^^

My n key tab looks like this btw, is mmdtools causing some conflict?

BTW sssekai does work with UuuNyaa's mmd_tools (or should I say there shouldn't be any conflict to begin with)
If SSSekai tab isn't showing up - the addon itself is simply not installed.

I don't remember doing that but it still didn't seem to install despite the stray py files being gone. BTW I'm using the current newest version of sssekai_blender_io. Unless somehow I'm forever cursed to have damaged addon files, IDK what's going on. I'll maybe do a complete uninstall of Blender and come back with more info. I know it's not a storage issue however since I have around 600-smth gb left

As a heads-up - if you're low on disk space this might present an actual issue since sssekai_blender_io would have to unpack (and decompress) textures on to the disk first (in .tga format i.e. completely raw) onto the %TEMP% folder (which is usually stored in your system disk) named tmpXXXXXXXX.tga.
These files aren't automatically removed - you may want to delete them yourself if the disk space remains to be an issue.

Nice, it installs now. But now Blender's complaining about dependencies even though I already did .\python -m pip install -U sssekai, even right after the new install. Yes I did ensurepip beforehand and I did it in the python interpreter in Blender.

Nice, it installs now. But now Blender's complaining about dependencies even though I already did .\python -m pip install -U sssekai, even right after the new install. Yes I did ensurepip beforehand and I did it in the python interpreter in Blender.    EDIT: yes i'm aware this is annoying af

Ah, so the dependencies got installed to Python's User directory, which can't be read by Blender.
Seems like your Blender instance is installed in Program Files The README has been updated to handle this edge case.
TL;DR - Uninstall the addon, and its dependencies (can be done by deleteing ..\AppData\Romaing\Python\Python311, if you don't have anything else that actually uses it, or refer to the README to delete only the parts used by sssekai), then reinstall it again while refering to the latest README.
Recommended: ...Or, don't install Blender to Program Files, or even more preferably, use the portable ZIP version and extract it somewhere you have full read/write access. Then perform the installation there.

It installs perfectly now! Thank you!


Move JavaScript to its own file

Problem: We can cache this JavaScript rather than loading it on every
HTTP request, which also make it slightly easier to test and edit (at
least for me).
Solution: Take the inline <script> tags and move them to main.js,
formatted with Prettier since it's going to be a huge diff anyway.

[x] Ensured that you have rebased your branch with this repo's latest master branch.
[x] Ensured that relevant issues are linked, if this PR resolves any outstanding.
[x] Added a screenshot for all UI changes (you can drag the file into this edit box and it will be uploaded).
[x] Ensured that changes to auto-generated files have not been committed; in particular, *.html, *.csv, *.xml and *.json files.

Thanks for the PR! We're trying to keep things simple, and splitting out the JS will complicate our live reload logic. Given that the JS isn't very big, we're going to keep it the way it is.

Good idea, thanks!


Make kube-aws warn or fail when it sees unexpected keys in cluster.yaml

cc @redbaron I believe you've mentioned about this feature in a comment somewhere but I'm not sure where it was!

I believe that our users tend to have troubles writing cluster.yaml correctly these days.
It is even more problematic when there's typo in a comment in cluster.yaml like #392

@c-knowles I believe you've asked about how it achieve this before?
Perhaps something like below works to instruct go-yaml to catch unexpected keys, according to its documentation.
unexpectedSettings map[string]interface{} `yaml:",inline"`


Markup in tables is ignored

See the @ commands in the table, e.g. @see and @li:
https://www.boost.org/doc/libs/1_75_0/libs/beast/doc/html/beast/ref/boost__beast__http__error.html

Markup in other tables is supported. This looks like it's specific to enums (maybe). In any case, Doxygen is failing to recognize the markup. This problem is apparently not unique to the XML output. It happens in the HTML output as well:

The HTML output is consistent with the XML output, in that they both show that Doxygen is treating the description like a code block. The HTML above shows the fixed-width font and the XML output uses a <verbatim> tag:
          <detaileddescription>
<para><verbatim>bar description

@li First bullet referencing @ref issue_55

@li Second bullet
</verbatim> </para>
          </detaileddescription>

I experimented with removing the indentation from the C++ code (based on what I read here) and got a better HTML result:

It looks like the XML output gives us what we need too:
      <memberdef kind="enum" id="namespaceexample_1a92952c411ef6476c63739ae957a34f74" prot="public" static="no" strong="yes">
        <type></type>
        <name>issue_63</name>
        <enumvalue id="namespaceexample_1a92952c411ef6476c63739ae957a34f74aacbd18db4cc2f85cedef654fccc4a4d8" prot="public">
          <name>foo</name>
          <briefdescription>
<para>foo brief </para>
          </briefdescription>
          <detaileddescription>
<para>foo description</para>
<para><simplesect kind="see"><para><ref refid="structexample_1_1issue__55" kindref="compound">issue_55</ref> </para>
</simplesect>
</para>
          </detaileddescription>
        </enumvalue>
        <enumvalue id="namespaceexample_1a92952c411ef6476c63739ae957a34f74a37b51d194a7513e45b56f6524f2d51f2" prot="public">
          <name>bar</name>
          <briefdescription>
<para>bar brief </para>
          </briefdescription>
          <detaileddescription>
<para>bar description</para>
<para><itemizedlist>
<listitem><para>First bullet referencing <ref refid="structexample_1_1issue__55" kindref="compound">issue_55</ref></para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem><para>Second bullet </para>
</listitem>
</itemizedlist>
</para>
          </detaileddescription>
        </enumvalue>

But it doesn't look fully correct yet in docca's HTML output:

Long story short:

This is a work in progress.
Changes to the C++ source formatting will probably be needed.
Quickbook support of this nested content needs to be verified and the XSLT updated accordingly.

awwww man that suxxxx

Check the Doxygen changelogs / release notes to see if it is either fixed, or recognized as an open issue?

The XSLT to Quickbook rendering is now improved:

The caveat is that the C++ comment still needs manipulation, e.g. removing one space from the indent as in the test case:
https://github.com/boostorg/docca/pull/64/commits/9d3644a0b239779e6725dbd66c7cf632af53deb3#diff-29ef6fd89a4b65fcbe08b2f12ca85cbcb33c5f81e8e78859681fc8fdddbe62c6R19-R25

Hmm nice workaround :)


Can't get through payment page validation

How can I get through the pay by card page?

You can use the test debit card details
Card Number:  4444 3333 2222 1111
Expiry date:  any future date
CSV:  123


remove result from api-response-collection

result shouldn't ever have a default value (let alone an ambiguous one!) which teams are including as part of their response objects. Instead, we'll remove this and enforce that services define their own result without flattening.

good find; pulled that one as well.


x-target.3xx redirect to current page misbehaves when query params have different order

Thanks for this fantastic library. Love the elegance of your approach. However, I ran into some difficulty when needing to swap content or redirect based on the outcome of a form submission (similar case to #79)...
PR #84 introduces a special handling for a _self target on a 3xx redirect:

Any 3xx class status code redirecting to a different page will load the redirected URL in the browser window
Any 3xx class status code redirecting back to the current page will target my_form.

However the URLs are compared as strings:
function sameUrl(urlA, urlB) {
  return (stripTrailingSlash(urlA.pathname) + urlA.search) === (stripTrailingSlash(urlB.pathname) + urlB.search)
}

This makes the behaviour dependant on the order of query params in the current URL and the response location header. If the order differs, this behaviour no longer applies.
If the current page was reached via a form (as in my case), the order of query params depends on the order of form fields. In my case I was able to solve this by sorting my data and using hidden form fields. But that adds complexity and implicit dependencies that could be avoided by comparing the URL queries as Maps.
The meaning of query parameters should generally be order independent.

Hey! Thanks for the clear explanation. I totally agree, we need a more robust comparison method.
I’ve got some time set aside today to work down a few issues, this is on my priority list.

Awesome. Thanks! I wonder if would make sense just to leave out the query params entirely for the purposes of matching the current page. The base path is usually the significant part for routing.

@lachlancotter you’re right, in that case, I think we can do away with the sameURL and stripTrailingSlash functions and simply compare pathname for equality. That seems to be consistent with how my browser’s URL bar handles sameness.


Unable to create new file

My weekly note settings:

When I select the command "Open Weekly Note" this message appears

This message only appears after a weekly note has been created. However, the weekly note created when I originally select the command "Open Weekly Note" has the week # listed as 36, while the Weekly note settings claim it should be 37

If I delete the current weekly note, then run the command, a new note is created (but with the wrong week # as previously mentioned).
Furthermore, when I select the command "Open Next Weekly Note," provided a weekly note has already been created, will open the first weekly note I created (even if I'm not currently viewing a weekly note).
Daily Note and Monthly Note function as expected.
Daily Note Settings (through Periodic Notes, not through the core daily note pluggin):

Monthly Note Settings:

And, in the off chance that it is relevant, Calendar Note settings

Obsidian Version: v0.12.15
OS: Windows 10, current version as of September 15th, 2021
Hardware: 5 year old Microsoft Surfacebook

Problems ceased after latest update (Version 0.2.5)

Correction:
"Open Weekly Note" and "Open Next Weekly Note" now work as expected, but the note numbering is still inconsistent with what is shown in settings and I cannot create new weekly notes from the Calendar Pluggin.

I'm experiencing this issue, "Unable to create new file" when I try to open the weekly note.

Same issue here.
I changed the name template and a new file was created but with the wrong file name: I changed "YYYY-MM_[CW]WW" to "YYYY-MM_[CW]WW_2" but "2022-01_CW03_2" was created instead of the correct "2022-01_CW04_2". The name preview in the plugin option window is correct.
If I click the "Open this week" button again, then it fails with same error (because it tries to create a file that already exists?)

I had this exact same issue. When I used the WW format in periodic notes it used the week number minus 1 when creating the file name, and thus where unable to create the file when that file name already existed. It also used the week number minus 1 when formating note templates with {{date: WW}}. Like it knew it was week 7, when pushing the "open this week" button, which prompted the creation of a new file, but then used the week number 6 for file creation.
However, when I then installed the calendar plugin, everything worked fine, even with the calendar plugin turned off. As if it had overwritten some files that fixed the bug.

Thank you @clolesen! I've been having the exact same issue as described above, and by installing the Calendar plugin the problem magically disappeared and WW now refers to the correct (current) week number, in this exact case to week 11. Before the calendar plugin it pointed to week 10.

I ran into this same problem. The docs point to moment.js for the formatting style (https://momentjs.com/docs/#/displaying/format/) and I noticed that my particular naming style was mixing ISO and non-ISO variables, e.g. 'gggg' and 'WW'. When I changed 'WW' to 'ww', I no longer have this issue.
I suspect that you either need to stick with all ISO or all non-ISO in the variable usage or else something gets confused.

I get this same message when I try to create a file that already exists. I'm running into this becuase the week number doesn't match the file it tries to create.

@jeremymturner's resolution worked for me. One quirky thing was that the text that was throwing it off was the passed-through text and not the ISO-related text:

gggg[ - Week ]w -  Creates an error because the escaped text has a capital letter
GGGG[ - Week ]W - Works as expected because all text is capitalized

I had issues with the week set wrong as well ("GGGG-W" converted to "2023-13" instead of the correct "2023-14". I installed the Calendar plugin, and at first it did not help, but then I checked the Calendar plugin config and changed "start of week" from Sunday to Monday and then it worked and created the note at "2023-14" as expected. For clarity: today is Monday.

I'm coming across the same issue.  Can anyone suggest how I can get the following to play nice: YYYY - [Q]QQ - [M]MM - [W]WW?

I am experiencing the same error when trying to create a weekly note by clicking the week number in the calendar. The wrong week is selected. Today is Monday.  It seems that using all ISO date formatting triggers the bug.
Steps to reproduce:

Clicked on week 24 in the Calendar pane on the right. I was prompted to create the weekly note.
This created the weekly note for week 23. Edited and saved. (Incorrectly named under 2024/2024-W23)
Clicked on week 24 and was prompted to create the weekly note. The pop up has the wrong file name. (File 2024/2024-W23 does not exist. Would you like to create it?)
Clicked Create
Observed error "Unable to create new file".

If I click week 25 I am prompted to create the weekly note 2024/2024-W24.
The plugin is attempting to creating the note with a filename for the week prior to the one selected.
I tried changing from mixed format (YYYY/gggg-[W]WW)  to ISO only (YYYY/GGGG-[W]WW) but that still triggers the bug.
I tried changing to non-ISO (yyyy/gggg-[W]ww) and that made the proposed file name match the week number.
So there are two issues:

The plugin detects correctly that the file for the week selected does not exist when that is the case BUT the pop up shows the week prior to the one selected for the file name
The plugin then attempts to create the file with the mismatched filename but cannot if the file already exists


Typing going odd in 2 specific cases

In 2 specific situations the typing is getting confused and leading to the wrong type being assigned.
The below code is a simplified example of what I have in production. Within test.func() I expect the variable teleportDistance to have a type of "number" at the end of the function when we set the variable z to teleportDistance. However it has the value of any.
I can stop it ending with the value of any by making one of 2 code changes, but both are working around the odd typing.
1: Commented as "1". If I replace the the calling of the test.truthy() with something literal (true or 1==1) everything is happy. So somehow the function is upsetting it.
2: Commented as "2". If I remove the second @cast on the teleportDistance variable then its type ends up as number|nil at the end of the function, which is then correct for the code, but not what I wanted. My previous line has refined the available data type and so I'd like the @cast to account for this change.
My work around is to have the second (comment "2") @cast be a forced to type number. But this isn't as reusable as '-nil` as it's then hard coded a type in to the code block.
---@param commandData table<string, any>
test.func = function(commandData)
    local teleportDistance = commandData.teleportDistance
    if not test.truthy(teleportDistance) then -- 1: REPLACE THIS FUNCTION WITH "true" AND TYPE IS HAPPY LATER.
        return
    ---@cast teleportDistance number|nil
    end
    teleportDistance = teleportDistance or 0.0
    ---@cast teleportDistance - nil -- 2: THIS MAKES IT GO TO ANY.

    local z  ---@type number
    z = teleportDistance -- WE DON'T WANT THIS TO BE TYPE ANY.
end

---@param value any
---@return boolean
test.truthy = function(value)
    return true
end

oh, it was from my embedding of the  ---@cast within the if block. Not sure if this is a bug or user error.


[json] "Format document" on a large JSON file adds extra bracket

Issue Type: Bug
Actual:

Opened ~large JSON file (4415 lines when formatted)
Last character is a ] (it's an array of objects)
Right click, choose "Format document"
An extra bracket - ] - is added at the end, syntax error detected

Expected:

No extra bracket added, no syntax error

(rename attached file to .json, just strip the .txt extension - GH doesn't allow me to paste JSON)
VS Code version: Code 1.42.1 (c47d83b293181d9be64f27ff093689e8e7aed054, 2020-02-11T14:45:59.656Z)
OS version: Windows_NT x64 10.0.18363
Extensions (15)

Extension
Author (truncated)
Version

docs-markdown
doc
0.2.50

rest-client
hum
0.23.1

azure-pipelines
ms-
1.165.1

vscode-apimanagement
ms-
0.1.2

vscode-azureappservice
ms-
0.16.2

vscode-azurefunctions
ms-
0.20.2

vscode-azurestorage
ms-
0.8.0

vscode-cosmosdb
ms-
0.12.1

vscode-docker
ms-
0.10.0

azure-account
ms-
0.8.8

azurecli
ms-
0.5.0

vscode-node-azure-pack
ms-
0.0.10

azurerm-vscode-tools
msa
0.8.4

LiveServer
rit
5.6.1

azure-iot-toolkit
vsc
2.16.0

Has this fix been deployed? I am still getting this in
Version: 1.42.1
Commit: c47d83b293181d9be64f27ff093689e8e7aed054
Date: 2020-02-11T14:44:27.652Z
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 19.3.0

If I check for updates it says there are no updates available

It's in 1.43 (latest insiders or out as stable next week)


Add Renesas RX65N Cloud Kit Model

Thank you for contributing to the Azure IoT Plug and Play Models repository
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact<EMAIL_ADDRESS>with any additional questions or comments.
The repository pipeline will ensure minimum validation of incoming DTDL models.

PR validation steps are described in the tools Wiki.
The same validation can be run locally via the dmr-client CLI.

Requested info template for model(s) submission
When submitting models to the repository we ask that you provide as much of the following meta information around your models and related devices as possible. This info will be used to improve Plug and Play.
:star2: Please replace the markdown comment examples with your own values.
Company Info
Renesas Electronics Corporation

IoT Plug and Play Device Info
Devkit sample

Model Submission Goals
IoT Central integration

Code Owners & Reserved Names
@TatsuyaOgawanx

@TatsuyaOgawanx  can you update this PR with the changes from main ? (next time you can enable contributors to update as described here)

I updated from base branch.


Deadlock in audio iterator in CCAI notebook

The audio iterator over labeled data has a tendency to deadlock. It's very frustrating.

I got temporary access to the user's files in Drive for testing.
Evidence:

I have successfully iterated over all files with multi_load_audio_window.
I have successfully iterated over all files using sequential iteration.
I have observed a couple long hangs with multi_load_audio_window.
I observed a long hang using simple sequential file loading, as well.
The long hangs seem to occur around 35-40 files in, both for multi-load and sequential file loading, but file loading eventually gets going again, and proceeds with good speed (>50 files/sec) after the initial hang.

Together, this makes me suspect that the hang has to do with Google Drive, rather than a problem in our code.

I believe we have determined that this isn't a deadlock, but intermittent latency when dealing with lots of drive data. Closing...


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/93097

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/95182


add LLVM.jl-like context state handling.

re: #11
The conversion to different style of context handling hasn't yet been pulled through completely.

functions in Pass.jl have not yet been properly adapted.
I might've been a bit too enthousiastic with removing contexts: MModule and PassManager might still need to keep theirs?
The way code_mlir in brutus.jl now uses context might need a closer look.

Thanks for the PR!

MModule and PassManager might still need to keep theirs?

I added context as a field to MModule and PassManager so that the context is not GCed when only keeping a reference to the module/pass manager but this does not seem needed with your method.

I've found a few places where I'd forgotten to remove the context argument. Since I haven't tested all functions, it's possible I might've overlooked a few additional spots but I think this is about ready for review and merging for now if this context handling is wanted?

Argh silly github.

Can you rebase?

Codecov Report
Attention: 87 lines in your changes are missing coverage. Please review.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files
Coverage Δ

src/MLIR.jl
87.50% <100.00%> (+1.78%)
:arrow_up:

src/Dialects.jl
76.92% <72.72%> (ø)

src/IR/state.jl
47.36% <47.36%> (ø)

src/IR/Pass.jl
26.25% <9.09%> (ø)

src/IR/IR.jl
34.28% <38.88%> (-0.51%)
:arrow_down:

:loudspeaker: Thoughts on this report? Let us know!.


feat: search archived wf by startat. Closes #2436

Closes #2436
Checklist:

[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[x] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[x] I have written unit and/or e2e tests for my change. PRs without these are unlike to be merged.
[ ] Optional. I've added My organization is added to the USERS.md.
[ ] I've signed the CLA and required builds are green.

so that date format - it's not international - can you fix that?

e.g. 18 Feb 2020

or maybe Feb 18, 2020?


DLP For Mac Updates

Line 403: either needs to be ammended to state Mac OS DLP for Endpoint, or removing. Confirmed "Both Outlook mobile/ and Outlook Mac do not support policy tips today."
Line: 396: Outlook Mac should be its own line item

@danwdavey  -Thanks for your comment.  I am confirming with PG before publishing

@JohanFreelancer9

@chrfox Please merge this PR. Thanks

Learn Build status updates of commit c9ec130:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/compliance/dlp-policy-tips-reference.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

The article is still wrong;
DLP policy tips are not supported on Outlook mobile
This should read:
DLP policy tips are not supported on Outlook Mac

Learn Build status updates of commit 58c3d33:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/compliance/dlp-policy-tips-reference.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit a4d6056:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/compliance/dlp-policy-tips-reference.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

final query out to Swati Kumari to see if this is correct


Deleted all buckets using OBC fail to cleanup the data from the backing store

Environment info

NooBaa Version: 5.3.0-9f579d9
Platform: OpenShift 4.3

Actual behavior

Deleted 4 OBC with total 500 GB stored on the default backing store (AWS).
Waited about 1 hour and didn't see the size of the resource getting lower.
Full logs attached, but this errors repeat in the log:

Apr-27 16:51:31.679 [BGWorkers/31]    [L0] core.server.bg_services.buckets_reclaimer:: emptying bucket SENSITIVE-11db7f09259043b50ec16f62ed701d31. deleting next 1000 objects
Apr-27 16:51:31.680 [WebServer/37] [ERROR] CONSOLE:: RPC._on_request: ERROR srv object_api.delete_multiple_objects_by_prefix reqid 324396@wss://<IP_ADDRESS>:8443/(3oz5ju7) connid ws://[::ffff:<IP_ADDRESS>]:58876/(3t3wsrl) Error: No permission to access bucket
    at RpcRequest.req.check_s3_bucket_permission (/root/node_modules/noobaa-core/src/server/common_services/auth_server.js:625:19)
    at load_bucket (/root/node_modules/noobaa-core/src/server/object_services/object_server.js:1184:9)
    at Object.delete_multiple_objects_by_prefix (/root/node_modules/noobaa-core/src/server/object_services/object_server.js:737:5)
    at Object.server_func (/root/node_modules/noobaa-core/src/rpc/rpc.js:86:48)
    at /root/node_modules/noobaa-core/src/rpc/rpc.js:348:41

Expected behavior

Should cleanup the storage.

Steps to reproduce

Create OBC
Use it to fill data to the bucket
Delete OBC

More information - Screenshots / Logs / Other output
Logs:
read-system.log
noobaa-core-0.log

This issue was not seen by testing with version 5.9.
A minor accounting issue was seen (created https://github.com/noobaa/noobaa-core/issues/6650 for tracking).


refactor: replace jsoncpp with rapidjson.

check format when reading config files (using try&catch)
some changes of the extern directory and CMakeLists.txt
eliminate warnings
fix a bug in UI
make lane changing more natural

I'm confused with the usage of "std::". We use "abs" without the prefix while using "std::ceil". Which one  is the standard?


Feature/animation rework

Includes changes from https://github.com/slipx06/sunsynk-power-flow-card/pull/131
Description

Related issues
Resolves #38
Motivation and Context
Smoothes out animation transition.

Awesome. Thanks so much. I'll test.

I'm not sure if I want to do the four separate speeds for solar on the lite card. For some reason the formulae is not working well

@slipx06 what is the formula currently doing? Is it the transitions that are problematic?

It is not adjusting the animation speed correctly when I change the power of the measured sensor. e.g. if the max power is 500 and the sensor value is 500 it should set the animation speed to 1s. When the power is reduced it should slow down. I need enable some console logs.  The formula is correct but its not being implemented correctly

There were some merge conflicts, and I stupidly did not stash my changes. Luckily I was able to restore them.
I will quickly test my side with pv as well. I don';t have PV installed at this stage, but will just simulate it.

Thanks for helping with this one. So glad its fixed now 😄

Only a pleasure


Implementing URL Routing for Enhanced Navigation and User Experience

Inconsistent Navigation Paths: Without proper URL routing, users encounter inconsistent and ambiguous navigation paths. This can lead to confusion, frustration, and difficulties in accessing specific pages or features within the application.
Poor User Experience: The absence of URL routing hampers the user experience by limiting the ability to bookmark or share specific pages, disrupting the flow of interaction, and impeding accessibility for users accustomed to standard navigation paradigms.

As a Gssoc'24 contributor. I want to work on this issue. So, I request you to assign this to me
@Priyaaa1


exception on poloniex buy order

Dear Catalyst Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: ubuntu
Python Version: python 3.5.2
Python Bitness: 664
How did you install Catalyst: pip
Python packages:
alembic==0.9.9
APScheduler==3.5.1
attrdict==2.0.0
bcolz==0.12.1
boto3==1.7.25
botocore==1.10.25
Bottleneck==1.2.1
ccxt==1.14.46
certifi==2018.4.16
chardet==3.0.4
click==6.7
colorama==0.3.9
contextlib2==0.5.5
cycler==0.10.0
cyordereddict==1.0.0
Cython==0.28.2
cytoolz==<IP_ADDRESS>
decorator==4.3.0
docutils==0.14
empyrical==0.2.1
enigma-catalyst==0.5.12
eth-abi==1.1.1
eth-account==0.2.2
eth-hash==0.1.3
eth-keyfile==0.5.1
eth-keys==0.2.0b3
eth-rlp==0.1.2
eth-utils==1.0.3
Flask==1.0.2
gevent==1.3.1
greenlet==0.4.13
grequests==0.3.0
hexbytes==0.1.0
httplib2==0.11.3
idna==2.6
intervaltree==2.1.0
itsdangerous==0.24
Jinja2==2.10
jmespath==0.9.3
kiwisolver==1.0.1
Logbook==1.4.0
lru-dict==1.1.6
lxml==4.2.1
Mako==1.0.7
MarkupSafe==1.0
matplotlib==2.2.2
multipledispatch==0.5.0
networkx==1.11
numexpr==2.6.5
numpy==1.14.3
pandas==0.19.2
pandas-datareader==0.5.0
parsimonious==0.8.0
patsy==0.5.0
pkg-resources==0.0.0
pycryptodome==3.6.1
pycurl==<IP_ADDRESS>
pymongo==3.6.1
pyparsing==2.2.0
python-dateutil==2.7.3
python-editor==1.0.3
pytz==2018.4
redo==1.6
requests==2.18.4
requests-file==1.4.3
requests-ftp==0.3.1
requests-toolbelt==0.8.0
rlp==1.0.1
s3transfer==0.1.13
schedule==0.5.0
scipy==1.1.0
simplejson==3.15.0
six==1.11.0
sortedcontainers==2.0.2
SQLAlchemy==1.2.7
statsmodels==0.9.0
TA-Lib==0.4.17
tables==3.4.3
toolz==0.9.0
tzlocal==1.5.1
urllib3==1.22
web3==4.2.1
websockets==5.0
Werkzeug==0.14.1
wrapt==1.10.11
xlrd==1.1.0

Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue

What did you expect to happen?
polonix buy order crashed

Reproduction Steps

buy xrp_btc symbol using order function
price: 8.034975e-05,
order amount: 5.911991014284426
after exception, when I checked my poloniex balance, the order was completed.

exception:
Traceback (most recent call last):
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/urllib3/connectionpool.py", line 387, in _make_request
six.raise_from(e, None)
File "", line 2, in raise_from
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/urllib3/connectionpool.py", line 383, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.5/http/client.py", line 1197, in getresponse
response.begin()
File "/usr/lib/python3.5/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.5/http/client.py", line 258, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.5/socket.py", line 575, in readinto
return self._sock.recv_into(b)
File "/usr/lib/python3.5/ssl.py", line 929, in recv_into
return self.read(nbytes, buffer)
File "/usr/lib/python3.5/ssl.py", line 791, in read
return self._sslobj.read(len, buffer)
File "/usr/lib/python3.5/ssl.py", line 575, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/requests/adapters.py", line 440, in send
timeout=timeout
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/urllib3/util/retry.py", line 357, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/urllib3/packages/six.py", line 686, in reraise
raise value
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/urllib3/connectionpool.py", line 389, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/urllib3/connectionpool.py", line 309, in _raise_timeout
raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value)
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='poloniex.com', port=443): Read timed out. (read timeout=10)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/ccxt/base/exchange.py", line 358, in fetch
proxies=self.proxies
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/requests/adapters.py", line 521, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='poloniex.com', port=443): Read timed out. (read timeout=10)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 899, in create_order
price=price
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/ccxt/poloniex.py", line 615, in create_order
}, params))
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/ccxt/base/exchange.py", line 307, in request
return self.fetch2(path, api, method, params, headers, body)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/ccxt/base/exchange.py", line 304, in fetch2
return self.fetch(request['url'], request['method'], request['headers'], request['body'])
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/ccxt/base/exchange.py", line 368, in fetch
self.raise_error(RequestTimeout, method, url, e)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/ccxt/base/exchange.py", line 289, in raise_error
raise exception_type(output)
ccxt.base.errors.RequestTimeout: poloniex POST https://poloniex.com/tradingApi HTTPSConnectionPool(host='poloniex.com', port=443): Read timed out. (read timeout=10)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "trading_coin_spread_btc.py", line 465, in
stats_output=None,
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/utils/run_algo.py", line 601, in run_algorithm
stats_output=stats_output
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/utils/run_algo.py", line 363, in _run
overwrite_sim_params=False,
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/exchange/exchange_algorithm.py", line 1050, in run
data, overwrite_sim_params
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/exchange/exchange_algorithm.py", line 358, in run
data, overwrite_sim_params
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/algorithm.py", line 724, in run
for perf in self.get_generator():
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/gens/tradesimulation.py", line 224, in transform
for capital_change_packet in every_bar(dt):
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/gens/tradesimulation.py", line 137, in every_bar
handle_data(algo, current_data, dt_to_use)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/utils/events.py", line 216, in handle_data
dt,
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/utils/events.py", line 235, in handle_data
self.callback(context, data)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/exchange/exchange_algorithm.py", line 904, in handle_data
self._handle_data(self, data)
File "trading_coin_spread_btc.py", line 432, in handle_data
limit_price=limit_price
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/utils/api_support.py", line 57, in wrapped
return getattr(algo_instance, f.name)(*args, **kwargs)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/utils/api_support.py", line 126, in wrapped_method
return method(self, *args, **kwargs)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/algorithm.py", line 1463, in order
return self.blotter.order(asset, amount, style)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/exchange/exchange_blotter.py", line 169, in order
if amount == 0:
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/exchange/exchange_blotter.py", line 185, in order
args=(asset, amount, style),
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/redo/init.py", line 162, in retry
return action(*args, **kwargs)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/exchange/exchange_blotter.py", line 163, in exchange_order
asset, amount, style
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/exchange/exchange.py", line 877, in order
return self.create_order(asset, amount, is_buy, style)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 913, in create_order
before_order_dt, asset, amount, is_buy, style, adj_amount
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 841, in _handle_request_timeout
dt_before=dt_before, symbol=asset.asset_name)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 802, in _fetch_missing_order
recent_trades = [x for x in self.api.fetch_my_trades(symbol=symbol)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/ccxt/poloniex.py", line 442, in fetch_my_trades
market = self.market(symbol)
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/ccxt/base/exchange.py", line 1226, in market
self.raise_error(ExchangeError, details='No market symbol ' + str(symbol))
File "/home/ubuntu/p3.5/lib/python3.5/site-packages/ccxt/base/exchange.py", line 289, in raise_error
raise exception_type(output)
ccxt.base.errors.ExchangeError: poloniex No market symbol XRP / BTC

Thanks @ytkang for reporting.
We will try to reproduce it.
Looks like it might be a result of some connectivity issue. Please let us know if it is repeated.
Thanks,
Lena

Fixed the error, will be added to the next release.

added to release 0.5.14


UWP support?

Issue type
Select all that apply

[ ] Bug
[ ] Enhancement
[ ] Task
[x] Question
[ ] Other

Description
Any chance to support Windows UWP? I guess it should be possible...

At this time I do not, as I do not have any use case scenarios myself for anything like this, but i'm completely open to pull requests if you would like to submit one for adding these kind of features.


setSystemTime and getRealSystemTime type and doc update

Summary
This PR does two (related) things.
Update setSystemTime now param types to allow Date
The internal types for setSystemTime are currently now?: number, but in using the project locally I found Date also worked and was a bit more ergonomic in some cases. For example:
    // if Date is not in the union, this errors:
    jest.setSystemTime(new Date('2020-06-15T00:00:00.933Z'));

    // you'd have to do:
    jest.setSystemTime(new Date('2020-06-15T00:00:00.933Z').getTime());

The types for the underlying this._clock.setSystemTime call in jest-fake-timers/src/modernFakeTimers.ts suggest support Date, so it did not seem incorrect. I was looking into this while working on a PR to add types for setSystemTime and getRealSystemTime to DefinitelyTyped, and wanted to make sure that those types matched jest's codebase's types and the intended usage.
Update setSystemTime and getRealSystemTime docs

The documentation for setSystemTime did not directly document its params, so they took me as a user a bit of time to figure out. I wasn't sure what the format for these should be. advanceTimersToNextTimer just has jest.advanceTimersToNextTimer(steps) (no types), whereas useFakeTimers has jest.useFakeTimers(implementation?: 'modern' | 'legacy'). I erred on the side of adding a type to the param, the union members are native and I think the types would be useful to both js and ts folks.
The documentation for setSystemTime and getRealSystemTime both have a preceding . char, which I removed. I'm not sure if this was intentional, but the other functions/headers in that doc do not have one and I didn't see any reference to them being experimental or anything (aside from requiring the "modern" timers).

Test plan
For the new type, I added test cases for setSystemTime(now: Date) wherever I saw test cases for setSystemTime(now: number). I ran the tests locally (albeit without mercurial installed, which didn't seem to affect these particular files).
I took a look at the doc changes to make sure they looked alright. They look like:

Whereas on the live site, they look like:

Re: some of these changes, I wasn't sure whether or not things were intentional, I'm of course happy to do any cleanup necessary on changes in this PR that aren't desirable.

@SimenB thanks for you review, I've pushed an update to those tests!


no healthy upstream

Hello Team.
Great tool you built. Thank you for that!
I am getting no healthy upstream when trying to open the ollama.ai web site... probably too many people loves Ollama today :heart:

Same for ollama run llava:
pulling manifest
Error: pull model manifest: 503: no healthy upstream

Got the same issue. Is it with a new update?

Whats worse is ollama run doesnt even work.
Ollama run  should be able to run offline when the model has already downloaded

Hi all this should be fixed now. Sorry you hit an error. @danyo1399 if you have a model already downloaded ollama run will not require a connection as it will run the model you have locally, but do let me know if you're seeing otherwise for any reason


remove all children so children's mediators are also destroyed

Hi @cuongdd2, thanks for your pull-request.
I understand the motivation to remove all children and consequentially removing all mediators from children as well, but I'm afraid this is not the expected behavior. If you remove a element and want to add it later to the display list again, it will be empty because of this.
The ideal scenario is just removing/adding mediators deeply in the three when the root node is removed.

This project was moved to RobotlegsJS Organisation.


Upstream-Spinnaker-1.17.4-10-Update

Signed-off-by: Saravanan Arumugam (Aswath<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

New Submissions

[ ] Has you operator nested directory structure?
[ ] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Is your submission signed?

Updates to existing Operators

[ ] Is your new CSV pointing to the previous version with the replaces property?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Submit operators to both upstream-community-operators and community-operators at once
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file a PR against this repo and explain your need
2 For more information see here

@J0zi Can you help me here ? why my PR is Failing ?
I need to update the Operatorhub.io with latest spinnaker 1.17.4 version. And it is is failing.


Language bar clarification in README.md

Clarified what the percentages in the Language bar are based on.

:+1: thanks @miksen


does unclosed

I  want to get the data from http://db.yaozh.com/index.php?action=atc&pre=atc&page=2,but the html I get is just as follows

        <title></title>


Error - The specified CGI application encountered an error and the server terminated the process.

Hi All I am facing issue "The specified CGI application encountered an error and the server terminated the process." after hosting it on Azure Web Sites. On Local it works fine. I have developed application on asp.net core 1.0 and deployed on Azure.
Is there any timeout issue or any thing missing when deployed code on azure ?
Please help me out regarding this issue.

FYI, we ran into this issue today with the CGI application error.
TL;DR;
Azure dev ops or dotnet publish seems to be doing XML transforms for us on our web.config files, and we ended up having two entries in the web.config for ASPNETCORE_ENVIRONMENT.
The ultimate source for discovering this was here

Warning
Environment variables set in this section conflict with system environment variables set with the same name. If an environment variable is set in both the web.config file and at the system level in Windows, the value from the web.config file becomes appended to the system environment variable value (for example, ASPNETCORE_ENVIRONMENT: Development;Development), which prevents the app from starting.

Details
We had the following in web.Release.config, and it was normally transformed by Octopus Deploy when deploying.
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  <system.webServer>
    <aspNetCore>
      <environmentVariables xdt:Transform="Insert">
        <environmentVariable name="ASPNETCORE_ENVIRONMENT" value="#{HostingEnvironment}" />
      </environmentVariables>
    </aspNetCore>
  </system.webServer>
</configuration>

Somewhere in our Azure Dev Ops build, the transform was already taking place, but, the transform file was still in the artifacts list which was then placed into our Nuget package.  That Nuget package was then shipped to Octopus Deploy, which did another transform.  Because we used Insert for the transform command, a second copy of the environment variable was inserted into the web.config file.
This is a recent change.  This project is still on dotnet core 1.1, I believe, and we just had a successful build and deploy on 1/30/2019.  A rebuild of the exact same code base also caused this problem, and it doesn't appear to be an Octopus change.

Mates, I was able to solve this issue by removing forwardWindowsAuthToken from the web.config file under wwwroot. Please do the following steps.
Step 1)Navigate to src/ProjectName/wwwroot
Step 2)Open the web.config
Step 3)In the httpPlatformremove the forwardWindowsAuthToken="true/false" property
Step 4)Redeploy and mine worked fine.


Create Your Own SAP Fiori Launchpad

Tutorial URL: https://developers.sap.com/tutorials/cp-fiori-create.html
Please specify the step you are referring to "Step 6: Validate your Fiori Launchpad" my answer is not valid and I don't understand why:
https://flpportal-p2000727752trial.dispatcher.hanatrial.ondemand.com/sites

@IObert Can you take a look at this one?

This should be the correct answer. It checks if your input matches https://flpportal-[id]trial.dispatcher.hanatrial.ondemand.com/sites. Are you logged in with the same user that matches the p-user from your answer?
Otherwise, I could be related to the trailing whitespaces

Thanks!


Having different extensions on the sidebar tests

By the comments from Devlin https://codereview.chromium.org/1168383002/#msg20

What about testing multiple extensions with sidebars?

Also review if we can manage to have the tests running inside of unittests instead of the browser ones

There are still some problems by turning the browsertest to BrowserWithTestWindowTest browser_action_test_util_ Using the approach of existing unittest at e7f7bed
[ RUN      ] SidebarTest.CreateSidebar
Received signal 11<PHONE_NUMBER>00
#0 0x000002600efe base::debug::StackTrace::StackTrace()
#1 0x00000260139b base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7fbf03d638d0
#3 0x000002208940 (anonymous namespace)::GetContainer()
#4 0x000002208a99 BrowserActionTestUtil::GetToolbarActionsBar()
#5 0x000000fea709 extensions::SidebarTest_CreateSidebar_Test::TestBody()
#6 0x0000021d1902 testing::Test::Run()
#7 0x0000021d1ac8 testing::TestInfo::Run()
#8 0x0000021d1c1d testing::TestCase::Run()
#9 0x0000021d2d35 testing::internal::UnitTestImpl::RunAllTests()
#10 0x0000021d2f55 testing::UnitTest::Run()
#11 0x000005452b65 base::TestSuite::Run()
#12 0x00000544faec base::(anonymous namespace)::LaunchUnitTestsInternal()
#13 0x00000544ffb6 base::LaunchUnitTests()
#14 0x0000004f8247 main
#15 0x7fbf0245fb45 __libc_start_main
#16 0x0000004f94e7

Now the browsertests are also checking the proper behaviour with several extensions df0dcfe284bff82562972a2503408827b9347016 Apart from other issues with the unittests and BrowserWithTestWindowTest, it seems that the cause for is_showing_popup failing(), even for the case of creating the extension and setting open_in_popup:true, is because the created extension was failing to have a proper default_popup.

Having now again all the checks done using unittests seems to have some problems, as we were creating manually the sidebar using the CreateSidebar(browser()->tab_strip_model()->GetActiveWebContents()) of the former sidebarManager. As we don't have it any more, ExtensionActionViewController::ExecuteAction returns  ExtensionAction::ACTION_NONE due to !(web_contents) so no latter TriggerSidebar|PopupWithUrl is called.

The unittest that are not using sidebar_manager are at https://github.com/ltilve/chromium/commit/3fe7d25f4657ae53c86fc80785e345dfc0878977


JAMES-3761 Adds configurable bucketname to MimeMessageStore

Co-Authored-By: Matthieu Baechler<EMAIL_ADDRESS>

22:14:18,258 [INFO] There are 2 errors reported by Checkstyle 8.29 with checkstyle.xml ruleset.

22:14:18,263 [ERROR] src/main/java/org/apache/james/blob/api/Store.java:[89] (whitespace) EmptyLineSeparator: 'METHOD_DEF' should be separated from previous statement.

22:14:18,264 [ERROR] src/main/java/org/apache/james/blob/api/Store.java:[96] (whitespace) EmptyLineSeparator: 'METHOD_DEF' should be separated from previous statement.

No objections. As it stands it seems to benefit custom code only?

It is used in the BlobStore backed MailRepository of #987 but we felt that the change made sense on its own as there can be multiple MimeMessageStores in a single assembly even before the BlobStore backed Mailrepository.
For example pulsar-cassandra-smtp-relay uses both CassandraMailRepository and the pulsar mailqueue both of which use a MimeMessageStore. As it stands neither adds custom qualifiers while wiring the message store. Unless I am mistaken this means that they will both store their respective blobs in the same bucket. While there are not direct consequences this is doesn't seem to be a very desirable situation.

07:25:20,278 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (check-style) on project james-server-mail-store: You have 1 Checkstyle violation. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (check-style) on project james-server-mail-store: You have 1 Checkstyle violation.

Still....

I can't thank checkstyle enough for this unhelpful message that nicely omits the place where the violation occurs, my workday is starting I will continuer searching what's wrong later

test this please


Minor corrections

Thanks !

You welcome. ! I didn’t get through all your sections. But if I get some more time. I’ll prof read it one more time.
Sent from my iPhone

On Oct 16, 2019, at 12:09 PM, Eshaan Bansal<EMAIL_ADDRESS>wrote:

Merged #8 into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


No feedback during query execution

For queries that run a bit longer (> 1 second) there's no feedback in the UI that the user needs to wait.

The description above is not entirely correct. There is a visual feedback that the query is running, but sometimes I have to press the query button multiple times to see it.


Remove servant overrides from configuration-ghc8

Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Since servant-0.7 series are now default on hackage-packages.nix.
cc @peti

Acked-by: Kosyrev Serge<EMAIL_ADDRESS>

It looks like a similar commit is on master now.


Use taskProcessor in transfer and replication queues

Refactor taskProcessor to use queueTaskInfo struct
Initialize taskProcessor in replication queue and transfer queue
Use taskProcessor in queueProcessor base and remove task worker logic

@meiliang86 do we still need the replication task processing logic?


Heading should be "Interactive Transactions"

I believe the heading should be called "Interactive Transactions" and it should appear in the menu on the right, and then "Example" should be probably a subheading or something

https://www.prisma.io/docs/concepts/components/prisma-client/transactions#interactive-transactions-in-preview
https://www.prisma.io/docs/concepts/components/prisma-client/transactions#example

This has been updated and is currently not relevant for now.


YAML serialization can use new OmitDefaultsOrEmpty

https://github.com/samsmithnz/GitHubActionsDotNet/blob/aa0f0a196b93835982f97b695734c904bfcf5fbb/src/GitHubActionsDotNet/Serialization/YamlSerialization.cs#L20
I was also serializing pipeline YAML and often had the resulting YAML full of empty arrays, things like:
steps: []

This is just an FYI that I added functionality there that also omits empty collections. Not sure if you are hitting this but might be of use to you too.
https://github.com/aaubry/YamlDotNet/releases/tag/v11.2.0
https://github.com/aaubry/YamlDotNet/pull/608

I don't know how you deal with collections but in Sharpliner, I pre-initialize List<T> because C# 10 can give you an amazingly brief syntax using the implicit Add().
Say you have this:
class SomeClass
{
    List<string> SomeProperty { get; set; } = new();
}

then you can do this:
var x = new SomeClass
{
    SomeProperty = {
        "foo",
        "bar",
    }
}

However, this implicit Add only works if the List<T> property is non-null and initialized. Just calls Add on it.
Now, let's say you have pipeline triggers and want to use this - this means your Trigger property on the pipeline needs to be an initialized list but you don't really want your YAML to be always:
triggers: []

You only want triggers to be serialized when it's not empty.
Now, I don't know GH Actions much so I don't know if you have problems like this. Or you might just have null values for your Lists. Then you can disregard this :)

Btw I reached out to you in a more reasonable manner on Teams but I guess you're off already (I didn't mean to ambush you here like this)

I'm pretty sure that triggers: [] is valid, just ugly, as YAML is a superset of JSON. I think you can get around this by either not initializing the list, or using an array (with no items).


more: fix unicode bug

Use unicode_segmentation and unicode_width to determine proper break_line position.
Related #2319.

would it be possible to add a test for this?
btw, a bunch of tests are failing
---- tests::test_break_lines_long stdout ----
thread 'tests::test_break_lines_long' panicked at 'index out of bounds: the len is 2 but the index is 2', src/uu/more/src/more.rs:390:46
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

A full test would be difficult, but I think that a unit test on that function would be great!

unit test works for me too :)