Unable to check the download folder using different users

SUMMARY
If the playbook is executed with a different user to connect to the different VMs, then I am getting this issue:
TASK [amq_streams_common : Load metadata on download folder: /opt.] *******************************************************************************************************************************************************************************************************************
fatal: [f38mw01 -> localhost]: FAILED! => {"changed": false, "module_stderr": "\nSorry, try again.\n[sudo via ansible, key=xkplzqapblrwqxgpvizwewqqweeirvzr] password:\nsudo: timed out reading password\nsudo: 1 incorrect password attempt\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
fatal: [f38mw03 -> localhost]: FAILED! => {"msg": "timeout waiting for privilege escalation password prompt:\n"}
fatal: [f38mw02 -> localhost]: FAILED! => {"msg": "timeout waiting for privilege escalation password prompt:\n"}

As my playbook is defined as:
---
- name: "Automate AMQ Streams install"
  hosts: all
  remote_user: rhmw
  vars:
    topic_name: myTopic
  roles:

The playbook is trying to use the rhmw user to connect to the bastion, however that user does not exists.
ISSUE TYPE

Bug Report

ANSIBLE VERSION

ansible [core 2.14.5]

COLLECTION VERSION

main branch of this repository

STEPS TO REPRODUCE

Execute the default playbook using a different user, adding the remote_user property.

---
- name: "Automate AMQ Streams install"
  hosts: all
  remote_user: rhmw
  vars:
    topic_name: myTopic
  roles:

EXPECTED RESULTS

ACTUAL RESULTS

TASK [amq_streams_common : Load metadata on download folder: /opt.] *******************************************************************************************************************************************************************************************************************
fatal: [f38mw01 -> localhost]: FAILED! => {"changed": false, "module_stderr": "\nSorry, try again.\n[sudo via ansible, key=xkplzqapblrwqxgpvizwewqqweeirvzr] password:\nsudo: timed out reading password\nsudo: 1 incorrect password attempt\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
fatal: [f38mw03 -> localhost]: FAILED! => {"msg": "timeout waiting for privilege escalation password prompt:\n"}
fatal: [f38mw02 -> localhost]: FAILED! => {"msg": "timeout waiting for privilege escalation password prompt:\n"}

This issue also happens when during the task of download the kafka package:
TASK [amq_streams_common : Download Kafka: https://downloads.apache.org/kafka/3.3.2/kafka_2.13-3.3.2.tgz.] ****************************************************************************************************************************************************************************
fatal: [f38mw01 -> localhost]: FAILED! => {"changed": false, "module_stderr": "\nSorry, try again.\n[sudo via ansible, key=mziymktaibpwemyrgyzeddlwmoylxiti] password:\nsudo: timed out reading password\nsudo: 1 incorrect password attempt\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

It seems that when the user used to execute the playbook is different from the user to connect to the different hosts, some tasks are not running as expected.

@rmarting PR20 should fix this issue. Can you check that it's working for you now?
@guidograzioli we may want to do the same for the other collection. WDYT?

@rpelisse Tested with the following configuration:
---
- name: "Automate AMQ Streams install"
  hosts: all
  remote_user: rhmw
  vars:
    amq_streams_common_download_node: ""
    amq_streams_common_download_dir: "/home/rmarting/tmp"
    topic_name: myTopic
# Rest of the playbook

However, the playbook fails in the next task:
on 🎩 ❯ ansible-playbook -i inventory playbooks/amq_streams.yml
BECOME password:

PLAY [Automate AMQ Streams install] ***************************************************************************************************************************************************************************************************************************************************

TASK [Gathering Facts] ****************************************************************************************************************************************************************************************************************************************************************
ok: [f38mw02]
ok: [f38mw03]
ok: [f38mw01]

TASK [amq_streams_common : Validating arguments against arg spec 'main'] **************************************************************************************************************************************************************************************************************
ok: [f38mw01]
ok: [f38mw02]
ok: [f38mw03]

TASK [amq_streams_common : Set required JDK package (if Java version is provided).] ***************************************************************************************************************************************************************************************************
ok: [f38mw01]
ok: [f38mw02]
ok: [f38mw03]

TASK [amq_streams_common : Ensure all required system dependencies are present.] ******************************************************************************************************************************************************************************************************
ok: [f38mw02]
ok: [f38mw03]
ok: [f38mw01]

TASK [amq_streams_zookeeper : Ensure requirements for Zookeeper are present.] *********************************************************************************************************************************************************************************************************
included: /home/rmarting/Workspaces/ws-streams/ansible-mw-amq_streams/roles/amq_streams_zookeeper/tasks/prereqs.yml for f38mw01, f38mw02, f38mw03

TASK [Ensure required dependencies are present.] **************************************************************************************************************************************************************************************************************************************

TASK [amq_streams_common : Validating arguments against arg spec 'main'] **************************************************************************************************************************************************************************************************************
ok: [f38mw01]
ok: [f38mw02]
ok: [f38mw03]

TASK [amq_streams_common : Set required JDK package (if Java version is provided).] ***************************************************************************************************************************************************************************************************
ok: [f38mw01]
ok: [f38mw02]
ok: [f38mw03]

TASK [amq_streams_common : Ensure all required system dependencies are present.] ******************************************************************************************************************************************************************************************************
ok: [f38mw02]
ok: [f38mw01]
ok: [f38mw03]

TASK [Ensure user for zookeeper exists (if provided).] ********************************************************************************************************************************************************************************************************************************

TASK [amq_streams_common : Ensure required parameter(s) are provided.] ****************************************************************************************************************************************************************************************************************
ok: [f38mw01]
ok: [f38mw02]
ok: [f38mw03]

TASK [amq_streams_common : Ensure required group amq_streams exists.] *****************************************************************************************************************************************************************************************************************
ok: [f38mw02]
ok: [f38mw03]
ok: [f38mw01]

TASK [amq_streams_common : Ensure required user amq_streams_zookeeper exists.] ********************************************************************************************************************************************************************************************************
ok: [f38mw03]
ok: [f38mw01]
ok: [f38mw02]

TASK [Ensure AMQ Streams artefacts are available.] ************************************************************************************************************************************************************************************************************************************

TASK [amq_streams_common : Ensure required parameter(s) are provided.] ****************************************************************************************************************************************************************************************************************
ok: [f38mw01]
ok: [f38mw02]
ok: [f38mw03]

TASK [amq_streams_common : Determine current working directory to set as download target - if not specified.] *************************************************************************************************************************************************************************
skipping: [f38mw01]
skipping: [f38mw02]
skipping: [f38mw03]

TASK [amq_streams_common : Load metadata on download folder: /home/rmarting/tmp.] *****************************************************************************************************************************************************************************************************
ok: [f38mw01]
ok: [f38mw02]
ok: [f38mw03]

TASK [amq_streams_common : Verify that download directory exist.] *********************************************************************************************************************************************************************************************************************
fatal: [f38mw01]: FAILED! => {"assertion": "download_dir.stat.exists", "changed": false, "evaluated_to": false, "msg": "Assertion failed"}
fatal: [f38mw02]: FAILED! => {"assertion": "download_dir.stat.exists", "changed": false, "evaluated_to": false, "msg": "Assertion failed"}
fatal: [f38mw03]: FAILED! => {"assertion": "download_dir.stat.exists", "changed": false, "evaluated_to": false, "msg": "Assertion failed"}

PLAY RECAP ****************************************************************************************************************************************************************************************************************************************************************************
f38mw01                    : ok=13   changed=0    unreachable=0    failed=1    skipped=1    rescued=0    ignored=0
f38mw02                    : ok=13   changed=0    unreachable=0    failed=1    skipped=1    rescued=0    ignored=0
f38mw03                    : ok=13   changed=0    unreachable=0    failed=1    skipped=1    rescued=0    ignored=0

@rmarting My bad, there was a bug in the PR... It's fixed now, the PR is green. Can you try again?

Actually, I meant this PR21 which now merged too. You can try directly with 'main' :)

Using next playbook definition:
---
- name: "Automate AMQ Streams install"
  hosts: all
  remote_user: rhmw
  vars:
    #amq_streams_common_download_node: ""
    amq_streams_common_download_dir: "/tmp"
    topic_name: myTopic
  roles:
    - role: amq_streams_zookeeper

the execution fails with the following exception in the Load metadata on download folder taks:
TASK [amq_streams_common : Load metadata on download folder: /tmp.] *******************************************************************************************************************************************************************************************************************
fatal: [f38mw01 -> localhost]: FAILED! => {"changed": false, "module_stderr": "\nSorry, try again.\n[sudo via ansible, key=byslmwqtvalnnhyiuwykhsjhdkeoctzt] password:\nsudo: timed out reading password\nsudo: 1 incorrect password attempt\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

However, using the next playbook:
---
- name: "Automate AMQ Streams install"
  hosts: all
  remote_user: rhmw
  vars:
    amq_streams_common_download_node: ""
    amq_streams_common_download_dir: "/tmp"
    topic_name: myTopic
  roles:
    - role: amq_streams_zookeeper

Then the process continues until fails in the Download Kafka task:
TASK [amq_streams_common : Download Kafka: https://downloads.apache.org/kafka/3.3.2/kafka_2.13-3.3.2.tgz.] ****************************************************************************************************************************************************************************
fatal: [f38mw01 -> localhost]: FAILED! => {"changed": false, "module_stderr": "\nSorry, try again.\n[sudo via ansible, key=kljsneumtbpafslahhuwitgbhjaflllf] password:\nsudo: timed out reading password\nsudo: 1 incorrect password attempt\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

It seems that there are more tasks to review to manage this scenario.
PS: Tested with the latest status of the main branch.

The second issue with the sudo password is more a question of setup, I think you need to add become: yes to your playbook. I know there is a few things to get right if you use sudo instead of the root user directly.
I'll try to reproduce your issue with the first playbook asap.

This is my current ansible.cfg file:
[privilege_escalation]
become = true
become_method = sudo
become_ask_pass = true

So, I dont know if the become attribute plays here or not (sorry, I am not an Ansible expert).

AFAIU, your config in ansible.cfg should do the trick. Let me investigate :)

@rmarting Where are we on this? Can you try again with the content of the current main branch? We pushed a lot of changes in the last weeks, maybe we did finally fix that?

Tested again using the latest status of the main branch, but it is still failing with (executed with -vvv to get more details:
TASK [amq_streams_common : Load metadata on download folder: /tmp.] ***********************************************************************
task path: /home/rmarting/Workspaces/ws-streams/ansible-mw-amq_streams/roles/amq_streams_common/tasks/download.yml:27
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: rmarting
<localhost> EXEC /bin/sh -c 'echo ~rmarting && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/rmarting/.ansible/tmp `"&& mkdir "` echo /home/rmarting/.ansible/tmp/ansible-tmp-1689274630.915113-21208-96414777732711 `" && echo ansible-tmp-1689274630.915113-21208-96414777732711="` echo /home/rmarting/.ansible/tmp/ansible-tmp-1689274630.915113-21208-96414777732711 `" ) && sleep 0'
Using module file /home/rmarting/.local/lib/python3.11/site-packages/ansible/modules/stat.py
<localhost> PUT /home/rmarting/.ansible/tmp/ansible-local-20961ctsjpypc/tmp7rdft8sp TO /home/rmarting/.ansible/tmp/ansible-tmp-1689274630.915113-21208-96414777732711/AnsiballZ_stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /home/rmarting/.ansible/tmp/ansible-tmp-1689274630.915113-21208-96414777732711/ /home/rmarting/.ansible/tmp/ansible-tmp-1689274630.915113-21208-96414777732711/AnsiballZ_stat.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S  -p "[sudo via ansible, key=gxvwtrjktjsrlohmbxdwrpessctugluf] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-gxvwtrjktjsrlohmbxdwrpessctugluf ; /usr/bin/python3 /home/rmarting/.ansible/tmp/ansible-tmp-1689274630.915113-21208-96414777732711/AnsiballZ_stat.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /home/rmarting/.ansible/tmp/ansible-tmp-1689274630.915113-21208-96414777732711/ > /dev/null 2>&1 && sleep 0'
fatal: [f38mw01 -> localhost]: FAILED! => {
    "changed": false,
    "module_stderr": "\nSorry, try again.\n[sudo via ansible, key=gxvwtrjktjsrlohmbxdwrpessctugluf] password:\nsudo: timed out reading password\nsudo: 1 incorrect password attempt\n",
    "module_stdout": "",
    "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
    "rc": 1
}

It seems that the combination of my local user rmarting to run the playbook, connecting to the VMs using the remote user rhmw is not working as expected, or I am doing something wrong.
What am I missing?


Enable type checking with package

currently type checking not working with pypi package:

mypy run-test-pre: PYTHONHASHSEED='2281874308'
  mypy run-test: commands[0] | mypy /home/runner/work/sbmlutils/sbmlutils/src/sbmlutils /home/runner/work/sbmlutils/sbmlutils/setup.py --config-file tox.ini
  src/sbmlutils/metadata/sbo.py:3: error: Cannot find implementation or library stub for module named "pymetadata.metadata.sbo"
  src/sbmlutils/metadata/miriam.py:3: error: Cannot find implementation or library stub for module named "pymetadata.identifiers.miriam"
  src/sbmlutils/metadata/annotator.py:21: error: Cannot find implementation or library stub for module named "pymetadata.core.annotation"
  src/sbmlutils/metadata/annotator.py:21: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
  src/sbmlutils/metadata/annotator.py:22: error: Cannot find implementation or library stub for module named "pymetadata.identifiers.miriam"
  src/sbmlutils/report/api.py:19: error: Cannot find implementation or library stub for module named "pymetadata.core.annotation"
  src/sbmlutils/report/api.py:20: error: Cannot find implementation or library stub for module named "pymetadata.identifiers.miriam"

Seems to be an issue with github environment, not related to package.


Fix Find Next shortcut not working when search bar is focused

Fixes #52238
I added a special case to CodeTextEditor::input. While it would be better to track down the exact propagation of the input, this fix is rather simple and just works.

This is not a regression, as the issue still occurs on Godot 3.3.

This is not a regression, as the issue still occurs on Godot 3.3.

This will likely need a dedicated PR to be resolved in 3.x.

cc @YeldhamDev @groud

Thanks!


Fix formatting issues in OpenEXR File Layout Webpage

There are two formatting issues i noticed in the "File Layout" page of openEXR repo.

Fixing these will require basic knowledge of the devops workflow of fork, edit and pull request, and some rudiments of restructed text. These screenshots are taken at [90704f2] on main.
### Tasks

Hi! I will fix these.

https://github.com/AcademySoftwareFoundation/openexr/pull/1832


Feature request: Publish extension to open-vsx.org (VSCodium marketplace)

Currently, this extension cannot be installed from VSCodium interface, and it would be great to do so.
As far as I have read in VSCodium documentation (https://github.com/VSCodium/vscodium/blob/master/DOCS.md#extensions-marketplace) there is a wiki documenting the process https://github.com/eclipse/openvsx/wiki/Publishing-Extensions
Hope you could consider doing it.

Sure, I completely neglected it, but it could be a nice addition. I'll work on this in the next week, and I'll notify you here as soon as it's done.

@brunoparga Hey, I managed to publish the current version to the Open VSX Registry: https://open-vsx.org/extension/pantajoe/vscode-elixir-credo!


Fix Accessible Icon link to Visually Hidden

[x] Use a meaningful title for the pull request. Include the name of the package modified.
[x] Test the change in your own code.
[x] Include the URL where we can test the change in the body of your PR.

This pull request:

[ ] Fixes a bug
[ ] Adds additional features/functionality
[x] Updates documentation or example code
[ ] Other

Currently, the page https://radix-ui.com/primitives/docs/utilities/accessible-icon links to https://radix-ui.com/primitives/docs/utilities/accessible-icon/visually-hidden, which is a 404
Fixed here: https://website-git-fork-lachlanjc-patch-1.radix-ui.vercel.app/primitives/docs/utilities/accessible-icon

Thanks!


When auto-completing XPath function that takes args, I would like auto-completion to be retriggered

It doesn't appear to be easy to do this whilst still navigating a snippet using the tab key. Instead, auto-complete is now triggered when char is pressed after the ( char.


Add eleventy-plugin-broken-links to community plugins list

This plugin checks your build for broken and redirected external links. It allows for warning in the build log output (including showing which input files contain the offending links), or throwing an error if external links are broken.
GitHub repo

Thanks, @pdehaan!

@pdehaan are the author fields supposed to be GitHub or Twitter handles? I couldn't find a definitive answer. In another issue, it says Twitter, but looking through the 11ty.dev author pages, it looks like it's GitHub? Please advise.

@bradleyburgess Generally [in this repo] the author field is a Twitter username.
In the 11ty-community repo (where the "built-by-eleventy" sites live) that uses a GitHub username (but sets it automatically based on whomever files the issue).


improvement(sdlVideoRender): destroy sdl window in destructor

Codecov Report

Merging #392 into develop will decrease coverage by 4.36%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #392      +/-   ##
===========================================
- Coverage    68.68%   64.32%   -4.37%
===========================================
  Files          214      214
  Lines        11735    11735
===========================================
- Hits          8060     7548     -512
- Misses        3675     4187     +512

Impacted Files
Coverage Δ

framework/tests/dataSource/ipList.h
0.00% <0.00%> (-100.00%)
:arrow_down:

framework/tests/demuxer/demuxerUnitTest.cpp
0.00% <0.00%> (-100.00%)
:arrow_down:

framework/tests/dataSource/dataSourceUnitTest.cpp
0.00% <0.00%> (-93.85%)
:arrow_down:

framework/tests/decoder/decoderUnitTest.cpp
0.00% <0.00%> (-93.62%)
:arrow_down:

framework/tests/demuxer/demuxerUtils.cpp
0.00% <0.00%> (-76.00%)
:arrow_down:

framework/utils/errors/framework_error.h
33.33% <0.00%> (-66.67%)
:arrow_down:

framework/data_source/ffmpeg_data_source.cpp
6.38% <0.00%> (-51.07%)
:arrow_down:

framework/demuxer/AVBSF.cpp
25.27% <0.00%> (-42.86%)
:arrow_down:

framework/data_source/curl/CURLShareInstance.cpp
69.44% <0.00%> (-27.78%)
:arrow_down:

mediaPlayer/media_player_error_map.h
0.00% <0.00%> (-21.88%)
:arrow_down:

... and 20 more

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 c840c69...f9aa264. Read the comment docs.


Could not find a declaration file for module 'react-native-bottom-sheet-behavior'

while I added this component to my react-native project, the application screen turns to white empty page.
The import react-native-bottom-sheet-behavior line has '...' near the package name:

and it has this message:
[ts]
Could not find a declaration file for module 'react-native-bottom-sheet-behavior'. '/project/node_modules/react-native-bottom-sheet-behavior/index.js' implicitly has an 'any' type.
Try npm install @types/react-native-bottom-sheet-behavior if it exists or add a new declaration (.d.ts) file containing `declare module 'react-native-bottom-sheet-behavior';
npm install @types/react-native-bottom-sheet-behavior couldn't help, because this package doesn't exist in npm.
react: "16.6.0-alpha.8af6728"
react-native: "0.57.3"
react-native-bottom-sheet-behavior: "^1.0.0"

Hi, i am not sure if understood your issue, but it seems like you are using typescript and your editor is complaining that didn't found any typings for this library, but those messages are not related to a white empty page.
I don't use typescript, so i have no plans and interest to support typescript typings at the moment.
If you could provide more information, i would be glad to help.


Build airsonic from source and allow patches

Motivation for this change
The current package simply installs the Airsonic binary. This change (a) makes it build from source instead, so that patches can be applied, and (b) adds a patch that inverts the (hard-coded) podcast sort order so that "play all" on a podcast plays them in chronological order rather than reverse chronological.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

+1 to building from source. However I think that patch would be a better fit for your own nixpkgs overlay, or contributed upstream directly.

Ok, it looks like you can't use mavenix in nixpkgs, or at least you have to use it in a completely different fashion -- pre-download it and include it in the .nix files for that package?

Patch excised and moved to my personal overlays while I work on the additional infrastructure needed to get it upstream-ready.
Airsonic build updated to 10.6.2 to match nixpkgs master, and rebased.

Rebased against unstable to resolve merge conflicts in maintainers file.


React to referenced resources' changes

Keep track of any ConfigMap/Secret instance with annotation
projectsveltos.io/instantiate referenced by an EventTrigger.
When one of those changes, EventTrigger instances referencing it
will be reconciled.
This PR adds:

watcher for Secret/ConfigMap instances
tracker to keeps track of EventTriggers:ConfigMaps/Secrets association

Fixes #260


Add build/test action

Runs build and test on master branch and PRs towards the master branch to make sure that all the code that is committed works (to some extent).

Same PR in my fork, if you want to see the Action in action: https://github.com/walliski/add-bot-rs/pull/1


【Flutter】依赖包 shared_preferences版本太久  pub get 报错

dependencies:
  sp_util: ^2.0.3
  streaming_shared_preferences: ^2.0.0
dev_dependencies:
  dokit: ^0.2.14

Because every version of dokit depends on shared_preferences ^0.5.12+4 and sp_util 2.0.3 depends on shared_preferences >=2.0.3 <4.0.0, dokit is incompatible with sp_util 2.0.3.
And because no versions of sp_util match >2.0.3 <3.0.0, dokit is incompatible with sp_util ^2.0.3.
So, because fanxiang depends on both sp_util ^2.0.3 and dokit ^0.2.14, version solving failed.
pub get failed (1; So, because fanxiang depends on both sp_util ^2.0.3 and dokit ^0.2.14, version solving failed.)

这个问题我们会在节后的nullsafety版本中修复

在0.8.0-nullsafety.0版本中已修复，已经合入master


Added Hover effect on Button

Pull Request
Title

Added Hover effect and smooth transition on button
Description

On the /corpRecommendation component added hover effect and smooth transition on button. improving user experience.
using tailwind css

Related Issues

Changes Made

Added hover effect and smooth transition to button.
Checklist

[x] I have tested the changes locally
[ ] Documentation has been updated (if necessary)
[x] Changes are backward-compatible

Screenshots (if applicable)

Additional Notes

Footer

hi @iamsohelx  please  make changes in fertilizer ,soil, disease also..
you just done it in one file only..
thank you @iamsohelx
good work
keep it up
All the best...

hi @iamsohelx please make changes in fertilizer ,soil, disease also.. you just done it in one file only.. thank you @iamsohelx good work keep it up All the best...

Yeah sure, and thank you

@manikumarreddyu done


How did this warning come about

[Info   :   BepInEx] Loading [LCHazardsOutside <IP_ADDRESS>]
[Info   :LCHazardsOutside] Applying compatibility fixes for com.malco.lethalcompany.moreshipupgrades.
[Warning:  HarmonyX] AccessTools.GetTypesFromAssembly: assembly LethalSDK, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null => System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <787acc3c9a4c471ba7d971300105af24>:IL_0000
at HarmonyLib.AccessTools.GetTypesFromAssembly (System.Reflection.Assembly assembly) [0x0000d] in <474744d65d8e460fa08cd5fd82b5d65f>:IL_000D
System.IO.FileNotFoundException: Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'UnityEditor.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
[Info   :LCHazardsOutside] Plugin LCHazardsOutside is loaded!

Hey there!
It seems like this error is not related to this mod but rather to LethalSDK.
It's a warning about a missing soft dependency which is the Unity Editor. It can be completely ignored as it's only for debugging purposes.


Uncaught exception using XpPreferenceFragment on Android 2.3.6. (4.1.2 and 5.1.1 ok)

Hi,
I have been trying to use XpPreferenceFragment with great success on newer Android phones with (Samsung GT-I9100) 4.1.2 and (HTC Desire HD CyanogenMod 12.1-UNOFFICIAL) 5.1.1.
But it fails with the most basic contrived preferences xml resources file when addPreferencesFromResource(R.id.settings) is called inside onCreatePreferences2 on an Android (Samsung GT-I8510T) 2.3.6 phone.
If I include the settings.xml listed below it fails with the exception also listed below. However if I omit the CheckBoxPreference tag in the settings.xml I can see "Hello World".
Could you please help?
In my build.gradle in Android Studio 2.0 I am using the following compile directives.
compile 'net.xpece.android:support-preference:0.7.0'
compile 'net.xpece.android:support-preference-color:0.7.0@aar'

Here are the contents of my SettingsFragment.java
package au.com.company.product.UI;
import android.os.Bundle;
import android.support.v7.preference.XpPreferenceFragment;
import au.com.company.product.R;
public class SettingsFragment extends XpPreferenceFragment {
    @Override
    public void onCreatePreferences2(final Bundle savedInstanceState, final String rootKey) {
        // Load the settings from an XML resource
        addPreferencesFromResource(R.xml.settings);
    }
}

Here are the contents of my settings.xml
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
    xmlns:android="http://schemas.android.com/apk/res/android">
    <PreferenceCategory
        android:title="HelloWorld">
        <CheckBoxPreference
            android:key="some_check_box"
            android:title="This will fail to load"/>
    </PreferenceCategory>
</PreferenceScreen>

Here is the callstack of the exception thrown.
E/AndroidRuntime: FATAL EXCEPTION: main
                                                                         android.view.InflateException: Binary XML file line #18: Error inflating class <unknown>
                                                                             at android.view.LayoutInflater.createView(LayoutInflater.java:518)
                                                                             at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
                                                                             at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568)
                                                                             at android.view.LayoutInflater.inflate(LayoutInflater.java:386)
                                                                             at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
                                                                             at android.support.v7.preference.XpPreferenceGroupAdapter.onCreateViewHolder(XpPreferenceGroupAdapter.java:76)
                                                                             at android.support.v7.preference.XpPreferenceGroupAdapter.onCreateViewHolder(XpPreferenceGroupAdapter.java:16)
                                                                             at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5482)
                                                                             at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4707)
                                                                             at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4617)
                                                                             at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1994)
                                                                             at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1390)
                                                                             at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1353)
                                                                             at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)
                                                                             at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3028)
                                                                             at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2906)
                                                                             at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3283)
                                                                             at android.view.View.layout(View.java:7228)
                                                                             at android.widget.FrameLayout.onLayout(FrameLayout.java:338)
                                                                             at android.view.View.layout(View.java:7228)
                                                                             at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254)
                                                                             at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1130)
                                                                             at android.widget.LinearLayout.onLayout(LinearLayout.java:1047)
                                                                             at android.view.View.layout(View.java:7228)
                                                                             at android.widget.FrameLayout.onLayout(FrameLayout.java:338)
                                                                             at android.view.View.layout(View.java:7228)
                                                                             at android.widget.RelativeLayout.onLayout(RelativeLayout.java:912)
                                                                             at android.view.View.layout(View.java:7228)
                                                                             at android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:122)
                                                                             at android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)
                                                                             at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1170)
                                                                             at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:814)
                                                                             at android.view.View.layout(View.java:7228)
                                                                             at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1187)
                                                                             at android.view.View.layout(View.java:7228)
                                                                             at android.widget.FrameLayout.onLayout(FrameLayout.java:338)
                                                                             at android.view.View.layout(View.java:7228)
                                                                             at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254)
                                                                             at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1130)
                                                                             at android.widget.LinearLayout.onLayout(LinearLayout.java:1047)
                                                                             at android.view.View.layout(View.java:7228)
                                                                             at android.widget.FrameLayout.onLayout(FrameLayout.java:338)
                                                                             at android.view.View.layout(View.java:7228)
                                                                             at android.widget.FrameLayout.onLayout(FrameLayout.java:338)
                                                                             at android.view.View.layout(View.java:7228)
                                                                             at android.view.ViewRoot.performTraversals(ViewRoot.java:1148)
                                                                             at android.view.ViewRoot.handleMessage(ViewRoot.java:1868)
                                                                             at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                             at android.os.Looper.loop(Looper.java:130)
                                                                             at android.app.ActivityThread.main(ActivityThread.java:3691)
                                                                             at java.lang.reflect.Method.invokeNative(Native Method)
                                                                             at java.lang.reflect.Method.invoke(Method.java:507)
                                                                             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
                                                                             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
                                                                             at dalvik.system.NativeStart.main(Native Method)
                                                                          Caused by: java.lang.reflect.InvocationTargetException
                                                                         	at java.lang.reflect.Constructor.con

Many Thanks

Check your XML preferences file.
E/AndroidRuntime: FATAL EXCEPTION: main android.view.InflateException: Binary XML file line #18: Error inflating class <unknown> at

@samsonho Hi, unfortunately the stack is cut off where it starts to get interesting. Could you use SettingsFragment in a simpler activity with just a toolbar and a linear layout so the view hierarchy does not bloat stack and then post stack trace again? I need to see the rest. Thank you.
@eku Line 18 is probably start of asp_preference_category.xml. This is on my side. And since the sample app works on Android 2.3.7 it must be some sort of misconfiguration.
Make sure you're using AppCompat theme and all necessary attributes are defined, example:
<style name="Theme.MyApp" parent="Theme.AppCompat.Light.DarkActionBar">
    <item<EMAIL_ADDRESS>    <item name="preferenceTint">?colorAccent</item>
</style>

Hi @consp1racy and @eku,
Thanks for responding. I realised I have not loaded your sample onto this device 2.3.6 and I have tried it and it seems to work well. So the error is likely in my code.
I have noticed that you have specified preferenceThemeOverlay instead of preferenceTheme is that correct? I assume that it is ok for me to use Theme.AppCompat.Light.NoActionBar instead of Theme.AppCompat.Light.DarkActionBar?
In any case I will break down my problem and if I find something useful I will post it to this thread again. I will try putting my SettingsFragment with a toolbar into a simplier activity with a linear layout if I can't figure my problem soon.
Again thanks,

Hi @consp1racy,
I have discovered what my problem was. I had to remove a couple things from my project. One was from my AndroidManifest.xml.
<uses-sdk xmlns:tools="http://schemas.android.com/tools" tools:overrideLibrary="android.support.v14.preference" />
Also I noticed that I was compiling for two preference libraries.
compile 'com.android.support:preference-v7:23.3.0' compile 'com.android.support:preference-v14:23.3.0'
So the other thing I had to remove was for com.android.support:preference-v14:23.3.0. That fixed my issue.
I hope that is helpful for those encountering the same issue when dealing with code remnants when porting from one Preference library to another.
Cheers,

Hi @samsonho,
preference-v14 probably overrides some preference-v7 layouts with ones that use attributes only available on API 14 or higher causing a crash on older devices.
Since this is an edge case easily prevented by not adding tools:override I will not investigate further.
preferenceThemeOverlay was a typo, thank you for pointing that out.

@samsonho it's not necessary to reference the preference-v7 libraries, if you want to use ASP you just reference 'net.xpece.android:support-preference-:0.7.0'. Unless you are planning to use some feature of the Google libraries not covered by ASP

@JoseGD Just to clarify ASP imports preference-v7 as a dependency.

@consp1racy that's what I meant, importing ASP makes importing preference-vt redundant


Make accordion description text darker

The text will then default to $text-colour, which is #0b0c0c.
Before:

After:

👍


Hikari connections when TCP connection dropped

Environment
HikariCP version: 2.6.1
JDK version: 1.8
Database: PostgreSQL
Driver version: 9.4.1209.jre7

We're having some problems with TCP connections being dropped between our application server and our database server. When that happens we see the following in our db logs:
20170620 10:36:57:598 WARN  com.zaxxer.hikari.pool.PoolBase  [http-8080-5] - database.usermanager.read-kappserver5|fab_servlet|test-pgholidaydb1.prod.eu.gcp - Failed to validate connection Pooled connection wrapping physical connection org.postgresql.jdbc.PgConnection@644c8570 (An I/O error occurred while sending to the backend.)
20170620 10:36:57:599 DEBUG com.zaxxer.hikari.pool.PoolBase  [database.usermanager.read-kappserver5|fab_servlet|test-pgholidaydb1.prod.eu.gcp connection closer] - database.usermanager.read-kappserver5|fab_servlet|test-pgholidaydb1.prod.eu.gcp - Closing connection Pooled connection wrapping physical connection org.postgresql.jdbc.PgConnection@644c8570: (connection is evicted or dead)
20170620 10:36:57:599 DEBUG com.zaxxer.hikari.pool.HikariPool  [database.usermanager.read-kappserver5|fab_servlet|test-pgholidaydb1.prod.eu.gcp connection adder] - database.usermanager.read-kappserver5|fab_servlet|test-pgholidaydb1.prod.eu.gcp - Added connection Pooled connection wrapping physical connection org.postgresql.jdbc.PgConnection@cb0a7dd
20170620 10:36:57:647 WARN  com.zaxxer.hikari.pool.ProxyConnection  [http-8080-5] - database.usermanager.read-kappserver5|fab_servlet|test-pgholidaydb1.prod.eu.gcp - Connection Pooled connection wrapping physical connection org.postgresql.jdbc.PgConnection@cb0a7dd marked as broken because of SQLSTATE(08006), ErrorCode(0)
org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:226)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
	at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:161)
	at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:114)
	at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.postgresql.ds.PGPooledConnection$StatementHandler.invoke(PGPooledConnection.java:426)
	at com.sun.proxy.$Proxy8.executeQuery(Unknown Source)
	at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52)
	at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java)
	at  *** application code ***

My understanding of what is happening here is:
1/ We attempt to get a db connection, but the validation fails (probably because the TCP connection has been dropped)
20170620 10:36:57:598 WARN  com.zaxxer.hikari.pool.PoolBase  [http-8080-5] - database.usermanager.read-kappserver5|fab_servlet|test-pgholidaydb1.prod.eu.gcp - Failed to validate connection Pooled connection wrapping physical connection org.postgresql.jdbc.PgConnection@644c8570 (An I/O error occurred while sending to the backend.)

2/ The validation has failed, so Hikari closes that connection
20170620 10:36:57:599 DEBUG com.zaxxer.hikari.pool.PoolBase  [database.usermanager.read-kappserver5|fab_servlet|test-pgholidaydb1.prod.eu.gcp connection closer] - database.usermanager.read-kappserver5|fab_servlet|test-pgholidaydb1.prod.eu.gcp - Closing connection Pooled connection wrapping physical connection org.postgresql.jdbc.PgConnection@644c8570: (connection is evicted or dead)

3/ Hikari has closed the last connection in the pool, so it opens another one
20170620 10:36:57:599 DEBUG com.zaxxer.hikari.pool.HikariPool  [database.usermanager.read-kappserver5|fab_servlet|test-pgholidaydb1.prod.eu.gcp connection adder] - database.usermanager.read-kappserver5|fab_servlet|test-pgholidaydb1.prod.eu.gcp - Added connection Pooled connection wrapping physical connection org.postgresql.jdbc.PgConnection@cb0a7dd

4/ We use that connection in the application, but it doesn't work, probably because of the dropped TCP connection
5/ On releasing the connection, Hikari logs the exceptions thrown while using it
20170620 10:36:57:647 WARN  com.zaxxer.hikari.pool.ProxyConnection  [http-8080-5] - database.usermanager.read-kappserver5|fab_servlet|test-pgholidaydb1.prod.eu.gcp - Connection Pooled connection wrapping physical connection org.postgresql.jdbc.PgConnection@cb0a7dd marked as broken because of SQLSTATE(08006), ErrorCode(0)

If this is correct, and if the TCP connection has been dropped, should it have been possible for Hikari to create that new db connection in step 3?
Given that our TCP connection problems are currently ongoing, is there any way I can configure Hikari to help? I know I can reduce the aliveBypassWindowMs value so that Hikari validates the new connection every time, but obviously that will have a performance hit. Should Hikari have the option to validate new connections after a previous one is closed because of a problem?
I've enabled TCP keepalive between the servers every 30 seconds, perhaps this value needs tweaking. Do you have any other suggestions?

It seems extremely strange to me that a connection acquisition would succeed at 10:36:57.599 and that SQL query on that same connection would fail 48ms later at 10:36:57.647.
Changing the aliveBypassWindow will not help in this case unless it is set extremely short, which will as you noted affect performance.
You can try setting connectionInitSql to something like "SELECT 1".  That will force HikariCP to run that query when a connection is created and before adding it to the pool.
But that is merely a bandaid over some underlying issue.  You need to run wireshark or tcpdump to figure out which side is terminating the connection and the start figuring out why that is occurring.

Thanks for your quick response.
It seems this was ultimately caused by using the org.postgresql.ds.PGPoolingDataSource driver which caused a second layer of pooling meaning Hikari was occasionally obtaining connections from this pool that had already been dropped. This was an ongoing problem with the application that only came to light when trying to connect to databases over the VPN. Replacing this with org.postgresql.ds.PGSimpleDataSource means Hikari can now manage the connection lifetimes properly.
Thanks again for your help.


support validating signature whithout KeyInfo

I started a discussion, some time ago, in the mailing list, related to signature without KeyInfo (which is valid according to SAML) but not supported by Fediz. At that time I manage to configure the IDP to send KeyInfo, so I forgot about it, but recently this need come back again, but that time no ability to configure the IDP to send KeyInfo.
This pull request is a proposal to support this, when KeyInfo is not provided in signature, the validation process iterates through all certificates in trust manager.

done : https://issues.apache.org/jira/browse/FEDIZ-251


opscenter container status exited (1) after 10 sec

Hi,
for some reason the opscenter image won't Start. Im using the guide provider in the repository... After 10 sec it throws the exit code 1. It seems Mike nothing happens cause the container dies not Grab an ip.
Tested with the april 2015 poklet/opscenter build on:
Ubuntu 14.04.02 - docker 1.0.1
Ubuntu 15.04 - docker 1.5
CONTAINER ID        IMAGE                     COMMAND             CREATED             STATUS                     PORTS               NAMES
9f96ccc5da48        poklet/opscenter:latest   /bin/sh -c start    3 minutes ago       Exited (1) 3 minutes ago                       ops
Starting OpsCenter on <IP_ADDRESS>...
/usr/local/bin/start: line 8: service: command not found
tail: cannot open '/var/log/opscenter/opscenterd.log' for reading: No such file or directory
tail: no files remaining
is there a quick solution?
Kind regards

Cloud there be an error in the config of the image?
[{
"Args": [
"-c",
"start"
],
"Config": {
"AttachStderr": false,
"AttachStdin": false,
"AttachStdout": false,
"Cmd": [
"/bin/sh",
"-c",
"start"
],
"CpuShares": 0,
"Cpuset": "",
"Domainname": "",
"Entrypoint": null,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"ExposedPorts": {
"50031/tcp": {},
"61620/tcp": {},
"8888/tcp": {}
},
"Hostname": "9f96ccc5da48",
"Image": "poklet/opscenter",
"Memory": 0,
"MemorySwap": 0,
"NetworkDisabled": false,
"OnBuild": null,
"OpenStdin": false,
"PortSpecs": null,
"StdinOnce": false,
"Tty": false,
"User": "root",
"Volumes": null,
"WorkingDir": ""
},
"Created": "2015-04-30T11:21:06.665715822Z",
"Driver": "aufs",
"ExecDriver": "native-0.2",
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"Dns": null,
"DnsSearch": null,
"Links": null,
"LxcConf": [],
"NetworkMode": "bridge",
"PortBindings": {
"50031/tcp": null,
"61620/tcp": null,
"8888/tcp": null
},
"Privileged": false,
"PublishAllPorts": false,
"VolumesFrom": null
},
"HostnamePath": "/var/lib/docker/containers/9f96ccc5da485f41fd74097a70f333a0bd2b7d551d2a045f5a3667000b4ad585/hostname",
"HostsPath": "/var/lib/docker/containers/9f96ccc5da485f41fd74097a70f333a0bd2b7d551d2a045f5a3667000b4ad585/hosts",
"Id": "9f96ccc5da485f41fd74097a70f333a0bd2b7d551d2a045f5a3667000b4ad585",
"Image": "6bcd181ef99a9f62e0abecc0bad17d5246028f19b2d0e5ef3b1b249c76f8082c",
"MountLabel": "",
"Name": "/ops",
"NetworkSettings": {
"Bridge": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"PortMapping": null,
"Ports": null
},
"Path": "/bin/sh",
"ProcessLabel": "",
"ResolvConfPath": "/etc/resolv.conf",
"State": {
"ExitCode": 1,
"FinishedAt": "2015-04-30T11:33:34.112779217Z",
"Paused": false,
"Pid": 0,
"Running": false,
"StartedAt": "2015-04-30T11:33:34.057475087Z"
},
"Volumes": {},
"VolumesRW": {}
}

The logs give a very strange clue. It's as if the 'service' command has gone missing.
/usr/local/bin/start: line 8: service: command not found

I'll try and reproduce it on my computer.

I'm seeing this issue too. Exact same problem. Any updates here?

Maybe because the centos7 docker image uses fakesystemd instead of systemd:
https://groups.google.com/forum/#!topic/docker-user/ebCUAGNuO44
http://jperrin.github.io/centos/2014/09/25/centos-docker-and-systemd/
http://developerblog.redhat.com/2014/05/05/running-systemd-within-docker-container/
Not a problem in the centos6 image.  Does the opscenter require centos7, or could 6 be used?  Or maybe use supervisord instead?
http://supervisord.org/

Changing the DockerFile so it is using centos6 seems to work fine, except I had to also omit the line that installed hostname.  Is there something in the opscenter that requires this be available?
So, a "quick" workaround is to use centos6.  Maybe not the best, but I have a local image running that seems to be working.


File Uploud

When I upload a file discord flags it as a virus is there a way to get around this can I upload a file download link instead

There are many anonymous file sharing sites, check them.


Webpack 4 + bootstrap [TypeError: Cannot read property 'jquery' of undefined]

I have recently started working with webpack ,while running my app with webpack I am getting below mentioned error:
var version = $.fn.jquery.split(' ')[0].split('.');                       ^
TypeError: Cannot read property 'jquery' of undefined
at Object.jQueryDetection
I am using expose-loader for the same.
My webpack File:
const path = require('path');
const nodeExternals = require('webpack-node-externals');
var webpack = require('webpack');
module.exports = {
entry: './server/index.js',
target: 'node',
externals: [nodeExternals()],
output: {
path: path.resolve('server-build'),
filename: 'index.js'
},
resolve: {
extensions: ['.js', '.json', '.ts', '.tsx']
},
module: {
rules: [
{
test: /.js$/,
use: 'babel-loader'
},
{
test: /.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/,
},
{
test: /.css$/,
use: [
{
loader: 'css-loader'
}
]
},
{
test: /.(png|jpe?g|gif)$/i,
use: [
{
loader: 'file-loader',
},
],
},
{
test: require.resolve('jquery'),
loader: 'expose-loader',
options: {
exposes: ['$', 'jQuery'],
},
},
]
},
plugins: [
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery'
})
]
};
Please assist with this particular scenario,

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please either update the issue with the template and reopen, or open a new issue.


Add loading spinner back

Codecov Report
Base: 99.70% // Head: 99.70% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (485fcaf) compared to base (7819674).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #324   +/-   ##
=======================================
  Coverage   99.70%   99.70%
=======================================
  Files           9        9
  Lines         682      685    +3
=======================================
+ Hits          680      683    +3
  Misses          2        2

Impacted Files
Coverage Δ

weather_command/_builder.py
99.27% <100.00%> (+<0.01%)
:arrow_up:

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

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


Add support for smalltalk_vm key

This will allow our users to choose a specific virtual machine for their Smalltalk builds on Travis.
Related PR for travis-core: https://github.com/travis-ci/travis-core/issues/567.

This has been deployed to staging, but without support from travis-core.

Thanks, let me run some tests later today....

Seems to be WAI. Please deploy to prod and merge the travis-core changes as soon as you have some time. Many thanks!


Please add test-explorer.debug-test-at-cursor command

In addition to the existing test-explorer.run-test-at-cursor command, a test-explorer.debug-test-at-cursor that can be accessed from the Command Palette and/or bound to a shortkey would be extremely useful.
Thanks for considering this.

Good idea! I just published it.


[BUG] Serious - beanie doesn't work ANY - Document = Depends()

Describe the bug
On whatever model I use, Document = Depends(), the native FastAPI dependency, it breaks and shows the following.

To Reproduce

from beanie import Document
from fastapi import FastAPI, Depends

app = FastAPI()

class Student(Document):
    name: str
    age: int

@app.get("/")
def read_root(student: Student = Depends()):
    return {"name": student.name, "age": student.age}

Expected behavior
Not have the ID and args and revision id..

Hi. The id is a part of the Document class. You can make a reduced model and return filtered result based on it. Revision id will be fixed soon, as it is a hidden field.

Hey @innicoder I'm pretty sure @roman-right means something like you'd see in the projection section for a "reduced model":
https://beanie-odm.dev/tutorial/finding-documents/#projections
class ProductShortView(BaseModel):
    name: str
    price: float

chocolates = await Product.find(
    Product.category.name == "Chocolate").project(ProductShortView).to_list()

ProductShortView is a pure Pydantic model so should work flawlessly with FastAPI in all the ways those models do.


Fixes #51

fix candidate for missing tools: lz4c, pzstd & zstd

Signed-off-by: Arun Koshy<EMAIL_ADDRESS>

@susmithp please test on alternate compiler node - as expected by @vejmarie , this resolves the specific message seen by Chris, and only that.


Update scala and sbt version

thank you!

@scala-steward the steward is enabled in this repo, but we've never received any PRs from the steward (and so it's left up to human PRs like this one). is it perhaps because it's a Giter8 template and the files are down inside src/main?

@SethTisue
It also seems to update the internal files.
https://github.com/scala/scalatest-example.g8/pull/25/files
I'm not sure, but I think seems due to relating to a change in the default branch of the repository to 2.13.x after enabling stewards.

I'm not sure, but I think seems due to relating to a change in the default branch of the repository to 2.13.x after enabling stewards.

ah — @scala-steward, does that seem plausible to your human keeper?

is it perhaps because it's a Giter8 template and the files are down inside src/main?

Most probably. Scala Steward can update Giter8 templates but only if the dependencies/plugins of the template are also dependencies/plugins of the build. See also this FAQ.


Add usql

usql is an universal command-line interface for SQL databases, heavily inspired and mostly compatible with psql.

has the common features, like autocomplete, syntax highlight, pager support, variables that can be interpolated in queries, running scripts from files, saving output to files, exporting JSON and CSV
has all output formats from psql
has advanced features, like listing database schema objects, a \copy command to copy data across different databases, \crossview to present results in a pivot table
is written in Go, which makes it easy to extend
is distributed as fully static binaries, which makes it very portable
supports most databases that have a Go driver, already including a few dozen different databases

Thanks but I'm not particularly interested in that 🙂


Grant select certain columns caused permission denied

Permission denied only occur when I'm using graphql. Running select on psql doesn't give errors.
Table:
create table public.account(
  id serial primary key,
  email text not null,
  password text,
  created_at timestamp default now()
);
insert into public.account(email, password<EMAIL_ADDRESS>'1234566');

Grant:
create role account_user;
grant select(id, email) on table public.account to account_user;

Run postgraphsql:
DEBUG="postgraphql:*" postgraphql -c "postgres://postgres:postgres@localhost:5432/rls_test" -s public -r account_user

GraphQL:
query {
    allAccounts {
        nodes {
            id
            email
        }
    }
}

Result:
{
  "errors": [
    {
      "message": "permission denied for relation account",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "allAccounts"
      ]
    }
  ],
  "data": {
    "allAccounts": null
  }
}

CLI Error:
Mon, 14 Aug 2017 06:54:07 GMT postgraphql:request GraphQL query request has begun.
Mon, 14 Aug 2017 06:54:07 GMT postgraphql:request GraphQL query is parsed.
Mon, 14 Aug 2017 06:54:07 GMT postgraphql:request GraphQL query is validated.
Mon, 14 Aug 2017 06:54:07 GMT postgraphql:graphql { allAccounts { nodes { id } } }
Mon, 14 Aug 2017 06:54:07 GMT postgraphql:postgres begin
Mon, 14 Aug 2017 06:54:07 GMT postgraphql:postgres select set_config($1, $2, true)
Mon, 14 Aug 2017 06:54:07 GMT postgraphql:postgres with __local_0__ as ( select __local_1__ as value from "public"."account" as __local_1__ where "id" is not null and true and true and true order by "id" using < limit all ) select to_json(__local_0__.value) as value from __local_0__;
Mon, 14 Aug 2017 06:54:07 GMT postgraphql:postgres:error error: permission denied for relation account
    at Connection.parseE (C:\Users\Amizz\AppData\Roaming\nvm\v8.2.1\node_modules\postgraphql\node_modules\pg\lib\connection.js:567:11)
    at Connection.parseMessage (C:\Users\Amizz\AppData\Roaming\nvm\v8.2.1\node_modules\postgraphql\node_modules\pg\lib\connection.js:391:17)
    at Socket.<anonymous> (C:\Users\Amizz\AppData\Roaming\nvm\v8.2.1\node_modules\postgraphql\node_modules\pg\lib\connection.js:129:22)
    at emitOne (events.js:115:13)
    at Socket.emit (events.js:210:7)
    at addChunk (_stream_readable.js:252:12)
    at readableAddChunk (_stream_readable.js:239:11)
    at Socket.Readable.push (_stream_readable.js:197:10)
    at TCP.onread (net.js:589:20)
Mon, 14 Aug 2017 06:54:07 GMT postgraphql:postgres commit
Mon, 14 Aug 2017 06:54:07 GMT postgraphql:request GraphQL query has been executed.
Mon, 14 Aug 2017 06:54:07 GMT postgraphql:request GraphQL query request finished.
1 error(s) as account_user in 90.67ms :: { allAccounts { nodes { id } } }

Query 1 using psql;
set role account_user
select id, email from account;

Result:
 id |       email
----+--------------------
  1 |<EMAIL_ADDRESS>
Query 2 using psql:
set role account_user
select id,email,password from account;

Result:
ERROR:  permission denied for relation account

PostGraphQL v3 selects all columns due to how it works- this is required for computed columns to work in that ststem.
PostGraphQL v4 is a ground-up rewrite which hopefully resolves this issue (and gives a decent performance boost as well) by only requesting the required fields. I suggest you try the alpha via npm install -g postgraphql@next (see #506)

Thanks for the fast reply. Is there any major breaking changes when upgrading from v3 to v4?

I keep the breaking changes list in #506 up to date; it should mostly be a drop-in replacement. It's still an alpha so there are probably still issues to be discovered.

@amizz Please let me know if you have any issues with this; I've not actually tried selective grants myself (and we don't have any tests for them).

Grants with column selected seems to work using v4. Will update if anything comes up. Thanks.
SQL reference example:
grant select("id", "name") on table public.person to anonymous;
grant select("id", "name", "age") on table public.person to super_user, postgraphql;

GraphQL Query:
query {
	allPersons {
		nodes {
			id
			name
		}
	}
}

If the role Postgraphile has when creating the schema has limited column access on a table, would it make sense to not include those columns in the schema?
Or, what is the recommended way to exclude columns from the schema?

This is something that needs work.
pgColumnFilter exists but is undocumented currently; that’s the currently advised way (but hopefully it’ll be better in future)

How do I use it? (Suggesting to use something without explaining how, while simultaneously acknowledging that it's not documented, is a bit humorous ;)

Yeah, I was in bed on mobile so thought it might be enough for you to search the code if you were in a rush.
It was introduced here:
https://github.com/graphile/graphile-build/pull/73
Basically you pass it into the library version via graphileBuildOptions because we’ve not exposed it via the CLI yet (it’s undocumented and experimental), it’s a function that takes three arguments to decide whether or not to add the column to the schema. The args are:

attr which is the attribute data from the introspection query, you probably care most about ‘name’ and ‘class.name’ for global filtering
build - a build object, see the graphile-build docs
context - the context (see graphile-build docs) - this is useful for hiding a column for inserts but not for selects, for example.

It would be great if

Thanks Benji, I really appreciate it. I think my attempt at playfulness simply came off as passive aggression, so I do apologize. For what it's worth, I did try searching the codebase, but didn't turn up with anything useful. I didn't realize that I needed to be searching in another repository.
My use-case was to simply omit private columns that begin with _ (except for _id). Here's the code I ended up with that worked:
const express = require("express")
const http = require("http")
const dbConfig = require("../config/db")
const postgraphileConfig = require("../config/postgraphile")
const { postgraphile } = require('postgraphile')
const postGraphilePlugins = require("../src/postGraphilePlugins")

// Attach plugins tp Postgraphile config
postgraphileConfig.appendPlugins = postGraphilePlugins

// Attach graphileBuildOptions to config
postgraphileConfig.graphileBuildOptions = {
  pgColumnFilter: (attr) => {
    // TODO: Figure out how to filter tables; commented code below causes errors
    // if (attr.class.name[0] === "_") return false
    if (attr.name[0] === "_" && attr.name !== "_id") return false
    return true
  }
}

// Instantiate express server with Postgraphile
const app = express()
app.use(
  postgraphile(dbConfig, dbConfig.schema, postgraphileConfig)
)
const server = http.createServer(app)

On a related note, is there any way to omit tables entirely? I know the documentation says to put private tables into a different schema, but this is organizationally not ideal for my project.

Not right now, but you can acheive it via plugins (just drop the relevant fields) though I wouldn’t recommend that in the long term.
I’m planning to add a bunch of smart comments to the system - e.g. you could add “@exclude” to the comment for a table and it’d be excluded automatically - would this work for you? I don’t like managing this via config because I fear if you rename the table its exclusion may no longer trigger. I’d also prefer PostgreSQL as the single source of truth.

That sounds like a reasonable solution. I'm assuming these kind of smart comments would be one per line, and would be trimmed off when the comment is used for documentation? Or maybe an explicit @description tag could optionally be used.
I've also been tracking this feature for use on indexing JSONB columns, so I'm pretty excited about smart comments in general. A way to extend functionality with custom smart comments in the same way you can add graphile plugins would be fantastic, and likely a more intuitive way to do many things currently only possible through the graphile plugin interface (from what I can tell so far).

Yeah, that’s what I’m thinking 👍
We already have them, I just need to add support for naming tables/skipping things/permissions/etc

@benjie Do these changes handle @skip and @include directives?
As of 4.0.0-alpha2.20, if you try to omit a property from a query with a @skip or @include where that property is calculated and the function requires different permission, that query still fails even though the problematic field shouldn't be part of the returned result.
That's kind of a mouthful.  What I mean is that if you try to run a query like this for both cases:
query Articles($signedIn: Boolean!) {
  allArticles {
    nodes {
      id name article
      isBookmarked @include(if: $signedIn)
    }
  }
}

The query will fail if @signedIn is false if that property is satisfied by a function like this:
create function article_is_bookmarked(article) returns boolean as $$
select exists(select 1 from bookmarks b where b.article_id = article.id);
$$ language sql stable;

… and anonymous users don't have access to both execute this function and select from bookmarks.
It should probably succeed because the result only includes things the user has access to.
Fleshing out some of this minimal schema for reference.  In practice you'd be using RLS, but I don't think it's relevant to this problem.
create table article(
  id uuid,
  name text,
  content text
);
grant select on article to blog_user, blog_anonymous;

create table bookmarks(
   user_id uuid,
   article_id uuid
);
grant select, insert, delete on bookmarks to blog_user;

create function article_is_bookmarked(article article)
        returns boolean as $$
  select exists(select 1 from bookmarks b where b.article_id = article.id);
$$ language sql stable;
grant execute on article_is_bookmarked(article) to blog_user;

You can totally work around this by not relying on the directive in the query, but granting execute on the function and branching in the function based on authorization, but this is probably one kind of thing you want directives for.

Huh; you’re right- our planner ignores that directive when building the SQL query. That’s going to be “fun” to resolve. Please can you file it as a new issue, it’s hard to track at the bottom of a closed thread...

Fixed in https://github.com/graphile/graphile-build/pull/201

Also on the smart comments front; check out: https://github.com/graphile/graphile-build/pull/199


cmake: host-gcc: don't set -m32 for 64-bit targets

This breaks 64-bit posix builds on systems that don't have a 32-bit
(-m32)-enabled host compiler.
Signed-off-by: Olof Johansson<EMAIL_ADDRESS>

@npitre FYI as well, since you've been looking at 64-bit builds.

native_posix isn't 64-bit clean yet, the -m32 was intentional.
how is this passing CI?

how is this passing CI?

@andrewboie Seems that for X86_64 the -mx32 set by the arch wins even if -m32 is set before. The
if(CONFIG_64BIT)
  set(FLAG_PREPEND " ")
else()

in this PR would seem to just dead code in current master.

Question: are you targeting CONFIG_ARCH_POSIX or CONFIG_X86_64?

So, seems I was a bit early with this patch. I needed it on top of @npitre's 64-bit branch for native posix build when the host toolchain lacked -m32 support.
@gnuless they might not be directly "related" but if you're building for 64-bit POSIX (once enabled and available), you can't pass -m32 to your toolchain and expect things to work.
I'll revisit when more of the 64-bit contents has landed. Closing for now.

they might not be directly "related" but if you're building for 64-bit POSIX (once enabled and available), you can't pass -m32 to your toolchain and expect things to work.

I understand, but your patch inadvertently starts passing in inappropriate flags to other targets.
CONFIG_64BIT doesn't mean POSIX 64-bit target, and CONFIG_64BIT and -m32 aren't inversely correlated.  In other words, it's not true to say "if a target isn't CONFIG_64BIT then add the -m32 flag", but that's precisely what your patch says.
Does my objection make sense now?


Feature Request: Update schema-less class with properties

OrientDB Version, operating system, or hardware.

v2.0 SNAPSHOT[ ] - .18[ ] .17[ ] .16[ ] .15[ ] .14[ ] .13[ ] .12[ ] .11[ ] .10[ ] .9[ ] .8[ ] .7[ ] .6[ ] .5[ ] .4[ ] .3[ ] .2[ ] .1[ ] .0[ ]
v2.1 SNAPSHOT[ ] - .16[ ] .15[ ] .14[ ] .13[ ] .12[ ] .11[ ] .10[ ] .9[ ] .8[ ] .7[ ] .6[ ] .5[ ] .4[ ] .3[ ] .2[ ] .1[ ] .0[ ]
v2.2 SNAPSHOT[X ] - .rc1[ ] .beta2[ ] .beta1[ ]

Operating System

[ X] Linux
[ ] MacOSX
[ ] Windows
[ ] Other Unix
[ ] Other, name?

Expected behavior and actual behavior
During our prototyping phase we used schema-less classes to quickly collect data. Now we would like to apply a schema on a particular class with millions of collected records. Unfortunately, the database would not allow that. Our current workaround is to use a swap-mechanism by using a new property, copying the values over to it, getting rid of the old one and renaming the new property to the old name. This is very time consuming. I understand that there might be records with a wrong property type - in which case the database should deny the property creation. But otherwise, it should be possible. Is there a better way right now to achieve this?

@kaYcee - did you find a solution?
Scott

@smolinari Yes by using the schema manager in OrientDB Studio (Schema -> class -> Properties). There you can apply a schema later on as long as the data stored in the class fulfills the schema requirements (ie. correct data type stored already). Otherwise it will ask you to fix it manually before applying the schema definition

Ah. Ok. Thanks for the reply and solution.
Scott


chromium: vulkan is not an allowed implementation

Describe the bug
vaapi on amd cards requires --use-angle=vulkan.
Steps To Reproduce
Steps to reproduce the behavior:
In wayland, with NIXOS_OZONE_WL=1:
❯ chromium --use-angle=vulkan
[6893:6893:0615/112355.605938:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=egl-angle,angle=vulkan) not found in allowed implementations: [(gl=egl-angle,angle=opengl),(gl=egl-angle,angle=opengles),(gl=egl-gles2,angle=none),(gl=egl-angle,angle=swiftshader)].

Expected behavior
vulkan to be allowed
Additional context
Per upstream issue, a one-liner patch is needed to enable it.
Arch Linux recently added it.
Now that #306791 is in nixos-unstable, now's a good time to enable this.
Note, upstream did revert the change - there's probably some edge case, but it requires --use-angle=vulkan to be explicitly passed and AFAIK, there are no bug reports from Arch Linux users. It's very useful for AMD users.
Notify maintainers
@emilylange, @networkexception, @Kiskae

Add a :+1: reaction to issues you find important.

there are no bug reports from Arch Linux users

To be fair, it was only added 2 weeks ago, so that might not really be a huge data point either way.
https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/commit/07e8575a6f2151055d480a7578687704c72019f2

That's fair, though if I'm following the upstream issue correctly, it was reverted due to failing Lacros tests (Chrome OS-related).
Given the patch is a no-op unless the Vulkan CLI flag is passed, it'd be nice to have or some other way to test.

I am not particularly sold on adding that patch.
It looks like it could be part of M127 (if the revert is reverted again).
And M127 is scheduled for 2024-07-23, so not too far away (~5 weeks).
So I would rather wait for M127 instead.

No probs! I'll close this then.

waiting on 129: https://chromium-review.googlesource.com/c/chromium/src/+/5740783


MSVC_RUNTIME_LIBRARY target property should not be set explicitly

Hi there. I'm running into problems with the following statement:
https://github.com/AcademySoftwareFoundation/openvdb/blob/73de06e50852f6bf70d1523558bb1f9c929fedf5/openvdb/openvdb/CMakeLists.txt#L516
Choosing to link against static or dynamic MSVC runtime has nothing to do with whether to link against a static or dynamic version of OpenVDB. The statement above is problematic in situations where other third-party libraries have been defined beforehand, and initialized to compile with /MD, but then we pull OpenVDB, which imposes /MT, and final linking fails. CMake configuration should still work when one leaves a default, unspecified value for CMAKE_MSVC_RUNTIME_LIBRARY, so I would suggest to remove this line, or make it a controllable CMake option.

Choosing to link against static or dynamic MSVC runtime has nothing to do with whether to link against a static or dynamic version of OpenVDB.

I only half agree with this. In essence, yes you are correct, this is a choice that needs to be made for the entire software stack and you can theoretically link static builds with MD and vice versa. But doing the latter (dyn against static) is a really bad idea. In general CRT linking should be consistent unless the different program interfaces have been designed to allow interoperability between the different types. The idea behind this auto behaviour is to provide some semblance of consistency with CRT selection for static vs dynamic builds, something that the predominant of windows workflows seem to advise.

The statement above is problematic in situations where other third-party libraries have been defined beforehand, and initialized to compile with /MD, but then we pull OpenVDB, which imposes /MT, and final linking fails. CMake configuration should still work when one leaves a default, unspecified value for CMAKE_MSVC_RUNTIME_LIBRARY, so I would suggest to remove this line, or make it a controllable CMake option.

Your suggestion here breaks someones workflow where they have compiled all dependencies statically against the static CRT. There's no easy way to detect either and, from my understanding, it seems that maintaining consistency based on the lib type is a more desirable default.

or make it a controllable CMake option.

You should be able to pass in a value for CMAKE_MSVC_RUNTIME_LIBRARY to control this behaviour. i.e, for static->dyn CRT builds:
cmake -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>DLL" -D OPENVDB_CORE_SHARED=OFF -D OPENVDB_CORE_STATIC=ON

But doing the latter (dyn against static) is a really bad idea.

True, but this line is preventing to do the opposite (static lib against dynamic CRT, which is fine).

Your suggestion here breaks someones workflow where they have compiled all dependencies statically against the static CRT.

If someone would compile against the static CRT, they would already be specifying the value for CMAKE_MSVC_RUNTIME_LIBRARY. Leaving it blank by default should use the dynamic CRT, as is CMake's and MSVC's default behavior.

If someone would compile against the static CRT, they would already be specifying the value for CMAKE_MSVC_RUNTIME_LIBRARY. Leaving it blank by default should use the dynamic CRT, as is CMake's and MSVC's default behavior.

I see what you mean. This then comes down to whether or not we believe the CMake defaults are in actuality not the best defaults for static libraries and whether this outweighs the benefit of providing a more standard (from the perspective of CMake) build workflow. I remember looking into this and deciding that linking against the static CRT made more sense for static libs but this was a while ago. I'm reticent to change this again but I'll try and revisit the sources I found. If every other dep is going to build with /MD by default regardless of the lib type, perhaps you're right and it's just easier all round if this is changed.

If you do not like the CMake defaults, you should take it up to the CMake developers and push for change (maybe via a new policy in the next CMake version). Changing CMake default's behavior in an opinionated fashion just makes life more complicated by creating incompatibilities.

This opinionated fashion was based on a read of the MSVC documentation and other investigation into Windows workflows from a non-Windows expert. CMake is not the only build system in existence. We should be choosing the most correct configuration for the platform irrespective of the build tool.

Sure, but that being said:

I think the CMake developers are quite open to feedbacks, so if the CMake default doesn't make sense, it's possible to change it upstream.
If you want to diverge from CMake default options, I would suggest doing so only when building OpenVDB as a top-level project, and leaving CMake default unchanged when building it as a subproject. You can use the following snippet of code at the root CMakeLists.txt to detect if OpenVDB is build as a top-level project or not:# Detects whether this is a top-level project
get_directory_property(HAS_PARENT PARENT_DIRECTORY)
if(HAS_PARENT)
    set(OPENVDB_TOPLEVEL_PROJECT OFF)
else()
    set(OPENVDB_TOPLEVEL_PROJECT ON)
endif()

It's also fine to have different defaults in other build systems (e.g. Bazel), as long as we stay consistent within the same build-system, to maximize compatibility with other projects.

Anyway, let me know what you decide, and whether there's anything I can do to help. I'm also not a Windows expect, but my understanding is that many pre-compiled libs use /MD anyway, so there's usually little advantage in forcing /MT unless you have a very specific shipping scenario (but I could be wrong!).

@Idclip any update on this issue from last year?


Unresolved external symbols when building haxeRuntime.lib on Windows

This is less of a problem with Unreal.hx and more of a problem with how Visual Studio works, but perhaps someone here can point me in the right direction.
Ever since my harddisk failure (I have replaced the failing harddisk), I've been getting this problem, where I wasn't before.  I'm assuming the Unreal.hx build tool is not pointing to the right crt due to some paths being messed up?  This is in Visual Studio 2017, but I had both 2017 and 2015 installed previously.  My guess is that it's pointing to the VS2017 includes but the VS2015 lib, as __std_reverse_trivially_swappable_1 and such are only included in the VS2017 CRT as far as I know (in vector_algorithms.cpp).  Any way/ideas to solve this issue?
Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2019	unresolved external symbol __std_reverse_trivially_swappable_1 referenced in function "public: virtual class String __cdecl haxe::io::Bytes_obj__scriptable::__ToString(void)const " (?__ToString@Bytes_obj__scriptable@io@haxe@@UEBA?AVString@@XZ)	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(d419743c_Bytes.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(8db8204d_ByteArray.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(d419743c_BytesBuffer.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(9d57483c_Lib.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(d419743c_Path.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(e9dc867f_UnrealInit.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(2b50853f_ArrayBuiltin.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(6f10cfb9_File.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(2b50853f_Cppia.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(2b50853f_CppiaVars.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(e9dc867f_StringBuf.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(e9dc867f_StringTools.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(5370fa6a_CFFI.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(5370fa6a_StdLibs.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(614c7251_String.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_1	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(614c7251_Array.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_8	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(5370fa6a_Hash.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_8	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(e9dc867f_UnrealInit.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_8	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(2b50853f_ArrayBuiltin.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_8	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(39811e08_Immix.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_8	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(614c7251_Array.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_8	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(2b50853f_Cppia.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_8	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(2b50853f_CppiaVars.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_4	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(2b50853f_CppiaVars.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_4	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(5370fa6a_Hash.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_4	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(e9dc867f_StringTools.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_4	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(2b50853f_ArrayBuiltin.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_4	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(614c7251_String.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_4	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(614c7251_Array.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_4	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(9a51aeaf_ClassWrap.obj)	1
Error	LNK2001	unresolved external symbol __std_reverse_trivially_swappable_4	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(2b50853f_Cppia.obj)	1
Error	LNK2019	unresolved external symbol __std_reverse_trivially_swappable_2 referenced in function "void __cdecl std::_Reverse_unchecked1<unsigned short *>(unsigned short * const,unsigned short * const,struct std::integral_constant<unsigned __int64,2>)" (??$_Reverse_unchecked1@PEAG@std@@YAXQEAG0U?$integral_constant@_K$01@0@@Z)	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\haxeRuntime.lib(614c7251_Array.obj)	1
Error	LNK1120	4 unresolved externals	RunAndGun	D:\UnrealProjects\RunAndGun\Binaries\Win64\UE4Editor-RunAndGun.dll	1
Error		Failed to produce item: D:\UnrealProjects\RunAndGun\Binaries\Win64\UE4Editor-RunAndGun.dll	RunAndGun	D:\UnrealProjects\RunAndGun\Intermediate\ProjectFiles\ERROR	1
Error	MSB3075	The command "C:\LocalBuilds\Engine\Windows\Engine\Build\BatchFiles\Build.bat RunAndGunEditor Win64 Development "D:\UnrealProjects\RunAndGun\RunAndGun.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.	RunAndGun	C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets	44

Yup, it was exactly what I though it would be.  UE4 does not play nicely with Visual Studio 2017 being installed with Visual Studio 2015, and will often try to force Visual Studio 2015 compiler stuff even when you attempt to use Visual Studio 2017 as the source code editor.  The easiest solution was to follow this answer, though I suppose forcing UnrealBuildTool always use -2017 or editing the source code to UnrealBuildTool to use 2017 over 2015 would work too.  This is a UE4 issue specifically, not a Unreal.hx issue.  The solution I used does not mess up my Visual Studio 2015 projects, so it will do for now.  Thanks for reading!


Empty, trailing rows in a file are converted to json with null property values.

When converting CSV or Tab-delimited files to JSON, empty rows at the end of a file cause a single entry of null-valued properties to be created, e.g. ,  {    "name": null,    "TITLE": null,    "ARTIST": null,    "COUNTRY": null,    "COMPANY": null,    "PRICE": null,    "YEAR": null  }

There is no software currently on this repository - you must have meant to comment on another repository.


Updating the games crud pages to account for new attributes in our game model

This code updates the forms in the create and update pages for games to display the attributes added in #153 (things like categories, mechanics, publishers, playtime, etc.). It also adds a new game detail page to display these same attributes and includes some bootstrap styling.

@majorsylvie I have addressed the changes you requested for the form to have better labels to give more context. The categories and mechanics attributes are now checkboxes

Issue Score: Excellent
Comments:
Great job all of you in this PR!
Descriptive summary which links relevant issue.
Thorough reviews from team members, requested feedback being taken, as well as keeping communication in the conversation.
Great work and keep moving forward!


Update URLs in tests

The tests have been failing recently because they need to download data but those URLs no longer work.
This PR updates the outdated URLs.
Other changes:

Replaced gunzip with gzip

Reason: I had an easier time setting up gzip to work on windows, whereas I couldn't figure out how to install gunzip

Removed Julia 0.7 from the travis tests since it is similar to 1.0. Added Julia 1.2 for completeness.

GZip change looks good.
We might just want to host the test files on GitHub or somewhere else. I think if DropBox gets weird requests it will block them.

It might be worth pulling some files from here (look under "Slice timing correction" for the first actual DICOM file mention). This would probably be more ambitious than what you're going for now

There are also some example DICOMS here: https://github.com/CIBC-Internal/Seg3DData/tree/cbe9eeabbfaeebdd6d05521ff31464e929491966/example_dicom

Thanks for the links with the DICOM samples @sjkelly @Tokazama .
I've been wanting to extend the tests to include some files from the dcm_qa repositories mentioned in another issue but haven't had the time to look through them.
The current tests use a few files from Barré's DICOM samples. That website was recently updated and the sample files are now on dropbox.
If dropbox is an issue, then the DICOM samples could be checked into this repository (adds a bit of bloat #22) or hosted in a separate repository.
I'm leaning towards the latter option of hosting them in a separate repository and I'll try doing that this week. Let me know if there's any other suggestions.
We can extend the tests as well with more DICOM samples, but I would prefer getting the current tests dealt with first.

Fixing what we have now and extending later sounds very reasonable.

Sounds good. As an aside I have been working to make isosurface extraction work better with NRRD and DICOMs in Meshing.jl. I will add a DICOM example here soon: https://juliageometry.github.io/Meshing.jl/dev/examples/#NRRD-Data-1

Sounds good @sjkelly
On my end, I made a github repository containing the DICOM files for testing.
The testing code was refactored a bit since we no longer have to worry about g/unzipping---this also makes it easier to test on windows.

If there are no objections then I'll merge this by the end of the week.


queue_processors: Include queue name in the timeout exception.

This information can be gleaned from the stacktrace, but making it
explicit in the stringification makes it much easier to differentiate
types of errors at a glance, particularly in Sentry.
Testing plan: Adjusted tests.

Good thought, merged, thanks @alexmv!


[Bugfix] Fix the LoRA weight sharding in ColumnParallelLinearWithLoRA

[x] Add  comments for better understanding
[x] Add some LoRA tests to distributed tests(refer to :https://github.com/vllm-project/vllm/pull/10352#issuecomment-2478081472)

@DarkLight1337  I can now complete multi-GPU unit tests locally. Could you tell me where I should add multi-GPU LoRA tests? Is it correct  here?

Yeah, you should update that file.

Thanks, could you plz look this PR again, thanks

Can you make these tests run with the existing 4 GPU tests?

Can you make these tests run with the existing 4 GPU tests?

Done, plz look at this again, thanks for your hard work

https://github.com/vllm-project/vllm/pull/10581 should fix the CI failure, please merge from main again.

Can you check whether the examples test failure is related to this PR?

I'm outside now, I'll check later

@DarkLight1337  DCO always

Can you check whether the examples test failure is related to this PR?

It seems the example tests triggered in CI are not related to this PR. Could you tell me which exampletest failed? I can try to reproduce it locally.

See here for detailed logs: https://buildkite.com/vllm/ci-aws/builds/11689#01935755-0382-4a69-8f86-413cdb8a12c0

See here for detailed logs: https://buildkite.com/vllm/ci-aws/builds/11689#01935755-0382-4a69-8f86-413cdb8a12c0

Ah, I actually already looked at it, but I couldn't figure out which example failed, that's why I'm asking you.

See here for detailed logs: https://buildkite.com/vllm/ci-aws/builds/11689#01935755-0382-4a69-8f86-413cdb8a12c0

It seems to be related to https://github.com/vllm-project/vllm/blob/main/.buildkite/test-pipeline.yaml#L192, is that right?

Seems like it.

Seems like it.

I can reproduce this failure in this PR branch ,I am investigating the root cause now.

Seems like it.

I can reproduce this failure in this PR branch ,I am investigating the root cause now.

I also can reproduce this failure in the  latest main branch


Poll Edit

Is it possible to edit poll once submitted?

Thank you for submitting the issue. At present, editing the poll is not feasible; however, we plan to incorporate this feature in a future update. Your feedback is valuable, and we appreciate your patience as we work to enhance our platform.

Thank you for submitting the issue. At present, editing the poll is not feasible; however, we plan to incorporate this feature in a future update. Your feedback is valuable, and we appreciate your patience as we work to enhance our platform.

Just fix the problem and stop bullshitting people with fake information

Very nice

With the presence in the realities of the worlds sickness ALWAYS PADS THAT IS

Iya kak bagu