example got many error

Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
    at resolveDispatcher (react.development.js:1476:1)
    at useState (react.development.js:1507:1)
    at ExpandableTable (ExpandableTable.tsx:32:1)
    at renderWithHooks (react-dom.development.js:16175:1)
    at mountIndeterminateComponent (react-dom.development.js:20913:1)
    at beginWork (react-dom.development.js:22416:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:4161:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4210:1)
    at invokeGuardedCallback (react-dom.development.js:4274:1)
    at beginWork$1 (react-dom.development.js:27405:1)

Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
    at resolveDispatcher (react.development.js:1476:1)
    at useState (react.development.js:1507:1)
    at ExpandableTable (ExpandableTable.tsx:32:1)
    at renderWithHooks (react-dom.development.js:16175:1)
    at mountIndeterminateComponent (react-dom.development.js:20913:1)
    at beginWork (react-dom.development.js:22416:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:4161:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4210:1)
    at invokeGuardedCallback (react-dom.development.js:4274:1)
    at beginWork$1 (react-dom.development.js:27405:1)
resolveDispatcher @ react.development.js:1476
useState @ react.development.js:1507
ExpandableTable @ ExpandableTable.tsx:32
renderWithHooks @ react-dom.development.js:16175
mountIndeterminateComponent @ react-dom.development.js:20913
beginWork @ react-dom.development.js:22416
callCallback @ react-dom.development.js:4161
invokeGuardedCallbackDev @ react-dom.development.js:4210
invokeGuardedCallback @ react-dom.development.js:4274
beginWork$1 @ react-dom.development.js:27405
performUnitOfWork @ react-dom.development.js:26513
workLoopSync @ react-dom.development.js:26422
renderRootSync @ react-dom.development.js:26390
recoverFromConcurrentError @ react-dom.development.js:25806
performConcurrentWorkOnRoot @ react-dom.development.js:25706
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
react-dom.development.js:18572 The above error occurred in the <ExpandableTable> component:

    at ExpandableTable (http://localhost:3000/static/js/bundle.js:160077:20)
    at TestTable
    at div
    at BillingDetails (http://localhost:3000/static/js/bundle.js:2208:72)
    at Routes (http://localhost:3000/static/js/bundle.js:166900:5)
    at div
    at Router (http://localhost:3000/static/js/bundle.js:166833:15)
    at BrowserRouter (http://localhost:3000/static/js/bundle.js:165642:5)
    at App (http://localhost:3000/static/js/bundle.js:81:80)

Consider adding an error boundary to your tree to customize error handling behavior.
 Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
    at resolveDispatcher (react.development.js:1476:1)
    at useState (react.development.js:1507:1)
    at ExpandableTable (ExpandableTable.tsx:32:1)
    at renderWithHooks (react-dom.development.js:16175:1)
    at mountIndeterminateComponent (react-dom.development.js:20913:1)
    at beginWork (react-dom.development.js:22416:1)
    at beginWork$1 (react-dom.development.js:27381:1)
    at performUnitOfWork (react-dom.development.js:26513:1)
    at workLoopSync (react-dom.development.js:26422:1)
    at renderRootSync (react-dom.development.js:26390:1)

...

Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
    at resolveDispatcher (react.development.js:1476:1)
    at useState (react.development.js:1507:1)
    at ExpandableTable (ExpandableTable.tsx:32:1)
    at renderWithHooks (react-dom.development.js:16175:1)
    at mountIndeterminateComponent (react-dom.development.js:20913:1)
    at beginWork (react-dom.development.js:22416:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:4161:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4210:1)
    at invokeGuardedCallback (react-dom.development.js:4274:1)
    at beginWork$1 (react-dom.development.js:27405:1)

Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
    at resolveDispatcher (react.development.js:1476:1)
    at useState (react.development.js:1507:1)
    at ExpandableTable (ExpandableTable.tsx:32:1)
    at renderWithHooks (react-dom.development.js:16175:1)
    at mountIndeterminateComponent (react-dom.development.js:20913:1)
    at beginWork (react-dom.development.js:22416:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:4161:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:4210:1)
    at invokeGuardedCallback (react-dom.development.js:4274:1)
    at beginWork$1 (react-dom.development.js:27405:1)
resolveDispatcher @ react.development.js:1476
useState @ react.development.js:1507
ExpandableTable @ ExpandableTable.tsx:32
renderWithHooks @ react-dom.development.js:16175
mountIndeterminateComponent @ react-dom.development.js:20913
beginWork @ react-dom.development.js:22416
callCallback @ react-dom.development.js:4161
invokeGuardedCallbackDev @ react-dom.development.js:4210
invokeGuardedCallback @ react-dom.development.js:4274
beginWork$1 @ react-dom.development.js:27405
performUnitOfWork @ react-dom.development.js:26513
workLoopSync @ react-dom.development.js:26422
renderRootSync @ react-dom.development.js:26390
recoverFromConcurrentError @ react-dom.development.js:25806
performConcurrentWorkOnRoot @ react-dom.development.js:25706
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
react-dom.development.js:18572 The above error occurred in the <ExpandableTable> component:

    at ExpandableTable (http://localhost:3000/static/js/bundle.js:160077:20)
    at TestTable
    at div
    at BillingDetails (http://localhost:3000/static/js/bundle.js:2208:72)
    at Routes (http://localhost:3000/static/js/bundle.js:166900:5)
    at div
    at Router (http://localhost:3000/static/js/bundle.js:166833:15)
    at BrowserRouter (http://localhost:3000/static/js/bundle.js:165642:5)
    at App (http://localhost:3000/static/js/bundle.js:81:80)

Consider adding an error boundary to your tree to customize error handling behavior.
 Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
    at resolveDispatcher (react.development.js:1476:1)
    at useState (react.development.js:1507:1)
    at ExpandableTable (ExpandableTable.tsx:32:1)
    at renderWithHooks (react-dom.development.js:16175:1)
    at mountIndeterminateComponent (react-dom.development.js:20913:1)
    at beginWork (react-dom.development.js:22416:1)
    at beginWork$1 (react-dom.development.js:27381:1)
    at performUnitOfWork (react-dom.development.js:26513:1)
    at workLoopSync (react-dom.development.js:26422:1)
    at renderRootSync (react-dom.development.js:26390:1)

...


Weapon spawn with incompatible ammo

General information:
Project issue is for:
3.8.0 (newest zip)
Expected result:
Gun spawning with correct ammo
Actual result:
Not that
Kedr spawned with incompatible 9x18mm PMM PstM szh
How to reproduce:

Screenshots:

Originally written by blaz3

I need more info, Did it spawn on a bot/pmc?
Was it from a lootable container? what map?

Originally written by chomp

It spawned on a static 'PMC Body' container on Ground Zero near Emercom

Originally written by blaz3

Posting image again as it didnt work in your first post:

Attachments

image.png (67 KiB)

Originally written by chomp

Attachments

image.png (44 KiB)

Originally written by CWX

Fixed with: https://dev.sp-tarkov.com/SPT-AKI/Server/commit/57855fd3162d80eceec1e48933b4eadfa75c6485

Originally written by chomp

How should I attempt to replicate this? Just buff the spawn rates of a map and run the
map over and over? Should I just play to test the issue until I have ample proof that it will not occur? I'll test it as soon as I get a response to help replicate this bug.

Originally written by basedcosmo

its a tricky one to test, im going to close this as it can only really be tested passively. If an issue is found we can open a new issue.

Originally written by chomp


Push content from AEM to ACC

Pushes the content rendered by the email page component to ACC

The email pages allow to "Approve for Adobe Campaign" the content (could be a workflow), which will then make the page available in Campaign. Further action must then be taken in Campaign to actually send that content out to recipients.

Check existing workflow, if it needs to be extended

[ ] Check the existing workflow

[ ] Check source code of existing workflow

[ ] Extend, if neccessary

[ ] Make sure the page with all images is published with this workflow

The "Approve for Adobe Campaign" workflow logic will run for any page which is of type or extending the resource types: "mcm/neolane/components/newsletter", "mcm/campaign/components/newsletter" or "mcm/campaign/components/campaign_newsletterpage".
After the "Newsletter approval" step, the page will also get published.

PR in the MCM project created to include our page resource type in the logic of the approval/publish workflow.
https://git.corp.adobe.com/CQ/mcm/pull/155


multi gpu - transformers/modeling_utils.py -  Trying to set a tensor of shape torch.Size([32000, 4096]) in "weight" (which has shape torch.Size([0])), this look incorrect.

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
should work
Current behaviour
Traceback (most recent call last):
  File "/root/miniconda3/envs/py3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/root/miniconda3/envs/py3.10/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/workspace/axolotl/src/axolotl/cli/train.py", line 59, in <module>
    fire.Fire(do_cli)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "/workspace/axolotl/src/axolotl/cli/train.py", line 35, in do_cli
    return do_train(parsed_cfg, parsed_cli_args)
  File "/workspace/axolotl/src/axolotl/cli/train.py", line 55, in do_train
    return train(cfg=cfg, cli_args=cli_args, dataset_meta=dataset_meta)
  File "/workspace/axolotl/src/axolotl/train.py", line 80, in train
    model, peft_config = load_model(cfg, tokenizer, inference=cli_args.inference)
  File "/workspace/axolotl/src/axolotl/utils/models.py", line 624, in load_model
    raise err
  File "/workspace/axolotl/src/axolotl/utils/models.py", line 585, in load_model
    model = getattr(transformers, model_type).from_pretrained(
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3504, in from_pretrained
    ) = cls._load_pretrained_model(
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3924, in _load_pretrained_model
    new_error_msgs, offload_index, state_dict_index = _load_state_dict_into_meta_model(
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/transformers/modeling_utils.py", line 805, in _load_state_dict_into_meta_model
    set_module_tensor_to_device(model, param_name, param_device, **set_module_kwargs)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/accelerate/utils/modeling.py", line 310, in set_module_tensor_to_device
    raise ValueError(
ValueError: Trying to set a tensor of shape torch.Size([32000, 4096]) in "weight" (which has shape torch.Size([0])), this look incorrect.
Loading checkpoint shards:   0%|          | 0/2 [00:00<?, ?it/s]
[2024-02-01 07:03:05,572] [ERROR] [axolotl.load_model:623] [PID:77] [RANK:0] Trying to set a tensor of shape torch.Size([32000, 4096]) in "weight" (which has shape torch.Size([0])), this look incorrect.
Traceback (most recent call last):
  File "/workspace/axolotl/src/axolotl/utils/models.py", line 585, in load_model
    model = getattr(transformers, model_type).from_pretrained(
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3504, in from_pretrained
    ) = cls._load_pretrained_model(
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3924, in _load_pretrained_model
    new_error_msgs, offload_index, state_dict_index = _load_state_dict_into_meta_model(
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/transformers/modeling_utils.py", line 805, in _load_state_dict_into_meta_model
    set_module_tensor_to_device(model, param_name, param_device, **set_module_kwargs)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/accelerate/utils/modeling.py", line 310, in set_module_tensor_to_device
    raise ValueError(
ValueError: Trying to set a tensor of shape torch.Size([32000, 4096]) in "weight" (which has shape torch.Size([0])), this look incorrect.

Steps to reproduce
!docker run --gpus all
-v /root/.cache:/root/.cache
-v /home/gcpuser/sky_workdir:/sky_workdir
winglian/axolotl:main-py3.10-cu118-2.0.1
accelerate launch -m axolotl.cli.train /sky_workdir/hi-qlora-hi-2.yaml --deepspeed /sky_workdir/zero3_bf16.json
Config yaml
base_model: teknium/OpenHermes-2.5-Mistral-7B
model_type: MistralForCausalLM
tokenizer_type: LlamaTokenizer
is_mistral_derived_model: true
load_in_8bit: false
load_in_4bit: true
strict: false
chat_template: chatml
datasets:

path: manishiitg/chat-instruct-hi-v4
type: completion

hub_model_id: manishiitg/open-aditi-chat-hi-1.5
hf_use_auth_token: true
wandb_project: open-aditi-chat-hi-1.5
dataset_prepared_path: manishiitg
push_dataset_to_hub: manishiitg
val_set_size: 0
output_dir: /sky-notebook/manishiitg/open-aditi-chat-hi-1.5
adapter: qlora
lora_model_dir:
save_safetensors: true
sequence_len: 4096
sample_packing: true
pad_to_sequence_len: true
lora_r: 16
lora_alpha: 32
lora_dropout: 0.05
lora_target_linear: true
lora_fan_in_fan_out:
lora_target_modules:

gate_proj
down_proj
up_proj
q_proj
v_proj
k_proj
o_proj

lora_modules_to_save:

embed_tokens
lm_head

wandb_entity:
wandb_watch:
wandb_run_id:
wandb_log_model:
gradient_accumulation_steps: 4
micro_batch_size: 9
num_epochs: 3
optimizer: adamw_bnb_8bit
lr_scheduler: cosine
learning_rate: 0.0002
adam_beta2: 0.95
adam_epsilon: 0.00001
max_grad_norm: 1.0
train_on_inputs: false
group_by_length: false
bf16: true
fp16: false
tf32: false
gradient_checkpointing: true
early_stopping_patience:
resume_from_checkpoint:
auto_resume_from_checkpoints: true ## manage check point resume from here
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true
warmup_steps: 10
eval_steps: 0
eval_table_size:
eval_table_max_new_tokens: 128
save_steps: 20 ## increase based on your dataset
save_strategy: steps
debug:
deepspeed:
weight_decay: 0.0
fsdp:
fsdp_config:
special_tokens:
bos_token: ""
eos_token: ""
unk_token: ""
tokens: # these are delimiters

"<|im_start|>"
"<|im_end|>"

Possible solution
No response
Which Operating Systems are you using?

[X] Linux
[ ] macOS
[ ] Windows

Python Version
3.10
axolotl branch-commit
main
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of axolotl.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

this got fixed after using zero2 and reducing batch size

this issue is mainly with zero3_bf16.json works well with zero2. batch size is not an issue

This is a real error that is preventing deepspeed zero3 from working as it should.
I am using a known good deepspeed zero3 config that works on other systems besides axolotl - but with axolotl it doesn't work.

This is a real error that is preventing deepspeed zero3 from working as it should. I am using a known good deepspeed zero3 config that works on other systems besides axolotl - but with axolotl it doesn't work.

It's a problem of deepspeed:
https://github.com/huggingface/transformers/issues/29266#issuecomment-1965978537
So maybe we cannot use qlora with deepspeed currently because of bitsandbytes.


pull request for e2e test at 01/18/2017 19:15:15

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Starting IronRepl thows lua error

I have installed iron.nvim using vim-plug and the native package facility.  If I define luafile in init.vim, and provide a plugins.lua file, the require('iron') line throws errors about not finding the module.  All other modules are found and my $packpath is sane.  If I run :IronRepl, I get the following error:
E5105: Error while calling lua chunk: ...im/site/pack/iron.nvim/start/iron.nvim/lua/iron/init.lua:91: bad argument #1 to 'pairs' (table expected, got nil)
This happens regardless of what I do with defining the luafile in init.vim.  I also noticed that the help file isn't being loaded.

By "using vim-plug and the native package facility", do you mean that you've installed iron.nvim twice? This could cause some trouble, though it shouldn't cause the errors you've reported.
If you're using the native package feature to install iron, are you installing it as an optional or startup package? If it's optional, have you called packadd iron.nvim before attempting to require('iron')? That - not having the package added before attempting to configure it - caused me to see errors about not finding the module.

I installed all my plugins, including iron.nvim, using vim-plug. When that didn't work, I tried the native pkg facility.  I got the same errors with both methods.  I'm back to using vim-plug.
My init.vim says:
Plug 'Vigemus/iron.nvim'
luafile $HOME/.config/nvim/plugins.lua
I did add the "packadd iron.nvim" directive to the top of plugins.lua, and that helped a lot.  I have one error left:
Error detected while processing /home/wade/.config/nvim/init.vim: line   79:
E5112: Error while creating lua chunk: /home/wade/.config/nvim/plugins.lua:1: '=' expected near 'iron'
The first two lines of plugins.lua are:
packadd iron.vim
local iron = require('iron')
Fortunately this doesn't prevent getting to the REPL.  Not sure yet if it causes any errors.

packadd is a Vimscript command, not valid Lua. That is probably what's causing your remaining error. That said, it shouldn't be necessary - vim-plug doesn't use the native package system, and (per the init.vim snippet you sent) you're not even lazy-loading iron.nvim.
Since you're using vim-plug, there's one other sanity check: Do you call call plug#end() after your Plug 'Vigemus/iron.nvim' line but before your luafile ... line? iirc (it's been a while since I used vim-plug) that's necessary in order for plugins to actually be loaded.
Also, make sure you've deleted the directory from your attempt to install iron.nvim with the native package functionality.

Thank you!  Moving the luafile line outside the plugin section was the solution.  And, of course, I no longer needed a packadd line anywhere.


Docs link to friscv is broken

Hi! I was excited to discover Filament, and was looking for a worked example larger than the ALU in the tutorial.
Unfortunately the friscv design linked from the homepage is a 404, and I can't find it elsewhere in the repo.
Thought I'd let you know in case it broke silently.

Ah, thanks for letting us know! We moved it under the apps/ directory which cause the link to break.

Ah, I expected it under examples/ and didn't check apps. What's the difference between an app and an example?

The examples/ directory contains stuff that is used in the documentation examples (https://filamenthdl.com/docs/lang/tutorial.html#saving-values-for-the-future) while apps/ contains bigger designs

Thanks @Timmmm! We need to revamp the website with the new compiler + syntax anyways so will open a new issue about it.


declare addTestContext in Cypress namespace

Is your feature request related to a problem? Please describe.
My issue was that my cypress project written in typescript did not recognize addTestContext()

Describe the solution you'd like
Declare the function;
declare namespace Cypress {
    interface Chainable {
        addTestContext(context: string | object): void;
    }
}

Describe alternatives you've considered
Update doc/readme to include instruction on typescript declaration for TS users
Additional context
The addTestContext seems not to be documented in this repository documentation and could use a mention nonetheless.
I'll happily make a PR myself, just want your input on the solution. And if you have a preference where to declare it should you agree to the solution :)

I think you can create types file like https://github.com/testing-library/cypress-testing-library/blob/main/types/index.d.ts
Also it will be good to add it to the docs
Feel free to create a PR (:

@LironEr
Submitted PR: https://github.com/LironEr/cypress-mochawesome-reporter/pull/131

Thanks @joakim-sch
Released in v3.3.0


gpt-train----------error

Global seed set to 1234
Traceback (most recent call last):
File "/home/anthony/work/third/GPT-SoVITS/GPT_SoVITS/s1_train.py", line 171, in
main(args)
File "/home/anthony/work/third/GPT-SoVITS/GPT_SoVITS/s1_train.py", line 110, in main
trainer: Trainer = Trainer(
File "/home/anthony/miniconda3/envs/p10/lib/python3.10/site-packages/pytorch_lightning/utilities/argparse.py", line 348, in insert_env_defaults
return fn(self, **kwargs)
File "/home/anthony/miniconda3/envs/p10/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 420, in init
self._accelerator_connector = AcceleratorConnector(
File "/home/anthony/miniconda3/envs/p10/lib/python3.10/site-packages/pytorch_lightning/trainer/connectors/accelerator_connector.py", line 183, in init
self._check_config_and_set_final_flags(
File "/home/anthony/miniconda3/envs/p10/lib/python3.10/site-packages/pytorch_lightning/trainer/connectors/accelerator_connector.py", line 317, in _check_config_and_set_final_flags
raise MisconfigurationException(
lightning_fabric.utilities.exceptions.MisconfigurationException: Precision '16-mixed' is invalid. Allowed precision values: ('64', '32', '16', 'bf16', 64, 32, 16)

Hi @anthonyyuan ,
I got the same error when running "1Bb-GPT training", may I know how to fix it?

Hi @anthonyyuan , I got the same error when running "1Bb-GPT training", may I know how to fix it?

@LeoHsu0802 Hi, I also encountered the same error. My reason is that the version of pytorch-lightning is too low, and the error can be solved by upgrading pytorch-lightning. (pip install pytorch-lightning==2.2.1)


Stop animation before destroy map

If create and remove map very quickly, animation stuck in a loop with exception:
"TypeError: Cannot read property _leaflet_pos of undefined\n    at getPosition (http://local/js/app/vendor/leaflet-1.2.0.js?t=:2713:12)\n    at NewClass._getMapPanePos (http://local/js/app/vendor/leaflet-1.2.0.js?t=:4308:10)\n    at NewClass.containerPointToLayerPoint (http://local/js/app/vendor/leaflet-1.2.0.js?t=:3891:39)\n    at NewClass.containerPointToLatLng (http://local/js/app/vendor/leaflet-1.2.0.js?t=:3905:25)\n    at NewClass._update (http://local/js/app/vendor/leaflet-1.2.0.js?t=:5346:9)\n    at NewClass.fire (http://local/js/app/vendor/leaflet-1.2.0.js?t=:588:11)\n    at NewClass._onPanTransitionStep (http://local/js/app/vendor/leaflet-1.2.0.js?t=:4415:8)\n    at NewClass.fire (http://local/js/app/vendor/leaflet-1.2.0.js?t=:588:11)\n    at NewClass._runFrame (http://local/js/app/vendor/leaflet-1.2.0.js?t=:2904:8)\n    at NewClass._step (http://local/js/app/vendor/leaflet-1.2.0.js?t=:2890:9)"

Thank you!

Hello!!!
First of all, thanks @dnepromell for your Pull Request and thanks @mourner for your job.
Just a couple of things:

The code is not released in NPM. I downloaded the last version (v1.2.0) and I've got the same problem :cry: . I modified the code in node_modules\leaflet\dist\leaflet-src.js with these changes.
But, I'd got a new problem with the _animateZoom function in these two lines:

addClass(this._mapPane, 'leaflet-zoom-anim');
this.fire('zoomanim', {  ... });

This is a problem if you're redirecting to another page if the transition is running with a flyTo with animated true.
I was thinking about creating a new Pull Request to modify the function this way:
	_animateZoom: function (center, zoom, startAnim, noUpdate) {

		if(!this._mapPane) return;

		Bla, bla, bla...

What do you think about it? Should I make the Pull Request?
Best regards and thanks for your attention.
Aaron Planell

@aaronplanell if this is a new issue, please open a new issue to discuss it.

Hello @perliedman ,
Thanks for your answer. I will open a new pull request fixing the issue. Anyway, it was surprising to me to have seen that the master branch has different code than the NPM package :package: :disappointed:
Best regards.

Hello @perliedman !
OK. I understand it. Thanks a lot for your work! :smile:
Best regards.


Mapping DSL match/reject based on child node.

Introduces a syntax for matching or rejecting nodes based on the
presence of a child node.
For instance:
record.field('mods:subject').reject_child('mods:hierarchicalGeographic')

Closes https://issues.dp.la/issues/8207

👍


Request taking several seconds times out, throwing an error.

I am trying to run a query to the following URL: https://tatoeba.org/en/api_v0/search
This request is a bare, unparametrised search query over the Tatoeba corpus. It is expected to take a few seconds to complete given the sheer size of the batch of results, but it's not expected to error because of that, which is what happens when it is dispatched.
The code I used to dispatch a request to that URL is as follows:
let request =
  api.new_request(endpoint: "/search")
  |> request.set_method(Get)
  |> request.set_query(to_query_parameters(options))

use response <- result.try(httpc.send(request) |> result.nil_error)
use payload <- result.try(
  json.decode(response.body, dynamic.dynamic) |> result.nil_error,
)

where request at the point of being sent looks as follows:
Request(Get, [#("user-agent", "tatoeba.gleam (https://github.com/vxern/tatoeba)")], "", Https, "tatoeba.org", None, "/eng/api_v0/search", Some(""))

After a few seconds, the request times out, throwing an error:
    %% Unknown error: {timeout,
                   #{stacktrace =>
                         [{httpc,handle_answer,3,
                              [{file,"httpc.erl"},{line,865}]},
                          {httpc,handle_request,9,
                              [{file,"httpc.erl"},{line,809}]},
                          {gleam@httpc,dispatch_bits,2,
                              [{file,
<EMAIL_ADDRESS>                               {line,71}]},
                          {gleam@httpc,dispatch,2,
                              [{file,
<EMAIL_ADDRESS>                               {line,131}]},
                          {tatoeba@search,run,1,
                              [{file,
<EMAIL_ADDRESS>                               {line,106}]},
                          {eunit_test,'-mf_wrapper/2-fun-0-',2,
                              [{file,"eunit_test.erl"},{line,273}]},
                          {eunit_test,run_testfun,1,
                              [{file,"eunit_test.erl"},{line,71}]},
                          {eunit_proc,run_test,1,
                              [{file,"eunit_proc.erl"},{line,543}]}]}}
  undefined
    %% Unknown error: {blame,[1]}

Thank you

Upon further inspection, I've realised that it wasn't httpc that was responsible for these timeouts, but rather gleeunit that timed out tests after a certain period of time (I was running this code inside a test case).
Not an httpc issue, closing.


Workflow tests

Originating Project/Creator

Affected Component

Affected Architectures(s)

Related Issue(s)

Has Unit Tests (y/n)

Builds Without Errors (y/n)

Unit Tests Pass (y/n)

Documentation Included (y/n)

Change Description
Added tests to workflow
Rationale
Test code to ensure fprime-tools is not broken by future updates
Future Work
Add tests for cookiecutter and backwards compatibility

@aidan-wagner Can you rebase this now that the cookiecutter changes have been merged in?


[BUG] Address being generated in 1.0.1beta is with wrong prefix.

Seid version
❯ seid version --long | head
name: sei
server_name: <appd>
version: 1.0.1beta
commit: 7eae422e9ab3db380c539731785221287ffca140
build_tags: netgo ledger,
go: go version go1.18 linux/amd64
build_deps:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>

Describe the bug
Address being generated in 1.0.1beta is with wrong prefix for the version: 1.0.1beta. This was fixed in later vesison but installation guide wasn't updated.
To Reproduce
Steps to reproduce the behavior:

install:

git clone https://github.com/sei-protocol/sei-chain
cd sei-chain
git checkout origin/1.0.1beta-upgrade
make install
mv $HOME/go/bin/seid /usr/bin/

Try adding keys: seid keys add test1
Reponse will be some like:

❯ seid keys add test1

- name: test1
  type: local
  address: cosmos1ww3mnug6wpnajs00e2wdaqjkt473kxfxwmhg5z
  pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AvamEV89rbsgH7MfUsArg+qOSdhzMC1VlzMZZEHqmxNH"}'
  mnemonic: ""

Expected behavior
It should show address as seiXXXX.
Screenshots
If applicable, add screenshots to help explain your problem.

@0xankit please use latest release which is 3.0.3


Api module library slack

:rocket: PR was released in<EMAIL_ADDRESS><EMAIL_ADDRESS>:rocket:

:rocket: PR was released in<EMAIL_ADDRESS>:rocket:

:rocket: PR was released in<EMAIL_ADDRESS>:rocket:


Tip text correction

The quickstart text should reference the feature of the current page, and correctly name the quickstart linked.

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

#sign-off

@v-demjoh: I'm sorry - only the author of this article, @trevorbye, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off


tortoise: move rerun to background goroutine

Motivation
In order not to block the network progress rerun is moved to the background goroutine. The majority of the layers are handled in background on timer, and a small number of concurrent layers are applied when HandleIncomingLayer is called by the mesh.
after: https://github.com/spacemeshos/go-spacemesh/pull/2899
closes: https://github.com/spacemeshos/go-spacemesh/pull/2899
Changes

move tortoise rerun to a background thread

Test Plan
existing and manual tests
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors merge


Bugfix - Always loads in the on state and then transitions to the off state

Thank you for creating a beautiful looking bootstrap toggle button for angular. ❤ Before our team starts using it in our app I just wanted to fix the issue of the unnecessary animation from on to off when the model starts in the off position.
Summary

Fixes #2 by disabling animation of initial state.

Incidental Changes

Fixed minor presentation issues with bullet points in CONTRIBUTING.md
Fixed minor linting issues preventing build from completing
Included bower in dev dependencies so contributors don't need to manually install this or have it installed globally

Thank you for your contribution, @codeandcats
This has already been fixed in latest versions.
I will be closing your PR.


Monero

Hello, how can i remade it to monero?

Hello, you may but please keep me in the credits :) Thanks.


Both GA and regular perf tests are failing

https://grpc-testing.appspot.com/job/gRPC_performance_experiment/2620/console
Looks like caused by "The 'System.Interactive.Async 3.0.0' package requires NuGet client version '2.12' or above, but the current NuGet version is '<IP_ADDRESS>'."
@nicolasnoble @sreecha

Updated NuGet.exe to 3.4.4-rtm-final on grpc-performance-driver node.

Tests are running again but results are still not uploaded to BigQuery.

Fixed in both branches.


add MPT support

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


File extension and binary support

This PR adds support for File Extensions and uploading Binary files (pngs and such).
File extensions is pretty trivial, however binary needs a type conversion from string to []byte in GORM.
I'll look into setting up migrations for that later.

i've tested here, awesome PR
thanks


[CodeCamp #1538]  Adopt mmeval's GradientError in mmediting

Motivation
Adopt mmeval's GradientError in mmediting
Modification
Modify the gradient_error.py file to support mmeval.
Evaluation test (dev-1.x)
Time cost 18:02 (from log)
20230109_162602.log

Evaluation test (this PR)
Time cost 16:03 (from log)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Please sign the CLA(Contributor License Agreement) @xuan07472


fix: make ConfigService global

Codecov Report

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

@@           Coverage Diff           @@
##           master      #64   +/-   ##
=======================================
  Coverage   87.81%   87.81%
=======================================
  Files          86       86
  Lines        2971     2971
  Branches      128      128
=======================================
  Hits         2609     2609
  Misses        324      324
  Partials       38       38

Continue to review full report at Codecov.

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


Bug fix for sample data tags not correct tag type

KeySummary

Abstract the changes made to JsonAdaptedTag toModelType method to the Tag constructor

Other things to note

The parsing of application status tag NOT_APPLIED needs to be decided on, as currently inputting ast/NOT_APPLIED results in an  error, but inputing ast/NOTAPPLIED creates the correct tag.

Codecov Report

Merging #75 (4947785) into master (5f9ffdb) will decrease coverage by 0.19%.
The diff coverage is 27.27%.

:exclamation: Current head 4947785 differs from pull request most recent head e6040f6. Consider uploading reports for the commit e6040f6 to get more accurate results

@@             Coverage Diff              @@
##             master      #75      +/-   ##
============================================
- Coverage     69.30%   69.11%   -0.20%
  Complexity      424      424
============================================
  Files            80       80
  Lines          1401     1405       +4
  Branches        148      148
============================================
  Hits            971      971
- Misses          385      389       +4
  Partials         45       45

Impacted Files
Coverage Δ

.../java/seedu/address/model/util/SampleDataUtil.java
23.07% <0.00%> (ø)

src/main/java/seedu/address/model/tag/Tag.java
60.00% <22.22%> (-23.34%)
:arrow_down:

...ain/java/seedu/address/storage/JsonAdaptedTag.java
100.00% <100.00%> (+20.00%)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM, also will it be better to put // Fallthrough in between the switch case statements?

LGTM, also will it be better to put // Fallthrough in between the switch case statements? (as per https://se-education.org/guides/conventions/java/intermediate.html#layout)

SGTM, will add


Misplaced scheduled rule

Describe the bug
This rule is a scheduled rule placed in Hunting Queries folder. Made some trouble for us when automating rule sorting...
To Reproduce
Take a look at this https://github.com/Azure/Azure-Sentinel/blob/e92286da7d185c99c6d30c2cb8c86bbeca1a99ba/Solutions/MicrosoftDefenderForEndpoint/Hunting Queries/MDE_Usage.yaml
ID: c63ae777-d5e0-4113-8c9a-c2c9d3d09fcd

Hi @bittib010, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 30-10-2023. Thanks!

Here is anotherone: 5a9ccb48-1316-46e1-89d1-aca0355c305e this one is also missing severity

Hi @bittib010, regarding 5a9ccb48-1316-46e1-89d1-aca0355c305e   the Severity is optional for Hunting queries.
https://github.com/Azure/Azure-Sentinel/wiki/Query-Style-Guide#severity
Thanks!

Hi @bittib010, We have raised the PR with the changes - https://github.com/Azure/Azure-Sentinel/pull/9318, the changes will reflect once PR get Merged. Thanks!

Hi @bittib010 ,Still waiting for the above PR merged and will update you once deployment formalities completed.


Optionally install packages for version 11g

Hello.
Thank you for the PR. I found one potential problem: fix_oracle_lib_path is not needed and was dropped for 12g in PR #7. I believe it is still needed for 11g, isn't it?

I reinstalled using new formula without fix_oracle_lib_path and it worked fine; to simulate clean slate I removed all instantclient files from Cellar. Do you think there might still have been some dynamic links leftovers from the previous install and thus it worked fine?

We don't need fix_oracle_lib_path for 11 too. I have tested the installation process on another machine which never had any version of instant client installed before. It is sufficient just to link like we do for 12.


Formatting

I figured.  I think we should add Scalafmt as a plugin, decide on a config, and add the formatting as an CI hook to enforce a consistent style across the repo.
Originally posted by @myedibleenso in https://github.com/lum-ai/odinson/issues/243#issuecomment-771161912

@myedibleenso wrote the above and @danebell responded with :+1: and then it was brought up briefly by @BeckySharp at the meeting of Feb. 8 in which it suggested that I look into it a little more.
Gus, even knowing the name of this thing, probably knows about it more than I do, so he should chime in.  Also notice that in the .gitignore file of this project, it looks like George inserted the lines
# scala formater
.scalafmt.conf

so some people may have been using this already.
I made a branch scalafmt in which the tool is configured to work for IntelliJ and sbt in various ways.  One can use
Opt + Cmd + L (macOS)
Ctrl + Alt + L (other)

to format the current file.  Perhaps the people working on odinson would like to try it and check out the format and decide whether it is worth pursuing.
If it is, we would need to do things like configure it for an agreed upon format, see if there is a way to override the settings when needed*, set IntelliJ and other tools to format on save, run the formatter over all the code and make one PR with only formatting changes, figure out how to integrate it with GitHub or some other process, etc.  I'll be looking into the latter things unless someone says they already know how to do them.
*For instance, I see that someone has carefully formatted this code in a kind of table
      first.docIndex, // luceneDocId
      docId,          // luceneSegmentDocId
      docBase,        // luceneSegmentDocBase
      idGetter,
      first.name,     // foundBy

and it might be worth preserving that kind of thing.
FWIW I'm happy with how well we've worked together and how neat, consistent, flexible, considerate we've been with shared code and projects. :grinning:

I don't really like that the formatter seems to need to run on the developer's machine.  It would be nice to run it on the server.

at least in the past, in a diff team, we were able to add a pylinter to the
continuous integration thing or whatever so that your PR would be checked
for formatting too online (travis?)
On Thu, Feb 11, 2021 at 9:54 AM Keith Alcock<EMAIL_ADDRESS>wrote:

External Email
I don't really like that the formatter seems to need to run on the
developer's machine. It would be nice to run it on the server.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lum-ai/odinson/issues/250#issuecomment-777637936, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJCPCOFGIJGRMD6MVH4XTTS6QDVVANCNFSM4XMJ33NA
.

There's a https://github.com/marketplace/actions/scalafmt-action that I hadn't seen before.

Yes, after adding the plugin, we can configure it to run on compile and/or run it as part of CI.  That part is pretty straightforward.  The hard part is deciding on a style! : )

I don't really like that the formatter seems to need to run on the developer's machine. It would be nice to run it on the server.

@kwalcock , running only as a CI hook adds some complexity related to committing formatting changes using a bot account.  I've set things up now to check that the formatting was run, but it is ultimately still up to the contributor (or the PR reviewer) to run the formatting task locally and commit any changes in order for all of the CI checks to pass.  I mentioned this in the PR, but it looks like the recommended workflow is to configure your editor/IDE to run scalafmt on save.  Apparently running the task on compile is not advised for performance reasons.

Thanks.  Glad I'm not the PR person.

It looks like they may have taken the vertical alignment of comments, as mentioned above, into consideration based on https://github.com/scalameta/scalafmt/issues/1242 .

From https://scalameta.org/scalafmt/docs/configuration.html:
There is a possibility to override scalafmt config for a specific code with // scalafmt: {} comment
Disable formatting for specific regions of code by wrapping them in // format: off blocks

See #252.


PAAC-86: Made trigger amount field id unique within the page.

Updated threshold yes/no and input pages read values from configuration.
Updated threshold yes/no and input to save values unique to the user journey year.

Merged.


Catch exceptions thrown by W3Techs collect

Catch any exceptions thrown during data collection and rename loggers during collection process after the relevant namespace.

Looks good to me. I'm a little hesitant to place DB connection stuff in a try block, but it seems the philosophy here is, "just run and have the operator watch the logs." and, honestly, for a language without modern type checking, I am fine with that. merged.

@elsehow Thanks for the merge! yes, the philosophy is to log everything so the operator can see what's going on (or in our case, aggregate those logs into our log server). Out of interest, what's your reservation as to putting DB connection code into a try block?


Added doc in inception_resnet_v2 for decode_prediction() and preprocess_input()

Fixes #37021.
Since there is no doc till now.

Same comment about merging all of these in a single PR in the future

Same comment about merging all of these in a single PR in the future

Sure @mihaimaruseac.


Doc: use authentic example for cherry-picking for stable

Current example is "nixos: Refactor the world."
I think such a change should in most cases not be backported. I think most of the time, backports are fixes or package updates which fixes problems.
Also use a reason in example that can in most cases just be copy and pasted, like:
"Reason: Fix needed in stable release too"
The current example says that, but in a funny or offensive manner:
"Reason: I just had a gut feeling that this would also be wanted by people from
the stone age."
This don't add any value here, might even confuse users and should probably not be accepted in a real PR.
https://nixos.org/nixpkgs/manual/#submitting-changes-stable-release-branches

I just stumbled across this. This is fixed in current documentation, this issue can be closed.

oh yeah, i fixed that :smile:


ERROR: Could not build wheels for lang-sam, which is required to install pyproject.toml-based projects

Instructions To Reproduce the 🐛 Bug:

I run the command

pip install -U git+https://github.com/luca-medeiros/lang-segment-anything.git

but get the error :
Building wheels for collected packages: lang-sam, groundingdino, segment-anything
  Building wheel for lang-sam (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for lang-sam (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [30 lines of output]
      Traceback (most recent call last):
        File "/home/vismod/anaconda3/envs/segment/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/vismod/anaconda3/envs/segment/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/home/vismod/anaconda3/envs/segment/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
        File "/tmp/pip-build-env-w3hevfp7/overlay/lib/python3.8/site-packages/poetry/core/masonry/api.py", line 56, in build_wheel
          return WheelBuilder.make_in(
        File "/tmp/pip-build-env-w3hevfp7/overlay/lib/python3.8/site-packages/poetry/core/masonry/builders/wheel.py", line 85, in make_in
          wb.build(target_dir=directory)
        File "/tmp/pip-build-env-w3hevfp7/overlay/lib/python3.8/site-packages/poetry/core/masonry/builders/wheel.py", line 121, in build
          self._copy_module(zip_file)
        File "/tmp/pip-build-env-w3hevfp7/overlay/lib/python3.8/site-packages/poetry/core/masonry/builders/wheel.py", line 232, in _copy_module
          to_add = self.find_files_to_add()
        File "/tmp/pip-build-env-w3hevfp7/overlay/lib/python3.8/site-packages/poetry/core/masonry/builders/builder.py", line 198, in find_files_to_add
          if self.is_excluded(
        File "/tmp/pip-build-env-w3hevfp7/overlay/lib/python3.8/site-packages/poetry/core/masonry/builders/builder.py", line 144, in is_excluded
          if exclude_path.as_posix() in self.find_excluded_files(fmt=self.format):
        File "/tmp/pip-build-env-w3hevfp7/overlay/lib/python3.8/site-packages/poetry/core/masonry/builders/builder.py", line 112, in find_excluded_files
          vcs_ignored_files = set(vcs.get_ignored_files())
        File "/tmp/pip-build-env-w3hevfp7/overlay/lib/python3.8/site-packages/poetry/core/vcs/git.py", line 340, in get_ignored_files
          output = self.run(*args)
        File "/tmp/pip-build-env-w3hevfp7/overlay/lib/python3.8/site-packages/poetry/core/vcs/git.py", line 372, in run
          subprocess.check_output(
        File "/home/vismod/anaconda3/envs/segment/lib/python3.8/subprocess.py", line 415, in check_output
          return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
        File "/home/vismod/anaconda3/envs/segment/lib/python3.8/subprocess.py", line 516, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['git', '--git-dir', '14:55:53.637805 git.c:439               trace: built-in: git rev-parse --show-toplevel\n/tmp/pip-req-build-y5hh1atw/.git', '--work-tree', '14:55:53.637805 git.c:439               trace: built-in: git rev-parse --show-toplevel\n/tmp/pip-req-build-y5hh1atw', 'ls-files', '--others', '-i', '--exclude-standard']' returned non-zero exit status 128.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for lang-sam
  Building wheel for groundingdino (setup.py) ... done
  Created wheel for groundingdino: filename=groundingdino-0.1.0-cp38-cp38-linux_x86_64.whl size=3894296 sha256=babeb3fe546ebc022b53ce9e2cd9c2e6e2309792f384e48d5ba7d5bab3138703
  Stored in directory: /tmp/pip-ephem-wheel-cache-f7dkjaf5/wheels/d3/f5/df/db4a813287ee7ae962a814f62e14d1e48173cad8f2f9100e9b
  Building wheel for segment-anything (setup.py) ... done
  Created wheel for segment-anything: filename=segment_anything-1.0-py3-none-any.whl size=36587 sha256=9f826654d1f77bca918a052243539bf96c9467538d418690bf557b29a0c4bcf7
  Stored in directory: /tmp/pip-ephem-wheel-cache-f7dkjaf5/wheels/b0/7e/40/20f0b1e23280cc4a66dc8009c29f42cb4afc1b205bc5814786
Successfully built groundingdino segment-anything
Failed to build lang-sam
ERROR: Could not build wheels for lang-sam, which is required to install pyproject.toml-based projects

Expected behavior:
how can I fix the bug?
Environment:
Python: 3.8.16
torch: '2.0.0+cu117'
torchvision: '0.15.1+cu117'

+1 Experienced a similar error while trying install.

use cuda 11.5 instead of 11.7 (-> & <-)

Oh, so suppose cuda 11.8 is out to?

You still need a setup.py file alongside the .toml file.
Refer to this solution here that describes well how to do it 👉 : https://stackoverflow.com/a/62983901/6786975

You still need a setup.py file alongside the .toml file. Refer to this solution here that describes well how to do it 👉 : https://stackoverflow.com/a/62983901/6786975

The issue here is building wheels, and specifically in my case, it has a setup.py

Also getting this error and none of the suggested solutions have worked for me.
I also tried removing the -U flag included in the README setup and it fixed this issue, but created other dependency errors.

Installing GroundingDINO before triggering the install of this package solved the issue for me for Python 3.10. GroundingDINO installation was not straightforward but works if you install torch using this method: https://github.com/IDEA-Research/GroundingDINO/issues/114#issuecomment-1586489432.

Has anyone been able to solve this issue? To me it looks like a dependency problem but I have hard time figuring out which Python, torchvision and CUDA versions to pick for this repository to work without issues.

Just sharing my my installation process:
Environment: ubuntu 22.04.3 python3.8 cuda 11.8
pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu118
git clone https://github.com/IDEA-Research/GroundingDINO.git
cd GroundingDINO/
pip install -e .

return to the project directory
git clone https://github.com/luca-medeiros/lang-segment-anything && cd lang-segment-anything
pip install -e .

i've tried conda\pip\poety and spent nearly a week on this....😭
Is there a way to pack it as a docker? It may helps a lot

@Wenbobobo mind uploading your specs and cuda version?

I successfully installed and ran the inference on windows, here are my installation steps and the inference scripts
conda creat --name text_sam python=3.11 conda activate text_sam pip install torch==2.4.1 torchvision==0.19.1 --extra-index-url https://download.pytorch.org/whl/cu124 git clone https://github.com/luca-medeiros/lang-segment-anything && cd lang-segment-anything
then edit requirements.txt， replace uvloop as winloop
continue  run commnd will succeed
pip install -e .
and my inference.py is
`from PIL import Image
from lang_sam import LangSAM
import numpy as np
import os
import traceback
from lang_sam.utils import draw_image
def process_image(input_image_path: str):
try:
# 读取输入图像
image_pil = Image.open(input_image_path).convert("RGB")
    # 设置文本提示
    text_prompt = "roof."

    # 进行预测
    results = model.predict([image_pil], [text_prompt])
    results = results[0]

    # 将图像转换为 NumPy 数组
    image_array = np.asarray(image_pil)

    # 绘制结果图像
    output_image = draw_image(
        image_array,
        results["masks"],
        results["boxes"],
        results["scores"],
        results["labels"],
    )

    # 将 NumPy 数组转换为 PIL 图像并保存为 RGB 格式
    output_image = Image.fromarray(np.uint8(output_image)).convert("RGB")

    # 获取输入图像文件名（不包含扩展名）和路径
    file_name = os.path.splitext(os.path.basename(input_image_path))[0]
    file_dir = os.path.dirname(input_image_path)

    # 设置保存的文件路径（与输入文件同名但不同扩展名）
    output_file = os.path.join(file_dir, f'{file_name}_combined_mask.png')

    # 保存结果图像
    output_image.save(output_file)
    print(f"Image saved as {output_file}")

except:
    traceback.print_exc()

加载模型
model = LangSAM()
调用函数并传入输入图像路径
process_image(r"assets\roof.tif")`
my blog with more detail https://zhuanlan.zhihu.com/p/1612239029?utm_psn=1830308740735328256


Support buttons / sliders you can press during the simulation

It would be awesome to have buttons and sliders that you can modify during the simulation. Like triggering some event or policy, or modifying some value to see how the dynamic or balance in the system changes.
In NetLogo:

Yes that would be great. Do you suggest adding them as part of the definition or interactively?

I think both if fine, I'm slightly leaning towards definition. That way everything is still (defined by) plain Python code.


Authorization for AspDotNetCore websites

Default configuration of web.config does not work with aspdotnetcore website.
You need to modify file Web_Config.xml. Append this code after <staticContent> section:
    <handlers>
      <remove name="aspNetCore" />
    </handlers>

Thanks for the heads up!


"Incompatibility" issue when trying to run a script

Hi @mpetuska!
I'm giving ktx a try by running:
> ktx install https://raw.githubusercontent.com/krzema12/PersonalConfigs/master/scripts/removeLocalMergedBranches.main.kts --alias=remove-merged-branches

It's a script I've been using for a year now.
This installation completes with success - nothing on stdout, 0 exit code.
Checking ~/.ktx dir:
> ll ~/.ktx/bin
total 0
lrwxr-xr-x  1 piotr  staff    60B Jan 19 09:13 remove-merged-branches@ -> /Users/piotr/.ktx/scripts/removeLocalMergedBranches.main.kts
> head /Users/piotr/.ktx/scripts/removeLocalMergedBranches.main.kts
#!/usr/bin/env -S ktx execute

@file:DependsOn("org.eclipse.jgit:org.eclipse.jgit:<IP_ADDRESS>612231935-r")

import org.eclipse.jgit.api.Git
import org.eclipse.jgit.api.ListBranchCommand
import java.io.File
import kotlin.system.exitProcess

fun red(text: String) = "\u001B[31m$text\u001B[0m"

Everything looks as expected.
I'd expect that calling remove-merged-branches runs the script, but it doesn't work:
-bash: remove-merged-branches: command not found

Let's try to call the symlinked script:
> ~/.ktx/bin/remove-merged-branches
Removing /Users/piotr/.ktx/bin/remove-merged-branches due to incompatibility with<EMAIL_ADDRESS>Please reinstall it.
Usage: ktx execute [OPTIONS] TARGET [ARGS]...

Error: Invalid value for "TARGET": File "/Users/piotr/.ktx/bin/remove-merged-branches" does not exist.

Also, the symlink disappeared:
> ll ~/.ktx/bin
total 0

I'm on MacBook Pro M2, Ventura 13.1, bash 3.2.57(1)-release.

Can you try uninstalling ktx, installing the latest version and rebooting your device? 0.1.0 had some issues with migrations I'm affraid...

Unfortunately, it keeps happening. Is there a way I provide some logs to help you investigate?

No logging just yet I'm affraid, but I can reproduce it fairly easily. As a temp fix you could try creating ~/.ktx/.version file and putting 0.1.1 in there. That should prevent those false-positivevmigrations.

Something's still off:
> ll ~/.ktx/bin/
total 0
> ktx install https://raw.githubusercontent.com/krzema12/PersonalConfigs/master/scripts/removeLocalMergedBranches.main.kts --alias=remove-merged-branches
> echo "0.1.1" > ~/.ktx/.version
> ~/.ktx/bin/remove-merged-branches
Removing /Users/piotr/.ktx/bin/remove-merged-branches due to incompatibility with<EMAIL_ADDRESS>Please reinstall it.
Usage: ktx execute [OPTIONS] TARGET [ARGS]...

Error: Invalid value for "TARGET": File "/Users/piotr/.ktx/bin/remove-merged-branches" does not exist.

By the way, are you installing via script or sdkman?

SDKMAN.

0.1.2 is out for you to try.

Works! :tada: Thanks!


fix: starterWithSecrets -> starter-with-secrets

When using the install-with-secrets option for nixos the download_config function attempts to move a folder named 'starterWithSecrets' which cannot be found. This folder is now called starter-with-secrets. This updates the download_config function to move the correct folder.
Thanks for providing a great starting point!

Thanks for finding and fixing this bug!


Dark Mode Feature Added

->This PR Adds The Dark Mode Feature <-
Fixes  #14
##Before

##After

@geek-nikhil please correct the spelling of true weather its tru weather

@1010varun please check the changes

@geek-nikhil its not attractive, kindly make some changes

@geek-nikhil please check for the failing test cases

@1010varun, I have updated the build file. What could be the reason for the error? Please try it once.

fsrgfnzrskgnrskjg

fix this

solved


DVCLive API code snippet in notebooks

In the extension -> setup -> experiments we have the following example under Python API:
import random
import sys
from dvclive import Live

with Live(save_dvc_exp=True) as live:
    epochs = int(sys.argv[1])
    live.log_param("epochs", epochs)
    for epoch in range(epochs):
        live.log_metric("train/accuracy", epoch + random.random())
        live.log_metric("train/loss", epochs - epoch - random.random())
        live.log_metric("val/accuracy",epoch + random.random() )
        live.log_metric("val/loss", epochs - epoch - random.random())
        live.next_step()

This works nicely if you copy it to a script and run it from the command line. But if people expect to use this in a jupyter notebook (which they might with DVCLive) and then copy it to a cell and run it, this will fail since no arguments are received.
Maybe it would make sense to create an example which can be run in notebooks also? Just replacing sys.argv[1] with a positive integer constant should do it.

See also https://dvc.org/doc/start/experiments/experiment-tracking?tab=General-Python-API#running

The same snippet is also in Studio: https://github.com/iterative/studio/blob/492ba930d81cf8460c368286b26df4cb67957c07/frontend/src/composite/ProjectExperimentingGuide/GetStartedTabs.tsx#L30

@tibor-mach there is more context/discussion in https://github.com/iterative/studio/issues/6422 / https://github.com/iterative/dvclive/pull/635 PTAL. If you have strong opinions contributions are welcome. Code for the extension is here: https://github.com/iterative/vscode-dvc/blob/c0cc75c9487913136355f9dd015965065cf27869/webview/src/setup/snippets/pythonApi.py#L1
and dvc.org is here:
https://github.com/iterative/dvc.org/blob/main/content/docs/start/experiments/experiment-tracking.md#L92
Studio link is shown above.

Thanks @mattseddon !
I agree with @omesser (this comment) especially on the sys.argv.
The first thing I tried without thinking about the snipped (or even really reading it, frankly) was to copy-paste it into a notebook and run it.
Obviously, it fails and with an error which is confusing at first (only at this point did I start actually reading the code of the snippet).
Personally I would just go with Oded's example  and perhaps just slightly simplify it for compactness in VS code.
WDYT?
If you agree I can make a PR (probably sometimes next week though)

@tibor-mach I haven't seen that anyone else has strong opinions on the snippets, so I think you could make those changes and they will likely be approved without too much discussion. I think the main reason the previous discussion died was that it may not be that high impact to be worth the effort. If you have the time and there's nobody who is opposed to the changes, feel free to go for it!

@tibor-mach it doesn't seem like this is a priority. Closing for now.


Fix undefined cli flags override config

When cli flags are not passed their value is undefined and they override the config file options.
This branch fixes this behaviour.
Fixes #54

Looks good. Just need a CHANGELOG update and for some reason your commit isn't associated with your user:

@simonsmith can you restart the appveyor build?

Restarted. I think I can add you to the Appveyor project if you let me know preferred email.

thanks @simonsmith ! can I merge this?

Yup


feat(relay): add esm support

Mind elaborate what this PR exactly does? description / test cases?

This PR lets users to use module: 'esm' option to  emit top level import and its reference instead of require() calls.
I'll add test cases this evening.

Well, just realized it had no test code at all. It feels a bit hard to write all the test codes by myself. Can we continue the review with the current state? @kwonoj

I'd be hesitant to review PR without having any proper description or test cases to explain what it does exactly.

This PR lets users to use module: 'esm' option to emit top level import and its reference instead of require() calls.

I thought this is enough for describing what this PR does. Do you need any more details?

This PR lets users to use module: 'esm' option to emit top level import and its reference instead of require() calls.

The reason I asked for test case is it is a snapshot to show pseudocode what it looks like for the input / outputs. Single line text doesn't seem to describe it precisely, while I can implicitly see those. After all, having proper PR body serves a documentation for the future search context if we need to look back history, and for me it's hard to say current PR description / body fulfills those purpose.

The current version of Relay plugin receives this input:
import { graphql } from 'relay'

const query = graphql`
  query MyQuery {
    foo { bare }
  }
`

and emits this:
import { graphql } from 'relay'

const query = require('MyQuery__graphql')

However, this is indeed ESM incompatible. Therefore this PR adds new module option to let users change the output to be ESM-compatible, like this:

Thanks for the clarification. This helps a lot.
Random thought: what if we honor swcrc's module.type config instead of plugin specifies duplicated option for it again? say, like
//.swcrc
{
 "module": {
   // this controls whole transform to emit either cjs or preserve es6, plugin will honor this
  // ignore (or fallback) not yet supported types (amd, etcs) into cjs for now
   "type" : 'commonjs' | 'es6'
 }
}

This'll probably need upstream swc/core change though, as it needs to deliver swc config into plugin.

That sounds very reasonable. What were the previous opinions from the team about exposing the whole swcrc to plugins? Can it be done without sacrificing anything serious? If there's nothing or tiny problems, I guess it'll be much better to go that way.

What were the previous opinions from the team about exposing the whole swcrc to plugins?

It was not included as there was no concrete use case for the first phase of implementation.

Can it be done without sacrificing anything serious?

Plugin will need to deserialize swcrc in addition to plugin's config, which would be small overhead. I wouldn't expect it's critical serious.

I'd then wait until that gets implemented.

Any updates on this ?
At present the plugin is not useable with typescript.
seems like its very close no ?

I think it's fine to use ESM imports unconditionally

That sounds reasonable. I'll look into it

Done! Can you review the changes again @kwonoj


nimble/host: Fix ble_gap_ext_adv_params_tx and rename variables

ble_gap_ext_adv_params_tx should check if PHY options != 0
rename variables for consistency.

AutoPTS Bot results:
Failed testsGAP     GAP/BROB/BCST/BV-04-C           FAILL2CAP   L2CAP/COS/ECFC/BV-01-C          BTP ERROR
Successful testsGAP     GAP/BROB/BCST/BV-01-C           PASSGAP     GAP/BROB/BCST/BV-02-C           PASSGAP     GAP/BROB/BCST/BV-03-C           PASSGAP     GAP/BROB/OBSV/BV-01-C           PASSGAP     GAP/BROB/OBSV/BV-02-C           PASSGAP     GAP/BROB/OBSV/BV-05-C           PASSGAP     GAP/BROB/OBSV/BV-06-C           PASSGAP     GAP/DISC/NONM/BV-01-C           PASSGAP     GAP/DISC/NONM/BV-02-C           PASSGATT    GATT/CL/GAC/BV-01-C             PASSGATT    GATT/CL/GAD/BV-01-C             PASSGATT    GATT/CL/GAD/BV-02-C             PASSGATT    GATT/CL/GAD/BV-03-C             PASSGATT    GATT/CL/GAD/BV-04-C             PASSGATT    GATT/CL/GAD/BV-05-C             PASSGATT    GATT/CL/GAD/BV-06-C             PASSGATT    GATT/CL/GAR/BI-01-C             PASSGATT    GATT/CL/GAR/BI-02-C             PASSGATT    GATT/CL/GAR/BV-01-C             PASSL2CAP   L2CAP/COS/CFC/BV-01-C           PASSL2CAP   L2CAP/COS/CFC/BV-02-C           PASSL2CAP   L2CAP/COS/CFC/BV-03-C           PASSL2CAP   L2CAP/COS/CFC/BV-04-C           PASSL2CAP   L2CAP/COS/CFC/BV-05-C           PASSL2CAP   L2CAP/COS/ECFC/BV-02-C          PASSL2CAP   L2CAP/COS/ECFC/BV-03-C          PASSL2CAP   L2CAP/COS/ECFC/BV-04-C          PASSL2CAP   L2CAP/LE/CPU/BV-01-C            PASS

FYI @rahult-github

@rahult-github we will rename opts to keep this consistent with primary_phy and secundary_phy members in that structure


Possibilitiy of injecting static routes?

Is there a possibility of adding static routes for the B525 through this tool? It's something definitely missing from the interface.

Hi @JesseCake - no it doesn't look like this feature is available via the API.
One option to do this would be to change the firmware and get root access.
There are instructions on how you can do this here: https://whrl.pl/RfZFtW.


[bug]: txt2img got error: Compel.init() got an unexpected keyword argument 'truncate_long_prompts'

Is there an existing issue for this?

[X] I have searched the existing issues

OS
macOS
GPU
mps
MacBookPro: intel CPU with an eGPU(RX 6600 8G)
VRAM
No response
What version did you experience this issue on?
09dfde0b
What happened?
After run git pull to  update invokeAI from e0405031 to 09dfde0b(the e0405031 is ok),
Failed to generate an image, it return the error:
TypeError: Compel.__init__() got an unexpected keyword argument 'truncate_long_prompts'

Screenshots
>> Image Generation Parameters:

{'prompt': 'a landscape and a cat [a cat]', 'iterations': 1, 'steps': 20, 'cfg_scale': 7.5, 'threshold': 0, 'perlin': 0, 'height': 512, 'width': 512, 'sampler_name': 'ddim', 'seed':<PHONE_NUMBER>, 'progress_images': False, 'progress_latents': True, 'save_intermediates': 5, 'generation_mode': 'txt2img', 'init_mask': '...', 'hires_fix': False, 'seamless': False, 'variation_amount': 0}

>> ESRGAN Parameters: False
>> Facetool Parameters: False
Compel.__init__() got an unexpected keyword argument 'truncate_long_prompts'

Traceback (most recent call last):
  File "/Users/ppt/Github/invokeAI/invokeai/backend/web/invoke_ai_web_server.py", line 1312, in generate_images
    self.generate.prompt2image(
  File "/Users/ppt/Github/invokeAI/invokeai/backend/generate.py", line 479, in prompt2image
    uc, c, extra_conditioning_info = get_uc_and_c_and_ec(
  File "/Users/ppt/Github/invokeAI/invokeai/backend/prompting/conditioning.py", line 37, in get_uc_and_c_and_ec
    compel = Compel(
TypeError: Compel.__init__() got an unexpected keyword argument 'truncate_long_prompts'

Additional context
The version update log:
(base) ppt@pptdeMacBook-Pro invokeAI % git pull
remote: Enumerating objects: 4567, done.
remote: Counting objects: 100% (1907/1907), done.
remote: Compressing objects: 100% (272/272), done.
remote: Total 4567 (delta 1633), reused 1834 (delta 1588), pack-reused 2660
Receiving objects: 100% (4567/4567), 21.90 MiB | 188.00 KiB/s, done.
Resolving deltas: 100% (3018/3018), completed with 330 local objects.
From https://github.com/invoke-ai/InvokeAI
   e0405031..09dfde0b  main                                -> origin/main
   33411ec7..3d1164f9  JPPhoto-symmetry-enhancements       -> origin/JPPhoto-symmetry-enhancements
 * [new branch]        Model-Mgmt-API-Updates              -> origin/Model-Mgmt-API-Updates
 * [new branch]        bugfix/fix-merge-crash              -> origin/bugfix/fix-merge-crash
 * [new branch]        bugfix/move-localisation-files      -> origin/bugfix/move-localisation-files
 * [new branch]        dev/pytorch2                        -> origin/dev/pytorch2
 * [new branch]        feat/lora-training                  -> origin/feat/lora-training
 * [new branch]        feat/node-cli-autocompleter         -> origin/feat/node-cli-autocompleter
 * [new branch]        feat/unipc-scheduler                -> origin/feat/unipc-scheduler
 * [new branch]        feat/vae_tiling                     -> origin/feat/vae_tiling
   cc4e00d9..d313ae1c  gh-pages                            -> origin/gh-pages
 * [new branch]        kyle0654/cancel                     -> origin/kyle0654/cancel
 * [new branch]        kyle0654/model-api                  -> origin/kyle0654/model-api
 * [new branch]        kyle0654/node_latents               -> origin/kyle0654/node_latents
 * [new branch]        packaging/remove-binary-installer   -> origin/packaging/remove-binary-installer
 * [new branch]        refactor/move-models-and-generators -> origin/refactor/move-models-and-generators
 * [new branch]        release/v2.3.3-rc1                  -> origin/release/v2.3.3-rc1
 * [new branch]        unstale-issues                      -> origin/unstale-issues
   33f832e6..610a1483  v2.3                                -> origin/v2.3
 * [new tag]           v2.3.1.post2                        -> v2.3.1.post2
 * [new tag]           v2.3.2                              -> v2.3.2
 * [new tag]           v2.3.2.post1                        -> v2.3.2.post1
 * [new tag]           v2.3.3-rc1                          -> v2.3.3-rc1
Updating e0405031..09dfde0b
Fast-forward

The error log:
>> Image Generation Parameters:

{'prompt': 'a landscape and a cat [a cat]', 'iterations': 1, 'steps': 20, 'cfg_scale': 7.5, 'threshold': 0, 'perlin': 0, 'height': 512, 'width': 512, 'sampler_name': 'ddim', 'seed':<PHONE_NUMBER>, 'progress_images': False, 'progress_latents': True, 'save_intermediates': 5, 'generation_mode': 'txt2img', 'init_mask': '...', 'hires_fix': False, 'seamless': False, 'variation_amount': 0}

>> ESRGAN Parameters: False
>> Facetool Parameters: False
Compel.__init__() got an unexpected keyword argument 'truncate_long_prompts'

Traceback (most recent call last):
  File "/Users/ppt/Github/invokeAI/invokeai/backend/web/invoke_ai_web_server.py", line 1312, in generate_images
    self.generate.prompt2image(
  File "/Users/ppt/Github/invokeAI/invokeai/backend/generate.py", line 479, in prompt2image
    uc, c, extra_conditioning_info = get_uc_and_c_and_ec(
  File "/Users/ppt/Github/invokeAI/invokeai/backend/prompting/conditioning.py", line 37, in get_uc_and_c_and_ec
    compel = Compel(
TypeError: Compel.__init__() got an unexpected keyword argument 'truncate_long_prompts'

Contact Details
No response

@FreeBlues you'll need to update compel - after doing git pull, activate the InvokeAI python venv and run pip install -e . from the InvokeAI root dir

@FreeBlues you'll need to update Compel - after doing git pull, activate the InvokeAI python venv and run pip install . from the InvokeAI root dir

@damian0815  Thank you for the advice,  I update the Conda env and get another error, it looks like easy to deal with.
The new error log:
Successfully built InvokeAI
Installing collected packages: InvokeAI
  Attempting uninstall: InvokeAI
    Found existing installation: InvokeAI 3.0.0+a0
    Uninstalling InvokeAI-3.0.0+a0:
      Successfully uninstalled InvokeAI-3.0.0+a0
Successfully installed InvokeAI-3.0.0+a0
(invokeai) ppt@pptdeMacBook-Pro invokeAI % python scripts/invoke.py --web --host <IP_ADDRESS>
OMP: Error #15: Initializing libomp.dylib, but found libiomp5.dylib already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://openmp.llvm.org/
zsh: abort      python scripts/invoke.py --web --host <IP_ADDRESS>
(invokeai) ppt@pptdeMacBook-Pro invokeAI %

hmm, sorry, no idea about that. when that's happened to me in the past it's been due to a misconfigured environment. you could try rebuilding your invokeai .venv folder ..? if you're still using conda note it's no longer being actively supported.

@damian0815 I think I got the reason,  both intel-openmp and llvm-openmp were installed,
here is a similar  issue
Do you mean the Conda will not be maintained?  It is a bad news.

https://invoke-ai.github.io/InvokeAI/installation/020_INSTALL_MANUAL/:
As of InvokeAI v2.3.0 installation using the conda package manager is no longer being supported. It will likely still work, but we are not testing this installation method.


test_evp_cipher_pipeline(): Fix memory leaks on errors

Fixes Coverity 1636844, 1636845

This pull request is ready to merge

Merged to the master branch. Thank you for the reviews.


[TACKLE-301]-Cover multi questionnaire

https://issues.redhat.com/browse/TACKLE-301
Based on https://github.com/konveyor/tackle-pathfinder/pull/106

Tested in PSI and checked it doesn't break any current functionality.


Translated Scout-app (Indonesian:id)

new translation Scout-app to Indonesian
let me know if there's any mistake for the document
https://docs.google.com/spreadsheets/d/16FtHGThz0-CBz_rf_9QO4zOV7oNmNk2BlwmtvKuzAhs/edit#gid=1510538720

@dhanyn10
Closing issue. This has been released in Scout-App v2.18.16.


markdown#render tries to parse HTML as JSON

When the method succeeds, the server returns an HTML fragment. Then we try to parse it as JSON, giving an error:
{ defaultMessage: 'Internal Server Error',
  message: 'Unexpected token <',
  code: '500' }

This should hopefully be fixed now: https://mikedeboer.github.io/node-github/#api-misc-renderMarkdown


Pass key/auth token via environment variable

In some cases, it is more desirable to pass the key/token via environment variable so that the key is not stored on disk.

Landed in v5.2.0


[BUG] Post-upgrade job uses "always" image pull policy

Describe the bug
I'm running longhorn in an offline environment without a private registry. All images are imported to the nodes. When I try to upgrade longhorn via helm, the post-upgrade pod stucks in ContainerCreating, given that the imagePullPolicy is Always.
To Reproduce
Steps to reproduce the behavior:

Import offline images to the nodes.
Install longhorn
helm upgrade the longhorn release
wait and check pods' status.

Expected behavior
Be able to upgrade successfully.
I would expect that the image.pullPolicy value applies to the job as well.
Log
N/A
Environment:

Longhorn version: v1.0.2
Kubernetes version: v1.18.9+k3s1
Node OS type and version: k3OS v0.11.1

https://github.com/longhorn/longhorn/pull/2007 should affect/fix this issue.

Reproduce steps:

Using Rancher, create a cluster of 1 node (with controller, etcd, worker roles) on Amazon EC2 provider. It is easier to control the network for a one-node cluster.
Wait until the cluster is created, SSH into the EC2.
Follow the document at https://longhorn.io/docs/1.0.2/advanced-resources/deploy/airgap/ to download all images of Longhorn v1.0.1, Longhorn v1.0.2, Longhorn master to the EC2
Log in to AWS console, find the EC2, open the security group setting for the EC2. We disconnect the EC2 from the internet by setting the  the security group as below:

Make sure to open the appropriate ports so that Rancher and your computer can communicate with the EC2
From Rancher, Install Longhorn v1.0.1
Create a volume, write some data, attached it to the node, verify everything is ok.
From Rancher, Upgrade Longhorn to v1.0.2. Verify that the Post-upgrade job is stuck since its imagePullPolicy=Always and it cannot pull the image.

@gitlawr Thank you for reporting.
We will fix this bug in the coming v1.1.0 release. When v1.1.0 is out, you can download v1.0.1 images to the cluster and update Longhorn.

Validation: PASSED


Remove hardcoded channels_last in efficientnet_v2 and replace with ba…

remove hardcoded data_format in efficientnet_v2 and replace with the data_format from the backend

What would be the best method for testing. What i have done so far is modify the keras that comes with tensorflow 2.13 to validate these minor changes.
I'm not sure how to test in Keras 3.0 it seems that all the tests in keras/applications/applications_test.py will fail with the backend set to channels_first. Is this something worth digging into to fix?

I'm not sure how to test in Keras 3.0 it seems that all the tests in keras/applications/applications_test.py will fail with the backend set to channels_first. Is this something worth digging into to fix?

Most will pass. Some will fail when the application isn't compatible with channels_first, e.g. ConvNeXt, DenseNet, EfficientNet, MobileNet.

I updated keras/applications/applications_test so that it will run all the tests on channels first and skip the architectures that do not support channels first (ConvNeXt, DenseNet, NASNet)
This led to also fix MobilenetV3 for channels first

Looks like CI is failing because the VM can't handle applications tests. Will have to test offline.

I was running it locally. But I can take a look and see if I can figure out why it would fail. Adding the extra tests does roughly double the time it would take to complete. Is it possible it is a timeout issue?

Since this is breaking head right now, can we do a rollback for this one?


docs: how to configure labelogenic Jira issues

@feanil: I'm hoping these docs are enough that you (or someone else) could help (for example) eduNext get set up for their Jira instance.  Not that I won't get them set up, but I want to leave enough information.

cc @mariajgrimaldi


Feature: Keep timestamps when extracting an archive

What feature or improvement do you think would benefit Files?
In Files, timestamps of the file from an extracted archive are set to the current date and time.
But in File Explorer and many other archivers, timestamps are set to the original date and time stored in the archive file.
I think Files should keep timestamps too.
Requirements
Timestamps are set to the original date and time stored in the archive file, like File Explorer and many other archivers.
Files Version
Version: <IP_ADDRESS>
Windows Version
Windows 11 22H2 22621.1105
Comments
No response

@hishitetsu thank you for your feedback, we're currently working on implementing this.


FPGA: Device and Driver

This PR adds devices and drivers with features of binding, unbinding and probing. The IpDevice class adds additional features for devices which correspond to an ip on the fpga, such as getting the ip name and baseaddress.
Used by https://github.com/VILLASframework/node/pull/783.

Lets only comment the headers to avoid duplication.

This will break consistency. If its decided to add descriptions/comments only to headers we need to do this in all source files of the repo. As this would be a larger change, we will need to do it in a separete MR. So for now, please keep consistent with the rest of the code base. Thanks :)


Log domain support and minor fixes

Adds support for the log domain and the possibility to create a custom logger
Adds the possibility to create a simple logger which does not print file/line info
Serializes test execution to avoid race conditions which lead to random failures (this is caused by tests not being thread-safe because of glib_sys::g_log_set_default_handler calls which mutate global state)

Converted to draft as I've a better implementation of domains pending.
Planning to send it in a couple of days.

This is ready for review.


JOSS review: notes on example usage

The demo mode on the docker image doesn't seem to work
Please provide the files necessary to run the example at https://basvanstein.github.io/GSAreport/1.0/usecases It is nicely described but providing the first json file would make it much easier to get started.
I am a bit confused by the example: you state that the user does not necessary need any python knowledge. But for running the SA in the quickstart you really need to know what you are doing even if it is a simple example. So GSA report is not running the SA for you? It is simplifying the sampling and the analysis but it is not running the experiment. I think that should be clarified in the project and paper description.
the last line in the quickstart as improper line breaks - a simple copy and paste does not work
After running the Qucikstart it provides me with the output: "Created a graph with 3 vertices and 1 edges.
Vertices are the top 5 ST values greater than 0.01.
Only S2 values (edges) greater than 0.0 are included." ok well, what does that tell me? The output folder is empty. How do I get the graphical report?

The demo mode on the docker image doesn't seem to work

What did you try exactly? It is important that when running Docker we also create a volume and specify the output path such that we see the generated files.
For example the following command:
#on linux:
docker run --rm -v `pwd`/output:/output ghcr.io/basvanstein/gsareport:main --demo -o /output

#on windows:
docker run --rm -v $pwd/output:/output ghcr.io/basvanstein/gsareport:main --demo -o /output

Runs the docker image with the "output" directory (of the current working directory) as a volume linked to the docker "/output" folder. The -o /output tells the program to store the resulting report in the output directory.
After this run you should see an html report in the output directory appear.

Please provide the files necessary to run the example at https://basvanstein.github.io/GSAreport/1.0/usecases It is nicely described but providing the first json file would make it much easier to get started.

The example files including the problem.json can be found in the data directory.

I am a bit confused by the example: you state that the user does not necessary need any python knowledge. But for running the SA in the quickstart you really need to know what you are doing even if it is a simple example. So GSA report is not running the SA for you? It is simplifying the sampling and the analysis but it is not running the experiment. I think that should be clarified in the project and paper description.

GSAreport is not running the evaluation (what you call experiment) of the real function / model you want to analyse. This is on purpose to make it flexible as the thing you want to analyse could be an R model, python ML model, executable etc. etc.
GSAreport provides 2 of the 3 steps, generating the required sample schemes (if you do not use a custom scheme) and running the SA algorithms to generate a report. I thought it was well described but I can add some sentences to put more emphasis on this aspect.

the last line in the quickstart as improper line breaks - a simple copy and paste does not work

Will check, which terminal do you use? It was written for Linux/mac and works slightly different for powershell for example (I can add a tab for windows as well)

After running the Qucikstart it provides me with the output: "Created a graph with 3 vertices and 1 edges.
Vertices are the top 5 ST values greater than 0.01.
Only S2 values (edges) greater than 0.0 are included." ok well, what does that tell me? The output folder is empty. How do I get the graphical report?

If you use a volume and set the output parameter of the program correctly it should generate a report inside the folder. If it does not appear it is likely that it generated the report in a folder you do not have a docker volume to. This could be related to your terminal environment as well. For example the last command from the quickstart (which you can run on the sample data as well) is for windows powershell:
docker run --rm -v $pwd/output:/output -v $pwd/data:/data ghcr.io/basvanstein/gsareport:main -p /data/problem.json -d /data -o /output

Hope this helps, let me know what terminal/OS you use that way I can provide more detailed instructions. I will also try to include these differences in the Documentation.

docker run --rm -v pwd/output:/output ghcr.io/basvanstein/gsareport:main --demo -o /output

The command works. But the output folder is empty. Also as a Linux user I expect "/output" to write something to root/output. It would be better to just write "output" without the "/".

The example files including the problem.json can be found in the data directory.
Then point the user to that file in the documentation. How should I know that?

GSAreport is not running the evaluation (what you call experiment) of the real function / model you want to analyse.
Maybe you could add a flow chart diagram to the documentation to make clear what the typical workflow is. And yes please state it clearly in the paper.

Will check, which terminal do you use? It was written for Linux/mac and works slightly different for powershell for example (I can add a tab for windows as well)
I am using the standard Gnome terminal. All other commands did work with copy paste except for this one.

windows powershell:
This then likely explains a lot ... could you please provide me with the correct command to that I can test that on a proper OS.
Please also state that in the user guide.

docker run --rm -v pwd/output:/output ghcr.io/basvanstein/gsareport:main --demo -o /output

The command works. But the output folder is empty. Also as a Linux user I expect "/output" to write something to root/output. It would be better to just write "output" without the "/".

Sorry but this is actually related to Docker knowledge and not the tool, it definitely points to the output folder in the root, but the root is the root of the Docker container which is linked via a volume to the output folder of the current working directory.
Hard to say why the output folder is empty in your case since I tested this on 3 different machines and for all 3 it worked, Ubuntu, Mac and Windows. Perhaps you did not give Docker permission to access your drive? I believe this issue is Docker related and not related to the actual application we propose. Perhaps instead you can try to run the python library instead which is easy to install on linux.

The example files including the problem.json can be found in the data directory.

Then point the user to that file in the documentation. How should I know that?

It states in the documentation "To start, you always need to provide the program with a problem definition. This definition can be supplied as json file, see also data/problem.json"
Perhaps you read over it, I can make it more clear by repeating it in the data section.

GSAreport is not running the evaluation (what you call experiment) of the real function / model you want to analyse.

Maybe you could add a flow chart diagram to the documentation to make clear what the typical workflow is. And yes please state it clearly in the paper.

Good idea, will do that.

Will check, which terminal do you use? It was written for Linux/mac and works slightly different for powershell for example (I can add a tab for windows as well)

I am using the standard Gnome terminal. All other commands did work with copy paste except for this one.

Thanks will check with Gnome.

windows powershell:

This then likely explains a lot ... could you please provide me with the correct command to that I can test that on a proper OS. Please also state that in the user guide.

For Linux that should be
docker run --rm -v `pwd`/output:/output -v `pwd`/data:/data ghcr.io/basvanstein/gsareport:main -p /data/problem.json -d /data -o /output

For Linux that should be

Well that did work! I don't know why this did not work for the demo mode then.


Added Button

Added a button for my webring entry.

I'm using Bear Blog as my host.
It's not possible to host it on my own domain.

Ah okay, I understand.


Jt400: possible missing resource in the native

fixes https://github.com/apache/camel-quarkus/issues/6029

@JiriOndrusek is it possible to add an unit test?

@JiriOndrusek is it possible to add an unit test?

I'm thinking about that, I can try. Although the test would cover a scenario which does not make sense

@zhfeng test is added

@zhfeng I have to check again, whether the added test can not affect existing one when executed in different order

@zhfeng I have to check again, whether the added test can not affect existing one when executed in different order

I run the tests ordered with new method at the first place and at last place and there was no issue.

@jamesnetherton As I think about the test coverage, it makes sense to me to move the test into  jt400-mocked, because it does not require a real service and it would be executed by CI. (of course U=I have to try , whether it is possible). WDYT?

move the test into jt400-mocked

Sounds ok to me. Or if we need to have it duplicated in both mocked and non-mocked, that's fine too.

move the test into jt400-mocked

Sounds ok to me. Or if we need to have it duplicated in both mocked and non-mocked, that's fine too.

Duplication (even if should be avoided) sounds like the right solution
.

I added the new test intojt400-mocked (as duplication)
Therefore it should be fulfilled that at leas one of jt400 and jt400-mocked is executed.