Proposed API for independent commands

I wanted to define my kingpin commands with a pattern where adding a new command only required adding new code (i.e. not modifying an existing switch statement), and also I didn't need to duplicate a string constant for my command name.
I propose additions to the kingpin API to support a similar pattern along the lines of this example:

// my-app.go:
var app kingpin.Application = kingpin.New("my-app", "My app")a

func main() {
	cmd, err := app.Parse(os.Args[1:])
	if err != nil || cmd == "" {
		app.Usage(os.Stderr)
		return
	}

	app.RunAction(cmd)
}

// my_job.go:
func init() {
	cmd := app.Command("greet", "Greet a user")
	argGreetName := cmd.Arg("greet-name", "Name of user to greet").Required().String()
	cmd.Action(func() {
		fmt.Printf("Hello, %s!", *argGreetName)
	})
}

The new kingpin interfaces could be:
// Set the action function for a command
func (*CmdClause) Action(action CommandAction) {}

type CommandAction func(*ActionContext) (interface{}, error)

type ActionContext struct {
	Application *Application
	Command *CmdClause
	// Other stuff here?
}

// Returns whatever values the CommandAction returned.
// cmdName should be a result from Application.Parse()
// Panics if cmdName isn't the name of a registered command, as this is a programmer error.
func (*Application) RunAction(command string) (interface{}, error) {}

// Parses arguments and prints usage on parse error or runs RunAction.
// Other possible names for this function: Run, ParseAndRun, DefaultRun.
func (*Application) ParseAndRunAction(args []string) (interface{}, error) {}

Any thoughts?
Happy to write this up as a PR if people like the idea.

There is already a .Dispatch() hook on flags and commands. Is this sufficient?
eg.
cmd := app.Command("greet", "Greet a user").Dispatch(func(*ParseContext) error {
  println("hi")
})

Also, you don't need to duplicate string constants. Just use cmd.FullCommand() in the case statements.

Dispatch looks good. On glancing at the code the ParseContext parameter type made me think it was for dispatching parsing, not running the commands themselves. I'd like to add documentation to this.
I'd missed cmd.FullCommand(), yes that would help things. I see it's used in README.md but missing in the godoc example. I'd like to update the godoc example as well.
Those two are a big improvement, thanks for pointing them out.
This still doesn't get rid of the switch statement, which I think would be a big improvement. Would you be interested in a PR to add the documentation I mentioned above and dispatch automagically to your commands' Dispatch handlers?

More documentation is always better!
Dispatch() is called after a command is parsed, so you shouldn't need a switch statement AFAICT. Unless I'm missing something?

I'm so sorry for wasting your time on this. I was scanning the code by using the Github search tool with the keyword dispatch, which it turns out only shows a few matches per file. That'll teach me for not using grep! Looking again I can see the unit test to verify cmd.Dispatch() is called.
I'll submit a PR to update some of the documentation, which will hopefully make these best practices more discoverable.

No problem! As you say, documentation is a bit lacking :)


[DOCS] Add faq, talk and edit community sync page

Change Logs
Describe context and summary for this change. Highlight if any code was copied.
Impact
Describe any public API or user-facing feature change or any performance impact.
Risk level (write none, low medium or high below)
If medium or high, explain what verification was done to mitigate the risks.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

The images are for the next pr that has these external blogs.

https://aws.amazon.com/blogs/big-data/part-1-get-started-with-apache-hudi-using-aws-glue-by-implementing-key-design-concepts/
https://aws.amazon.com/blogs/big-data/how-hudl-built-a-cost-optimized-aws-glue-pipeline-with-apache-hudi-datasets/


Out of Memory

I ran the example and ran into the following error:
jaxlib.xla_extension.XlaRuntimeError: RESOURCE_EXHAUSTED: Out of memory while trying to allocate<PHONE_NUMBER> bytes.
BufferAssignment OOM Debugging.
BufferAssignment stats:
parameter allocation:  372.76MiB
constant allocation:    48.5KiB
maybe_live_out allocation:    9.64GiB
preallocated temp allocation:    4.44GiB
total allocation:   14.44GiB
total fragmentation:  680.30MiB (4.60%)
I am running a 3080 ti GPU.
Does this only run on a more powerful GPU? Or is something else wrong?

Hi, yes you probably need a more powerful GPU.


Fix incorrect linking of policies to groups/roles.

If a group or role name was duplicated between different AWS account, cartographer could incorrectly setup STS_ASSUMEROLE_ALLOW relationsships.

Finally getting around to testing this interally; sorry about this.


app-build-suite doesn't correctly handle semver suffix when publishing charts to catalog

When publishing a Helm chart to a catalog using app-build-suite if the tag version contains a suffix (e.g. v1.2.3-gs1) then the suffix is dropped and the chart is published with just the version numbers. This could potentially lead to charts being incorrectly overwritten (but hasn't been confirmed).
Example:

cluster-autoscaler-app v1.30.3-gs1

This release was published as https://giantswarm.github.io/default-catalog/cluster-autoscaler-app-1.30.3.tgz instead of the expected https://giantswarm.github.io/default-catalog/cluster-autoscaler-app-1.30.3-gs1.tgz.
CircleCI job
Note: The previous release v1.30.2-gs1 didn't have this bug so it was introduced sometime after that release.
Related slack thread

This is currently blocking https://github.com/giantswarm/giantswarm/issues/32160

This is fixed now in app-build-suite 1.2.8, which is set as a builder in architect-orb 5.11.2.
Please note, however, that you're abusing semver here: -gs1 and sequential numbers indicate clearly that it's a pre-release. All the libs that we use most probably take this into account (I've seen that already), so it means that, at least (not exclusive) this problems are included:

If you ever release 1.30.3, all the releases tagged 1.30.3-gs(\d+) will be considered pre-releases for that release and will always come before it.
If you never in the future release a version that drops the -gsX suffix, all your versions will be considered pre-releases. So, If you have at least 1 tag without that preffix, no matter how old, it will be considered the most recent stable release for that app.
As you're not using . separator between the pre-release tag (you have -gs1, not -gs.1), i think (95%) it will be sorted lexicographically, so -gs9 will come after -gs10.

TL;DR: please change this tagging scheme to comply with semver or you might get a surprise.

I'm not closing the ticket yet, please confirm it works OK for you now.

Closing this as complete - if any issues arise we'll work on that under a new ticket


Bug in mean median mode calculator

Describe the bug

A clear and concise description of what the bug is.
If all same numbers are entered in mean mode median calculator in mode it shows "All number appeared just once".

#GsSOC'21
Please assign this to me.

Go ahead
Feel free to ask your doubts, if any
Deadline 24 March,2021 (11:59 PM IST)


[ISSUE #5294]fix ClassLoad path optimization

issue

Codecov Report

Merging #5295 (36e5d24) into develop (8d10c96) will decrease coverage by 0.10%.
The diff coverage is 11.76%.

@@              Coverage Diff              @@
##             develop    #5295      +/-   ##
=============================================
- Coverage      43.20%   43.09%   -0.11%
+ Complexity      7807     7804       -3
=============================================
  Files            998     1001       +3
  Lines          69451    69646     +195
  Branches        9169     9199      +30
=============================================
+ Hits           30003    30016      +13
- Misses         35682    35859     +177
- Partials        3766     3771       +5

Impacted Files
Coverage Δ

.../apache/rocketmq/common/utils/ServiceProvider.java
0.00% <0.00%> (ø)

.../apache/rocketmq/proxy/grpc/GrpcServerBuilder.java
0.00% <0.00%> (ø)

...a/org/apache/rocketmq/broker/BrokerController.java
43.54% <12.50%> (-0.13%)
:arrow_down:

...org/apache/rocketmq/store/DefaultMessageStore.java
53.66% <100.00%> (ø)

...etmq/proxy/grpc/v2/channel/GrpcChannelManager.java
26.82% <0.00%> (-10.21%)
:arrow_down:

...org/apache/rocketmq/proxy/common/ProxyContext.java
84.84% <0.00%> (-8.49%)
:arrow_down:

...ocketmq/proxy/service/route/TopicRouteService.java
60.71% <0.00%> (-4.68%)
:arrow_down:

...ocketmq/proxy/common/AbstractStartAndShutdown.java
23.07% <0.00%> (-4.20%)
:arrow_down:

...ketmq/client/impl/consumer/PullMessageService.java
49.23% <0.00%> (-3.08%)
:arrow_down:

...apache/rocketmq/broker/client/ConsumerManager.java
77.23% <0.00%> (-2.60%)
:arrow_down:

... and 49 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@RapperCL Your pull request looks good. Unfortunately, it now has conflicts with develop branch.... Can you please rebase it on top of develop branch so that it can pass all CI checks?


Fix repl to render std::bigint values properly

Issue #924

This depends on https://github.com/edgedb/edgedb-python/pull/69


Remove outdated todo

AB#31244
Describe your changes

Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I have added tests wherever relevant
[x] I have made sure that all automated checks pass before requesting a review
[x] I do not need any deviation from our PR guidelines

Moved to #6068


Fix leaking TSM files when compacting

The files being read were not closed after the compaction ran causing
them to leak.
Fixes #5046

@otoolep @pauldix

haha ouch. +1

Cherry-picked to 0.9.6


[Feature Request] Allow direct copying of timestamps/screenshots

Issue Summary
It is not very convenient to go through media note every time you take a timestamp/timestamped screenshots, because not all video files require media note. For some simple records, you just need to copy the timestamp to the required markdown file.
Proposed Improvement
Allow timestamps/timestamped screenshots to be captured directly into the clipboard or at the cursor position within a document tab, enabling users to paste them directly where needed without having to copy from a media note.


cassandra-driver - ModuleNotFoundError: No module named 'concurrent'

I'm getting ModuleNotFoundError: No module named 'concurrent' with a very simple test Python program that demonstrates the issue encountered with a full program:
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ cat cassandra-driver-test.py
import cassandra
from cassandra.cluster import Cluster
print(f"cassandra version: {cassandra.__version__}")
print(f"Cluster info: {Cluster.__module__}")
(.venv) leonid@xlr2:~/dev/python/nuitka-test$

Tested against Nuitka development version:
leonid@xlr2:~/dev/python/nuitka-test$ ls -al
total 12
drwxrwxr-x 2 leonid leonid 4096 May  2 13:47 .
drwxrwxr-x 4 leonid leonid 4096 May  2 13:15 ..
-rw-rw-r-- 1 leonid leonid  154 May  2 13:28 cassandra-driver-test.py
leonid@xlr2:~/dev/python/nuitka-test$ cat cassandra-driver-test.py
import cassandra
from cassandra.cluster import Cluster
print(f"cassandra version: {cassandra.__version__}")
print(f"Cluster info: {Cluster.__module__}")
leonid@xlr2:~/dev/python/nuitka-test$

leonid@xlr2:~/dev/python/nuitka-test$ python3 -m venv .venv
leonid@xlr2:~/dev/python/nuitka-test$ . .venv/bin/activate
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ python --version
Python 3.10.6
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ pip --version
pip 22.0.2 from /home/leonid/dev/python/nuitka-test/.venv/lib/python3.10/site-packages/pip (python 3.10)
(.venv) leonid@xlr2:~/dev/python/nuitka-test$

(.venv) leonid@xlr2:~/dev/python/nuitka-test$ pip install cassandra-driver
Collecting cassandra-driver
  Using cached cassandra_driver-3.26.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (3.6 MB)
Collecting geomet<0.3,>=0.1
  Using cached geomet-0.2.1.post1-py3-none-any.whl (18 kB)
Collecting six>=1.9
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting click
  Using cached click-8.1.3-py3-none-any.whl (96 kB)
Installing collected packages: six, click, geomet, cassandra-driver
Successfully installed cassandra-driver-3.26.0 click-8.1.3 geomet-0.2.1.post1 six-1.16.0
(.venv) leonid@xlr2:~/dev/python/nuitka-test$

(.venv) leonid@xlr2:~/dev/python/nuitka-test$ pip install -U --force-reinstall "https://github.com/Nuitka/Nuitka/archive/develop.zip"
Collecting https://github.com/Nuitka/Nuitka/archive/develop.zip
  Using cached https://github.com/Nuitka/Nuitka/archive/develop.zip
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting ordered-set>=4.1.0
  Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
Collecting zstandard>=0.15
  Using cached zstandard-0.21.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB)
Building wheels for collected packages: Nuitka
  Building wheel for Nuitka (pyproject.toml) ... done
  Created wheel for Nuitka: filename=Nuitka-1.6rc8-cp310-cp310-linux_x86_64.whl size=2846295 sha256=bc4798569ee1f4a3792c5ba1f3fbe4ed60de8d7787f29054bfc68ae63193e897
  Stored in directory: /tmp/pip-ephem-wheel-cache-hiy1hx94/wheels/66/e4/73/87b26aef9dd484b474b4b648400b5c9bbe37ae816aef871625
Successfully built Nuitka
Installing collected packages: zstandard, ordered-set, Nuitka
Successfully installed Nuitka-1.6rc8 ordered-set-4.1.0 zstandard-0.21.0
(.venv) leonid@xlr2:~/dev/python/nuitka-test$

(.venv) leonid@xlr2:~/dev/python/nuitka-test$ python -m pip freeze
cassandra-driver==3.26.0
click==8.1.3
geomet==0.2.1.post1
Nuitka @ https://github.com/Nuitka/Nuitka/archive/develop.zip
ordered-set==4.1.0
six==1.16.0
zstandard==0.21.0
(.venv) leonid@xlr2:~/dev/python/nuitka-test$

(.venv) leonid@xlr2:~/dev/python/nuitka-test$ python -m nuitka --version
1.6rc8
Commercial: None
Python: 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]
Flavor: Debian Python
Executable: /home/leonid/dev/python/nuitka-test/.venv/bin/python
OS: Linux
Arch: x86_64
Distribution: Ubuntu (based on Debian) 22.04.2
Version C compiler: /usr/bin/gcc (gcc).
(.venv) leonid@xlr2:~/dev/python/nuitka-test$

(.venv) leonid@xlr2:~/dev/python/nuitka-test$ python cassandra-driver-test.py
cassandra version: 3.26.0
Cluster info: cassandra.cluster
(.venv) leonid@xlr2:~/dev/python/nuitka-test$

(.venv) leonid@xlr2:~/dev/python/nuitka-test$ python -m nuitka --standalone cassandra-driver-test.py
Nuitka-Options:INFO: Used command line options: --standalone cassandra-driver-test.py
Nuitka:INFO: Starting Python compilation with Nuitka '1.6rc8' on Python '3.10' commercial grade 'not installed'.
Nuitka:INFO: Completed Python level compilation and optimization.
Nuitka:INFO: Generating source code for C backend compiler.
Nuitka:INFO: Running data composer tool for optimal constant value handling.
Nuitka:INFO: Running C compilation via Scons.
Nuitka-Scons:INFO: Backend C compiler: gcc (gcc).
Nuitka-Scons:INFO: Backend linking program with 8 files (no progress information available).
Nuitka-Scons:WARNING: You are not using ccache, re-compilation of identical code will be slower than necessary. Use your OS package manager to install it.
Nuitka:INFO: Keeping build directory 'cassandra-driver-test.build'.
Nuitka:INFO: Successfully created 'cassandra-driver-test.dist/cassandra-driver-test.bin'.
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ ls -lh cassandra-driver-test.dist/cassandra-driver-test.bin
-rwxrwxr-x 1 leonid leonid 10M May  2 13:49 cassandra-driver-test.dist/cassandra-driver-test.bin
(.venv) leonid@xlr2:~/dev/python/nuitka-test$
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ ./cassandra-driver-test.dist/cassandra-driver-test.bin
Traceback (most recent call last):
  File "/home/leonid/dev/python/nuitka-test/cassandra-driver-test.dist/cassandra-driver-test.py", line 2, in <module>
  File "cassandra/cluster.py", line 24, in init cassandra.cluster
ModuleNotFoundError: No module named 'concurrent'
(.venv) leonid@xlr2:~/dev/python/nuitka-test$

This seems like an easy case of missing implicit dependency:
If you are available to do a PR, this can be fixed by adding to the yaml configuration, described here: https://nuitka.net/doc/nuitka-package-config.html
And here is more of a walk through style post: https://nuitka.net/posts/nuitka-package-config-kickoff.html
Here are a example PRs for other packages:
#2030
#1993

Did this myself now.
Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback if this is working is very welcome, just please do not share plans of doing it, but rather confirmations or denials of it working.

This is part of the 1.6.5 hotfix release just made.

Thank you for the fix.
I tested it with the Stable Release 1.6.6.
The original problem that I reported was resolved - Nuitka has successfully built the binary.
However, the binary did not work as the original Python program and in fact had issues - hence I'm adding the details here in case there should be any follow-up:
leonid@xlr2:~/dev/python/nuitka-test$ ls -l
total 4
-rw-rw-r-- 1 leonid leonid 154 May  2 13:28 cassandra-driver-test.py
leonid@xlr2:~/dev/python/nuitka-test$
leonid@xlr2:~/dev/python/nuitka-test$ cat cassandra-driver-test.py
import cassandra
from cassandra.cluster import Cluster

print(f"cassandra version: {cassandra.__version__}")
print(f"Cluster info: {Cluster.__module__}")
leonid@xlr2:~/dev/python/nuitka-test$
leonid@xlr2:~/dev/python/nuitka-test$ python3 -m venv .venv
leonid@xlr2:~/dev/python/nuitka-test$ . .venv/bin/activate
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ python --version
Python 3.10.6
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ pip --version
pip 22.0.2 from /home/leonid/dev/python/nuitka-test/.venv/lib/python3.10/site-packages/pip (python 3.10)
(.venv) leonid@xlr2:~/dev/python/nuitka-test$
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ pip install cassandra-driver
Collecting cassandra-driver
  Downloading cassandra_driver-3.28.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.1/19.1 MB 7.5 MB/s eta 0:00:00
Collecting six>=1.9
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting geomet<0.3,>=0.1
  Using cached geomet-0.2.1.post1-py3-none-any.whl (18 kB)
Collecting click
  Using cached click-8.1.3-py3-none-any.whl (96 kB)
Installing collected packages: six, click, geomet, cassandra-driver
Successfully installed cassandra-driver-3.28.0 click-8.1.3 geomet-0.2.1.post1 six-1.16.0
(.venv) leonid@xlr2:~/dev/python/nuitka-test$
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ python -m pip install -U nuitka
Collecting nuitka
  Using cached Nuitka-1.6.6-cp310-cp310-linux_x86_64.whl
Collecting zstandard>=0.15
  Using cached zstandard-0.21.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB)
Collecting ordered-set>=4.1.0
  Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
Installing collected packages: zstandard, ordered-set, nuitka
Successfully installed nuitka-1.6.6 ordered-set-4.1.0 zstandard-0.21.0
(.venv) leonid@xlr2:~/dev/python/nuitka-test$
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ pip freeze
cassandra-driver==3.28.0
click==8.1.3
geomet==0.2.1.post1
Nuitka==1.6.6
ordered-set==4.1.0
six==1.16.0
zstandard==0.21.0
(.venv) leonid@xlr2:~/dev/python/nuitka-test$
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ python -m nuitka --version
1.6.6
Commercial: None
Python: 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]
Flavor: Debian Python
Executable: /home/leonid/dev/python/nuitka-test/.venv/bin/python
OS: Linux
Arch: x86_64
Distribution: Ubuntu (based on Debian) 22.04.2
Version C compiler: /usr/bin/gcc (gcc).
(.venv) leonid@xlr2:~/dev/python/nuitka-test$
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ python cassandra-driver-test.py
cassandra version: 3.28.0
Cluster info: cassandra.cluster
(.venv) leonid@xlr2:~/dev/python/nuitka-test$
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ python -m nuitka --standalone cassandra-driver-test.py
Nuitka-Options:INFO: Used command line options: --standalone cassandra-driver-test.py
Nuitka:INFO: Starting Python compilation with Nuitka '1.6.6' on Python '3.10' commercial grade 'not installed'.
Nuitka-Plugins:INFO: multiprocessing: Injecting pre-module load code for module 'multiprocessing':
Nuitka-Plugins:INFO: multiprocessing:     Monkey patching "multiprocessing" load environment.
Nuitka-Plugins:INFO: multiprocessing: Injecting post-module load code for module 'multiprocessing':
Nuitka-Plugins:INFO: multiprocessing:     Monkey patching "multiprocessing" for compiled methods.
Nuitka:INFO: Completed Python level compilation and optimization.
Nuitka:INFO: Generating source code for C backend compiler.
Nuitka:INFO: Running data composer tool for optimal constant value handling.
Nuitka:INFO: Running C compilation via Scons.
Nuitka-Scons:INFO: Backend C compiler: gcc (gcc).
Nuitka-Scons:INFO: Backend linking program with 37 files (no progress information available for this stage).
Nuitka-Scons:WARNING: You are not using ccache, re-compilation of identical code will be slower than necessary. Use your OS package manager to install it.
Nuitka:INFO: Keeping build directory 'cassandra-driver-test.build'.
Nuitka:INFO: Successfully created 'cassandra-driver-test.dist/cassandra-driver-test.bin'.
(.venv) leonid@xlr2:~/dev/python/nuitka-test$
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ ls -l cassandra-driver-test.dist/cassandra-driver-test.bin
-rwxrwxr-x 1 leonid leonid 12933120 Jul  3 17:24 cassandra-driver-test.dist/cassandra-driver-test.bin
(.venv) leonid@xlr2:~/dev/python/nuitka-test$
(.venv) leonid@xlr2:~/dev/python/nuitka-test$ ./cassandra-driver-test.dist/cassandra-driver-test.bin
Traceback (most recent call last):
  File "/home/leonid/dev/python/nuitka-test/cassandra-driver-test.dist/cassandra-driver-test.py", line 2, in <module>
  File "cassandra/cluster.py", line 93, in init cassandra.cluster
  File "/home/leonid/dev/python/nuitka-test/cassandra-driver-test.dist/cassandra/datastax/cloud/__init__.py", line 22, in <module cassandra.datastax.cloud>
  File "/home/leonid/dev/python/nuitka-test/cassandra-driver-test.dist/six.py", line 97, in __get__
  File "/home/leonid/dev/python/nuitka-test/cassandra-driver-test.dist/six.py", line 165, in _resolve
  File "/home/leonid/dev/python/nuitka-test/cassandra-driver-test.dist/six.py", line 87, in _import_module
ModuleNotFoundError: No module named 'urllib.request'
(.venv) leonid@xlr2:~/dev/python/nuitka-test$

@LeonidShamis please make this a new report, so it can be addressed


Windows 11 tests fail

Building the docker image on windows 11 causes the tests to fail. The image builds, but for some reason the tests think they can't find the binary and/or the config file. But, running the tests by hand causes them to pass. Maybe this is some sort of docker virtualization issue? Either way, a potential fix may be installing the binary system wide

This seems to be caused by windows converting files to end with \r\n instead of \n, so things like the shebang in our test scripts are really showing up as /bin/bash\r, which is not a binary.... figured out from this SO post


Allow absolute/system-wide path

Based on https://github.com/fpanaccia/Wkhtmltopdf.NetCore/pull/31.
Resolves https://github.com/fpanaccia/Wkhtmltopdf.NetCore/issues/27.

Added IWkhtmltopdfPathProvider and few implementations, including ExactPathProvider allowing users to provide any path including system-wide one.
Marked old DI method as obsolete. Added new one requiring IMvcBuilder.
Introduced IWkhtmlDriver.

@fpanaccia
Just FYI:
Needed to add:
    - name: CHMOD
      run: chmod +x Wkhtmltopdf.NetCore/Rotativa/Linux/wkhtmltopdf

to the github actions so tests will be able to pass

@gurustron is this PR ready? because im gonna do another modifications and i dont want to generate conflicts

@fpanaccia  yes, it is ready for review and if you don't have any objections - merging =)

Perfect! I have a few concerns, but dont worry i will merge it, and review it.
Thanks for your great work!

@fpanaccia  my pleasure!


Navbar scalability

While preparing the website to be ready for production, I've encountered a scalability problem in the navbar. When the screen is wider than a set number of pixels, the navbar will stop expanding, as such, it will cease to scale with the screen-width. When checking the CSS responsible, I've found that the code responsible are the media queries set in grid.less.

This causes problems when accessing the site from a device with a screen wider than that of a Mac due to the fixed maximum that the screen will scale to, leading to a visual inconvenience where the navbar stops expanding:
This is a screenshot taken from my computer, note that the logo and the right most link is significantly farther from the edge of the screen.

Thoughts on whether we should adjust this?

If I recall, I believe we decided that all content should remain within that 750px width container; however, some newer code that I wrote deviates from this because this decision came afterwards...
Sent from my iPhone

On Jul 10, 2018, at 3:15 PM, johnsonkuang<EMAIL_ADDRESS>wrote:
While preparing the website to be ready for production, I've encountered a scalability problem in the navbar. When the screen is wider than a set number of pixels, the navbar will stop expanding, as such, it will cease to scale with the screen-width. When checking the CSS responsible, I've found that the code responsible are the media queries set in grid.less.
This causes problems when accessing the site from a device with a screen wider than that of a Mac due to the fixed maximum that the screen will scale to, leading to a visual inconvenience where the navbar stops expanding:
This is a screenshot taken from my computer, note that the logo and the right most link is significantly farther from the edge of the screen.
Thoughts on whether we should adjust this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

We can talk more about this tomorrow. I hope to be on campus...


text input on status screen for inputs from raw_input()

I have a script that take user input via the raw_input() function in the middle of the execution.E.g.
response = raw_input('Do you want to try again Y/n?')
Currently with Gooey enabled the text in the raw_input doesn't appear in the status window until after I have entered the user input in the terminal where I began running the script.
I have gotten around the text not appearing in the status box by printing it outside of raw_input().
def raw_inputer(question):
print(question)
response = raw_input("")
return response
but it is still clunky to go back on the terminal to enter the values.
Is there a way to get an input field to appear on the gui under the status window or something for when user input is needed during execution? Or with yes/no type responses some buttons that could be easy to press.
Thanks

+1


Non-Wikipedia Wikis Dedup script

This dedup script is based on Yacine's pseudocrawl filter script, which Sasha and I adapted for the wikis. It needs to be tuned on a project basis, possibly even a language basis.

I'm perhaps missing some context, but I believe this PR should just create a map function that split sentences and re-merges them with \n so that the deduplication techniques would work. You can then replace all "\n" with " " so that you have the original text with duplication.


Allow crossOrigin on image tag (SVG) in no-unknown-properties

Fixes #3250

Codecov Report

Merging #3251 (683497d) into master (567bc7d) will decrease coverage by 3.42%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3251      +/-   ##
==========================================
- Coverage   97.67%   94.25%   -3.43%
==========================================
  Files         121      121
  Lines        8575     8575
  Branches     3112     3112
==========================================
- Hits         8376     8082     -294
- Misses        199      493     +294

Impacted Files
Coverage Δ

lib/rules/no-unknown-property.js
96.66% <ø> (ø)

lib/util/propTypes.js
67.73% <0.00%> (-29.70%)
:arrow_down:

lib/util/ast.js
69.82% <0.00%> (-26.63%)
:arrow_down:

lib/rules/hook-use-state.js
88.40% <0.00%> (-11.60%)
:arrow_down:

lib/rules/jsx-no-comment-textnodes.js
88.88% <0.00%> (-11.12%)
:arrow_down:

lib/rules/no-unused-state.js
90.34% <0.00%> (-8.50%)
:arrow_down:

lib/rules/boolean-prop-naming.js
91.61% <0.00%> (-7.79%)
:arrow_down:

lib/rules/jsx-props-no-multi-spaces.js
94.11% <0.00%> (-5.89%)
:arrow_down:

lib/rules/jsx-no-literals.js
95.65% <0.00%> (-4.35%)
:arrow_down:

lib/rules/no-unused-prop-types.js
90.00% <0.00%> (-4.00%)
:arrow_down:

... and 6 more

Continue to review full report at Codecov.

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


disable dynamic_context for coverage

Introduced in https://github.com/pypi/warehouse/pull/10816/commits/89a2c0da1bf1cfffc5dfc9b230653f78430c1c5d.
Currently performance impact of this with current version of coverage is bad:
Without this change:
=============================== 3231 passed, 483 warnings in 1249.00s (0:20:49) ==============================

With this change:
=============================== 3231 passed, 483 warnings in 100.98s (0:01:40) ===============================

ref: https://github.com/nedbat/coveragepy/issues/1527


AWS v16.1.0 release

ℹ Team Phoenix is drafting AWS v16.1.0 release to update to several components .
Target release date: 2021-12-02
Release PR: https://github.com/giantswarm/releases/pull/859
Scope

[x] AWS CNI Prefix Delegation;
[x] aws-ebs-csi with volume snapshots support;
[x] flatcar 2905.2.6;
[x] kiam-watchdog;
[x] Fix for AWS Subnet Tagging breaks AWS-load-balancer-controller;

Pre-Release

[x] Create release ticket on Releases board
[x] Make an announcement on #sig-product that team is doing a release. Include a link to the ticket from the release board.
[x] Make sure release was tested by creating new cluster, upgrading from older version and with HelloWorld app.
[x] Aggregate release notes from all changed components and add to README.md in the release directory.
[x] Send draft release announcement to #sig-product for review ASAP.
[ ] Verify documentation is up to date.

Releasing

[x] Create release PR
Instructions

[x] Define new release in release.yaml file.
[x] Activate new release by setting state to active.
[ ] Deactivate old release if it's within same major version (state: deprecated). Verify with PO if you have doubts.
[ ] Check versions of all components included. They shouldn't be lower than those in the previous release unless there was a rollback.

Example PR

[ ] Release relevant operators.

[ ] Tag release branch.
[ ] Bump operator version in draft release.

[ ] Make sure that WIP releases in releases repo branch are removed and not merged to master since the master branch is deployed automatically after merging PR and that would make WIP releases visible in customers’ installations which should generally not happen.

Post-Release

[ ] Update front-end cluster with the new release.
[ ] Verify release is available on all installations. You can use this script.
[ ] Send out release announcement to all customers according to these instructions.
[ ] PO subscribes to release posts on Slack to get notifications if there are follow-up messages.
[ ] Close release task on Releases board.

The release is out.


chore!: update the default image via Renovate

Description
So far the AMI id was calculated on every terraform apply and changed frequently whenever a new AMI was published. This is against the concept of immutable infrastructure. The AMI should not change automatically.
This PR enables Renovate to update the AMI via PR.
Migrations required
The var.ami_name_filter is removed. The AMI id is set internally or can be provided with var.ami_id if you want to use (and update) your own AMI
Checklist

[x] My code follows the style guidelines of the project
[x] I have performed a self-review of my own code

Workflows fixed. Something went wrong with #337


Add a background thread to kill vagrant when memory use gets high

Turns out there's a pretty severe memory leak in the VM with unison running.
This adds a background thread that checks how much memory unison is using in the VM every few seconds and restarts it if above the threshhold. Right now the threshold is somewhat arbitrarily chosen at 100mb, which ends up restarting unison every 10-20 min or so on my macbook pro.
Also updates the README with the recommended way of running.

Can this value be made configurable? I have a rather large code base, and it is restarting unison every ~30 seconds.

@bwegrzyn yeah I'll add it to the config variables

@bwegrzyn This value is now configurable in 1.2.2 as config.unison.mem_cap_mb

@dcosson Perfect, thanks! I'll give it a try when I have a moment.


It just throws

Hello,
I'm trying to test this extension but it just fails.
I tested it with the example configuration and I can't get it to work.
I'm using storybook 5.3.18, not sure if that version is supported

Sorry @danielo515, you'll need to use Storybook 6 for this.

Thanks for clarifying


Don't show template hints for Debug blocks

When Template hints are enabled, they are displayed for debug blocks too.

fixed in 1bb6784a38b228ee0a2863257543cae9610a5ff9


status Filter does not work

Steps to reproduce
Steps to reproduce the behavior:

Go to Filter
Select Status
Choose Work in change in Progresse

Expected behavior
you should see a certain amount of boreholes
Current behavior
there is no borehole visible (also for all other status)
Screenshots

Top, danke


Ability to see results from all SQL queries from user, not just latest SQL query

Ability to see results from all SQL queries from user, not just latest SQL query

We can't keep all queries result in the application's state on the client side as it would blow up. When using the results backend (async mode) it's possible to re-fetch the results easily. When not using the results backend, users have to re-run the query.

Would it be possible to set a limit (either time-based or # of queries based) to save the results?  Say for 1 hour or for the last 5 queries?

Closing this issue in favor of https://github.com/airbnb/superset/issues/1797


[FEAT]: i18n, it's time for this

What would you like to see?
Hi, creators of this GREAT Project,
Would you like to add i18n to anything lm?
If so, I could do the part of Chinese version.

This would be a massive help, it is indeed time to i18n. Let us get it set up first so we know where we will put all the translation files and we can do that.
If you would like to contribute sooner, creation a README.zh.md would be a fantastic start and we can then link it at the top of the readme to nav between the two

Sure, I would do this part today: 'creation a README.zh.md'.

@getofferhelp if you are able to even just past in approximate translations of all the null fields in frontend/src/locales/zh/common.js we can get started with first merge of translations

@getofferhelp if you are able to even just paste in approximate translations of all the null fields in frontend/src/locales/zh/common.js we can get started with first merge of translations

ok, I would do it today.

@timothycarambat how is the translation of the Setting UI of workspace , like General setting, Chat setting etc

Hi there, I can do the Spanish version if you want to add it.

Possibly silly suggestion - for languages we don't have a native speaker offering to do the i18n for that language, might it be worthwhile to do llm translations (using one of the more linguistically capable) until somebody can come and offer native corrections? I think a bad translation is probably better than no translation so long as it's not indecipherable.

@zjcurtis it absolutely would, the first issue prior to that is getting the list of "items" that require translation. There are a lot of areas for static text in the app so its a lot of work to set up initially, but then much easier to maintain as time goes one


Fix for a process name detection.

According to MSDN, when the associated process is executing on the local machine, this property returns a period (".") for the machine name. You should use the Environment.MachineName property to get the correct machine name. (https://msdn.microsoft.com/en-us/library/system.diagnostics.process.machinename(v=vs.110).aspx)

Good catch, thank you!


redshift data source fails with missing host attribute when using __get_cluster_credentials

When not specifying a password, to use IAM auth, soda throws the following error:
AttributeError: 'RedshiftDataSource' object has no attribute 'host'

This is because host is set after the call to __get_cluster_credentials in the init method.

SODA-954


Need ability to set isDisabled on each node individually

Hello,
Great library. I would like to use vue-treeselect in my project.
However, I need the ability to set the isDisabled property on each node individually.
When a branch node is disabled it shouldn't automatically disable all descendants in my scenario.
I think this would offer more flexiblity.
Any thoughts?
Example:
World
-EU
--Fra
--Uk
-Na
-etc.
Some users may only have access to one (or multiple) region or one country.
if a user has access to Fra only he should not be able to select World, EU, Uk, etc. but only Fra.
Frank

Hi Frank! Can you try flat mode? In this mode, children nodes won’t be automatically disabled.

Hi Li,
... I should have read the complete docs first. Works as desired in flat mode!
Thanks for the quick help!
Frank

你好,看到上面的答案,但是我的需求是单选,当前flat模式,给出警告:必须要求多选.
虽然可以通过limit:1限制,但是觉得不是根本解决方案.能否flat不限制单选多选呢,谢谢

@riophae 你好,看到上面的答案,但是我的需求是单选,当前flat模式,给出警告:必须要求多选.
虽然可以通过limit:1限制,但是觉得不是根本解决方案.能否flat不限制单选多选呢,谢谢

+1


Add to NPM

Prepare and add package to NPM for use with jsDelivr.

Now available on NPM: https://www.npmjs.com/package/typecadence
And jsDelivr: https://cdn.jsdelivr.net/npm/typecadence/dist/typecadence.js


Redhat support

Will you be able to include support to redhat? if you tested it on centos, then shouldnt be any issue allowing Redhat.

There are no packages available for RHEL yet on https://repo.powerdns.com.
It should work with the rpm's from CentOS but our installation is currently based on packages being available in a repository. Having said that we don't have developer access to RHEL and neither do we have any RHEL servers running that we could use to test this module on.

It may not provide a specific repo for rhel, but the rpm are "el6" or "el7", and your module hard-code the "centos" in the URL so it works regardless of which OS you are using.
I forked out your project and added redhat to the case statements and it worked. I tested on RHEL 6.8 x86_64.
Also, do you have any plan to include support for postgres?
Regards
Rodrigo

De: ju5t<EMAIL_ADDRESS>Enviado: quinta-feira, 5 de janeiro de 2017 01:38
Para: sensson/puppet-powerdns
Cc: rodrigomgm; Author
Assunto: Re: [sensson/puppet-powerdns] Redhat support (#7)
There are no packages available for RHEL yet on https://repo.powerdns.com.
PowerDNS repositorieshttps://repo.powerdns.com/
repo.powerdns.com
These repositories are split between the different pieces of PowerDNS software: PowerDNS Authoritative Server; PowerDNS Recursor; dnsdist
It should work with the rpm's from CentOS but our installation is currently based on packages being available in a repository. Having said that we don't have developer access to RHEL and neither do we have any RHEL servers running that we could use to test this module on.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/sensson/puppet-powerdns/issues/7#issuecomment-270385224, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXwF8hA47vgDiSmwtghzM5vy6bG5sfiTks5rO67YgaJpZM4LaMfu.

You're always welcome to send in a pull request and add some tests for this case if you can.
About PostgreSQL: a backend in this module only sets some defaults and tries to install the required software (e.g. MySQL) for you. It should be non-blocking to install and configure PostgreSQL as a backend manually.
We haven't made any plans when we will exactly include other backends but we definitely will in the future. I've created issue #8 for this.

This should be solved by #35.


Trying to initialize a database results in: SequelizeDatabaseError: SQLITE_ERROR: no such table: Users

Have been rewriting a backend using sequelize in typescript, and recently discovered this beauty of a library. Loving it so far, but running into a problem. Thus beware for noob mistakes, but cant seem to figure this one out myself.
Versions

sequelize: 5.22.3
sequelize-typescript: 1.1.0
typescript: 3.9.7

Have set up all my models now with sequelize-typescript. Have my db.ts file for creating my database:
const storage = "data.sqlite";
export const db: Sequelize = new Sequelize({
    database: "db",
    dialect: "sqlite",
    username: null,
    password: null,
    storage,
});

/** lots of import **/

db.addModels([Activity, User, ... More models ...]);

For running and testing the server, we always had a script that initialized the instance of the database (data.sqlite file) and imported the first few instances of each of the models for easy testing. Im trying to get this to work now, but running into some problems. In this script, we first define the stuff we want to initialize in arrays and then call bulkCreate on the models like this:
all([
    Role.bulkCreate(roles).then(function(result: any): void {
        console.log("Created roles");
    }),
    User.bulkCreate(users).then(function(result: any): void {
        console.log("Created users");
    }),
    Group.bulkCreate(groups).then(function(result: any): void {
        console.log("Created groups");
    }),
    Activity.bulkCreate(activities).then(function(result: any): void {
        console.log("Created activities");
    })
]).then(function(): any { /** more stuff **/}

Whenever running this (running it using: npx ts-node src/import_initial.ts), it logs Executing (default): INSERT INTO 'Users' .....  and then shows all the correct information, after which it gives an error message SequelizeDatabaseError: SQLITE_ERROR: no such table: Users. To what I understand, the User model should create a table in the db called User and not Users. I already tried to force the name of the table, but the same error persists. The problem seems to be that the model is added to the sequelize instance, but the table is not created. Anybody knows how to solve this? Thanks a lot in advance!
If you want to see the full code: https://github.com/Confluente/backend-v2/tree/sequelize-typescript-implementation (don't look too much around yet :P routes and stuff still needs to be rewritten. But with db.ts, all the models, and the import_initial.ts script you should have everything that regards my current question.)

Something i figured out alnog the way which i forgot to mention is that initially it did not add the models to the sequelize instance. Somehow the last line of the db.ts file did not execute, not sure why? So what i ended up doing is to add the addModels call to the initialize db script which did work. So the above db.addModels is actually not executed, and what is run instead is the same line but then in the script.

Something i figured out alnog the way which i forgot to mention is that initially it did not add the models to the sequelize instance. Somehow the last line of the db.ts file did not execute, not sure why? So what i ended up doing is to add the addModels call to the initialize db script which did work. So the above db.addModels is actually not executed, and what is run instead is the same line but then in the script.

If i run it in :memory: the same issue persists

If i run it in :memory: the same issue persists

@RobinBuschmann any chance you could help me with this?

@RobinBuschmann any chance you could help me with this?

I quickly looked back at what i did on the day i closed the issue.
https://github.com/Confluente/backend-v2/commit/bd4a05a94aa847f1482c21da5b249cce06d10fa2 this is the commit i made that day (check the import initial file).
What i suspect that worked for me is to encapsulate the code in
(async () => {

    await db.sync({force: true});

    // Code here
})

This issue is the first google result for "SQLITE_ERROR" "sequelize" and "no such table" "sequelize".
I am copying the basic example on the Sequelize homepage exactly. The error happens at the User.create() call.
Does the example omit a step that is assumed to be obvious? Or are others experiencing the same issue? I am using Sequelize v6.37.3.

Seeing same error in my jest test.
What's NOT working and causing Error: SQLITE_ERROR: no such table:
  beforeAll(async () => {
    await sequelize.models.User.sync({ force: true });
  });

What is working:
  beforeAll(async () => {
    await sequelize.sync({ force: true });
  });


Snippet extractor work required

It almost certainly won't work with the REST-based API wrappers
It doesn't handle overloads at the moment

Both of these are addressed by #145.

... but overloads don't really work. We should probably keep track of line numbers so we can use whatever we like as the snippet names. Or we could extract the snippets themselves, add using directives etc. (Detecting using directives could be "interesting".)

We're in a much better shape since #172.


authentication base on tiller service account

Right now the only way to specify a service account is by the configmap definition. Would be nice if you could login on the webpage using service account token (like kubernetes dashboard) or even just dynamically specify which service account it should use for tiller. This way you can leave authentication on kubernetes RBAC.
Currently we have on tiller pod per team with each team service account (so they can only do stuff in their namespace). Is possible to use this same mechanism to authenticate on the web ui?

User A has access to A's namespace items, when we open monocular, we'd like to see a login prompt for user token, if we use user A's token, we should be able to login and see deployed helm items in user A's namespace. Is this type of auth doable?


Add init script

remove TODO in README

You can use the init with the addition of requesting the Organization Name for the headers that @pMalvasio wrote right?

You can use the init with the addition of requesting the Organization Name for the headers that @pMalvasio wrote right?

I thought that was already merged, good catch!


Fixed #32445 -- Fixed LiveServerThreadTest.test_closes_connections() for non-in-memory database on SQLite.

https://code.djangoproject.com/ticket/32445

@cjerdonek Thanks :+1:

Thanks, @felixxm. 🙏 A couple of the checks seem to be stuck, btw.


How to Add subtitle files or url during playing  ?

How do you add subtitle files or URLs while playing?
it is working fine when we give the subtitle before playing.

Reset mediaItem again

Duplicate of https://github.com/google/ExoPlayer/issues/1649


Update backports screenshot

I'll make a screenshot of a real Quarkus run next time I do a backport.


2089: Add info about new available versions to the weave status report

The AvailableVersion field denotes the latest available version which is retrieved via go-checkpoint.
If checkpoint is disabled, the field will contain the <checkpoint disabled> value.
E.g.:
ubuntu@host:~$ weave status

         Version: git-b7d49cdeb7db
AvailableVersion: 1.4.4
<..>

Fixes #2089

Version: 1.4 (update check disabled)
Version: 1.4 (update check every 6 hours)
Version: 1.4 (version 1.5 available)

Suggested output
Version: 1.4.4 (version check disabled)
Version: 1.4.4 (available: 1.4.4 - up to date)
Version: 1.4.4 (available: 1.4.6 - please upgrade!)

Docs need updating. In particular troubleshooting.md#weave-status and the README.md

Updated.
Please merge https://github.com/weaveworks/go-checkpoint/pull/9 first. Afterwards, I need to change the commit id of the go-checkpoint git submodule and then this PR can be merged.
Q: What's about weave report? I've added VersionCheckInfo field to it which contains the same info as it is shown in weave status, but I'd prefer something more computer friendly. E.g.:

.VersionMeta.CheckEnabled :: boolean
.VersionMeta.NewVersion :: string
.VersionMeta.NextCheck :: string

Added .VersionMeta to weave report.

Updated.

@rade ready for review.

Looks like it needs to be rebased to resolve conflicts on master

Apart from comments LGTM

Rebased.


dull git doesn't recognize upper or lower case

That brokes build... Following the codestyle...

fixed!


[BUGFIX] Fix Voxel grid test failing when --vhacd not enabled.

Motivation and Context
VoxelGridTest was failing if --vhacd was not enabled (with no actual tests to run, the test suite considers this a failure), so this PR does not compile the test unless it has --vhacd is enabled.  All compiler directives in the test file were removed as well, since they were not necessary.

How Has This Been Tested
C++ and python tests with and without flag passed.

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

I didn't realize this was failing without --vhacd, thanks for catching this. However, I think there is still value to testing non-vhacd dependent functionality. Users can still create and access voxel grids, they just can't auto-compute a boundary grid.

I didn't realize this was failing without --vhacd, thanks for catching this. However, I think there is still value to testing non-vhacd dependent functionality. Users can still create and access voxel grids, they just can't auto-compute a boundary grid.

Unfortunately none of the authored tests can run without VHACD, so without a valid test the test suite will always fail.

I didn't realize this was failing without --vhacd, thanks for catching this. However, I think there is still value to testing non-vhacd dependent functionality. Users can still create and access voxel grids, they just can't auto-compute a boundary grid.

Unfortunately none of the authored tests can run without VHACD, so without a valid test the test suite will always fail.

Yeah, I think some of that non-vhacd functionality could be split out into a separate test but for now this fix seems fine. The CI will test with vhacd anyway, so we won't miss issues there.


Deliverable qol improvements

## Tasks
- [x] Update README on how to run it (and a quick overview of how it works)
- [x] Do not require NATS, stdout can also print events
- [x] Config through CLI app (https://github.com/urfave/cli, docs: https://github.com/urfave/cli/blob/main/docs/v2/getting-started.md)
- [x] Re-use Prysms `params.MainnetConfig()` more

Fixed by #22 #23


[Feature] Allow to specify ordering of build phases

While experimenting with my own template setup, I needed to be able to insert a build phase at a specific point. More specifically before the 'Copy Bundle Resources' phase (since it was a script that would modify some app icons & overlay it with some text).
Would this be an addition that others would find useful as well? Not too sure yet how I would go about this (especially configuration-wise), but it certainly should be doable.

This is in master with 98814ec


validation-api please update validation dependecy

Could you update validation dependency to 2.0.0.final https://mvnrepository.com/artifact/javax.validation/validation-api/2.0.0.Final?
Also can you add support for javax.validation.constraints.Positive annotation?

Yeah good idea!
Do you want to help? You are welcome to contribute to the project!

Any update on this?

Also can you add support for javax.validation.constraints.Positive annotation?

Please open a separate issue for this request.

Also can you add support for javax.validation.constraints.Positive annotation?

@magx2  This has been added in the latest 3.0.8-SNAPSHOT version. Can you give it a try? (if you don't know how to use import the snapshot version, see here).
Currently, I have:

[x] Updated the dependency to bean validation to 2.0
[x] Added support for @Positive annotation (see 82541ea087487bde0d38497c5e943cae1eb17f99)

What is planned for 3.8:

[ ] Add support for @PositiveOrZero
[ ] Add support for @Negative
[ ] Add support for @NegativeOrZero
[ ] Add support for @NotBlank
[ ] Add support for @NotEmpty
[ ] Add support for @Email

We can leverage existant randomizers to implement these annotations.
You are welcome to contribute if you want!

Looks OK for me

I finished adding support for planned annotations for v3.8. Those can be already tested with the latest snapshot version.


Intel i915: ERROR failed to enable link training

Issue description
[150056.612876] [drm:intel_dp_start_link_train [i915]] *ERROR* failed to enable link training
Issue is more widely reported, but I have never seen a fix for it.
Most visible user impact is that the service redshift stopped working.
Steps to reproduce
Unknown, but try to log in and out 3 times in rapid succession from a Plasma5 session.
Technical details

system: "x86_64-linux"
host os: Linux 4.13.4, NixOS, 17.09.git.1dcd022 (Hummingbird)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 1.11.16
channels(root): "nixos-17.09.2182.7f6f0c49f0"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

@rvolosatovs same here. sometimes a switch to a tty helps thoughl.

I'm getting the same issue. Any known fixes? This thread has been quiet for a while now.
OS: NixOS 19.03.172463.6e29f22551d (Koi) x86_64
Host: XPS 13 9360
Kernel: 4.9.173
DE: Pantheon
WM: Mutter(Gala)

Anyone else know anything to help this? I get it all the time, which kills my X session and all its open windows, which is very frustrating.
OS: NixOS 21.03pre252388.069f183f16c (Okapi) x86_64
Host: Thinkpad X1 Yoga Gen 5
Kernel: 5.9.8

I'm on
OS: NixOS unstable
Host: Thinkpad X1 Carbon Gen 6
Kernel: 5.4.96
Upgraded yesterday (23 Mar 2021).
I get this after sleep. The laptop screen goes blank. However the external screens continue to work (I have two). I'm using Wayland (Sway), and the screen arrangement that I set prior to sleep is lost. Switching to a console (Ctrl-Super-Alt-F1) shows me the error, and switching to another console (Ctrl-Super-Alt-F2) works as usual. From there I can kill Sway and everything returns to normal.

Seems to be fixed from Kernel 5.11 -- from freedesktop.org.

I still run into this issue on 5.11.8.

I have Ubuntu 20.04 dual booted with Windows 10, I am also facing same issue as on cold boot my laptop screen doesnt display anything not even boot menu, after several force shutdown and boot up it works. And after suspend it takes about 4-5 minutes for screen to display login page.
Following is the error I got in logs software during time period when my screen wasnt displaying anything
i915 0000:00:02.0: [drm] ERROR failed to enable link training
Any help is appreciable.

I get this as well. There appears to be an open bug for it in the drm issue tracker: https://gitlab.freedesktop.org/drm/intel/-/issues/2720

Still occurs with
Linux xxxxxxxx 5.14.0-1024-oem #26-Ubuntu SMP Thu Feb 17 14:35:50 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 20.04
HP Elitebook 840 G7

Still having this issue in:

Ubuntu 21.10
Lenovo Lenovo YOGA 720-15IKB
NV137 / Mesa Intel® HD Graphics 630 (KBL GT2)

This is happening %80 of the time after undocking my XPS with "some" kernels, I stopped caring and just restarting X. Feels like this is the price of using Linux on desktop after some time..
Even people from other distros writing here because it shows up on google search. I could only suggest reporting issues to upstream or checking the current issues.

Guys I was able to overcome this installing the proprietary driver instead of the community one

Guys I was able to overcome this installing the proprietary driver instead of the community one

This issue is about intel graphics which uses i915 module. Afaik Intel doesn't provide any proprietary drivers. Of course if you have another card you can use it to not see this issue.

Guys I was able to overcome this installing the proprietary driver instead of the community one

This issue is about intel graphics which uses i915 module. Afaik Intel doesn't provide any proprietary drivers. Of course if you have another card you can use it to not see this issue.

Yeah, I understand and sorry for the lack of details in my first comment, like other people here I was having this very same error, my laptop had an Nvidia graphics card and the Intel chipset, looking for solutions to overcome this I tried installing the nvidia propietary driver replacing the default that came on the installation and that did the trick not sure what happened but my laptop is working properly, the error is gone.

Just wanted to check in, I didn't see this problem for a while (or it was too rare that I didn't care). My current config is:
    kernelPackages = unstable.linuxPackages_latest;
    kernelParams = [
      "i915.enable_fbc=1"
      "i915.enable_guc=2"
      "i915.modeset=1"
      "video=eDP-1:1920x1200@60"
    ];

YMMV of course, looks like stars needs to be aligned correctly for one to be lucky.

Same issue with black screen and a single line ending on [drm] *ERROR* failed to enable link training on a LENOVO Ideapad S530 running Ubuntu 22.04.1 LTS with Kernel 5.15.0-46-generic. Occurred during a restart caused by system update. See

askubuntu without answer.
freedesktop without answer
NixOS/nixpkgs

Seems to be a common problem under different boundary conditions.

Same problem here.
Ubuntu 22.04 connected to a docking station and suspended. Then, on wake up I got this problem.

Same issue for me
Laptop: XPS 15 9520
OS: Ubuntu 22.10
Kernel: 5.19.0-23-generic
Nvidia driver: 525.78.01

my machine almost always does not come out of sleep and usb c connection to the monitor is not always working
error messages i see are
i915 0000:00:02.0: [drm] *ERROR* [ENCODER:271:DDI TC2/PHY TC2][DPRX] Failed to enable link training
i915 0000:00:02.0: [drm] *ERROR* failed to allocate vcpi

and
i915 0000:00:02.0: [drm] *ERROR* Got unknown reply 0x00 (GET_MSG_TRANSACTION_VERSION)

Also getting this issue, Randomly the external screen (Connect via USB C to DP) will go blank and disconnect then I have to wait a few minutes and it will reconnect its self. Very annoying

I've had issues with laptop + multiple external monitors for years. My workaround is that I now always switch to a text virtual console. I switch to ctrl+alt+F2, plug in my dock, give things a few seconds to settle, then switch back to my normal one. I do the same before I unplug.
I also do not use any automatic layout program. I did use kanshi before, but I find it more likely to expose issues that I expect are race conditions in setting up and moving two external monitors at the same time.

I have the same issue, with Ubuntu 22.04.1 LTS, HP ZBook, Intel + Nvidia display card.
I can't resume from suspend, it's very annoying.

Same issue in 2023. HP Victus (i5 12500H, Ubuntu 22.04.1 LTS)

Same issue. Lenovo thinkpad T14 (i7 1260P, Archlinux).

Software

Ubuntu 22.04.2 LTS
Kernel 5.19.0-40-generic
Nvidia driver 470 (proprietary)

Hardware

Dell XPS15 9510
Intel i7 11th Gen
Nvidia GA107M

As a side note, this started to happen once I switched to the proprietary Nvidia driver, with the X.Org X server this does not happen.

I've got the same issue with an XPS 13 pro after connecting a USB-C dock. Additionally, the CTRL and SHIFT keys seem to be logically stuck.

Possible fix: see bullet 2 from my answer here: Ask Ubuntu: ucsi_acpi PPM init failed (-110)

Yep seeing much the same as others. I'm on popos with nvidia and intel. As others have mentioned this mostly happens if I suspend while connected to usbc monitor

As a result of the USB-C monitor issue which I was also experiencing, I wrote bullet 5 on my website article here: Common ways to fix video driver (and related) issues in Linux Ubuntu.
I think it's related to the fact that USB-C to USB-C cables can provide power from your monitor to your computer at the same time as they laptop provides video signal through the same cable from your computer to your monitor. This can be disabled by using a USB-C to DP cable, or in the BIOS. From my website:

Use a USB-C to DP (Display Port) [best], or USB-C to HDMI [ok] video cable, rather than a USB-C to USB-C cable to your monitor.
USB-C to USB-C video/monitor cables may be trying to provide power into your laptop (to charge your laptop) at the same time as they are providing a video signal out of your laptop, to the monitor. This new double-feature seems to have problems on other OSs (like Windows) too, not just on Linux. So, disabling this "charge while displaying" type feature can help.
There are frequently two ways to disable it:

Via a setting in the BIOS, or
By using a cable that doesn't support charging at the same time. Ex: a USB-C to DP (Display Port) or USB-C to HDMI cable.

Of those two types of cables, I'd choose USB-C to DP if given the option, because the older versions of HDMI cannot support 4k signals at 60 Hz, but DP can. See my answer here: Ask Ubuntu: No 60Hz Refresh Rate option on my 32" 4k external monitor in Ubuntu 20.04.

In My case -66.322286]
72.3274171
1915 0000:00:02.0: [drm] ERROR Failed to write source OUI
1915
0000:00:02.0: [drm]
77.4575431
1915
0000:00:02.0: [drm]
ERROR [CONNECTOR:236:eDP-1]CENCODER:235:DDI A/PHY AJIDPRX] Failed to enable link training
83.8821501 1915
0000:00:02.0:
[drm]
ERROR Failed to read DPCD register 0x92
ERROR Failed to write source OUT
89.8812971 1915 0000:00:02.0:
[drm]
ERROR
94.154488] 1915 0000:00:02.0:
[drm]
[CONNECTOR:236: eDP-11 CENCODER:235:DDI A/PHY AJIDPRX] Failed to enable link training
ERROR [CRTC:80:pipe Al mismatch in has_psr (expected yes, found no)

I had a similar issue which I resolved.
Here is journal logs when it was failing to wakeup
Oct 12 14:38:05 dev systemd[1]: systemd-suspend.service: Deactivated successfully.
Oct 12 14:38:05 dev systemd[1]: Finished systemd-suspend.service - System Suspend.
Oct 12 14:38:05 dev systemd[1]: Reached target suspend.target - Suspend.
Oct 12 14:38:05 dev systemd-logind[1220]: Operation 'suspend' finished.
Oct 12 14:38:05 dev systemd[1]: Starting nvidia-resume.service - NVIDIA system resume actions...
Oct 12 14:38:05 dev systemd[1]: Stopped target suspend.target - Suspend.
Oct 12 14:38:05 dev suspend[8750]: nvidia-resume.service
Oct 12 14:38:05 dev logger[8750]: <13>Oct 12 14:38:05 suspend: nvidia-resume.service
Oct 12 14:38:06 dev systemd[1]: nvidia-resume.service: Deactivated successfully.
Oct 12 14:38:06 dev systemd[1]: Finished nvidia-resume.service - NVIDIA system resume actions.
Oct 12 14:38:07 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:38:10 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:38:13 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to write source OUI
Oct 12 14:38:19 dev kernel: i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:236:eDP-1][ENCODER:235:DDI A/PHY A][DPRX] Failed to enable link training
Oct 12 14:38:24 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:38:27 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (==) Automatically adding GPU devices
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (==) Automatically binding GPU devices
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (II) xfree86: Adding drm device (/dev/dri/card0)
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (II) xfree86: Adding drm device (/dev/dri/card1)
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (II) Applying OutputClass "nvidia" to /dev/dri/card0
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]:         loading driver: nvidia
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (==) Matched nvidia as autoconfigured driver 0
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (II) LoadModule: "nvidia"
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (II) Module nvidia: vendor="NVIDIA Corporation"
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA dlloader X Driver  550.107.02  Wed Jul 24 23:27:47 UTC 2024
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (II) NOUVEAU driver for NVIDIA chipset families :
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (II) modeset(0): Creating default Display subsection in Screen section
Oct 12 14:38:30 dev /usr/libexec/gdm-x-session[9045]: (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) Graphics (ADL GT2)
Oct 12 14:38:32 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:38:34 dev kernel: i915 0000:00:02.0: [drm] [transcoder A] PSR aux error
Oct 12 14:38:34 dev kernel: i915 0000:00:02.0: [drm] [transcoder A] PSR aux error
Oct 12 14:38:34 dev kernel: i915 0000:00:02.0: [drm] *ERROR* AUX A/DDI A/PHY A: did not complete or timeout within 10ms (status 0xac00027f)
Oct 12 14:38:37 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:38:42 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) modeset(0): Digital Display Input
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) modeset(0): Digital interface is DisplayPort
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) modeset(0): Display is continuous-frequency
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (==) NVIDIA(G0): Depth 24, (==) framebuffer bpp 32
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (==) NVIDIA(G0): RGB weight 888
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (==) NVIDIA(G0): Default visual is TrueColor
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (==) NVIDIA(G0): Using gamma correction (1.0, 1.0, 1.0)
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (**) Option "AllowNVIDIAGpuScreens"
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) Applying OutputClass "nvidia" options to /dev/dri/card0
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (**) NVIDIA(G0): Option "AllowEmptyInitialConfiguration"
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (**) NVIDIA(G0): Enabling 2D acceleration
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) Loading sub module "glxserver_nvidia"
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) LoadModule: "glxserver_nvidia"
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/libglxserver_nvidia.so
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA GLX Module  550.107.02  Wed Jul 24 23:31:40 UTC 2024
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA: The X server supports PRIME Render Offload.
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (--) NVIDIA(0):     DFP-0
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0): NVIDIA GPU NVIDIA GeForce GTX 1650 (TU117-A) at PCI:1:0:0
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0):     (GPU-0)
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (--) NVIDIA(G0): Memory: 4194304 kBytes
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (--) NVIDIA(G0): VideoBIOS: 90.17.8d.40.75
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0): Detected PCI Express Link width: 16X
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (--) NVIDIA(GPU-0): DFP-0: disconnected
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (--) NVIDIA(GPU-0):
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0): Validated MetaModes:
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0):     "NULL"
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0): Virtual screen size determined to be 640 x 480
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (WW) NVIDIA(G0): Unable to get display device for DPI computation.
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (==) NVIDIA(G0): DPI set to (75, 75); computed from built-in default
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (WW) NVIDIA: Failed to bind sideband socket to
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (WW) NVIDIA:     '/var/run/nvidia-xdriver-9c06fd74' Permission denied
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA:     access.
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0): ACPI: failed to connect to the ACPI event daemon; the daemon
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0):     may not be running or the "AcpidSocketPath" X
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0):     configuration option may not be set correctly.  When the
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0):     ACPI event daemon is available, the NVIDIA X driver will
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0):     try to use it to receive ACPI event notifications.  For
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0):     details, please see the "ConnectToAcpid" and
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0):     "AcpidSocketPath" X configuration options in Appendix B: X
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0):     Config Options in the README.
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0): Setting mode "NULL"
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (==) NVIDIA(G0): Disabling shared memory pixmaps
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (==) NVIDIA(G0): Backing store enabled
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (==) NVIDIA(G0): Silken mouse enabled
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (==) NVIDIA(G0): DPMS enabled
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0): [DRI2] Setup complete
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) NVIDIA(G0): [DRI2]   VDPAU driver: nvidia
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event9)
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event10)
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event11)
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event12)
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) config/udev: Adding input device Intel HID events (/dev/input/event6)
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (**) Intel HID events: Applying InputClass "libinput keyboard catchall"
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) Using input driver 'libinput' for 'Intel HID events'
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (**) Intel HID events: always reports core events
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) event6  - Intel HID events: is tagged by udev as: Keyboard
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) event6  - Intel HID events: device is a keyboard
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) event6  - Intel HID events: device removed
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) XINPUT: Adding extended input device "Intel HID events" (type: KEYBOARD, id 14)
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) event6  - Intel HID events: is tagged by udev as: Keyboard
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) event6  - Intel HID events: device is a keyboard
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) config/udev: Adding input device Intel HID 5 button array (/dev/input/event7)
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (**) Intel HID 5 button array: Applying InputClass "libinput keyboard catchall"
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) Using input driver 'libinput' for 'Intel HID 5 button array'
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (**) Intel HID 5 button array: always reports core events
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) event7  - Intel HID 5 button array: is tagged by udev as: Keyboard
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) event7  - Intel HID 5 button array: device is a keyboard
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) event7  - Intel HID 5 button array: device removed
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) XINPUT: Adding extended input device "Intel HID 5 button array" (type: KEYBOARD, id 15)
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) event7  - Intel HID 5 button array: is tagged by udev as: Keyboard
Oct 12 14:38:43 dev /usr/libexec/gdm-x-session[9045]: (II) event7  - Intel HID 5 button array: device is a keyboard
Oct 12 14:38:47 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to write source OUI
Oct 12 14:38:53 dev kernel: i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:236:eDP-1][ENCODER:235:DDI A/PHY A][DPRX] Failed to enable link training
Oct 12 14:38:56 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:39:00 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:39:03 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:39:08 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:39:14 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to write source OUI
Oct 12 14:39:20 dev kernel: i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:236:eDP-1][ENCODER:235:DDI A/PHY A][DPRX] Failed to enable link training
Oct 12 14:39:23 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:39:27 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:39:31 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:39:35 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:39:41 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to write source OUI
Oct 12 14:39:47 dev kernel: i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:236:eDP-1][ENCODER:235:DDI A/PHY A][DPRX] Failed to enable link training
Oct 12 14:39:50 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:39:54 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:39:58 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:40:03 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Oct 12 14:40:09 dev kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to write source OUI

Resolution
sudo nano /etc/default/grub

Inside grup file
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=deep i915.enable_psr=0 i915.enable_dc=0 nouveau.modeset=0 nvidia.NVreg_PreserveVideoMemoryAllocations=1"

# Add this line too
i915.enable_dc=0

The GRUB_CMDLINE_LINUX_DEFAULT line configures the Linux kernel with options like enabling deep sleep (mem_sleep_default=deep), disabling Intel's Panel Self Refresh (i915.enable_psr=0), and managing NVIDIA and Nouveau drivers for optimal performance.

i915.enable_dc=0 disables deeper power-saving states for Intel graphics to prevent potential stability issues during suspend/resume cycles.

sudo prime-select intel

Just to make sure you are intel by default.
Wakeup logs after above changes
Oct 12 15:25:06 dev kernel: PM: suspend exit
Oct 12 15:25:06 dev systemd[1]: systemd-suspend.service: Deactivated successfully.
Oct 12 15:25:06 dev systemd[1]: Finished systemd-suspend.service - System Suspend.
Oct 12 15:25:06 dev systemd[1]: Reached target suspend.target - Suspend.
Oct 12 15:25:06 dev systemd-logind[937]: Operation 'suspend' finished.
Oct 12 15:25:06 dev systemd[1]: Starting nvidia-resume.service - NVIDIA system resume actions...
Oct 12 15:25:06 dev systemd[1]: Stopped target suspend.target - Suspend.
Oct 12 15:25:06 dev suspend[3716]: nvidia-resume.service
Oct 12 15:25:06 dev logger[3716]: <13>Oct 12 15:25:06 suspend: nvidia-resume.service
Oct 12 15:25:06 dev systemd[1]: nvidia-resume.service: Deactivated successfully.
Oct 12 15:25:06 dev systemd[1]: Finished nvidia-resume.service - NVIDIA system resume actions.

By the way I am on dual boot with windows.


perception: add v2x

How can I use v2x module to have communication between two cars?

Same question, how to communicate with different host


Unable import dataset / create project  from backup

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Steps to Reproduce (for bugs)

I backuped an existing project with annotation (Backup Project);
Created new project with different name;
Changed name of the project in the project.json in backup zip file to new one;
Tried to import dataset inside new project (Import Dataset);
Got error:
datumaro.components.errors.DatasetNotFoundError: Failed to find dataset at '/home/django/data/projects/60/tmp/tmpt8tqjazv'

Then I tried to create project from backup (Create from backup);
And got the following error:
FileNotFoundError: [Errno 2] No such file or directory: '/home/django/share/manifest.jsonl'

Expected Behaviour

Dataset imported, project created without errors.
Current Behaviour

Got errors.
Possible Solution

May be I don't understand correctly how to use "Import dataset" and "Create from dataset buttons".
Or updated docker-compose.yaml incorrectly, when was adding cvat_share volume (but it's working).
Context

I am trying to migrate CVAT to another server. I have working 1.2.0 version on old one. I made backup of projects according to instructions (cvat_data.tar.gz and cvat_db.tar.gz). Then tried to run CVAT 1.2.0 according to instructions on the new server, but it didn't work. I ran the newest version 2.4.0 and added cvat_shared. Tried to add data from backup and it worked, but I got only one project fully working and other projects come with error, when I am trying to open a job:

So I made a backup of a project and got zip file with correct formats< data structure and annotations (according to the docs). Now I am trying to import the backup (for both projects: with correctly imported data and with error).
Your Environment

Git hash commit (git log -1):
commit b9359479a5e48c72a962d93d83d343f52946be9c (HEAD -> develop, origin/develop, origin/HEAD)
Author: Anastasia Yasakova<EMAIL_ADDRESS>Date:   Fri Mar 10 10:38:19 2023 +0200
Fix test with adding skeleton (#5832)

Docker version docker version (e.g. Docker 17.0.05): 23.0.1

Operating System and version (e.g. Linux, Windows, MacOS): Linux Ubuntu 20.04

Other diagnostic information / logs:

 Logs from `cvat_worker_import` container
2023-03-13 09:03:55,066 DEBG 'rqworker_import_0' stderr output:
ERROR:rq.worker:Traceback (most recent call last):
File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
rv = job.perform()
File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
self._result = self._execute()
File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
return self.func(*self.args, **self.kwargs)
File "/usr/lib/python3.8/contextlib.py", line 75, in inner
return func(*args, **kwds)
File "/home/django/cvat/apps/dataset_manager/project.py", line 174, in import_dataset_as_project
project.import_dataset(f, importer, conv_mask_to_poly=conv_mask_to_poly)
File "/home/django/cvat/apps/dataset_manager/project.py", line 154, in import_dataset
importer(dataset_file, temp_dir, project_data, self.load_dataset_data, **options)
File "/home/django/cvat/apps/dataset_manager/formats/registry.py", line 36, in call
f_or_cls(*args, **kwargs)
File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 1442, in _import
dataset = Dataset.import_from(temp_dir, 'cvat', env=dm_env)
File "/opt/venv/lib/python3.8/site-packages/datumaro/components/dataset.py", line 1165, in import_from
detected_sources = importer(path, **kwargs)
File "/opt/venv/lib/python3.8/site-packages/datumaro/components/extractor.py", line 444, in call
raise DatasetNotFoundError(path)
datumaro.components.errors.DatasetNotFoundError: Failed to find dataset at '/home/django/data/projects/60/tmp/tmpt8tqjazv'
Traceback (most recent call last):
File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
rv = job.perform()
File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
self._result = self._execute()
File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
return self.func(*self.args, **self.kwargs)
File "/usr/lib/python3.8/contextlib.py", line 75, in inner
return func(*args, **kwds)
File "/home/django/cvat/apps/dataset_manager/project.py", line 174, in import_dataset_as_project
project.import_dataset(f, importer, conv_mask_to_poly=conv_mask_to_poly)
File "/home/django/cvat/apps/dataset_manager/project.py", line 154, in import_dataset
importer(dataset_file, temp_dir, project_data, self.load_dataset_data, **options)
File "/home/django/cvat/apps/dataset_manager/formats/registry.py", line 36, in call
f_or_cls(*args, **kwargs)
File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 1442, in _import
dataset = Dataset.import_from(temp_dir, 'cvat', env=dm_env)
File "/opt/venv/lib/python3.8/site-packages/datumaro/components/dataset.py", line 1165, in import_from
detected_sources = importer(path, **kwargs)
File "/opt/venv/lib/python3.8/site-packages/datumaro/components/extractor.py", line 444, in call
raise DatasetNotFoundError(path)
datumaro.components.errors.DatasetNotFoundError: Failed to find dataset at '/home/django/data/projects/60/tmp/tmpt8tqjazv'

 Logs from `cvat_worker_import` container
2023-03-13 09:38:00,227 DEBG 'rqworker_import_1' stderr output:
ERROR:rq.worker:Traceback (most recent call last):
File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
rv = job.perform()
File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
self._result = self._execute()
File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
return self.func(*self.args, **self.kwargs)
File "/usr/lib/python3.8/contextlib.py", line 75, in inner
return func(*args, **kwds)
File "/home/django/cvat/apps/engine/backup.py", line 752, in _import_project
db_project = project_importer.import_project()
File "/home/django/cvat/apps/engine/backup.py", line 744, in import_project
self._import_tasks()
File "/home/django/cvat/apps/engine/backup.py", line 734, in _import_tasks
TaskImporter(
File "/home/django/cvat/apps/engine/backup.py", line 625, in import_task
self._import_task()
File "/home/django/cvat/apps/engine/backup.py", line 607, in _import_task
_create_thread(self._db_task.pk, data.copy(), isBackupRestore=True)
File "/usr/lib/python3.8/contextlib.py", line 75, in inner
return func(*args, **kwds)
File "/home/django/cvat/apps/engine/task.py", line 428, in _create_thread
manifest_file = _validate_manifest(
File "/home/django/cvat/apps/engine/task.py", line 297, in _validate_manifest
if is_manifest(full_manifest_path):
File "/home/django/utils/dataset_manifest/core.py", line 724, in is_manifest
return _is_video_manifest(full_manifest_path) or
File "/home/django/utils/dataset_manifest/core.py", line 729, in _is_video_manifest
return validator.validate()
File "/home/django/utils/dataset_manifest/core.py", line 642, in validate
with open(self._manifest.path, 'r') as manifest:
FileNotFoundError: [Errno 2] No such file or directory: '/home/django/share/manifest.jsonl'
Traceback (most recent call last):
File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
rv = job.perform()
File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
self._result = self._execute()
File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
return self.func(*self.args, **self.kwargs)
File "/usr/lib/python3.8/contextlib.py", line 75, in inner
return func(*args, **kwds)
File "/home/django/cvat/apps/engine/backup.py", line 752, in _import_project
db_project = project_importer.import_project()
File "/home/django/cvat/apps/engine/backup.py", line 744, in import_project
self._import_tasks()
File "/home/django/cvat/apps/engine/backup.py", line 734, in _import_tasks
TaskImporter(
File "/home/django/cvat/apps/engine/backup.py", line 625, in import_task
self._import_task()
File "/home/django/cvat/apps/engine/backup.py", line 607, in _import_task
_create_thread(self._db_task.pk, data.copy(), isBackupRestore=True)
File "/usr/lib/python3.8/contextlib.py", line 75, in inner
return func(*args, **kwds)
File "/home/django/cvat/apps/engine/task.py", line 428, in _create_thread
manifest_file = _validate_manifest(
File "/home/django/cvat/apps/engine/task.py", line 297, in _validate_manifest
if is_manifest(full_manifest_path):
File "/home/django/utils/dataset_manifest/core.py", line 724, in is_manifest
return _is_video_manifest(full_manifest_path) or
File "/home/django/utils/dataset_manifest/core.py", line 729, in _is_video_manifest
return validator.validate()
File "/home/django/utils/dataset_manifest/core.py", line 642, in validate
with open(self._manifest.path, 'r') as manifest:
FileNotFoundError: [Errno 2] No such file or directory: '/home/django/share/manifest.jsonl'

Hi. Yes, the task data was placed in a shared drive. But now the same data is also on new shared drive.14.03.2023, 00:27, "Maxim Zhiltsov" @.***>:
Hi, could you please specify where the task data was placed? It looks like the data was on a shared drive.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Related https://github.com/opencv/cvat/issues/4989

@IvanLunev , it is a known issue. I will close the issue as a duplicate. Please follow the original one.

@IvanLunev I got to the manifest.jsonl error as well. And indeed this is because of the shared drive. What fixed it for me was to create a manifest.jsonl file in the volume that is to be mounted (where the data is) based off of the project backup I did (which comes with a manifest.jsonl for each task). So you can just concatenate the contents of each manifest.jsonl (from the tasks backup) into one manifest.jsonl file in the shared drive. Just make sure to copy the version and type only once at the beginning of the file/list (for each type) e.g. {"version":"1.1"}{"type":"images"}.
It's very hacky and by no means a fix, but maybe it can help you as well.

I wrote a small python script to create the manifest.jsonl, gonna put it here to help future me and others.
import zipfile
import os

filename= "<YOUR PROJECT BACKUP GOES HERE>"
zip = zipfile.ZipFile(filename+ ".zip")

f = open("manifest.jsonl", "x")
f.write('{"version":"1.1"}\n')
f.write('{"type":"images"}\n')

for manifest in zip.namelist():
    if "manifest.jsonl" in manifest:
        lines = zip.open(manifest).readlines()
        for line in lines[2:]:
            f.write(line.decode())

f.close()


More help?

https://mclo.gs/YEU9DPs

[17:47:58] [main/ERROR]: Mixin prepare for mod organized_tabs failed preparing ExampleMixin in modid.mixins.json: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException The specified mixin 'net.fabricmc.example.mixin.ExampleMixin' was not found

Organised Tabs?

Not a mod I have installed

this tracker is for quilt loader issues, not support. you can get help on our forum or discord!


Add acr to default installation list

Sending the PR while waiting for approval from PMs.
@derekbekoe Please ping me if additional changes are needed.
/cc @SajayAntony @SteveLasker @mayurid @twitchax

Codecov Report

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

@@          Coverage Diff           @@
##           master   #2592   +/-   ##
======================================
  Coverage    72.5%   72.5%
======================================
  Files         374     374
  Lines       20190   20190
  Branches     2957    2957
======================================
  Hits        14638   14638
+ Misses       4632    4628    -4
- Partials      920     924    +4

Impacted Files
Coverage Δ

...dback/azure/cli/command_modules/feedback/custom.py
34.69% <0%> (ø)
:arrow_up:

...-cli-role/azure/cli/command_modules/role/custom.py
17.89% <0%> (ø)
:arrow_up:

src/azure-cli-core/azure/cli/core/_util.py
66.66% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@derekbekoe

LGTM but marking as Do Not Merge for now pending approval

@derekbekoe who's approval we're waiting for?


test: Fix start-console shell quoting for linux.

@PeterYurkovich I've refactored the start-console script to clarify what is different/the same in each case, let me know if you approve.
I have not yet got this to connect to my local korrel8r, I'll have another look tomorrow. Any tips for debugging the proxy behavior? I can see in the console logs that it's using what I think is the correct proxy address, but I can't see what real HTTP address that is being translated into by the proxy...


The action will not fail if comment is being used

If this action is set to write a comment on a new PR the check will pass, even when the the branch is wrong.
If, however, the base is changed instead, the check will fail.

If this action is set to write a comment on a new PR the check will pass, even when the the branch is wrong.

If both change-to and comment are left out, the action will fail if the branch is wrong. A option could be added to allow commenting and failing at the same time though.

If, however, the base is changed instead, the check will fail.

I'm assuming you mean when there is already a PR with the same base, that depends on the already-exists-action option, which defaults to fail, the described behavior.

If this action is set to write a comment on a new PR the check will pass, even when the the branch is wrong.

If both change-to and comment are left out, the action will fail if the branch is wrong. A option could be added to allow commenting and failing at the same time though.

Ah ok, so it is expected not to fail.

If, however, the base is changed instead, the check will fail.

I'm assuming you mean when there is already a PR with the same base, that depends on the already-exists-action option, which defaults to fail, the described behavior.

In that case, the bug is, that when you change a base branch for the existing PR (and you still use comment parameter), then the check will fail.


(IAC-592) kube-vip updates

kube-vip configuration no longer requires an interface assignment. Enabled new kube-vip loadBalancer.

This one is ready for review.

Not ready for review. Docs must be updated.

Ok, now it's ready for review


Embedded type wikilinks are not regognized as wikilinks

Obsidian type embedded links https://help.obsidian.md/Linking+notes+and+files/Embedding+files of the type ![[mylink]] are not recognized as standard wikilinks, so hover, go to definition or find references don't work with them. I understand these are not standard links, but given there is a mention to Obsidian in the README, I thought there may be other people using Obsidian vaults with Marksman, and this feature could be very useful, and probably not very hard to implement (maybe some small tweak to the regular expression?).
Thanks a lot for Marksman, it is incredibly useful.

Hi @dawsers! AFAIU these embed links allow you to also link to files (e.g. images, audio, etc.). Are you talking specifically, about 'Embed a note in another note' (which is easier to implement) or the whole thing with files?

I only meant the '!' in front of the link makes the parser not recognize it as a link for completion or navigation. For example [[ will trigger auto-completion, but ![[ won't, as marksman doesn't think we are trying to insert a link. The same happens with go to definition or find references, I can navigate or find references to a [[link]], but not to a ![[link]].
So my issue is not really a new complicated feature, but more like changing the parsing of what is considered a link a bit, so what they call embedded links are just interpreted as links too by the server instead of just pure text, and that way navigation and auto-completion features work too.

Hi @dawsers, this is maybe useful, at least for goto definition. Use obsidian plugin (and workaround a strange cmp problem like that):
https://github.com/epwalsh/obsidian.nvim/issues/126


Some UX issues related with new website

Huge distance between screenshot image and arrows to change: do not help discover features (Desktop)
Clicking on image do not zoom: Unexpected. zoom button is a far away.  (Desktop and Mobile)
Buttons do not behave as buttons. No consistency. (Desktop and Mobile)

Above, only green areas are clickable but all buttons/panes look the same.

Closing, as this is too much of a meta issue and very unlikely to ever get solved like this.
Please split these up, as it's also very hard to reason about these with three topics at once.