Running into error when trying to install

Collecting i2ssh
Using cached i2ssh-0.3.0.tar.gz
Requirement already satisfied (use --upgrade to upgrade): pyyaml in /anaconda/lib/python3.5/site-packages (from i2ssh)
Collecting quik (from i2ssh)
Using cached quik-0.2.2.tar.gz
Collecting pyobjc-framework-Cocoa (from i2ssh)
Using cached pyobjc-framework-Cocoa-3.1.1.tar.gz
Complete output from command python setup.py egg_info:
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Traceback (most recent call last):
File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 154, in save_modules
File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 195, in setup_context
File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 243, in run_setup
File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 273, in run
File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 242, in runner
File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 46, in _execfile
File "/var/folders/1d/my52fq3136166ks_f6nh73x80000gp/T/easy_install-zbdltxdq/pyobjc-core-3.1.1/setup.py", line 696, in
File "//anaconda/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "//anaconda/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "//anaconda/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/bdist_egg.py", line 152, in run
File "//anaconda/lib/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "//anaconda/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/var/folders/1d/my52fq3136166ks_f6nh73x80000gp/T/easy_install-zbdltxdq/pyobjc-core-3.1.1/setup.py", line 371, in run
File "/anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/egg_info.py", line 186, in run
File "/anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/egg_info.py", line 209, in find_sources
File "/anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/egg_info.py", line 293, in run
File "/anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/egg_info.py", line 322, in add_defaults
File "/anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/sdist.py", line 132, in add_defaults
File "//anaconda/lib/python3.5/distutils/cmd.py", line 299, in get_finalized_command
cmd_obj.ensure_finalized()
File "//anaconda/lib/python3.5/distutils/cmd.py", line 107, in ensure_finalized
self.finalize_options()
File "/var/folders/1d/my52fq3136166ks_f6nh73x80000gp/T/easy_install-zbdltxdq/pyobjc-core-3.1.1/setup.py", line 525, in finalize_options
File "//anaconda/lib/python3.5/subprocess.py", line 629, in check_output
**kwargs).stdout
File "//anaconda/lib/python3.5/subprocess.py", line 711, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/xcodebuild', '-version', '-sdk', 'macosx', 'Path']' returned non-zero exit status 1
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/var/folders/1d/my52fq3136166ks_f6nh73x80000gp/T/pip-build-0f05h5hw/pyobjc-framework-Cocoa/setup.py", line 69, in <module>
    extra_link_args=["-framework", "Foundation"]),
  File "/private/var/folders/1d/my52fq3136166ks_f6nh73x80000gp/T/pip-build-0f05h5hw/pyobjc-framework-Cocoa/pyobjc_setup.py", line 496, in setup
    **k
  File "//anaconda/lib/python3.5/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/dist.py", line 269, in __init__
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/dist.py", line 313, in fetch_build_eggs
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/pkg_resources/__init__.py", line 827, in resolve
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/pkg_resources/__init__.py", line 1072, in best_match
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/pkg_resources/__init__.py", line 1084, in obtain
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/dist.py", line 380, in fetch_build_egg
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/easy_install.py", line 640, in easy_install
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/easy_install.py", line 670, in install_item
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/easy_install.py", line 850, in install_eggs
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/easy_install.py", line 1078, in build_and_install
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/easy_install.py", line 1064, in run_setup
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 246, in run_setup
  File "//anaconda/lib/python3.5/contextlib.py", line 77, in __exit__
    self.gen.throw(type, value, traceback)
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 195, in setup_context
  File "//anaconda/lib/python3.5/contextlib.py", line 77, in __exit__
    self.gen.throw(type, value, traceback)
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 166, in save_modules
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 141, in resume
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/pkg_resources/_vendor/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 154, in save_modules
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 195, in setup_context
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 243, in run_setup
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 273, in run
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 242, in runner
  File "//anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/sandbox.py", line 46, in _execfile
  File "/var/folders/1d/my52fq3136166ks_f6nh73x80000gp/T/easy_install-zbdltxdq/pyobjc-core-3.1.1/setup.py", line 696, in <module>
  File "//anaconda/lib/python3.5/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "//anaconda/lib/python3.5/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "//anaconda/lib/python3.5/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/bdist_egg.py", line 152, in run
  File "//anaconda/lib/python3.5/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "//anaconda/lib/python3.5/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/var/folders/1d/my52fq3136166ks_f6nh73x80000gp/T/easy_install-zbdltxdq/pyobjc-core-3.1.1/setup.py", line 371, in run
  File "/anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/egg_info.py", line 186, in run
  File "/anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/egg_info.py", line 209, in find_sources
  File "/anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/egg_info.py", line 293, in run
  File "/anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/egg_info.py", line 322, in add_defaults
  File "/anaconda/lib/python3.5/site-packages/setuptools-20.3-py3.5.egg/setuptools/command/sdist.py", line 132, in add_defaults
  File "//anaconda/lib/python3.5/distutils/cmd.py", line 299, in get_finalized_command
    cmd_obj.ensure_finalized()
  File "//anaconda/lib/python3.5/distutils/cmd.py", line 107, in ensure_finalized
    self.finalize_options()
  File "/var/folders/1d/my52fq3136166ks_f6nh73x80000gp/T/easy_install-zbdltxdq/pyobjc-core-3.1.1/setup.py", line 525, in finalize_options
  File "//anaconda/lib/python3.5/subprocess.py", line 629, in check_output
    **kwargs).stdout
  File "//anaconda/lib/python3.5/subprocess.py", line 711, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/xcodebuild', '-version', '-sdk', 'macosx', 'Path']' returned non-zero exit status 1

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/1d/my52fq3136166ks_f6nh73x80000gp/T/pip-build-0f05h5hw/pyobjc-framework-Cocoa/

This seems to work for me in a virtualenv on OSX:
virtualenv env
source env/bin/activate
pip install i2ssh

Hmm tried with Anaconda.  I'll try virtualenv and let ya know.

same thing here, xcode required ? :
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
after xcode installation from appstore, in venv or not :
(env) macbook:work gok$ i2ssh mycluster
/var/folders/cd/svdf18_d4qg7l34gv0w20lcw0000gn/T/tmpF4M5NQ:1044:1048: script error: Expected end of line but found identifier. (-2741)

I think you might get that on the newer versions of iTerm (starting with 3.0) because they updated the AppleScript API.

same with iTerm 2.x :/

ok, working with 2.1.4, thanks

hehe, was just fixing the 'end of line buffer' issue (Darwin 15.6.0) for myself but if anyone else is interested in it i'm happy to PR:
https://github.com/mbruggmann/i2ssh/compare/master...scub:Darwin_15.6.0
Bonus points if you want cluster-specific users and don't want to configure them as "hosts":
https://github.com/mbruggmann/i2ssh/compare/master...scub:multiuser

https://github.com/mbruggmann/i2ssh/compare/master...scub:Darwin_15.6.0 fixed "script error: Expected end of line but found identifier. (-2741)" for me on iTerm build 3.0.9.

@scub Thanks, I opened #4 and #5 for those! Will try them out today

The new version from PyPI (0.4.0) should now support both the newer iTerm 3.x as well as macOS Sierra.


For a follow up: use o1_utils::tests:make_test_rng. More random tests this way.

          For a follow up: use `o1_utils::tests:make_test_rng`. More random tests this way.

Originally posted by @dannywillems in https://github.com/o1-labs/proof-systems/pull/2598#discussion_r1775420443

Closing. Wasn't a valid comment as it was for regression tests.


Quick fix for ActionAndArgs::Copy()

Summary of the Pull Request
The copy wasn't checking for whether there were any args to copy - causing memory access violations sometimes

PR Checklist

[ ] Closes #xxx
[ ] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
[ ] Schema updated.
[x] I work here

Validation Steps Performed
Memory access violations stopped

@msftbot merge this in 2 minutes


[Bug]: execute_integration doesn't work correctly with browserbase if you use DEMO_PROJECT_ID

📜 Description
worker-1                    | ERROR:temporalio.activity:Error in execute_integration: 'BrowserbaseSetup' object has no attribute 'browserbase_project_id' ({'activity_id': '3', 'activity_type': 'execute_integration', 'attempt': 1, 'namespace': 'default', 'task_queue': 'julep-task-queue', 'workflow_id': '2b59ea92-be25-46a5-94d8-9e99d9eae824', 'workflow_run_id': '4c10e891-1ca6-4d62-99c6-0d8e78bcd60d', 'workflow_type': 'TaskExecutionWorkflow'})
👟 Reproduction steps
No response
👀 Have you searched previous issues to see if this has been raised before?

[X] I checked and didn't find similar issue

Created a PR for the same and have fixed it. Should be working now.


Cannot read property 'error' of undefined after 1.0.0-next.71

Logs
TypeError: Cannot read property 'error' of undefined
    at normalize (file:///home/markus/Applications/Webdevelopment/markushatvan.com/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.72_5a1e6f1b68430d6010b8aaf3f0fc8ed0/node_modules/@sveltejs/kit/dist/ssr.js:2192:13)
    at load_node (file:///home/markus/Applications/Webdevelopment/markushatvan.com/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.72_5a1e6f1b68430d6010b8aaf3f0fc8ed0/node_modules/@sveltejs/kit/dist/ssr.js:2451:11)
    at async respond_with_error (file:///home/markus/Applications/Webdevelopment/markushatvan.com/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.72_5a1e6f1b68430d6010b8aaf3f0fc8ed0/node_modules/@sveltejs/kit/dist/ssr.js:2525:3)
    at async respond (file:///home/markus/Applications/Webdevelopment/markushatvan.com/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.72_5a1e6f1b68430d6010b8aaf3f0fc8ed0/node_modules/@sveltejs/kit/dist/ssr.js:2673:12)
    at async render_page (file:///home/markus/Applications/Webdevelopment/markushatvan.com/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.72_5a1e6f1b68430d6010b8aaf3f0fc8ed0/node_modules/@sveltejs/kit/dist/ssr.js:2735:20)
    at async file:///home/markus/Applications/Webdevelopment/markushatvan.com/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.72_5a1e6f1b68430d6010b8aaf3f0fc8ed0/node_modules/@sveltejs/kit/dist/ssr.js:2862:10
    at async ssr (file:///home/markus/Applications/Webdevelopment/markushatvan.com/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.72_5a1e6f1b68430d6010b8aaf3f0fc8ed0/node_modules/@sveltejs/kit/dist/ssr.js:2849:10)
    at async Immediate.<anonymous> (file:///home/markus/Applications/Webdevelopment/markushatvan.com/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.72_5a1e6f1b68430d6010b8aaf3f0fc8ed0/node_modules/@sveltejs/kit/dist/chunks/index2.js:3302:23)

To Reproduce
You can see it happening in here: https://github.com/mhatvan/markushatvan.com
If you bump up the version to anything higher than 71, you should be greeted with TypeError: Cannot read property 'error' of undefined for the dev and build:prod scripts once opening the browser.
Initially I thought it might have to do with switching from yarn to pnpm, but it fails on both.
Expected behavior
Development and production bundle to work.
Information about your SvelteKit Installation:

Diagnostics

Your browser: Brave Browser: <IP_ADDRESS>

Your adapter (e.g. Node, static, Vercel, Begin, etc...): @sveltejs/adapter-static

Severity
It blocks me entirely from upgrading, since I can't develop or deploy.

Do you have a small repro? There have been many intentional breaking changes during pre-release of SvelteKit, and a crash when you upgrade does not necessarily indicate that there's a new bug.
https://github.com/mhatvan/markushatvan.com/blob/master/src/routes/%24error.svelte One thing I did notice is that your error page needs updating, as they no longer receive error/status as props - https://kit.svelte.dev/docs#layouts-error-pages

This was fixed long ago for the default $error.svelte in 1.0.0-next.75, you are on 1.0.0-next.71, and the latest is 1.0.0-next.84 as per your pnpm lockfile.
In addition, the error page no longer receives the status and error props by default, you have to modify your $error.svelte to pass it in from load:
<script context="module">
	export function load({ error, status }) {
		return {
			props: { error, status }
		};
	}
</script>

Closing given the currently available information. If you can still reproduce this issue after updating your kit version and your $error.svelte, we can re-open the issue.

My bad, I wrote this ticket in a hurry!
I actually upgraded locally to check with which version it breaks. Now I pushed a branch that has the latest dependencies and also uses the Sveltekit way of writing $error.svelte. Unfortunately it still breaks and the stack trace doesn't give an indication of what the cause could be.
https://github.com/mhatvan/markushatvan.com/tree/general-maintenance

@GrygrFlzr @Conduitry
I figured out the root cause of the issue:
This load function doesn't return anything (equal to return undefined), because I am generating Sitemap and RSS feed without the need to return data to the component.
<script context="module">
  export async function load({ fetch }: LoadInput) {
    try {
      await fetch('/sitemap.xml');
      await fetch('/rss.xml');

    } catch (error) {
      console.error(error);
    }
  }
</script>

I simply added return true at the end of the try block and it works again.
Imo the error stack trace should point to this code, instead of throwing unspecific error of undefined within the SvelteKit code.
And probably the code should not break without a return too.


fixing typo - privat to private

missing 'e'

Thanks a lot for finding and fixing this @lfreneda! :+1:

HAHAHAHAH no problem <3


Null values incorrectly propagated into globals

helm-issue.zip
this is ok:
$ helm template qdh chart2/ -f chart2/local2.yaml

# Source: chart2/templates/chart.yaml
app:
  key1: 1
  key2: 2

this provides entirely empty map:
$ helm template qdh chart2/ -f chart2/local1.yaml

---
# Source: chart2/templates/chart.yaml
app:
  {}

when using defaults, only chart2 defaults are provided to chart2, and only chart1 defaults are provided to chart1.
I.e., no merging.
$ helm template qdh chart2/

---
# Source: chart2/charts/chart1/templates/subchart.yaml
app:
  key1: null
---
# Source: chart2/templates/chart.yaml
app:
  key2: null

Output of helm version:
version.BuildInfo{Version:"v3.6.0", GitCommit:"7f2df6467771a75f5646b7f12afb408590ed1755", GitTreeState:"clean", GoVersion:"go1.16.3"}
Output of kubectl version:
N/A
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
N/A

probably related to #9806

Can you please test again with Helm 3.7.0? Some issues related to globals were resolved in this release.

There is a change between 3.6.3 and 3.7.0, but I wouldn't say it's for the better.
helm 3.6.3
---
# Source: chart2/charts/chart1/templates/subchart.yaml
app:
  key1: null
---
# Source: chart2/templates/chart.yaml
app:
  key2: null

helm 3.7.0
---
# Source: chart2/charts/chart1/templates/subchart.yaml
app:
  {}
---
# Source: chart2/templates/chart.yaml
app:
  key2: null

Were you able to determine what may be the cause of this issue?

Still an issue, and I don't have the knowledge to track down the cause.


proposal: testing: flag show skipped

I would love if there was a flag for go test that was somewhere between normal and verbose that only showed failures and skips.
go test ./... hides that tests were skipped
go test -v ./... show too much so I miss things
It would be lovely to have something like go test -showSkipped ./... that still shows things like
=== RUN   TestMarkReviewed
--- SKIP: TestMarkReviewed (3.52s)
    flagged_test.go:133: Skipping integration test because a mongo db is not available]

but ignores
=== RUN   TestFlaggedThread
--- PASS: TestFlaggedThread (0.00s)

While I agree that this is generally useful, this can be accomplished with little effort today:
$ go test -v ./... | grep -E '--- (SKIP|FAIL)'

If you need anything fancier, you could also write a short wrapper around go test -json ./.... It could only keep results that are either SKIP or FAIL, for example. Or it could even error if anything was skipped, in a "don't allow skips" mode.

See also #25951.

No change in consensus, so declining.


To Do List: Missing Oracle specific statements

This is just a reminder for myself, so far I found the following Oracle specific statements missing:

ALTER SYSTEM
RENAME table TO ...
PURGE ...
DROP for multiple columns
INSERT for multiple values

Please feel free to add to the list. I would want to implement these statements eventually.

More oracle things missing as far as I remember: https://docs.oracle.com/cd/B19306_01/server.102/b14200/queries003.htm

For sure. And from I think nearly 300 test sqls at the moment 172 are parsed successfully. Look into SelectOracleTest.

More oracle things missing as far as I remember: https://docs.oracle.com/cd/B19306_01/server.102/b14200/queries003.htm

Greetings, please clarify because I think that Hierarchical Queries have been implemented yet and I also have added support for CONNECT_BY_ROOT via PR #1282. What is left open please?

For sure. And from I think nearly 300 test sqls at the moment 172 are parsed successfully. Look into SelectOracleTest.

Good chunk from the failing tests is about Oracle's MultiInsert. How do you want me to approach this:
a) refactor and amend the existing Insert or
b) provide a new MultiInsert instead (including the standard compliant multiple VALUES syntax)
At the moment I tend to go route b) but am a kind of undecided. Please advise.


Mode command without enough arguments crashes the server

INFO[2016-08-18T15:25:52+01:00] login succeeded                               module=matterircd
panic: runtime error: index out of range
goroutine 21 [running]:
panic(0x938900, 0xc82000e0e0)
/usr/lib/go-1.6/src/runtime/panic.go:481 +0x3e6
github.com/42wim/matterircd/vendor/github.com/42wim/mm-go-irckit.CmdMode(0x7fa5426a1090, 0xc82016a000, 0xc820174000, 0xc820426000, 0x0, 0x0)
.../src/github.com/42wim/matterircd/vendor/github.com/42wim/mm-go-irckit/server_commands.go:129 +0x6b3
github.com/42wim/matterircd/vendor/github.com/42wim/mm-go-irckit.commands.Run(0xc820152060, 0x7fa5426a1090, 0xc82016a000, 0xc820174000, 0xc820426000, 0x0, 0x0)
.../src/github.com/42wim/matterircd/vendor/github.com/42wim/mm-go-irckit/commands.go:54 +0x35b
github.com/42wim/matterircd/vendor/github.com/42wim/mm-go-irckit.(_commands).Run(0xc820154008, 0x7fa5426a1090, 0xc82016a000, 0xc820174000, 0xc820426000, 0x0, 0x0)
:45 +0xc3
github.com/42wim/matterircd/vendor/github.com/42wim/mm-go-irckit.(_server).handle(0xc82016a000, 0xc820174000)
.../src/github.com/42wim/matterircd/vendor/github.com/42wim/mm-go-irckit/server.go:349 +0x326
created by github.com/42wim/matterircd/vendor/github.com/42wim/mm-go-irckit.(*server).Connect
.../src/github.com/42wim/matterircd/vendor/github.com/42wim/mm-go-irckit/server.go:254 +0xa3
Crash happens here:
127: func CmdMode(s Server, u *User, msg *irc.Message) error {
128:    modetype := ""
129:    channel := msg.Params[0]
Client sent:
MODE :&users\r

Thanks, fixed in v0.9.1 release.
What client does this ? or was this done manually?

The client was supybot. I encountered the crash while writing a plugin to get it to send the login command to matterircd.
I think the MODE command takes 0 or more parameters, so this is a valid command.

Sorry for the noise, but this is literally the single search engine result for "supybot matterircd".
@adam-gambitresearch would it be possible to share that supybot plugin? If you got that to work, that is. I'm in that situation and looking at having supybot talk to mattermost/matterircd.

Sure. I've just split it out into its own repo here:
https://github.com/adam-gambitresearch/supybot-matterircd
I only did the bare minimum to get this to work (in particular, I haven't made it read the username and password from the config, I just add them to plugin.py. :()

Awesomesauce! Thanks! If I get around to improving it I'll send PRs.


cordova.exec is not a function

Trying with https://github.com/parsonsmatt/WifiWizard
cordova.window.WifiWizard.startScan(log('success'), log('fail'));

gives me this error:
cordova.exec is not a function

Problem doesn't seem to be solved. Error exists

@kinhunt What is the error that you see now ? Note that the adapter does not yet work with events and channels.

Error: cordova.exec is not a function
 stack:
  Object.cordova.define.WifiWizard.startScan                            index.android.bun…:53768
  Object.React.createClass.getPlugins.ds.cloneWithRows.fn [as onPress]  index.android.bun…:1497
  React.createClass.touchableHandlePress                                index.android.bun…:42154
  TouchableMixin._performSideEffectsForTransition                       index.android.bun…:25822
  TouchableMixin._receiveSignal                                         index.android.bun…:25740
  TouchableMixin.touchableHandleResponderRelease                        index.android.bun…:25543
  executeDispatch                                                       index.android.bun…:15449
  forEachEventDispatch                                                  index.android.bun…:15437
  Object.executeDispatchesInOrder                                       index.android.bun…:15458
  executeDispatchesAndRelease                                           index.android.bun…:14811
 URL: undefined
 line: undefined
 message: cordova.exec is not a function

You may have to remove and re-add the plugin. The best way to check if it works it to look for a cordova.exec= line in the file generated at projectRoot\node_modules\react-native-plugin-adapter\platforms\android\cordova.js

@axemclion thanks.
I removed the module and reinstall it with the latest version.
It gives me 'cordova.init' is not a function. Also, there is only one AndroidManifest.xml file under  projectRoot\node_modules\react-native-cordova-plugin\platforms\android
No other files generated

I can confirm what @kinhunt is saying...simply adding
var cordova = require('react-native-cordova-plugin');
to the default hello world after getting everything installed and built throws this error.

Here is how the adapter works. When it is installed as a node_modules it only has a projectRoot\node_modules\react-native-cordova-plugin\platforms\android\AndroidManifest.xml file. This is the case when no plugin is added. This file exists so that the reactNative app compiles.
Now when you add a plugin, the platforms folder has multiple files generated. What happens here is that the plugin is downloaded from npm. The Java sources are moved to the src folder, the plugin's Javascript moved to assets/www folder. Finally, the adapter combines all the plugin's javascript together into a cordova.js file, which is included by doing require('react-native-cordova-plugin').
@kinhunt You are saying that a Cordova.js does not exist ? That should actually throw an error due to this line.
I also added a new command called repair, to just generate the cordova.js. Can you run node_modules\.bin\cordova-plugin repair and see if that works ? If nothing works, is there a way you could share a zip of your project and I can take a look at it ?

@axemclion thx
installing new plugin fixes the problem.
I also tried to delete cordova.js and use 'cordova-plugin repair' to generate a new one. it works.
wonderful

Awesome !! Now that the code fixes this problem, do you think new users will continue hitting this issue ? Also, I would love to see your index.android.js with the wifi plugin working !!

@axemclion I do think some new users will hit this issue. I didn't do much with the wifi plugin yet. Followed your example and see if it is working or not.
 {
            name: 'Get wifi',
            fn: function () {
                cordova.window.WifiWizard.startScan(log('success'), log('fail'));
            }
        }, {
            name: 'Get wifi results',
            fn: function () {
                cordova.window.WifiWizard.getScanResults({numLevels: false}, log('success'), log('fail'));
            }
        }

and it woks. yeah~


Grammar error in enrollment box

It should be "mij" instead of "mijn":

https://github.com/Inter-Actief/amelie/blob/main/locale/nl/LC_MESSAGES/django.po#L1188


vim9: ex command :filter not working in vim9script

Describe the bug
vim9script
# :brow old
:filter /anything/ brow old

This gives
E476: Invalid command: :filter /anything/ brow old

since brow old works, it must be filter's fault.
Environment (please complete the following information):

Vim version [e.g. 8.2.1900]
OS: Windows 10

This is probably a regression introduced in 8.2.1178.


Help me

Hey
I can't build uacme,
Would you upload a Akagi.exe (x86,x64) for me?
Plz help me.

I can't help you.


Electron App Compatability

So im building a electron application and i have been stumped with having to somewhat update this module to be compatible with it i would like to give out this code to you freely as i hope you will update and include it as it is quite useful!
basically your constants.js file just needs to be updated to do the following to support electron apps because the binary isnt executable from within the asar compressed file so we must unpackage it if the application is running with an app.asar and use the extracted location as the binary path here is what it would look like
import import_node_path from 'node:path';
import { promises as fsPromises, constants } from 'node:fs';
import { execFile } from 'node:child_process';

const binName = process.platform === "win32" ? "cloudflared.exe" : "cloudflared";
const binPathInAsar = import_node_path.join(__dirname, "..", "bin", binName);

// Create a temporary directory to extract the binary
const tempDir = import_node_path.join(process.resourcesPath, 'temp');
const extractedBinPath = import_node_path.join(tempDir, binName);

async function extractBinary() {
  try {
    // Ensure the temporary directory exists
    await fsPromises.mkdir(tempDir, { recursive: true });

    // Check if the binary already exists in the temporary directory
    const exists = await fsPromises.access(extractedBinPath, constants.F_OK)
      .then(() => true)
      .catch(() => false);

    if (!exists) {
      // Copy the binary to the temporary directory
      await fsPromises.copyFile(binPathInAsar, extractedBinPath);

      // Ensure executable permissions for the extracted binary
      await fsPromises.chmod(extractedBinPath, 0o755);
    }

    return extractedBinPath;
  } catch (error) {
    console.error('Error extracting or setting permissions for the binary:', error);
    return null;
  }
}

async function executeBinary() {
  try {
    const extractedPath = await extractBinary();

    if (extractedPath) {
      console.log('Binary extracted to:', extractedPath);

      // Example: Execute Cloudflared binary
      execFile(extractedPath, ['--version'], (error, stdout, stderr) => {
        if (error) {
          console.error('Error executing binary:', error);
          return;
        }
        console.log('Cloudflared version:', stdout.trim());
      });

      // Dynamically update the bin variable to the extracted path
      bin = extractedPath;
      console.log('Updated bin path to:', bin);
    }
  } catch (error) {
    console.error('Error executing binary:', error);
  }
}

// Initial bin variable (before extraction)
let bin = binPathInAsar;
console.log('Initial bin path:', bin);

executeBinary();

const CLOUDFLARED_VERSION = process.env.CLOUDFLARED_VERSION || "latest";
const RELEASE_BASE = "https://github.com/cloudflare/cloudflared/releases/";

export {
  CLOUDFLARED_VERSION,
  RELEASE_BASE,
  bin
};

you will have to restructure some of this to be both cjm and esm compatable but yeah this is just about how it can be solved honestly probably dont need to execute the permission change just extract the file to tmp directory so its executable please and thank you very much for your time and consideration on this btw.

Also Here is a far easier method then needing to actually move the file!
instead utilizing the constant.js to update the bin location you can do this i have currently ported a few files from your module into my electron application to actually get it to work just fine but i had to do the following

const binName = process.platform === "win32" ? "cloudflared.exe" : (process.platform === "darwin" ? "maccloudflared" : "cloudflared");
const bin = import_node_path.default.join(__dirname, "..", "..", "..", "bin", binName);
console.log('Bin path is:', bin);

I just done this made it set to store the bin file in the main root folder under bin folder inside the root folder of the electron application so i could bundle it with the app and make it executable so just had to include the tunnel.js file and regex.js file to get it to work
So if you could use that app.asar detection to somehow make it be installed in a bin folder like this style would be a whole lot easier then needing to move it and such etc..!
Also my application uses merkle verification so i need all three binarys to be in it so no matter the os its generates the same merkle! all though it might be wasted space but ehhh! thank you for an amazing public source code btw glad i was able to solve this on my own actually!

It seems very useful for Electron use cases. Thank you for sharing your solution!
Would it be helpful if bin respected an environment variable such as CLOUDFLARED_BIN, or if there was a function to set it?
For example:
export const bin = process.env.CLOUDFLARED_BIN || path.join(
    __dirname,
    "..",
    "bin",
    process.platform === "win32" ? "cloudflared.exe" : "cloudflared",
);

or
export let bin = path.join(
    __dirname,
    "..",
    "bin",
    process.platform === "win32" ? "cloudflared.exe" : "cloudflared",
);

export function use(file: string) {
    bin = file;
}


Electrolytic Separator

First at all: Thanks, awesome mod.
I just installed on 1.10.2. Everything look fine until I've try to make the Electrolytic Separaton on a Tinker's: Crafting Station, and then game crashed. Now it crashed over and over again. I can't load my world :(
Hope crash report be usefull. Thanks in advance
crash-2016-11-16_22.02.34-client.txt

sounds like you will need to use a world editor to delete the bad block.

I noticed a few odd behaviors in the 1.10.2 Tinker's with regard to other mods.  I think they did a total rewrite and introduced some compatibility issues.
You could try starting up that world with the Tinker's mod disabled.  That will remove the Tinker's blocks and items including the bad block while keeping your other base items.  Slightly less than a complete setback.  Hope that helps!

This is a 3 way crash that has been reported several times.  Please use the search bar before posting an issue to try to prevent duplicate reports.

Optifine is not supported by 90+% of mods.  You are just asking for rendering crashes.
Tinkers' Construct renders items on top of its tables.  You can turn this off in the config for TC.
Mekanism has weird rendering which is causing this bug.  TC can't fix it on their end, and Mek has yet to figure out what the problem is, and I don't think Mek has updated in a while.

Thanks a lot guys.
Good newss . Removing Optifine, solve the problem. But still I can't get my Electrolytic Separator :(

The recipe for Electroytic Separator .. gives me: Rotary Condensentrator. I'm doing something wrong?

Mekanism's JEI integration is messed up.  There are multiple machines visible when you look up the recipe.  You have to find the actual Electrolytic Separator recipe in that list.
#3925 should fix it once the next version of Mekanism is released.


QUIC support

We have experimental QUIC support in node. Would be interesting to try HTTP 1.1 over QUIC.

@jasnell: Will quic sockets support the consume/unconsume API that net/tls sockets support?

What is the protocol name of quic in an url? e.g. quic://localhost:3000?

Not sure which consume/unconsume API you mean

The node core HTTPParser has a consume method that can take a socket handle. See, https://github.com/mcollina/undici/blob/master/lib/client.js#L719-L725.

Ah... Yeah totally different model. It will fully consume a UDPWrap but the model is completely different in terms of how it does so

Then I guess the native-js-native roundtrip is the only way.

No, in quic, all of the actual data flow is at the native layer. Data only comes to js via a QuicStream.

Yes, I mean we will have to go from quic native layer -> js -> native http parser

Ah for http1... Well, not necessarily. We could actually implement an Http1Application in core that could engage the native parser at that level, before data flows into js

As the implementation evolves, I plan to make it possible for native add-ons to create and register their own QuicApplication impls


KAFKA-4779: Request metadata in consumer if partitions unavailable

If leader node of one more more partitions in a consumer subscription are temporarily unavailable, request metadata refresh so that partitions skipped for assignment dont have to wait for metadata expiry before reassignment.

cc @hachikuji

@hachikuji @ijuma Can you take a look? Thank you...
At the moment, consumer handles transient broker failures during fetch, but not during rebalance. If metadata request before rebalance had returned LEADER_NOT_AVAILABLE, the subsequent rebalance simply skips assignment and the next metadata request only happens on metadata expiry. This PR schedules a refresh to occur after refresh backoff interval so that rebalance is triggered sooner when leader is known. Since topic/partition errors returned in consumer metadata responses correspond to topics/partitions explicitly subscribed/assigned, I am hoping the extra requests are reasonable.

This makes sense to me and, in my experience, the current behaviour surprises people. Let's see what @hachikuji says though.

@rajinisivaram Thanks for picking this up. Just to clarify, the intent is to handle both when a partition is unavailable (i.e. the leader is unknown), and when the partition (or topic) doesn't exist? By the way, I previously created https://issues.apache.org/jira/browse/KAFKA-4631. Would it make more sense to use that JIRA instead of this one?

@hachikuji I had initially thought of handling only unavailable partitions, but the PR currently does handle non-existent topics/partitions as well. This is similar to the behaviour in the producer when attempting to send a message to a partition when metadata is unavailable either because the topic doesn't exist or the leader is not known. The reason I was thinking of excluding UnknownTopicOrPartitionException initially was because this can be a result of a non-existent topic or an unauthorized topic. I didn't exclude this in the PR because this exception during fetch in the consumer and for send in the producer retry metadata refresh, so thought it was better to keep the code consistent. What do you think?
Yes, I will move the PR to https://issues.apache.org/jira/browse/KAFKA-4631. I think it means closing and creating a new one for that. Will do that now. Thank you...

Moving this PR to KAFKA-4631.


Add Aplaxy Network

Hi, it looks like there's a few issues here:

Failing checks - there's not a comma after the last entry, so this is invalid JSON
Indentation is inconsistent with everything else
Server IP appears to be invalid - should it be .net?


How to translate a new language?

Hi @MrReSc, thanks for this nice app. It's very useful.
How can I add a translation for a new language? It looks like I can only add translations for Esperanto and German on Crowdin. I would like to contribute some Dutch (and possibly Vietnamese in the future) translations.

I'm glad you like the app.
I have added more languages to Crowdin.
I'm really looking forward to your translations!
If you have any questions about translating, get in touch with me.

It seems the strings.xml is double? I filled out everything in one but it only says I completed 50%, while the other file contains exactly the same strings..

I'll have to take a look. I think it's because of a second branch. I will get back to you.

It seems the strings.xml is double? I filled out everything in one but it only says I completed 50%, while the other file contains exactly the same strings..

Is fixed, thanks for your help!


Missing error handling when plugin changes are "saved"

In CMS 3.0, when I edit the contents of a CMS plugin via frontend editing and "save" it, the AJAX request is fired off without properly checking its status:

If I stop the web server before clicking Save, then the spinner is displayed forever even though the request fails immediately.
If the request fails with an HTTP error, for example, missing permissions in the database, the frontend acts as if the save was successful, but when I open it again, it wasn't actually changed.

I haven't yet tracked down the code that is causing this.

@intgr Is this still an issue for you in recent builds (3.0.10, in particular)? Perhaps this was satisfied already with some commit for 3.0.6 but we forget to close this issue?

@mkoistinen Yes, still a problem. In the 1st case I now get some cross-origin error and in the 2nd case it spins forever.

@intgr thanks. We'll investigate.

I can confirm as well, that this is still a problem.

This requires more steps within the backend to give me this feedback

@FinalAngel let's talk about the support you need on the backend

@FinalAngel Is this still an issue on 3.2/3.3?

we have a messaging system but we are not checking for imminent failures there /cc @vxsx

I believe both cases are still not covered in 3.3
The first one stops the spinner but doesn't really show correct error message (and error timeouts in e.g. reloadBrowser are not handled at all)
second one is also not handled sadly

Should be fixed by #5360


Produce live ODT documents with Biblography with specific CSL style

The commit message has the Changelog.
This  is a refinement of previous PR at  https://github.com/retorquere/zotero-better-bibtex/pull/1586

Is the transferable option gone?

Is the transferable option gone?

You didn't want it.  I can add it if you are interested.  But it will be over this PR.

I agreed later that it was useful for going from md -> gdocs, which pandoc doesn't do.

I agreed later that it was useful for going from md -> gdocs, which pandoc doesn't do.

Ok.  I will add the transferable option as a PR over this PR.
I want this PR to sail through first ...

 I can't re-comment on stuff you answered. So:

What does _PREF_1 mean? And I only see this being set, but never used. Same goes for _PREF_2

These go as part of meta.xml. See attached compilation.txt.

That's what the content means, but

Why the name ZOTERO_PREF_1? Can this be more descriptive?, and
I don't see ZOTERO_PREF_1 and ZOTERO_PREF_2 being used anywhere, only set.

If you are OK with adding format to that declaration, then this jugglery here won't be needed.

Strange, it should be accessible. I'm OK with adding that, but have the default be nil then.

I thought you might want to unit test my changes. Do you want this portion removed, or commented.

Removed then. For tests I use pl.dump which the Makefile guarantees isn't present during bundling.

possibly because format is not declared.

Format isn't declared, but it doesn't need to be. The local config declares a table-typed variable, and anything in that table is accessible when the table is accessible. Try pl.dump(config) -- if that doesn't show the table, there's a problem.

I can alternately just merge this as is, make the changes I want, and push back.

Make the changes you want.  That will be quick.
I will pull and build transferable over that.
Give me a place holder for adding custom markers and bibl markers. i.e., If
you do
dispatcher.citation () or dispatcher.bibl() I can give you following
handlers
function odttransferable
end
function odttransferable citation
end
I will add the functionality and test it.  You can always fix things later
to your taste.
On Wed, 29 Jul, 2020, 19:08 Emiliano Heyns<EMAIL_ADDRESS>wrote:

I can alternately just merge this as is, make the changes I want, and push
back.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/retorquere/zotero-better-bibtex/pull/1592#issuecomment-665669604,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEXTBKAYHXDDDAAGK5GZCL3R6AQ33ANCNFSM4PLRKPWA
.

I had made the changes your requested https://github.com/retorquere/zotero-better-bibtex/pull/1592/commits/3d7a4e5e602eae9e2bb8a1a046e70c1747534a08

You need to pull this commit https://github.com/retorquere/zotero-better-bibtex/pull/1592/commits/c11d394ffb5317f7ffe161e8baf422230b413ead.  There was a thinko.

I am sorry I am closing this PR.  The github interface is confusing  ... I will submit a new one.


Add Contributors

@all-contributors please add @aash1999 for code, doc

https://github.com/all-contributors please add @aash1999 for code, doc

@all-contributors please add @aash1999 for code, doc

@all-contributors please add @aash1999 for code, doc

@all-contributors please add @aash1999 for code, doc

@all-contributors please add @aash1999 for code, doc

@all-contributors please add @aash1999 for code, doc

@all-contributors please add @jhson97 for code, doc. please add @jmontoya2108 for code, doc. please add @Sagargwu for code, doc.

@all-contributors please add @jmontoya2108 for code, doc

@all-contributors please add @Sagargwu for code, doc

@all-contributors please add @jmontoya2108 for code, doc


Non determinitic panic (Interrupt wdt timeout on CPU0)

I have a relatively small application that doesn't use any WiFi ... it is only using the new UART library.  What I am finding is that when I boot my app, 1 time in 5 it crashes.  Here are the details:
I (130) cpu_start: Starting scheduler on PRO CPU.
D (131) gps: >> doGPS
Guru Meditation Error: Core   0 panic'ed (Interrupt wdt timeout on CPU0)
Register dump:
PC      :  400d09b6  PS      :  00060034  A0      :  40080ed9  A1      :  3ffb1560
A2      :  3ffb4ad8  A3      :  00000004  A4      :  00000001  A5      :  00000004
A6      :  00000000  A7      :  3ff50000  A8      :  00000007  A9      :  3ffb1540
A10     :  00000000  A11     :  00000001  A12     :  00000078  A13     :  3ffb1568
A14     :  3ffb4d98  A15     :  40084374  SAR     :  0000001f  EXCCAUSE:  00000005
EXCVADDR:  00000000  LBEG    :  4000c2e0  LEND    :  4000c2f6  LCOUNT  :  00000000

And using gdb we find
(gdb) list *0x400d09b6
0x400d09b6 is in esp_task_wdt_feed (/home/kolban/esp32/esptest/esp-idf/components/esp32/./task_wdt.c:114).
109	        //All tasks have checked in; time to feed the hw watchdog.
110	        TIMERG0.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
111	        TIMERG0.wdt_feed=1;
112	        TIMERG0.wdt_wprotect=0;
113	        //Reset fed_watchdog status
114	        for (wdttask=wdt_task_list; wdttask->next!=NULL; wdttask=wdttask->next) wdttask->fed_watchdog=false;
115	    }
116	}
117
118	void esp_task_wdt_delete() {
(gdb)

As is always the case, non deterministic issues are the trickiest.  The source of the app and the sdkconfig can be found here:
https://github.com/nkolban/esp32-snippets/tree/master/hardware/gps/gps
I plan to study more and run other tests .... but am raising this in the hope that it may be of interest to y'all or else you may say "aha" and know the answer to short circuit my tests.

I caq't reproduce this because your repo doesn't seem to include the minea component you use...

I found the uart interrupt handler overflows on framing errors and comm break: https://github.com/espressif/esp-idf/issues/109
Very simple fix, no more uart crash since then I excluded these IRQ triggers.

@nkolban , do you think it's likely this issue is same as #109 or is it probably something else?

I'm going to close this because it seems like the same issue as #109. If the error reoccurs with the current master branch, please reopen.


Mounting Local Files Using “Mount Local Folder” Function

I encountered an issue while attempting to mount local files in different folders using the “mount local folder” function. When I select a folder with subfolders, all the content gets uploaded into the tutorial folder without preserving the original folder structure. Ideally, I’d like the files to be uploaded with the same folder structure as on my local machine. This is the case for Firefox, Chrome and Edge browsers.

@bolenala Great idea, thanks! I've merged a fix now and it will be deployed tomorrow


Recipe-App Project Set-up

In this Project
Here is the link to the project  Link to the project
We are  2 members  @Josphat205  and @ifeanyi305  who are working on this project

Status: REQUIRED CHANGES :recycle:
Hi  @Team 👋 👋
I'm @TuyishimireEric, Your code reviewer,
Good job so far! 🥇
There are some issues that you still need to work on to go to the next project but you are almost there!

Highlights ✔✔
✔ added cards on the board👍
✔ all cards are assigned to team members👍
✔ tasks are distributed in a fair way👍
Required Changes ♻

[ ] You have done a great job 👏 however it would be better to name the first column in your kanban board and make it  To do, this will make it more professional and informative 🙏

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Status Updated

Hi @Josphat205 @ifeanyi305 ,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights
Kanban Board :heavy_check_mark:
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Include interactions to export country history search API

Description of change
Expose Interactions with export countries within export country history endpoint, along with existing export country history that is generated as a result of edits to export countries within export tab of a company.
This would mean enabling export_country_history search app to expose multiple entities: export_country_history and interaction.
Also adding couple of specific filters to satisfy business needs:

include interactions with export countries: kind: interaction and were_countries_discussed: True
include only inserts and deletes within export country history items (exclude UPDATEs): history_type: [INSERT, DELETE]

Checklist

[x] If this is a releasable change, has a news fragment been added?

Explanation
A news fragment is required for any releasable change (i.e. code that runs in or affects production) so that a corresponding changelog entry is added when releasing.
Check changelog/README.md for instructions.

[x] Has this branch been rebased on top of the current develop branch?

Explanation
The branch should not be stale or have conflicts at the time reviews are requested.

[x] Is the CircleCI build passing?

General points

Other things to check

Make sure fixtures/test_data.yaml is maintained when updating models
Consider the admin site when making changes to models
Use select-/prefetch-related field lists in views and search apps, and update them when fields are added
Make sure the README is updated e.g. when adding new environment variables

See docs/CONTRIBUTING.md for more guidelines.

@sekharpanja The change of the type of history_type to Keyword(index=True) will need to be done and released before history_type can be used in a query as the data will need to be reindexed (otherwise the query will fail as the field wasn't indexed previously).
So we'll probably want to do that and add the date field in a separate PR first so the fields are in place before they start to be queried.

I'm working on updates to this.

I've pushed some updates. They:

stop excluding service deliveries
rejiig the tests to make them simpler
add tests for the response bodies
update the permissions required
restrict the interaction fields returned to only the ones required

I'm going to split this to make it easier to review. Closing for now.


KDJ?

The KDJ is basically a KD with a J that is the difference between the previous two. (Kinda like the MACD). More on it here.
Any chance you could add it?

Yes, I can help.
Is there information for devlopment in the README? What's the recommended way to make pull requests?
Looking forward.


Angular 1.4.0rc-0 Error with ng-if

I have a very strange error showing up very reproducably within our APP, but as of yet I have not been able to reproduce it as a stand alone example. I am hesitant to report it because I cannot reproduce it outside our APP.
The gist of the problem is that we have a dialog which has an ng-if at the root element:

 ...content ...

       <button class="bss-btn +primary" ng-click="vm.patchMasterSurvey()">DONE</button>

vm.patchMasterSurvey = function() {
  vm.editSettings = false;
  SurveyService.patchMasterSurvey();
}

When the button is clicked which invokes patchMasterSurvey and vm.editSettings = false is within the method, the following error is thrown:
undefined is not an object (evaluating 'c.runner.end')

I did some testing and narrowed this particular issue down to 1.4.0-rc.0. The 1.4.0-beta.6 works fine. It also seems to only happen inside Safari. Tested inside Firefox and Chrome and no problem.

Without some context on where c.runner.end is, there is not a lot that can be done. I am going to close this, but feel free to reopen it in case you have a way to reproduce this error (even if it is within your app as long as it is accessible)


Update image of homeroom roster in README.md

Removing help wanted because we've got an open PR that fixes this one.


problem with rendering style: datatables when max-width of a page is changed.

Hi ,
I am again back to sphinx needs from another company 😁.
Its been very long time @twodrops  and @danwos .How are you ?
I have modified the width of the page using the below
.wy-nav-content {
    max-width: 900px
}

The below is rendering as shown in the pic.

.. needtable::
   :style: datatables
   :status: open

If I change the max-width to 1200 then its looks like below

Could you please help me by providing a resolution ?
thank you very much.

@sembooooo Nice to hear from you again and glad to see that you are still using sphinx-needs in your new job :)
The issue you mentioned is same as https://github.com/useblocks/sphinx-needs/issues/771.
The fix is still not part of RTD. Meanwhile we (in our project) moved away from RTD and did not follow this up. I somehow thought I haven't seen this issue anymore with the latest RTD versions as well. Maybe I am mistaken.

Thanks for the answer.
I will close this for now and will reopen this if i have any other problems


What's the format of the url to connect to an Oracle database?

For mysql is something like mysql://username:password@hostname/db_name
What would be the right url for an Oracle database?
Thanks in advance!

("oracle+cx_oracle://username:password@SID")


Bugfix/mlp minibatch grouping

If mini-batch preprocessor is run with grouping, the standardization in the output table is computed per group. This implies that MLP should also be run with the same grouping, else the dataset used for training would be different from the original data, hence making the training invalid.
This commit ensures that MLP training will proceed only if the grouping column input is same as the one used during preprocessing.

I tested this quite a bit and it seems to work nicely for me.
LGTM


v5.4.0 GA

[v5.4.0] - eSignature API v2.1-<IP_ADDRESS> - 04/26/2021
Added

Added new methods DeleteCustomFieldsV2, DeletePageInfoV2, GetApplianceEnvelopeInfo, GetTemplateInfo to envelopes.
Added new method DeleteConnectSecret to connect.

Changed

Added support for version v2.1-<IP_ADDRESS> of the DocuSign eSignature API.
Updated the SDK release version.

AppVeyor build and test pass.


will the datapack update to the new witch loot drop mechanic or more updates in general?

as the tittle says. don't have really more to say.
if i wrote this on the tap. let me know and sorry in advanced.

sorry if i wasn't clear. i meant  with release of the new snapshot, witches loot table has changed so that it will always drop Redstone dust. will there be a version of this datapack including that change for version 1.20.+ ?

The redstone drop change was made in a snapshot for 1.21. As I said I will not make a release for 1.21. If you want to play in 1.20.4 with increased redstone drops, it shouldn't be too hard for yourself to add this loot table.


Question: how can I find if a vertex is marked for delete?

OrientDB Version: 3.0
Java Version: 1.8
OS: Centos
Hi,
Is there a property or flag on the Vertex object that would tell us if a delete() was called on it.
Thanks,
Safwan

Hi @ShakAttacked,
As today there is no specifc API for do that, but if a vertex was deleted in the current transaction db.load(vertex.getIdentity()) should return null, if you need to check if a different session deleted it db.load(vertex.getIdentity(),null,true) the third parameter of the load if true make the load skip the session cache.
Hope this help
Regards

Hi @tglman,
can we turn this into a feature request please. I think it would be beneficial to know.  For example, in a trigger, a record might get deleted but another might try to update it and while it doesn't seem to break at the moment, it would be good to be able to check if record is not deleted as to avoid additional code execution on the server.
Thanks,
Safwan

Hi,
Yes it may have meaning in future to have an API 'isDeleted' or 'exists' for check if a record with a specific ID still exists in the storage/current transaction.
Regards


[求助/Help] GPU设备不能正常识别

宿主机上有两块 GPU 卡，但透传设备中只识别到了一块。

手动添加透传设备后，才可以识别出两块 GPU卡

操作系统版本：
Ubuntu 22.04.3 LTS
cloudpod 版本：
ocboot-3.11.0-20240117

@callme80 需要看一下宿主机 host agent 日志，找一下相关信息

@callme80 需要看一下宿主机 host agent 日志，找一下相关信息

[info 240126 03:12:09 procutils.WaitZombieLoop(zombie_others.go:36)] My pid is not 1 and no need to wait zombies
[info 240126 03:12:09 options.parseOptions(options.go:331)] Use configuration file: /etc/yunion/host.conf
[info 240126 03:12:09 options.parseOptions(options.go:354)] Set log level to "info"
[info 2024-01-26 03:12:09 options.parseOptions(options.go:331)] Use configuration file: /etc/yunion/common/common.conf
[info 2024-01-26 03:12:09 options.parseOptions(options.go:354)] Set log level to "info"
[info 2024-01-26 03:12:09 hostman.(*SHostService).InitService(host_services.go:63)] exec socket path: /var/run/onecloud/exec.sock
[info 2024-01-26 03:12:09 app.InitApp(app.go:32)] RequestWorkerCount: 8
[info 2024-01-26 03:12:09 appsrv.NewApplication(appsrv.go:120)] App hostId: O44UlR0JusveLHSNY11R94_mIwI= (host,dc03-node01-cloudpods-203,<IP_ADDRESS>)
2024/01/26 03:12:09 Allow hosts []
[info 2024-01-26 03:12:09 appsrv.(*Application).SetDefaultTimeout(appsrv.go:136)] adjust application default timeout to 60.000000 seconds
[info 2024-01-26 03:12:09 hostinfo.DetectCpuInfo(hostinfohelper.go:77)] cpuinfo freq 800
[info 2024-01-26 03:12:09 hostinfo.NewHostInfo(hostinfo.go:2339)] CPU Model Intel(R) Xeon(R) Gold 6330 CPU @ 2.00GHz Microcode 0xd0003b9
[info 2024-01-26 03:12:09 hostinfo.NewHostInfo(hostinfo.go:2359)] Get kubelet container image Fs: /opt/docker, eviction config: {"evictionHard":{"imagefs.available":{"Signal":"imagefs.available","Operator":"LessThan","Value":{"Quantity":null,"Percentage":0.05}},"memory.available":{"Signal":"memory.available","Operator":"LessThan","Value":{"Quantity":"100Mi","Percentage":0}},"nodefs.available":{"Signal":"nodefs.available","Operator":"LessThan","Value":{"Quantity":null,"Percentage":0.05}},"nodefs.inodesFree":{"Signal":"nodefs.inodesFree","Operator":"LessThan","Value":{"Quantity":null,"Percentage":0.05}}}}
[error 2024-01-26 03:12:09 hostinfo.(*SHostInfo).prepareEnv(hostinfo.go:371)] tuned-adm profile virtual-host fail: exec: "tuned-adm": executable file not found in $PATH
[info 2024-01-26 03:12:09 hostinfo.(*SHostInfo).prepareEnv(hostinfo.go:402)] I/O Scheduler switch to none
[info 2024-01-26 03:12:09 fileutils2.ChangeBlkdevParameter(fileutils.go:202)] Set queue/scheduler of nvme1n1 to none
[info 2024-01-26 03:12:09 hostinfo.(*SHostInfo).getKubeReservedMemMb(hostinfo.go:1523)] Kubelet memory threshold subtracted: 100MB
[info 2024-01-26 03:12:09 hostinfo.(*SHostInfo).Init(hostinfo.go:196)] Start detectHostInfo
[info 2024-01-26 03:12:09 hostinfo.(*SHostInfo).detectKVMMaxCpus(hostinfo.go:863)] KVM API VERSION 12
[info 2024-01-26 03:12:09 hostinfo.(*SHostInfo).detectKVMMaxCpus(hostinfo.go:868)] KVM CAP MAX VCPUS: 1024
[info 2024-01-26 03:12:09 hostinfo.(*SHostInfo).detectKVMMaxCpus(hostinfo.go:876)] KVM CAP NR VCPUS: 710
[info 2024-01-26 03:12:09 sysutils.detectNestSupport(kvm.go:146)] Host is support kvm nest ...
[info 2024-01-26 03:12:09 sysutils.detectNestSupport(kvm.go:151)] Host kvm nest is enabled ...
[error 2024-01-26 03:12:09 hostinfo.(*SHostInfo).detectOsDist(hostinfo.go:746)] exit status 1
[info 2024-01-26 03:12:09 hostinfo.(*SHostInfo).detectOsDist(hostinfo.go:756)] DetectOsDist
[error 2024-01-26 03:12:09 hostinfo.(*SHostInfo).detectOsDist(hostinfo.go:758)] Failed to detect distribution info
[warning 2024-01-26 03:12:09 hostinfo.(*SHostInfo).detectOsDist(hostinfo.go:777)] system_service.SetOpenvswitchName to openvswitch-switch
[info 2024-01-26 03:12:09 hostinfo.(*SHostInfo).detectQemuVersion(hostinfo.go:830)] Detect qemu version is 4.2.0
[info 2024-01-26 03:12:09 hostinfo.(*SHostInfo).detectOvsVersion(hostinfo.go:971)] Detect OVS version is 2.12.4
[info 2024-01-26 03:12:09 hostinfo.(*SHostInfo).detectOvsKOVersion(hostinfo.go:988)] kernel module openvswitch vermagic:       5.15.0-91-generic SMP mod_unload modversions
[info 2024-01-26 03:12:09 hostinfo.(*SHostInfo).Init(hostinfo.go:205)] Start parseConfig
[info 2024-01-26 03:12:09 hostinfo.NewNIC(hostinfohelper.go:233)] IP /br0/ens2f0
[info 2024-01-26 03:12:09 netutils2.(*SNetInterface).IsSecretAddress(netutils.go:296)] MASK --- ����
[info 2024-01-26 03:12:09 hostinfo.NewNIC(hostinfohelper.go:283)] Confirm to configuration!!
[info 2024-01-26 03:12:09 hostinfo.(*SNIC).SetupDhcpRelay(hostinfohelper.go:202)] Not enable dhcp relay on nic: &hostinfo.SNIC{Inter:"ens2f0", Bridge:"br0", Ip:"", Network:"bcast0", WireId:"", Mask:0, Bandwidth:1000, BridgeDev:(*hostbridge.SOVSBridgeDriver)(0xc001698f90), dhcpServer:(*hostdhcp.SGuestDHCPServer)(0xc0016998f0)}
[info 2024-01-26 03:12:09 hostinfo.(*SHostInfo).setupOvnChassis(hostinfo.go:223)] Start setting up ovn chassis
[info 2024-01-26 03:12:10 hostman.(*SHostService).RunService.func1(host_services.go:84)] Auth complete!!
[info 2024-01-26 03:12:10 policy.(*SPolicyManager).init(policy.go:136)] policy fetch worker count 1
[info 2024-01-26 03:12:10 consts.SetNonDefaultDomainProjects(consts.go:109)] set non_default_domain_projects to false
[info 2024-01-26 03:12:10 watcher.(*SInformerSyncManager).startWatcher(watcher.go:83)]EndpointChangeManager: Start resource informer watcher for endpoint
[info 2024-01-26 03:12:10 storageman.StartSnapshotRecycle(storage_base.go:491)] Snapshot recyle job started
[info 2024-01-26 03:12:10 guestman.NewGuestCpuSetCounter(guesthelper.go:198)] NewGuestCpuSetCounter from topo: {"architecture":"numa","nodes":[{"caches":[{"level":1,"logical_processors":[0,56],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[1,57],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[2,58],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[3,59],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[4,60],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[5,61],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[6,62],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[7,63],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[8,64],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[9,65],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[10,66],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[11,67],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[12,68],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[13,69],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[14,70],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[15,71],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[16,72],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[17,73],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[18,74],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[19,75],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[20,76],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[21,77],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[22,78],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[23,79],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[24,80],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[25,81],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[26,82],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[27,83],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[0,56],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[1,57],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[2,58],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[3,59],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[4,60],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[5,61],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[6,62],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[7,63],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[8,64],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[9,65],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[10,66],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[11,67],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[12,68],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[13,69],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[14,70],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[15,71],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[16,72],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[17,73],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[18,74],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[19,75],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[20,76],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[21,77],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[22,78],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[23,79],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[24,80],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[25,81],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[26,82],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[27,83],"size_bytes":32768,"type":"data"},{"level":2,"logical_processors":[0,56],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[1,57],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[2,58],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[3,59],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[4,60],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[5,61],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[6,62],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[7,63],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[8,64],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[9,65],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[10,66],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[11,67],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[12,68],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[13,69],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[14,70],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[15,71],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[16,72],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[17,73],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[18,74],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[19,75],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[20,76],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[21,77],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[22,78],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[23,79],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[24,80],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[25,81],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[26,82],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[27,83],"size_bytes":1310720,"type":"unified"},{"level":3,"logical_processors":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83],"size_bytes":44040192,"type":"unified"}],"cores":[{"id":0,"index":0,"logical_processors":[0,56],"total_threads":2},{"id":1,"index":1,"logical_processors":[1,57],"total_threads":2},{"id":10,"index":2,"logical_processors":[10,66],"total_threads":2},{"id":11,"index":3,"logical_processors":[11,67],"total_threads":2},{"id":12,"index":4,"logical_processors":[12,68],"total_threads":2},{"id":13,"index":5,"logical_processors":[13,69],"total_threads":2},{"id":14,"index":6,"logical_processors":[14,70],"total_threads":2},{"id":15,"index":7,"logical_processors":[15,71],"total_threads":2},{"id":16,"index":8,"logical_processors":[16,72],"total_threads":2},{"id":17,"index":9,"logical_processors":[17,73],"total_threads":2},{"id":18,"index":10,"logical_processors":[18,74],"total_threads":2},{"id":19,"index":11,"logical_processors":[19,75],"total_threads":2},{"id":2,"index":12,"logical_processors":[2,58],"total_threads":2},{"id":20,"index":13,"logical_processors":[20,76],"total_threads":2},{"id":21,"index":14,"logical_processors":[21,77],"total_threads":2},{"id":22,"index":15,"logical_processors":[22,78],"total_threads":2},{"id":23,"index":16,"logical_processors":[23,79],"total_threads":2},{"id":24,"index":17,"logical_processors":[24,80],"total_threads":2},{"id":25,"index":18,"logical_processors":[25,81],"total_threads":2},{"id":26,"index":19,"logical_processors":[26,82],"total_threads":2},{"id":27,"index":20,"logical_processors":[27,83],"total_threads":2},{"id":3,"index":21,"logical_processors":[3,59],"total_threads":2},{"id":4,"index":22,"logical_processors":[4,60],"total_threads":2},{"id":5,"index":23,"logical_processors":[5,61],"total_threads":2},{"id":6,"index":24,"logical_processors":[6,62],"total_threads":2},{"id":7,"index":25,"logical_processors":[63,7],"total_threads":2},{"id":8,"index":26,"logical_processors":[64,8],"total_threads":2},{"id":9,"index":27,"logical_processors":[65,9],"total_threads":2}],"distances":[10,20],"id":0,"memory":{"supported_page_sizes":[1073741824,2097152],"total_physical_bytes":824633720832,"total_usable_bytes":810988961792}},{"caches":[{"level":1,"logical_processors":[28,84],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[29,85],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[30,86],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[31,87],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[32,88],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[33,89],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[34,90],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[35,91],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[36,92],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[37,93],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[38,94],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[39,95],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[40,96],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[41,97],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[42,98],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[43,99],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[44,100],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[45,101],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[46,102],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[47,103],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[48,104],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[49,105],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[50,106],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[51,107],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[52,108],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[53,109],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[54,110],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[55,111],"size_bytes":32768,"type":"instruction"},{"level":1,"logical_processors":[28,84],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[29,85],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[30,86],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[31,87],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[32,88],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[33,89],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[34,90],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[35,91],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[36,92],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[37,93],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[38,94],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[39,95],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[40,96],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[41,97],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[42,98],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[43,99],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[44,100],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[45,101],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[46,102],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[47,103],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[48,104],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[49,105],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[50,106],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[51,107],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[52,108],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[53,109],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[54,110],"size_bytes":32768,"type":"data"},{"level":1,"logical_processors":[55,111],"size_bytes":32768,"type":"data"},{"level":2,"logical_processors":[28,84],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[29,85],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[30,86],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[31,87],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[32,88],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[33,89],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[34,90],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[35,91],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[36,92],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[37,93],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[38,94],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[39,95],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[40,96],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[41,97],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[42,98],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[43,99],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[44,100],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[45,101],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[46,102],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[47,103],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[48,104],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[49,105],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[50,106],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[51,107],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[52,108],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[53,109],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[54,110],"size_bytes":1310720,"type":"unified"},{"level":2,"logical_processors":[55,111],"size_bytes":1310720,"type":"unified"},{"level":3,"logical_processors":[28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111],"size_bytes":44040192,"type":"unified"}],"cores":[{"id":16,"index":0,"logical_processors":[100,44],"total_threads":2},{"id":17,"index":1,"logical_processors":[101,45],"total_threads":2},{"id":18,"index":2,"logical_processors":[102,46],"total_threads":2},{"id":19,"index":3,"logical_processors":[103,47],"total_threads":2},{"id":20,"index":4,"logical_processors":[104,48],"total_threads":2},{"id":21,"index":5,"logical_processors":[105,49],"total_threads":2},{"id":22,"index":6,"logical_processors":[106,50],"total_threads":2},{"id":23,"index":7,"logical_processors":[107,51],"total_threads":2},{"id":24,"index":8,"logical_processors":[108,52],"total_threads":2},{"id":25,"index":9,"logical_processors":[109,53],"total_threads":2},{"id":26,"index":10,"logical_processors":[110,54],"total_threads":2},{"id":27,"index":11,"logical_processors":[111,55],"total_threads":2},{"id":0,"index":12,"logical_processors":[28,84],"total_threads":2},{"id":1,"index":13,"logical_processors":[29,85],"total_threads":2},{"id":2,"index":14,"logical_processors":[30,86],"total_threads":2},{"id":3,"index":15,"logical_processors":[31,87],"total_threads":2},{"id":4,"index":16,"logical_processors":[32,88],"total_threads":2},{"id":5,"index":17,"logical_processors":[33,89],"total_threads":2},{"id":6,"index":18,"logical_processors":[34,90],"total_threads":2},{"id":7,"index":19,"logical_processors":[35,91],"total_threads":2},{"id":8,"index":20,"logical_processors":[36,92],"total_threads":2},{"id":9,"index":21,"logical_processors":[37,93],"total_threads":2},{"id":10,"index":22,"logical_processors":[38,94],"total_threads":2},{"id":11,"index":23,"logical_processors":[39,95],"total_threads":2},{"id":12,"index":24,"logical_processors":[40,96],"total_threads":2},{"id":13,"index":25,"logical_processors":[41,97],"total_threads":2},{"id":14,"index":26,"logical_processors":[42,98],"total_threads":2},{"id":15,"index":27,"logical_processors":[43,99],"total_threads":2}],"distances":[20,10],"id":1,"memory":{"supported_page_sizes":[1073741824,2097152],"total_physical_bytes":826781204480,"total_usable_bytes":811726753792}}]}
[info 2024-01-26 03:12:10 guestman.(*SGuestManager).LoadExistingGuests(guestman.go:404)] Find existing guest 7d563159-790b-4490-890f-ceb2a00a140f
[info 2024-01-26 03:12:10 guestman.(*SGuestManager).LoadExistingGuests(guestman.go:404)] Find existing guest c19f8f29-b2cd-490b-8e4c-1b5a1b072305
[info 2024-01-26 03:12:10 hostdhcp.(*SGuestDHCPServer).Start(dhcpserver.go:72)] SGuestDHCPServer starting ...
[info 2024-01-26 03:12:10 guestman.(*SGuestManager).InitQemuMaxCpus(guestman.go:143)] KVM max cpus count: 710
[info 2024-01-26 03:12:10 guestman.(*SGuestManager).InitQemuMaxCpus(guestman.go:161)] Machine type pc max cpus: 240
[info 2024-01-26 03:12:10 guestman.(*SGuestManager).InitQemuMaxCpus(guestman.go:161)] Machine type q35 max cpus: 240
[info 2024-01-26 03:12:10 guestman.(*SGuestManager).InitPythonPath(guestman.go:183)] No python found : exit status 1
[info 2024-01-26 03:12:10 guestman.(*SGuestManager).InitPythonPath.func1(guestman.go:176)] Python path /usr/bin/python3
[info 2024-01-26 03:12:10 informer.(*EtcdBackendForClient).StartClientWatch(etcd_client.go:84)] /onecloud/informer watched
[info 2024-01-26 03:12:10 informer.NewWatchManagerBySessionBg.func1(watcher.go:51)] callback with watchMan success.
[info 2024-01-26 03:12:12 hostinfo.(*SHostInfo).ensureMasterNetworks(hostinfo.go:1206)] Master ip <IP_ADDRESS> to fetch wire
[info 2024-01-26 03:12:12 hostinfo.(*SHostInfo).initZoneInfo(hostinfo.go:1248)] Start GetZoneInfo aa8598a5-8664-4c84-8493-6b44489c4531
[info 2024-01-26 03:12:12 hostinfo.(*SHostInfo).initHostRecord(hostinfo.go:1154)] host health manager on host down
[info 2024-01-26 03:12:12 hostinfo.(*SHostInfo).doSendPhysicalNicInfo(hostinfo.go:1660)] upload physical nic: ens27f0(04:32:01:97:2a:90)
[info 2024-01-26 03:12:12 hostinfo.(*SHostInfo).doUploadNicInfoInternal(hostinfo.go:1673)] Upload NIC br: if:ens27f0
[info 2024-01-26 03:12:12 hostinfo.(*SHostInfo).doSendPhysicalNicInfo(hostinfo.go:1660)] upload physical nic: ens27f1(04:32:01:97:2a:91)
[info 2024-01-26 03:12:12 hostinfo.(*SHostInfo).doUploadNicInfoInternal(hostinfo.go:1673)] Upload NIC br: if:ens27f1
[info 2024-01-26 03:12:12 hostinfo.(*SHostInfo).doSendPhysicalNicInfo(hostinfo.go:1660)] upload physical nic: ens27f2(04:32:01:97:2a:92)
[info 2024-01-26 03:12:12 hostinfo.(*SHostInfo).doUploadNicInfoInternal(hostinfo.go:1673)] Upload NIC br: if:ens27f2
[info 2024-01-26 03:12:12 hostinfo.(*SHostInfo).doSendPhysicalNicInfo(hostinfo.go:1660)] upload physical nic: ens27f3(04:32:01:97:2a:93)
[info 2024-01-26 03:12:12 hostinfo.(*SHostInfo).doUploadNicInfoInternal(hostinfo.go:1673)] Upload NIC br: if:ens27f3
[info 2024-01-26 03:12:12 hostinfo.(*SHostInfo).doSendPhysicalNicInfo(hostinfo.go:1660)] upload physical nic: ens2f0(6c:fe:54:6b:ac:a4)
[info 2024-01-26 03:12:12 hostinfo.(*SHostInfo).doUploadNicInfoInternal(hostinfo.go:1673)] Upload NIC br: if:ens2f0
[info 2024-01-26 03:12:13 hostinfo.(*SHostInfo).doSendPhysicalNicInfo(hostinfo.go:1660)] upload physical nic: ens2f1(6c:fe:54:6b:ac:a5)
[info 2024-01-26 03:12:13 hostinfo.(*SHostInfo).doUploadNicInfoInternal(hostinfo.go:1673)] Upload NIC br: if:ens2f1
[info 2024-01-26 03:12:13 isolated_device.(*isolatedDeviceManager).probeCustomPCIDevs(isolated_device.go:184)] Add general pci device: 0 => &isolated_device.sGeneralPCIDevice{sBaseDevice:(*isolated_device.sBaseDevice)(0xc0022f5220)}
[info 2024-01-26 03:12:13 isolated_device.(*isolatedDeviceManager).probeCustomPCIDevs(isolated_device.go:184)] Add general pci device: 1 => &isolated_device.sGeneralPCIDevice{sBaseDevice:(*isolated_device.sBaseDevice)(0xc0022f57c0)}
[info 2024-01-26 03:12:13 isolated_device.getPassthroughGPUS(gpu.go:75)] filter address [b4:00.1 b5:00.1]
[warning 2024-01-26 03:12:13 isolated_device.(*IOMMUGroup).ListDevices(gpu.go:462)] Skip append "0000:02:00.0" iommu_group[19] device {"bus_id":"01:00.0","class_code":"0604","class_name":"PCI bridge","device_id":"0120","device_name":"x1 PCIe Gen2 Bridge[Pilot4]","vendor_id":"19a2","vendor_name":"Emulex Corporation"}
[info 2024-01-26 03:12:13 isolated_device.(*PCIDevice).IsBootVGA(gpu.go:307)] PCI address 02:00.0 is boot_vga: /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/0000:02:00.0/boot_vga
[info 2024-01-26 03:12:13 isolated_device.(*PCIDevice).forceBindVFIOPCIDriver(gpu.go:325)] &isolated_device.PCIDevice{Addr:"02:00.0", ClassName:"VGA compatible controller", ClassCode:"0300", VendorName:"Matrox Electronics Systems Ltd.", VendorId:"102b", DeviceName:"MGA G200e [Pilot] ServerEngines (SEP1)", DeviceId:"0522", SubvendorName:"Emulex Corporation", SubvendorId:"19a2", SubdeviceName:"MGA G200e [Pilot] ServerEngines (SEP1)", SubdeviceId:"0101", ModelName:"Pilot", RestIOMMUGroupDevs:[]*isolated_device.PCIDevice{}} is boot vga card, skip it
[warning 2024-01-26 03:12:15 isolated_device.getPassthroughGPUS(gpu.go:102)] GPU {"bus_id":"02:00.0","class_code":"0300","class_name":"VGA compatible controller","device_id":"0522","device_name":"MGA G200e [Pilot] ServerEngines (SEP1)","model_name":"Pilot","subdevice_id":"0101","subdevice_name":"MGA G200e [Pilot] ServerEngines (SEP1)","subvendor_id":"19a2","subvendor_name":"Emulex Corporation","vendor_id":"102b","vendor_name":"Matrox Electronics Systems Ltd."} use kernel driver "mgag200", skip it
[info 2024-01-26 03:12:15 isolated_device.(*isolatedDeviceManager).probeGPUS(isolated_device.go:161)] Add GPU device: 0 => &isolated_device.PCIDevice{Addr:"b4:00.0", ClassName:"VGA compatible controller", ClassCode:"0300", VendorName:"NVIDIA Corporation", VendorId:"10de", DeviceName:"Device", DeviceId:"2684", SubvendorName:"NVIDIA Corporation", SubvendorId:"10de", SubdeviceName:"Device", SubdeviceId:"16f3", ModelName:"", RestIOMMUGroupDevs:[]*isolated_device.PCIDevice{(*isolated_device.PCIDevice)(0xc0015e4540)}}
[info 2024-01-26 03:12:15 isolated_device.SyncDeviceInfo(isolated_device.go:475)] Update fb236eba-7868-45a9-8a67-bc9a6c5bd99c isolated_device: {"addr":"b4:00.1","detected_on_host":true,"dev_type":"GPU","guest_id":"7d563159-790b-4490-890f-ceb2a00a140f","host_id":"93a1e44e-36b7-4e0e-8d7c-4476017176ca","id":"fb236eba-7868-45a9-8a67-bc9a6c5bd99c","model":"Nvidia-4090","vendor_device_id":"10de:22ba"}
[info 2024-01-26 03:12:15 isolated_device.SyncDeviceInfo(isolated_device.go:475)] Update 03996d3e-f0d9-48b0-82e1-04b3a61e4046 isolated_device: {"addr":"b5:00.1","detected_on_host":true,"dev_type":"GPU","guest_id":"7d563159-790b-4490-890f-ceb2a00a140f","host_id":"93a1e44e-36b7-4e0e-8d7c-4476017176ca","id":"03996d3e-f0d9-48b0-82e1-04b3a61e4046","model":"Nvidia-4090","vendor_device_id":"10de:22ba"}
[info 2024-01-26 03:12:16 isolated_device.(*PCIDevice).forceBindVFIOPCIDriver(gpu.go:329)] {"bus_id":"b4:00.0","class_code":"0300","class_name":"VGA compatible controller","device_id":"2684","device_name":"Device","subdevice_id":"16f3","subdevice_name":"Device","subvendor_id":"10de","subvendor_name":"NVIDIA Corporation","vendor_id":"10de","vendor_name":"NVIDIA Corporation"} already use vfio-pci driver
[info 2024-01-26 03:12:16 isolated_device.SyncDeviceInfo(isolated_device.go:475)] Update 4e00fef2-708a-4e45-8539-c252c49eca08 isolated_device: {"addr":"b4:00.0","detected_on_host":true,"dev_type":"GPU-HPC","host_id":"93a1e44e-36b7-4e0e-8d7c-4476017176ca","id":"4e00fef2-708a-4e45-8539-c252c49eca08","model":"Device","vendor_device_id":"10de:2684"}
[info 2024-01-26 03:12:16 hostinfo.(*SHostInfo).initStoragesInternal(hostinfo.go:1810)] Storage host_<IP_ADDRESS>_local_storage_0(local) mountpoint /opt/cloud/workspace/disks
[info 2024-01-26 03:12:16 storageman.(*SLocalStorage).GetAvailSizeMb(storage_local.go:209)] Storage /opt/cloud/workspace/disks and kubelet imageFs /opt/docker share same device /dev/nvme1n1p3
[info 2024-01-26 03:12:16 storageman.(*SLocalStorage).GetAvailSizeMb(storage_local.go:221)] Storage /opt/cloud/workspace/disks sizeMb 4940410, usablePercent 0.950000
[info 2024-01-26 03:12:16 storageman.(*SLocalStorage).SyncStorageInfo(storage_local.go:255)] Sync storage info 51ad991f-2497-4a48-8926-2ce90265a50b/host_<IP_ADDRESS>_local_storage_0
[info 2024-01-26 03:12:16 hostinfo.(*SHostInfo).onSyncStorageInfoSucc(hostinfo.go:1889)] storage id 51ad991f-2497-4a48-8926-2ce90265a50b
[info 2024-01-26 03:12:16 hostinfo.(*SHostInfo).onSucc(hostinfo.go:2038)] Host registration process success....
[info 2024-01-26 03:12:16 guestman.(*SGuestManager).Bootstrap(guestman.go:240)] Loading existing guests ...
[info 2024-01-26 03:12:16 hostinfo.(*SHostPingTask).Start(hostpinger.go:76)] Start host pinger ...
[info 2024-01-26 03:12:16 guestman.(*SKVMGuestInstance).ImportServer(qemu-kvm.go:697)] bbb(7d563159-790b-4490-890f-ceb2a00a140f) is stopped, pending_delete=false
[info 2024-01-26 03:12:16 guestman.(*SGuestManager).OnLoadExistingGuestsComplete(guestman.go:311)] Load existing guests complete...
[error 2024-01-26 03:12:16 hostinfo.(*SHostInfo).PutHostOnline(hostinfo.go:1552)] Host sys error: map[isolated_devices:[{isolated_devices    force bind vfio-pci driver b5:00.0: bind {"bus_id":"b5:00.1","class_code":"0403","class_name":"Audio device","device_id":"22ba","device_name":"Device","subdevice_id":"16f3","subdevice_name":"Device","subvendor_id":"10de","subvendor_name":"NVIDIA Corporation","vendor_id":"10de","vendor_name":"NVIDIA Corporation"} vfio-pci driver: bindDriver: write /sys/bus/pci/drivers/vfio-pci/new_id: file exists 2024-01-26 03:12:15.328537819 +0000 UTC m=+6.081455440} {isolated_devices    GPU 02:00.0 use kernel driver mgag200, skip it 2024-01-26 03:12:15.328538565 +0000 UTC m=+6.081456186} {isolated_devices b5:00.1 Nvidia-4090 CustomProbe failed bind driver: write /sys/bus/pci/drivers/vfio-pci/new_id: file exists 2024-01-26 03:12:15.404044314 +0000 UTC m=+6.156961935}]]
[info 2024-01-26 03:12:16 guestman.(*SKVMGuestInstance).ImportServer(qemu-kvm.go:697)] aaaa(c19f8f29-b2cd-490b-8e4c-1b5a1b072305) is stopped, pending_delete=false
[info 2024-01-26 03:12:16 app.InitApp(app.go:32)] RequestWorkerCount: 8
[info 2024-01-26 03:12:16 appsrv.NewApplication(appsrv.go:120)] App hostId: O44UlR0JusveLHSNY11R94_mIwI= (host,dc03-node01-cloudpods-203,<IP_ADDRESS>)
2024/01/26 03:12:16 Allow hosts []
[info 2024-01-26 03:12:16 appsrv.(*Application).SetDefaultTimeout(appsrv.go:136)] adjust application default timeout to 60.000000 seconds
[info 2024-01-26 03:12:16 app.ServeForeverExtended(app.go:60)] Start listen on https://<IP_ADDRESS>:8885, isMaster: true
[info 2024-01-26 03:12:16 metadata.Start(metadatahandler.go:46)] Start metadata service on http://<IP_ADDRESS>:9885
[info 2024-01-26 03:13:09 ovnutils.configBridgeMtu.func1(ovnutils.go:42)] set brvpc MTU to 1500 success!

*[error 2024-01-26 03:12:16 hostinfo.(SHostInfo).PutHostOnline(hostinfo.go:1552)] Host sys error: map[isolated_devices:[{isolated_devices force bind vfio-pci driver b5:00.0: bind {"bus_id":"b5:00.1","class_code":"0403","class_name":"Audio device","device_id":"22ba","device_name":"Device","subdevice_id":"16f3","subdevice_name":"Device","subvendor_id":"10de","subvendor_name":"NVIDIA Corporation","vendor_id":"10de","vendor_name":"NVIDIA Corporation"} vfio-pci driver: bindDriver: write /sys/bus/pci/drivers/vfio-pci/new_id: file exists 2024-01-26 03:12:15.328537819 +0000 UTC m=+6.081455440} {isolated_devices GPU 02:00.0 use kernel driver mgag200, skip it 2024-01-26 03:12:15.328538565 +0000 UTC m=+6.081456186} {isolated_devices b5:00.1 Nvidia-4090 CustomProbe failed bind driver: write /sys/bus/pci/drivers/vfio-pci/new_id: file exists 2024-01-26 03:12:15.404044314 +0000 UTC m=+6.156961935}]]

目前看这个报错绑定 vfio 驱动报错

你现在探测出来的是 gpu 的一个 function，不是真正的GPU设备，你的 4080 应该是 b4:00.0 和 b5:00.0 不是 b4:00.1 和 b5:00.1 ，你的 device 和 vendor 应该填错了。
你需要删除这两个 custom device 然后重启一下 host-agent 再看下日志。目测是绑 vfio驱动有问题

宿主机上有两块 GPU 卡，但透传设备中只识别到了一块。

手动添加透传设备后，才可以识别出两块 GPU卡

操作系统版本： Ubuntu 22.04.3 LTS cloudpod 版本： ocboot-3.11.0-20240117

我通过以下命令更新过显卡型号内容
yum install pciutils
update-pciids
lspci -nnk | grep NVIDIA -A 3


ERROR -Unable to connect to qemu monitor (port 4000)

While creating a "vr-vmx" from repo "https://github.com/vrnetlab/vrnetlab" and using Juniper KVM image - 18.2, I received the following Error
failed to initialize KVM: Device or resource busy
2022-05-06 03:38:51,501: vrnetlab   INFO     Unable to connect to qemu monitor (port 4000), retrying in a second (attempt 1)
2022-05-06 03:38:52,502: vrnetlab   INFO     Unable to connect to qemu monitor (port 4000), retrying in a second (attempt 2)
2022-05-06 03:38:53,503: vrnetlab   INFO     Unable to connect to qemu monitor (port 4000), retrying in a second (attempt 3)
Please help.

Hi, did you solved it?

Always include the complete command you ran and the full log output.
It seems you have some issue with KVM, so that is what you should troubleshoot. That the launch script cannot connect to qemu monitor is completely natural if the virtual machine is having some KVM related problem and thus won't start.

I was running vrnetlab on Rocky Linux 9.2, so my problem was vrnetlab couldn't find qemu-system-x86 which is qemu-kvm in Rocky Linux, I solved by creating a symbolic link.

Hi, Do you mind share the exact cmd? Thanks


Influx previews are incorrect when backlinks use Markdown Links (with possible solution)

Describe the bug
When a document uses Markdown Links instead of the default "Shortest path when Possible" WikiLinks, Influx does not render the preview correctly.
To Reproduce
Steps to reproduce the behavior:

Create a target note called "target"
Create a referring note called "markdown referral"
In the note "markdown referral", add the following block of text:

# This is the top heading
This is the first paragraph

# This uses Markdown Links
[Target](./target.md) This will not appear in the Influx preview

Return to "target.md", and observe the Influx widget.
Notice that it links to the correct "markdown link" note, but only displays "This is the top heading"

Expected behavior
The Influx widget should link to the correct "markdown link" note, and displays:
# This uses Markdown Links
[Target](./target.md) This will not appear in the Influx preview

Screenshots

Desktop (please complete the following information):

OS:MacOS
Version: 11.6.8
influx version: 2.0.7
Obsidian version: 1.0.3

Additional context
Influx preview works correctly for "Shortest path when Possible" WikiLinks.

Hey there, I think there is a solution to this. The compareLinkName method in the apiAdapter.tsx file doesn't return true when the link is a Markdown link.
with some additional code, you can make it work with Markdown links.
Very quickly, here it is:
compareLinkName(link: LinkCache, basename: string) {

    // format link name to be comparable with base names:
    // strip any block references from the end
    const path = link.link;
    const filenameOnly = path.split("/").slice(-1)[0]
    const linkname = filenameOnly.split("#^")[0].split(".md")[0]

    if (linkname.toLowerCase() === basename.toLowerCase()) {
        return true
    }
    return false
    }

markdown links that used to fail and will now work:

"./target.md"
"./folder/subfolder/target.md"
"./target.md#^3e2345"

Have raised pull request (https://github.com/jensmtg/influx/pull/51).

Implemented. Thanks!


Dim backgound of non-focused editors

Issue Type: Feature Request
This would need a change in VS Code itself to be done right (can't be just an extension), since it would require each theme to have a dimmed-background color variable.
VS Code version: Code 1.62.2 (3a6960b964327f0e3882ce18fcebd07ed191b316, 2021-11-11T20:56:38.428Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

//cc @misolori

This would be interesting:

Oh wait, maybe this wouldn't need new colors, just opacity /= 2 or something.

Similar thing for Emacs https://github.com/mina86/auto-dim-other-buffers.el that I made this in 2013 to show a basic idea of what I had in mind. But your sshot looks better: it'd be nicer if foreground colors were dimmed instead. (Hence opacity idea. Should even work with "unused vars" if it's opacity/N.)

I think opacity might be the simpler option, but it might also require some more work like possibly hiding the current line in other editors.
iTerm also does a similar thing:

Also worth considering an overlay with bg = #0002 or #fff2 as alternative implementation.

Btw I don't know anyone, have no twitter, and have no ability to raise upvotes, so if you guys want to tweet this or whatever, feel free, otherwise I expect it will auto-close due to "no interest".


[DNM]: PoC of Dropdown shadows on warning and error

Closing this PoC since the related PR that benefitted from this exploration (#408 and #429) were merged. Thanks, Michael!


Issues with the theme

Text Popout looks a bit off. (either change the placement of the account panel or just make it like the default one, that also fixes the spotify addon issue.)
https://imgur.com/a/MWZ0QsG
also no Spotify overlay/player available :(

ill take a look at it tmrw, for now you can just disable that addon
also, can you go into more detail of what you mean by “also no Spotify overlay/player available”?

my bad, the spotify plugin was just acting up, it got fixed

i was talking about this btw https://imgur.com/a/Af0DPHj

alrighty, probably was some css snippet that did that because this theme doesn't really mess with the bar.
also ty for pointing z-indexing issue out, just fixed it so run git pull to update :>


FR: Screensaver brightness as light

I use Adaptive Lighting integration with the screen brightness being lowered in the evening. When the screensaver goes on, the brightness goes to the screensaver brightness (255) which sets manual control and overrides the brightness lowering.
If screensaver brightness was implemented as a light entity as well, they could both be transitioned lower through the evening/morning.

I have used a template light to work for now, so only a feature request.