Issues do not have group_id attribute

Running GitLab Enterprise Edition 13.3.6-ee.  Running with the "project" command line argument, I get an exception at https://github.com/CarliJoy/SyncGitlab2MSProject/blob/master/src/syncgitlab2msproject/sync.py#L43 on issue.group_id.
Looking at the JSON, issues returned from my GitLab instance do not include a group_id attribute (there is a group_id attribute on milestones if the issue is assigned to a milestone).
Issue attributes in the returned JSON are:
'id', 'iid', 'project_id', 'title', 'description', 'state', 'created_at', 'updated_at', 'closed_at', 'closed_by', 'labels', 'milestone', 'assignees', 'author', 'assignee', 'user_notes_count', 'merge_requests_count', 'upvotes', 'downvotes', 'due_date', 'confidential', 'discussion_locked', 'web_url', 'time_stats', 'task_completion_status', 'weight', 'blocking_issues_count', 'has_tasks', '_links', 'references', 'moved_to_id'
Would it be possible to pass group_id in as a command line argument or substitute another field in creating that reference?

Hi BeeFishy,
indeed I have not tested it with the project command line argument that much.
Thank you for your feedback. Good to know somebody is using it.
I will look into it, maybe I can figure out a way to receive the group_id by reading the project before hand.
Might takes a moment.

@BeeFishy could you look if the bug is fixed with this version https://github.com/CarliJoy/SyncGitlab2MSProject/tree/fix_missing_group ?
Thank you :-)

It did not like the reference to project.namespace.
Traceback (most recent call last):
  File "C:\src\SyncGitlab2MSProject\venv\lib\site-packages\gitlab\base.py", line 59, in __getattr__
    return self.__dict__["_updated_attrs"][name]
KeyError: 'namespace'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\src\SyncGitlab2MSProject\venv\lib\site-packages\gitlab\base.py", line 62, in __getattr__
    value = self.__dict__["_attrs"][name]
KeyError: 'namespace'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\src\SyncGitlab2MSProject\venv\lib\site-packages\gitlab\base.py", line 82, in __getattr__
    return self.__dict__["_parent_attrs"][name]
KeyError: 'namespace'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\src\SyncGitlab2MSProject\src\syncgitlab2msproject\cli.py", line 233, in <module>
    run()
  File "C:\src\SyncGitlab2MSProject\src\syncgitlab2msproject\cli.py", line 229, in run
    main(sys.argv[1:])
  File "C:\src\SyncGitlab2MSProject\src\syncgitlab2msproject\cli.py", line 214, in main
    issues = get_issues_func(gitlab, args.gitlab_resource_id)
  File "c:\src\syncgitlab2msproject\src\syncgitlab2msproject\gitlab_issues.py", line 233, in get_project_issues
    return [
  File "c:\src\syncgitlab2msproject\src\syncgitlab2msproject\gitlab_issues.py", line 234, in <listcomp>
    Issue(issue, fixed_group_id=get_group_id_from_gitlab_project(project))
  File "c:\src\syncgitlab2msproject\src\syncgitlab2msproject\gitlab_issues.py", line 212, in get_group_id_from_gitlab_project
    namespace: Dict[str, Union[int, str]] = project.namespace
  File "C:\src\SyncGitlab2MSProject\venv\lib\site-packages\gitlab\base.py", line 84, in __getattr__
    raise AttributeError(name)
AttributeError: namespace

That is strange.
If I look into the 13.6. documentation namespace is defined.
Are you using token auth or is a public project you accessing without key?
I see in the documentation gitlab delivers different results for each case

When simple=true or the user is unauthenticated this returns something like:

If you use no token, could you try to use one?
I still will think of a solution.
BR
Carli*

This access is using token auth on a non-public server.

That's strange.
I am using python-gitlab to access gitlab. So it should take care of getting the correct results.
But it could be due to the fact, that I was using the lazy parameter for receiving projects.
Please try again.
I am now catching the attribute error and only warn, as the attribute is not required to sync correctly.
So following the KISS principle I don't want to put more "hacks" into it.
Still I would be interested why the attributes can't be accessed....

Yeah, it's working now.  Didn't see any additional output if you output something in the case of catching the error.  On to my next issue.  :-)


CSP-1223 Added SSA2 code in LarsStandard

The commit from this PR was taken over by PR#135 for CSP-1226 which will be merged eventually.


Add --include cli option

Updated version of #91.  Also added a fix to the engines in package.json.

I think this needs more review and possible updates.  My intuition is that --include should work in combination with the directories being watched.  Given:
/foo
  bar.js
  bar-test.js

I'd expect to be able to watch foo and add a pattern to target only my tests:
node cli.js 'echo "test changed"' foo --include *-test.js

This doesn't work because the include logic is comparing the abs file path to the pattern:
minimatch(fileName, argv.include)

Haven't thought this through, but it seems would should be testing if any watched absolute path includes the pattern.  Or, allow any parent directories via wildcard:
In either case if it is not updated you have to write:
node cli.js 'echo "test changed"' foo --include **/foo/*-test.js

I agree and think that this is unintuitive behaviour. In my case the pattern I'm using is --include **/*.less. No specific directory but the same general idea.
After thinking about this for a couple of days I think that the simplest solution is to inspect the include pattern for a path separator. If one is found, apply the pattern to the relative path from the current working directory (strip cwd from absolute path). If no path separator is found, apply the pattern to the filename only. This would lead to commands like:
node cli.js 'echo "test changed"' foo --include *-test.js

or if you wanted to restrict the pattern to a subdirectory:
node cli.js 'echo "test changed"' foo --include spec/**/-test.js

The only complication that jumps out at me is if the pattern has an escaped path separator. Thoughts?

Cool, I'll do some experimenting with this and let you know.
Semi-related, I've also just run across micromatch which seems to be "a highly drop in replacement for minimatch".  I might check this out as well.
Thanks for the brain cycles on this.

OK, here's what I found.  If no directories are provided then the path file paths passed to the filter are absolute.  If any directories are passed, then the file paths passed to the filter are relative.  This alone seems like an issue, but will save that for another PR.
With directories
› node cli.js 'echo "test changed"' foo --include *-test.js
What I'm thinking is that if directories supplied, they should be traversed, looking for a pattern match. If any filename relative to any directory argument matches the pattern, then it is a match.
I've added some example code and logging for trying this out:
› node cli.js 'echo "test changed"' foo --include *-test.js -d

> Watching foo
{ dir: 'foo',
  absDir: '/Users/levithomason/src/watch/foo/',
  fileName: 'foo/bar-test.js',
  relFileName: 'bar-test.js' }

isMatch  pattern   fileName
true    *-test.js  foo/bar-test.js
--------------------------------------------------------------------------------
{ dir: 'foo',
  absDir: '/Users/levithomason/src/watch/foo/',
  fileName: 'foo/bar.js',
  relFileName: 'bar.js' }

isMatch  pattern   fileName
false    *-test.js  foo/bar.js
--------------------------------------------------------------------------------

Without directories
› node cli.js 'echo "test changed"' --include *-test.js
In this case, we'd use what ever pattern you passed us against the absolute file paths.  So the above would no longer match, because it only looks for *-test.js files, not **/*-test.js files.
{ dir: '/Users/levithomason/src/watch',
  absDir: '/Users/levithomason/src/watch/',
  fileName: '/Users/levithomason/src/watch/foo/bar-test.js',
  relFileName: 'foo/bar-test.js' }

isMatch  pattern   fileName
false    *-test.js  /Users/levithomason/src/watch/foo/bar-test.js
--------------------------------------------------------------------------------
{ dir: '/Users/levithomason/src/watch',
  absDir: '/Users/levithomason/src/watch/',
  fileName: '/Users/levithomason/src/watch/foo/bar.js',
  relFileName: 'foo/bar.js' }

isMatch  pattern   fileName
false    *-test.js  /Users/levithomason/src/watch/foo/bar.js
--------------------------------------------------------------------------------

This doesn't account for sub directories right now and I'm sure other things.  But, the approach I'm thinking should be "if dirs, scan them with the pattern, else use the pattern on abs paths".  It's late so I'll let this one sink in a bit before doing anything.
Any feedback greatly appreciated.

Any chance we can get this merged in? :-)

@akanieski right now I don't think this PR handles sub directory globs properly. I have no time to come back to it at present. It is on my list of things to do.
I've really been thinking of overhauling the watch system entirely with more robust and reliable packages.


PATCH when file does not exists?

Should PATCH be allowed before POST with id? e.g.
PATCH /asd
POST /asd

No, this is not allowed and also should not be, at least in my opinion. The server will not have allocated the necessary resources to accept an upload and therefore will not be able to fulfill your request. Or am I misunderstanding you here?

@Acconut: I'm cool with that. Though maybe we should add it to the spec? Because the HTTP spec does not enforce that invariant.

Yes, we can add this to the spec. However, I am unsure about how to formulate that because following thing just came to my mind: If you are not using the Creation extension (which is totally optional), there will never be a POST request from the client. In this case you will have proprietary server extension which handles the upload creation in another way (maybe through another API). Then the client will send the usual PATCH requests to the upload URL without ever having sent a POST request.
This setup is not very common but does occur, e.g. in the Vimeo API.


Replace incorrect PLD reference to blood with oath

PLD section was incorrectly referring to blood in if/else flow, change to oath instead.

Whoops, thank you.  /o\


getDotWalkValueFromGr

I recently read your blog that used the subject function. Just wanted to point out you can use gr.getElement('assigned_to.department.dept_head') to do this without a helper function.
You might want to add a contact link to your blog or allow for comment/questions on your blog posts. Adding this issue was the only way I could think to reach you.
Congrats on starting your blog - the more SN blogs out there the better.

Thanks John, I didn't know that you could do that. Good to know!
Yea, I've been looking into that, that's next on my list.
Thanks again for reaching out.
On Sat, 9 Jan 2021 at 07:14, johncaruso<EMAIL_ADDRESS>wrote:

I recently read your blog
https://davidmac.pro/posts/2020-12-20-reading-field-picker/ that used
the subject function. Just wanted to point out you can use
gr.getElement('assigned_to.department.dept_head') to do this without a
helper function.
You might want to add a contact link to your blog or allow for
comment/questions on your blog posts. Adding this issue was the only way I
could think to reach you.
Congrats on starting your blog - the more SN blogs out there the better.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/towerofpower256/Daves-ServiceNow-Code-Snippets/issues/1,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6L5CX2MLI7AAWWCUM2RXDSY5YULANCNFSM4V27CJGQ
.

Thanks John, I didn't know that you could do that. Good to know!
Yea, I've been looking into that, that's next on my list.
Thanks again for reaching out.
On Sat, 9 Jan 2021 at 07:14, johncaruso<EMAIL_ADDRESS>wrote:

I recently read your blog
https://davidmac.pro/posts/2020-12-20-reading-field-picker/ that used
the subject function. Just wanted to point out you can use
gr.getElement('assigned_to.department.dept_head') to do this without a
helper function.
You might want to add a contact link to your blog or allow for
comment/questions on your blog posts. Adding this issue was the only way I
could think to reach you.
Congrats on starting your blog - the more SN blogs out there the better.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/towerofpower256/Daves-ServiceNow-Code-Snippets/issues/1,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6L5CX2MLI7AAWWCUM2RXDSY5YULANCNFSM4V27CJGQ
.


Detect and fix pod-level user not being set

The commons used in universe packages doesn't set the user at the pod level, and Mesos interprets this as it should set user to root.
Upon an update from release to master, even overriding the default user from "nobody" to "root"  pod-level user-change validation fails as the comparison is actually null vs "root".
This fixes that by detecting if the pod-level user has been set.

Holding off on this for now as it's dependent on DE changes that aren't in its branch yet


fix warning in block! when the error type is !

closes #5

:pushpin: Commit caac615 has been approved by japaric

@homunkulus r+

:hourglass: Testing commit caac615 with merge 159cf95...

:sunny: Test successful - status-travis
Approved by: japaric
Pushing 159cf95a3e849fbf4ede3331903f47ea9d00bce7 to master...


Predefined roles for alerting.

This change defines 3 new default read only roles to easily allow integration with the opendistro alerting plugin
The three roles are as follows:

alerting_view_alerts: Allows a user to view alerts. No monitors or destinations, also does not allow users of this role to acknowledge alerts.
alerting_crud_alerts: Allows a user to view and acknowledge alerts. User cannot view monitors or destinations.
alerting_full_access: Provides full functionality of the alerting plugin.

Testing done manually using a single user for each role.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

[INFO] Results:
[INFO]
[WARNING] Tests run: 78, Failures: 0, Errors: 0, Skipped: 3
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ opendistro_security ---
[INFO] Building jar: /Users/lucaswin/Desktop/github/backend-security/security/target/opendistro_security-<IP_ADDRESS>.jar
[INFO]
[INFO] --- git-commit-id-plugin:2.2.3:validateRevision (validate-the-git-infos) @ opendistro_security ---
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:test-jar (default) @ opendistro_security ---
[INFO] Building jar: /Users/lucaswin/Desktop/github/backend-security/security/target/opendistro_security-<IP_ADDRESS>-tests.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ opendistro_security ---
[INFO] Installing /Users/lucaswin/Desktop/github/backend-security/security/target/opendistro_security-<IP_ADDRESS>.jar to /Users/lucaswin/.m2/repository/com/amazon/opendistroforelasticsearch/opendistro_security/<IP_ADDRESS>/opendistro_security-<IP_ADDRESS>.jar
[INFO] Installing /Users/lucaswin/Desktop/github/backend-security/security/pom.xml to /Users/lucaswin/.m2/repository/com/amazon/opendistroforelasticsearch/opendistro_security/<IP_ADDRESS>/opendistro_security-<IP_ADDRESS>.pom
[INFO] Installing /Users/lucaswin/Desktop/github/backend-security/security/target/opendistro_security-<IP_ADDRESS>-tests.jar to /Users/lucaswin/.m2/repository/com/amazon/opendistroforelasticsearch/opendistro_security/<IP_ADDRESS>/opendistro_security-<IP_ADDRESS>-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  11:38 min
[INFO] Finished at: 2019-07-15T11:53:23-07:00
[INFO] ------------------------------------------------------------------------

Build passes


jpeg not recognized

When jpeg format is used it shows errors. What will be the solution?

Are you sure the file is a real JPEG? Use something like getID3 to check it.
Regards


drivers: ieee802154: telink: Set radio mode only when required

At start radio is off.
During all transmission radio sets to TX mode.
At finalize transmission or timeout it sets to RX mode.

@mishadesh please check power consumption profit.


cmd/go: testing this specific package is failing

What version of Go are you using (go version)?
go version devel +2767c4e285 Fri Mar 16 21:01:28 2018 +0000 darwin/amd64
What operating system and processor architecture are you using (go env)?
go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/thorn/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/thorn/go"
GORACE=""
GOROOT="/Users/thorn/golang"
GOTMPDIR=""
GOTOOLDIR="/Users/thorn/golang/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/km/50gy6_q557v6_7vxbf9b29v00000gn/T/go-build428090470=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Running ./all.bash does not fail in any of tests: ALL TESTS PASSED.
When I run go test cmd/go I get these failed tests:
~/golang/src % go test cmd/go
--- FAIL: TestGoBuildDashAInDevBranch (0.30s)
	go_test.go:833: running testgo [install math]
	go_test.go:835: running testgo [build -v -a math]
	go_test.go:835: standard error:
	go_test.go:835: internal/cpu
		math

	go_test.go:836: testgo build -a math in dev branch DID NOT build runtime, but should have
	go_test.go:836: pattern runtime not found in standard error
--- FAIL: TestGoBuildDashAInReleaseBranch (0.47s)
	go_test.go:849: running testgo [install math net/http]
	go_test.go:851: running testgo [install -v -a math]
	go_test.go:851: standard error:
	go_test.go:851: internal/cpu
		math

	go_test.go:852: testgo build -a math in release branch DID NOT build runtime, but should have
	go_test.go:852: pattern runtime not found in standard error
--- FAIL: TestNewReleaseRebuildsStalePackagesInGOPATH (3.13s)
	go_test.go:892: running testgo [install -a p1]
	go_test.go:893: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
	go_test.go:893: standard output:
	go_test.go:893: false:

	go_test.go:902: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
	go_test.go:902: standard output:
	go_test.go:902: false:

	go_test.go:909: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
	go_test.go:909: standard output:
	go_test.go:909: false:

	go_test.go:909: ./testgo list claims p1 is NOT stale, incorrectly, after changing sys.go
--- FAIL: TestBuildIDContainsArchModeEnv (2.62s)
    --- FAIL: TestBuildIDContainsArchModeEnv/386 (1.23s)
    	go_test.go:4716: running testgo [install mycmd]
    	go_test.go:4718: running testgo [list -f {{.Stale}}:{{.StaleReason}} mycmd]
    	go_test.go:4718: standard output:
    	go_test.go:4718: true:stale dependency: runtime

    	go_test.go:4718: wrong reason for Stale=true: "stale dependency: runtime", want "stale dependency: runtime/internal/sys"
    --- FAIL: TestBuildIDContainsArchModeEnv/arm (1.39s)
    	go_test.go:4716: running testgo [install mycmd]
    	go_test.go:4718: running testgo [list -f {{.Stale}}:{{.StaleReason}} mycmd]
    	go_test.go:4718: standard output:
    	go_test.go:4718: true:stale dependency: runtime

    	go_test.go:4718: wrong reason for Stale=true: "stale dependency: runtime", want "stale dependency: runtime/internal/sys"
--- FAIL: TestAccidentalGitCheckout (0.85s)
	go_test.go:1465: running testgo [get -u vcs-test.golang.org/go/test1-svn-git]
	go_test.go:1465: standard error:
	go_test.go:1465: package vcs-test.golang.org/go/test1-svn-git: unrecognized import path "vcs-test.golang.org/go/test1-svn-git" (https fetch: Get https://vcs-test.golang.org/go/test1-svn-git?go-get=1: x509: certificate has expired or is not yet valid)

	go_test.go:1465: testgo failed as expected: exit status 1
	go_test.go:1466: get did not fail for right reason
	go_test.go:1466: pattern src[\\/]vcs-test.* uses git, but parent .*src[\\/]vcs-test.* uses svn not found in standard error
--- FAIL: TestMoveHG (0.37s)
	go_test.go:1272: running testgo [get -d vcs-test.golang.org/go/custom-hg-hello]
	go_test.go:1272: standard error:
	go_test.go:1272: package vcs-test.golang.org/go/custom-hg-hello: unrecognized import path "vcs-test.golang.org/go/custom-hg-hello" (https fetch: Get https://vcs-test.golang.org/go/custom-hg-hello?go-get=1: x509: certificate has expired or is not yet valid)

	go_test.go:1272: go [get -d vcs-test.golang.org/go/custom-hg-hello] failed unexpectedly: exit status 1
FAIL
FAIL	cmd/go	268.072s

Also it takes 268 seconds compared to all.bash: ok  	cmd/go	59.136s
What did you expect to see?
No errors.

To add another data point, I can reproduce this on tip on linux/amd64.

Also it takes 268 seconds compared to all.bash: ok cmd/go 59.136s

This is expected because all.bash runs the tests using the -short flag.

Git bisect points to 76015

ping @rsc

Doing research regarding TestGoBuildDashA* tests. CL 76015 removed dependency on runtime package for non-main packages, so that go build -a math does not rebuild runtime anymore. Also TestGoBuildDashAInReleaseBranch tested some hack about preventing rebuilding system packages in release branch. I have not found any need to test that behaviour anymore.
Also I could not find environment variable "TESTGO_IS_GO_RELEASE anywhere else except in those two tests. So I assume that it can be removed completely along with TestGoBuildDashAInReleaseBranch test b/c there is not need for testing release branch there anymore and we can just have general TestGoBuildDashA test.

The only remaining fix: https://golang.org/cl/103416
ping @ianlancetaylor @rsc

TestNewReleaseRebuildsStalePackagesInGOPATH still fails on linux-amd64-longtest:
https://build.golang.org/log/412d4a44a2469e2919309a2ec9b3765d3a1de7a7
I am unable to reproduce this locally on darwin. Any ideas how can I do it?
--- FAIL: TestNewReleaseRebuildsStalePackagesInGOPATH (4.60s)
    go_test.go:902: running testgo [install -i p1]
    go_test.go:903: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
    go_test.go:903: standard output:
    go_test.go:903: false:

    go_test.go:912: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
    go_test.go:912: standard output:
    go_test.go:912: false:

    go_test.go:919: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
    go_test.go:919: standard output:
    go_test.go:919: true:stale dependency: runtime/internal/sys

    go_test.go:921: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
    go_test.go:921: standard output:
    go_test.go:921: false:

    go_test.go:923: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
    go_test.go:923: standard output:
    go_test.go:923: true:stale dependency: runtime/internal/sys

    go_test.go:924: running testgo [install -i p1]
    go_test.go:925: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
    go_test.go:925: standard output:
    go_test.go:925: false:

    go_test.go:929: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
    go_test.go:929: standard output:
    go_test.go:929: false:

    go_test.go:929: ./testgo list claims p1 is NOT stale, incorrectly, after restoring sys.go

I can't recreate the TestNewReleaseRebuildsStalePackagesInGOPATH failure when I run the test by itself, but I run simply go test cmd/go I do see the failure.

Wait, I think I got confused, sorry.

Long test from tip passes on my darwin (El Capitan). It still fails on linux builder:
--- FAIL: TestNewReleaseRebuildsStalePackagesInGOPATH (4.65s)
    go_test.go:906: running testgo [install -i p1]
    go_test.go:907: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
    go_test.go:907: standard output:
    go_test.go:907: false:

    go_test.go:916: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
    go_test.go:916: standard output:
    go_test.go:916: false:

    go_test.go:923: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
    go_test.go:923: standard output:
    go_test.go:923: true:stale dependency: runtime/internal/sys

    go_test.go:925: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
    go_test.go:925: standard output:
    go_test.go:925: false:

    go_test.go:927: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
    go_test.go:927: standard output:
    go_test.go:927: true:stale dependency: runtime/internal/sys

    go_test.go:928: running testgo [install -i p1]
    go_test.go:929: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
    go_test.go:929: standard output:
    go_test.go:929: false:

    go_test.go:933: running testgo [list -f {{.Stale}}:{{.StaleReason}} p1]
    go_test.go:933: standard output:
    go_test.go:933: false:

    go_test.go:933: ./testgo list claims p1 is NOT stale, incorrectly, after restoring sys.go
go test proxy starting
go test proxy running at GOPROXY=http://<IP_ADDRESS>:38065/mod
--- FAIL: TestAccidentalGitCheckout (6.01s)
    go_test.go:1527: running testgo [get -u vcs-test.golang.org/go/test1-svn-git]
    go_test.go:1527: standard error:
    go_test.go:1527: package vcs-test.golang.org/go/test1-svn-git/git-README-only/pkg: directory "/tmp/gotest830344226/src/vcs-test.golang.org/go/test1-svn-git/git-README-only" uses git, but parent "/tmp/gotest830344226/src/vcs-test.golang.org/go/test1-svn-git" uses svn

    go_test.go:1527: testgo failed as expected: exit status 1
    go_test.go:1530: running testgo [get -u vcs-test.golang.org/go/test2-svn-git/test2main]
    go_test.go:1530: standard error:
    go_test.go:1530: package vcs-test.golang.org/go/test2-svn-git/test2pkg/pkg: cannot find package "vcs-test.golang.org/go/test2-svn-git/test2pkg/pkg" in any of:
        	/workdir/go/src/vcs-test.golang.org/go/test2-svn-git/test2pkg/pkg (from $GOROOT)
        	/tmp/gotest830344226/src/vcs-test.golang.org/go/test2-svn-git/test2pkg/pkg (from $GOPATH)

    go_test.go:1530: testgo failed as expected: exit status 1
    go_test.go:1531: get did not fail for right reason
    go_test.go:1531: pattern src[\\/]vcs-test.* uses git, but parent .*src[\\/]vcs-test.* uses svn not found in standard error
FAIL
FAIL	cmd/go	244.229s
2018/07/13 04:12:40 Failed: exit status 1

I can reproduce both failures on my Linux laptop - will try to investigate.

I think I wrapped my mind around what was happening in the first failure - sent the CL above.
I'm giving up on the second one for now, as I don't know enough about how go get -u works when mixing svn and git. Although it seems to me like the vcs-test package has been broken, as now using go get -u tries to get the non-existing test2pkg/pkg subpackage.

/cc @bcmills, @rsc to fix TestAccidentalGitCheckout

I have found something about TestAccidentalGitCheckout. It fetches repo which has partly-capitalized directory test2PKG inside, while the main package imports it using test2PKG and test2pkg. Apparrently, Linux cannot find the lowercase variant, while it works on MacOS.
% pwd
/Users/thorn/go/src/vcs-test.golang.org/go/test2-svn-git
% tree
.
├── test2PKG
│   ├── p1
│   │   └── p1.go
│   └── pkg
│       └── pkg.go
└── test2main
    └── main.go

% cat test2main/main.go
package main

import _ "vcs-test.golang.org/go/test2-svn-git/test2PKG/p1"
import _ "vcs-test.golang.org/go/test2-svn-git/test2pkg/pkg"

func main() {}

I don't see how to modify those files according to https://github.com/golang/build/blob/master/vcs-test/README.md
Also this bug was already filed: #22983

Closing as a dup of #22983. Since that was reported on 1.9.2, it doesn't need to be a release-blocker.


[WFLY-7575] Elytron mechanism-provider-filtering-sasl-server-factory cannot be added without filters attribute in CLI

Elytron Subsystem: https://issues.jboss.org/browse/WFLY-7575

I am currently thinking we may have wanted to go the other way on this one - the reason being "What is the purpose of a filtering-sasl-server-factory with no filters.

@darranl I've selected this option (filters should not be required), because of the implementation on WFLY-7286 (PR: https://github.com/wildfly-security/elytron-subsystem/pull/278). If we decide to make the filters required, we need to open a new issue and change the same option also for "configurable-sasl-server-factory".


Google BigQuery Driver

Addresses #874, adding a driver for Google BigQuery

Thank you for your contribution!
Before submitting this PR, please make sure:

[ ] Your code builds clean without any errors or warnings
[x] You have made the needed changes to the docs
[x] You have written a description of what is the purpose of this pull request above

Not sure why this CI is failing given I've only changed markdown.
Anything I need to do to fix?

@archiewood no I don't think it's anything you've done. I started looking into it but had other priorities come up.


ISLE: built-in integer types

Follow up to https://github.com/bytecodealliance/wasmtime/pull/9593, adding all the built-in integer types (u8 .. u128, i8 .. i128 plus usize and isize).
Integer literal expressions and patterns are still allowed to type-check against primitive types, because there are a lot of places in the lowering/optimization code that uses (type Foo (primitive Foo)) where Foo is declared as a type alias of an integer type in Rust code. Not sure what to do about this. Perhaps it would be clearer to rename "primitive" types to "opaque" or "extern" types (and also have a mechanism for declaring transparent type aliases in ISLE)?
Closes https://github.com/bytecodealliance/wasmtime/issues/5431 and https://github.com/bytecodealliance/wasmtime/issues/3573

Something is broken in the build in CI; once it's green I'm happy to merge.


Added settings for root element name and namespace

Added settings for root element name and namespace

Created setting "rootName" for specifing the root element's name.
Created setting "rootNamespace" for specifing the root element's namespace.
Tied both the settings "rootName" and "rootNamespace" into the extension and the debugger.
Changed schema setting to be a json object that you can specify "path", "rootName" and "rootNamespace" inside of.

Closes https://github.com/apache/daffodil-vscode/issues/653
Test Instructions
Prepare schemas
To be able to test this PR you will need to test it with the envelope-payload. This requires cloning and building a couple different DFDL Schemas. Below are the commands needed to run locally to get the schemas prepared before we start testing the debugging of the schema.
for schema in $(echo "ethernetIP PCAP tcpMessage mil-std-2045 envelope-payload"); do
  git clone https://github.com/DFDLSchemas/$schema.git dfdl-$schema
  cd dfdl-$schema
  sbt compile
  sbt publishLocal
  cd ../
done

Debugging envelope-payload
Now that you have built and prepared the needed schemas we can test the debugger. You will run the debugger locally like you normally do, make when the extension launches it is opening the parent directory that you cloned all the schemas to. Once you have the directory with all the schemas opened you will need to make .vscode/launch.json, if it doesn't exist already, with this inside of it:
{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "dfdl",
            "request": "launch",
            "name": "Envelope Payload",
            "schema": {
                "path": "${workspaceFolder}/dfdl-envelope-payload/src/main/resources/io/github/dfdlschemas/envelopepayload/xsd/envelopePayload.dfdl.xsd",
                "rootName": "message"
            },
            "stopOnEntry": true,
            "data": "${workspaceFolder}/dfdl-envelope-payload/src/test/resources/io/github/dfdlschemas/envelopepayload/test_01.dat",
            "infosetFormat": "xml",
            "infosetOutput": {
                "type": "file",
                "path": "${workspaceFolder}/infoset.xml"
            },
            "debugServer": 4711,
            "openDataEditor": false,
            "openInfosetView": false,
            "openInfosetDiffView": false,
            "daffodilDebugClasspath": "${workspaceFolder}/dfdl-mil-std-2045/src/main/resources:${workspaceFolder}/dfdl-mil-std-2045/target/classes:${workspaceFolder}/dfdl-tcpMessage/src/main/resources:${workspaceFolder}/dfdl-tcpMessage/target/classes:${workspaceFolder}/dfdl-PCAP/src/main/resources:${workspaceFolder}/dfdl-PCAP/target/classes:${workspaceFolder}/dfdl-envelope-payload/src/main/resources:${workspaceFolder}/dfdl-envelope-payload/target/classes:${workspaceFolder}/dfdl-ethernetIP/src/main/resources:${workspaceFolder}/dfdl-ethernetIP/target/classes",
            "variables": {},
            "tunables": {},
            "dataEditor": {
                "port": 9000,
                "logFile": "${workspaceFolder}/dataEditor-${omegaEditPort}.log",
                "logLevel": "info"
            }
        }
    ]
}

If you already have a .vscode/launch.json at the same level as the schemas you cloned you can just copy the specific configuration. To be specific you will copy from and including opened curly brace ({) right after the opened square brace ([) to and including the closing curly brace (}) before the closing square brace (]). Now you want to go to the debug section and select the Envelope Payload launch configuration and hit the play button. The debugger should run without at problems and stop you right at in the dfdl-tcpMessage/src/main/resources/io/github/dfdlschemas/tcpMessage/xsd/tcpMessage.dfdl.xsd file. This shown in the screenshot below, after clicking continue the debugger should finish running and write the infoset.

Rebase to hopefully fix CI.

I believe I followed the PR setup instructions correctly but receiving an vscode error info box stating that all the files listed in the "daffodilDebugclasspath" do not exist.

File or directory: c:\path\to\pr935/dfdl-mil-std-2045/src/main/resources:c:\path\to\pr935/dfdl-mil-std-2045/target/classes:c:\path\to\pr935/dfdl-tcpMessage/src/main/resources:c:\path\to\pr935/dfdl-tcpMessage/target/classes:c:\path\to\pr935/dfdl-PCAP/src/main/resources:c:\path\to\pr935/dfdl-PCAP/target/classes:c:\path\to\pr935/dfdl-envelope-payload/src/main/resources:c:\path\to\pr935/dfdl-envelope-payload/target/classes:c:\path\to\pr935/dfdl-ethernetIP/src/main/resources:c:\path\to\pr935/dfdl-ethernetIP/target/classes doesn't exist

I manually verified that all those directory locations did in fact exist. I also didn't received any errors from the previous shell script for cloning & running the `sbt` commands.

#### PR Directory Structure

pr935/
│
├ .vscode/
├ launch.json
│
├ dfdl-envelope-payload/
├ ...
│
├ dfdl-ethernetIP/
├ ...
│
├ dfdl-mil-std-2045/
├ ...
│
├ dfdl-PCAP/
├ ...
│
├ dfdl-tcpMessage/
├ ...

@stricklandrbls  So for windows you want to use ; not : in the classpath. You may also need to change / to \\

@stricklandrbls So for windows you want to use ; not : in the classpath. You may also need to change / to \\

Okay I'll have to edit my launch config and test that out. Though I feel like that should be parsed accordingly.
I know we're doing a lot of if Windows then already, for example exportVar(), could this not be added?

@stricklandrbls So for windows you want to use ; not : in the classpath. You may also need to change / to \\

Okay I'll have to edit my launch config and test that out. Though I feel like that should be parsed accordingly.
I know we're doing a lot of if Windows then already, for example exportVar(), could this not be added?

So currently we can't do anything for the ; and : difference because doing a replace would cause issues because of C:. So for now the user needs to know to use ; if on Windows and : otherwise. But another issue has been to make the daffodil debug classpath setting a list of strings and then we will join them together using either : or ; based on the OS which I believe would be the solution to what you mentioned.

... make the daffodil debug classpath setting a list of strings and then we will join them together using either : or ; based on the OS which I believe would be the solution to what you mentioned.

Yeah I like that. I just feel like from the user's point of view that getting an error because of something like that would be confusing. Or it would be something that's easily overlooked in documentation for setting up a launch.json.
I'm lucky enough to have instant messaging w/ you during the day so I can figure out what's wrong ha.

@stricklandrbls Was that able to fix your issue?

@stricklandrbls Was that able to fix your issue?

Oh I misunderstood, I thought that the issue you mentioned was something that would be implemented. I'll test this out now.

@stricklandrbls Was that able to fix your issue?

Oh I misunderstood, I thought that the issue you mentioned was something that would be implemented. I'll test this out now.

Well the changing of the daffodil debug classpath to a list would be yes. But for right now if you can the separator from : to ; it should fix your initial problem.


Icon strategy

@pingustar to engage @katyarozenfeld on icon strategy/consistency.

@Velua can we close this?

@Velua can we close this?

Yeah all good

Yeah all good


[Update] JSON format

Description

Updated all package dependencies.
Added ability to format JS Objects
Cleaned up duplicate code

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Since the extension uses js-beautify to format JS Objects it can be used to format JavaScript c o d    e as well.


Updated apexpy testing badge

The latest apexpy release (1.1.0) fixed the existing issues with integration testing.  The coverage is now at a level that may be considered "good".

Awesome! Thanks for being on top of this. 👍


No energy data received

Often get the no energy data received error, reboot fixes it but no clue how to reproduce this.
V1. 9.2

I'm experiencing the same.
I can add, that that it's somehow related to usage of the energy date picker. Without the picker, the card works but shows current sensor values. When enabling the usage of the picker, it took long time to render then ends with the error reported above.
I found that dev tools show errors like this:

I need a picture of your HA energy dashboard. Most importantly the distribution card.

Here is:

Hello, I am not sure if my problem iahst the same root, but my energy Sankey which used to work fine with the energy-date-selector stopped working. It only shows „loading….“.
I am on v1.9.2 and.3
with HA 2022.2.
Any thoughts?

I think this was fixed along with another bug. Please reopen if it can still be reproduced


HHH-14227 ActionQueue's insert ordering ultimate fix

https://hibernate.atlassian.net/browse/HHH-14227
Aimed to solve ActionQueue's insert order issue once for all via Topological Sorting. The current impl has the following serious drawbacks:

data structure representation error: it is a dependency graph (one node could have multiple dependencies or multiple parent nodes) not a dependency tree; no wonder sometimes we fixed a bug ending up with creating a new one;
sorting algorithm is based on terrible heuristics: it even uses time complexity literally as iteration halting condition;
difficult to maintain simply because it is terribly difficult to understand; seems the current impl is purely based on ad-hoc testing cases;
no way to locate circular dependency so cannot report meaningful debug info on such circular dependency;
unnecessarily inefficient;

Another big problem is even though we have many testing cases, but surprisingly a good portion of existing testing cases lack SQL order verification. Needless to say, no 'foreign key integrity violation' exception is thrown doesn't necessarily mean the SQL ordering is correct, especially in face of code refactoring.

[x] import the testing case form bug reporter
[x] add SQL ordering verification logic to existing testing cases
[ ] rewrite the insert ordering algorithm

closed for it seems more complicated than I orginally expected.


Assertion Error in check_RobustNets_c10_accuracy

It looks like you may want to add a tolerance to the line below
Traceback (most recent call last):
  File "RobustNets/RobustNets.py", line 136, in <module>
    iterate_over_RobustNets(
  File "RobustNets/RobustNets.py", line 48, in iterate_over_RobustNets
    function_applied_to_each_model(model_string)
  File "RobustNets/RobustNets.py", line 63, in check_RobustNets_c10_accuracy
    assert(test_acc == c10_acc), acc_string
AssertionError: c10_acc was 88.24, computed acc was 88.23

Done. Thank you for the suggestion!


scan_line method not detecting secrets in passed string

I'm submitting a ...

[X] bug report
[ ] feature request

What is the current behavior?
Invoking scan_line from within another python script isn't detecting secrets in the strings being passed in

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

What is the expected behavior?
a potential secret obj returned from the generator

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

detect-secrets Version: 1.4.0
Python Version: 3.11.4
OS Version: MacOS Ventura 13.4.1 (22F82)
File type (if applicable): N/A

Other information

I had the same issue. Importing the default_settings, and then wrapping the scan_line inside of a with line fixed it for me:
from detect_secrets.settings import default_settings
...
with default_settings():
    secrets = list(scan_line(variable.value))


[QuickActions] ".spectrum-QuickActions--left/right" not bound to "[dir]" values

Description
When using the .spectrum-QuickActions--left/right classes with the QuickActions pattern the position/animation styling isn't bound to the [dir] attribute and will appear the same regardless of the content direction currently featured on the page.
.spectrum-QuickActions--left.is-open {
    transform: translateX(
        var(
            --spectrum-dropdown-flyout-menu-offset-y,
            var(--spectrum-global-dimension-size-75)
        )
    );
}

.spectrum-QuickActions--right.is-open {
    transform: translateX(
        calc(
            -1 * var(--spectrum-dropdown-flyout-menu-offset-y, var(--spectrum-global-dimension-size-75))
        )
    );
}

@Westbrook is this still an issue for you all? If so, we can look at taking care of this when we do the logical properties work.

Linked in Jira to investigate during the removal of postcss-logical: https://jira.corp.adobe.com/browse/CSS-164


Set up fastlane match

This PR supersedes #831.

@bartekpacia WORKFLOW_FRIENDLY_NAME can be removed if we change workflow name e.g. name: test ios device to be more precise and friendly ;)


[Request] Ignore Hidden dirs by default when scanning

Is your feature request related to a problem? Please describe.
A strange thing I encountered is scanning my home dir does not ignore hidden paths, because of the fact that I use bottles I get a lot of junk repos in the tracker such as: /home/trident/.var/app/com.usebottles.bottles/data/bottles/bottles/Epic-Games/dosdevices/z
Describe the solution you'd like
It would be nice to have a flag on the scan command to specify that I want to scan hidden folders, and to ignore them by default.
Perhaps something like: git conform scan ~ --all
or: git conform scan ~ --allow-hidden
Additional context

The scan command already has an option for ignoring hidden directories entirely. All you have to do is run git conform scan with the --no-hidden flag, although I'll take your suggestions into consideration cause I was thinking the same during development and it actually might be better to ignore hidden directories by default. Probably will change that in a future release.


Question: How to have a static variable for multiple scenarios in a single feature ?

Question: How to have a static variable for multiple scenarios in a single feature ?
I want to declare a variable with some value before any scenario starts.
Above variable should be accessible to all of the scenarios in this feature, which can in turn be updated by any scenario in this feature, so that successive scenario receives the updated value from previous scenario.

This question has been answered here by @ptrthomas


Load polyfill using

In #221 we added core-js to main bundle to resolve #208. However, it has increased the client bundle size for 90KB:

In 20200304 meeting we have discussed possibilities to skip loading the polyfill for browsers that understands modules. Hopefully using this technique we can bring the bundle size back to normal and still covers old browsers like Chrome 33

This should be no longer needed as we upgrade to ^9.1.7.


Add Configuration to Treat Missing Members as Differences

Pull request adds two new configuration options:

IgnoreMissingProperties (default = true)
IgnoreMissingFields (default = true)

When set to false these will cause missing properties / fields (defined in Actual object but missing from Expected) to be treated as differences. By default these will both be true - preserving existing behavior.
Example
One use-case for this feature is for verifying mapping operations (such as Person -> PersonDto) where we want to verify that all members are equivalent (barring any explicit exclusions).
var person = new Person{ Name = "Humpty", LastName = "Dumpty", Age = 21 };
var personDto = new PersonDto { Name = "Humpty", LastName = "Dumpty" };
var compare = new Compare();
compare .Config.IgnoreObjectTypes = true;
compare .Config.IgnoreMissingProperties = false;
var result = compare.Comapre(person, personDto);
Assert.IsFalse(result.AreEqual); // should be false as personDto is missing property "Age"

Looks good.  Thanks so much!


TcpClient in Message Class

Hi,
i need access to the TcpClient in the DataReceived event. Is ist possible to add a public member to the Message Class?

Hmm, probably - What is the scenario you have?

Hi,
I have to close the Client socket After Receive of a new Message. I Could make a Stack but it is more readable when i make this in the Event.
Ive Forked your Project, Tested it and it Works like a sharm.
Best thanks! And sorry for my Bad english ...
Von meinem iPhone gesendet

Am 08.01.2017 um 18:06 schrieb Brandon Potter<EMAIL_ADDRESS>Hmm, probably - What is the scenario you have?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I've got the same problem, really need to access the TcpClient in the DataReceived event. Can't figure out a way to do it.

The new package for this should be out now which includes the TcpClient as a property on the Message object. Let me know if that works!

Works like a charm. Thank you!


Inheritance and document initialization interaction should be clarified in the documentation

Discussed in https://github.com/roman-right/beanie/discussions/484

Originally posted by sshghoult February  3, 2023
I believe one should add a warning-like paragraph about the behaviour of the Inherited, but not Initialized in the run-time Document, the parent of which had been initialized.
Specifically, the case I encountered and got stuck with goes as such:

Define a base document A, do not specify Settings.is_root = True
Define a document B(A) with additional fields
At the start up of your application initialize the document A, but skip the B
Write the application code using the model B

The resulting application will properly interact with the document B and it's additional fields, saving and restoring the documents correctly. However, the document B database-wise is treated as the document A, which we initialized and assigned the cls._document_settings.motor_collection to. The class B retrieves the attributes from A as a common unitialized python class via mro when those are required, which leads to the described behaviour.
The BSON objects of B in the database do not contain the  _class_id field, as the Settings._is_root hasn't been set to True, and are placed in the same collection named after A. Therefore there is no difference between the objects of A and objects of B in the database, and therefore no difference overall.
Even though such behaviour may be desirable for some use-cases, the fact that it is implicit, rather than explicit, and not in any way mentioned in the community, seems to be a problem. Described solution works out of the box and at first glance seems to be working correctly and raises no questions. It's a bit later into the development (possibly after several production releases, during the work on migrations, in my case - where one has to initialize the models separately) that the pecularities of the initialization mechanic get discovered after a deep dive into the internals of the library.
Then one has to carefully migrate all of the objects to a new model with Settings.is_root turned on and both A and B initialized. It's great if A only served as a base class and all of the objects semantically belonged to the class B, but should A be a separate meaningful entity, and the information will be lost.
You might find yourself classifying the problem to be of the PEBMAC kind, but I believe we should write out such behaviour specifics. A newcomer has no knowledge on the details of the initialization procedure and the process of assigning the collection name to the document class, therefore more or less blindly trying out the approaches suggested in the docs. Subsequently, there is a certain possibility that they will follow my way intuitively (or motivated by the phrase "Beanie Documents support inheritance as any other Python classes.").

Hi, I recently started using this great project, thanks!
I also ran into a similar issue.
In my setup I also have 2 document models:
class A(Document):
   field_1: str

  class Settings:
    is_root = True

class B(A):
    field_2: str

In my code I am calling init_beanie only on model A.
I want to be able to get an instance of B by id, "downcasted" to type A. like this:
await init_beanie(document_models=[A, B])
b = B(field_1="hello")
await b.save()
doc_id = b.id

# In a separately running code
await init_beanie(document_models=[A])
doc_id = get_doc_id() # Get the id from a web request for instance..
doc = await A.get(doc_id)

Unfortunately, because the _class_id field does not match, I am getting None.
I found two workarounds for this - one is using the motor database directly but then I lose the power of ODM,
or by using the following query, but that relies heavily on beanie internals under the hood:
doc = await A.find_one(
            A.id == doc_id,
            RegEx(
                A.get_settings().class_id, f"{A._class_id}.*"
            ),
        )

Is there currently any sensible way to achieve that?


Azure Monitor: Unauthorized: AuthenticationFailedMissingToken. Authentication failed. The 'Authorization' header is missing the access token.

Grafana Server 4.6.2 (update from 4.4.1)
Using the latest Azure monitor plugin )
Client/tenant/client-secret/sub-id are all correct and working for other applications.

Are there any errors in the Grafana server log?
This error usually means that either the tenant id, client id or client secret is incorrect. These three are needed to fetch a token from the Azure Monitor API.
Does the Grafana server have access to Azure? The token authentication is done on the Grafana server backend.
(Need to improve that error message though).

Looked at the error checking to try and get a better error message. It is going to require a change to Grafana so I will see if I can get that into the next release.

thanks for the swift responses :)
I checked out the logs doing another 'save & test'
t=2017-11-27T09:49:23+0000 lvl=info msg="Request Completed" logger=context userId=3 orgId=1 uname="$user" method=GET path=/api/datasources/proxy/2/azuremonitor/subscriptions/$subscriptionid/resourceGroups status=401 remote_addr=$remote_azure_endpoint_ip time_ms=1083 size=144 referer=https://mygrafana/datasources/edit/2
t=2017-11-27T09:49:24+0000 lvl=info msg="Got new access token" logger=data-proxy-log ExpiresOn=1970-01-01T00:00:00+0000
t=2017-11-27T09:49:24+0000 lvl=info msg=Requesting logger=data-proxy-log url="https://management.azure.com/subscriptions/$subscriptionid/resourceGroups?api-version=2017-06-01"
t=2017-11-27T09:49:25+0000 lvl=info msg="Request Completed" logger=context userId=3 orgId=1 uname="$user" method=GET path=/api/datasources/proxy/2/azuremonitor/subscriptions/$subscriptionid/resourceGroups status=401 remote_addr=$remote_azure_endpoint_ip time_ms=1072 size=144 referer=https://mygrafana/datasources/edit/2
t=2017-11-27T09:49:26+0000 lvl=info msg="Got new access token" logger=data-proxy-log ExpiresOn=1970-01-01T00:00:00+0000
t=2017-11-27T09:49:26+0000 lvl=info msg=Requesting logger=data-proxy-log url="https://management.azure.com/subscriptions/$subscriptionid/resourceGroups?api-version=2017-06-01"
t=2017-11-27T09:49:27+0000 lvl=info msg="Request Completed" logger=context userId=3 orgId=1 uname="$user" method=GET path=/api/datasources/proxy/2/azuremonitor/subscriptions/$subscriptionid/resourceGroups status=401 remote_addr=$remote_azure_endpoint_ip time_ms=1037 size=144 referer=https://mygrafana/datasources/edit/2
This smells like an azure permissions type issue...

Unfortunately, you will not be able to see the actual cause but it is a 401 which means that the problem is with the client and client secret or azure permissions as you noted.
I had a problem after changing subscription and the only way to get a working client/service principal was to create it with the azure cli. I could not get it to work via the portal. Something like this:
az ad sp create-for-rbac -n "http://localhost:3000"
https://docs.microsoft.com/en-us/cli/azure/create-an-azure-service-principal-azure-cli?view=azure-cli-latest

Thanks for the update, will try it out but I think we can close this ticket


Fix: Remove VersionEye badge

This PR

[x] removes the VersionEye badge

💁♂ For reference, see https://blog.versioneye.com/2017/10/19/versioneye-sunset-process/.

Thanks


Quickly apply filter to all the tabs

I would be of imense help if the filter was applied to all the open tabs (or new tabs). So if I have one opened tab and I filter for BUG:, when I open a new tab, it would have the same filter applied.
Another possibility would be to use the curent tab's filter. So, let's assume I have two opened tabs: the first one with the filter First: applied and the second one with the filter Second: applied. If I select the first one and open a new tab, this third tab would have the filter First: applied, and if I select the second one and open a new tab, this third tab would have the filter Second: applied.
Also, it would be nice to have the last used filter saved and restored after an Xcode crash or restart.
Hope this helps you with some ideas if you're going to implement it, and thanks for this useful plugin!

Thanks for suggestions. I think this is one kind of use cases for this plugin and probably not for all developers. For your situation, If it's better to make a dropdown box that lists all history you've used?

Sorry, I thought I mentioned that it won't make sense to impose that and also change the old behavior. So it would be best to make some toggle options in the menu with the default value off. But I guess the dropdown would work too.


load_dataset('json',...) from togethercomputer/RedPajama-Data-1T errors when jsonl rows contains different data fields

Describe the bug
When loading some jsonl from redpajama-data-1T github source togethercomputer/RedPajama-Data-1T fails due to one row of the file containing an extra field called symlink_target: string>.
When deleting that line the loading is successful.
We also tried loading this file with the discrepancy using this function and it is successful
os.environ["RED_PAJAMA_DATA_DIR"] ="/path_to_local_copy_of_RedPajama-Data-1T"
ds = load_dataset('togethercomputer/RedPajama-Data-1T', 'github',cache_dir="/path_to_folder_with_jsonl",streaming=True)['train']

Steps to reproduce the bug
Steps to reproduce the behavior:

Load one jsonl from the redpajama-data-1T

wget https://data.together.xyz/redpajama-data-1T/v1.0.0/github/filtered_27f05c041a1c401783f90b9415e40e4b.sampled.jsonl

2.Load dataset will give error:
from datasets import load_dataset
ds = load_dataset('json', data_files='/path_to/filtered_27f05c041a1c401783f90b9415e40e4b.sampled.jsonl')

TypeError: Couldn't cast array of type
Struct
<content_hash: string,
timestamp: string,
source: string,
line_count: int64,
max_line_length: int64,
avg_line_length: double,
alnum_prop: double,
repo_name: string,
id: string,
size: string,
binary: bool,
copies: string,
ref: string,
path: string,
mode: string,
license: string,
language: list<item: struct<name: string, bytes: string>>, symlink_target: string>
to
{'content_hash': Value(dtype='string', id=None),
'timestamp': Value(dtype='string', id=None),
'source': Value(dtype='string', id=None),
'line_count': Value(dtype='int64', id=None),
'max_line_length': Value(dtype='int64', id=None),
'avg_line_length': Value(dtype='float64', id=None),
'alnum_prop': Value(dtype='float64', id=None),
'repo_name': Value(dtype='string', id=None),
'id': Value(dtype='string', id=None),
'size': Value(dtype='string', id=None),
'binary': Value(dtype='bool', id=None),
'copies': Value(dtype='string', id=None),
'ref': Value(dtype='string', id=None),
'path': Value(dtype='string', id=None),
'mode': Value(dtype='string', id=None),
'license': Value(dtype='string', id=None),
'language': [{'name': Value(dtype='string', id=None), 'bytes': Value(dtype='string', id=None)}]}

To remove the line causing the problem that includes the symlink_target: string> do:

sed -i '112252d' filtered_27f05c041a1c401783f90b9415e40e4b.sampled.jsonl

Rerun the loading function now is succesful:

from datasets import load_dataset
ds = load_dataset('json', data_files='/path_to/filtered_27f05c041a1c401783f90b9415e40e4b.sampled.jsonl')

Expected behavior
Have a clean dataset without discrepancies on the jsonl fields or have the load_dataset('json',...) method not error out.
Environment info

datasets version: 2.14.1
Platform: Linux-4.18.0-425.13.1.el8_7.x86_64-x86_64-with-glibc2.28
Python version: 3.9.17
Huggingface_hub version: 0.16.4
PyArrow version: 12.0.1
Pandas version: 2.0.3

Hi ! Feel free to open a discussion at https://huggingface.co/datasets/togethercomputer/RedPajama-Data-1T/discussions to ask the file to be fixed (or directly open a PR with the fixed file)
datasets expects all the examples to have the same fields

@lhoestq I think the problem is caused by the fact that hugging face datasets writes a copy of data to the local cache using pyarrow. And the data scheme is inferred from the first few data blocks as can be seen here. Maybe setting streaming=True can workaround this problem. Would you agree with my statement?

@lhoestq I think the problem is caused by the fact that hugging face datasets writes a copy of data to the local cache using pyarrow. And the data scheme is inferred from the first few data blocks as can be seen here.

Correct. Therefore any example that doesn't follow the inferred schema will make the code fail.

Maybe setting streaming=True can workaround this problem. Would you agree with my statement?

You'll meet the same problem but later - when streaming and arriving at the problematic example

@lhoestq I just run below test with streaming=True and is not failing at the problematic example
ds = load_dataset('json', data_files='/path_to_local_RedPajamaData/filtered_27f05c041a1c401783f90b9415e40e4b.sampled.jsonl', streaming=True)
count = 0
for i in ds['train']:
    count += 1
    print(count)

and completes the 262241 samples successfully. It does error our when streaming is not used


Mock-SAS failing test for Domain Proxy if CBSD #2 sends Registration Request after CBSD #1 finished all its steps

Current implementation of Mock-SAS requires that if UUT is Domain Proxy controlling 2 CBSDs, and for each CBSD there are individual Request/Response messages, then the first Request message of CBSD #2 must arrive to Mock-SAS before CBSD #1 finished all its steps listed in the CSV file. If CBSD #1 will conclude all its steps listed in the CSV file and only then CBSD #2 will start its steps listed in the CSV file, then current implementation of Mock-SAS will fail the test.

Was not able to reproduce this directly.  However, noticed that, after one CBSD has finished its last step (but the other has not), if that CBSD sends any new request message, the test harness responses with a nonsense message.
Added a change so that, if CBSDx finishes its last step while CBSDy has not, then any additional message from CBSDx will get a canned response, designed to keep it "sane" while CBSDy completes it last step.  It will not allow new REG or GRA (provides responseCode 200 and 400, respectively), but will give SUCCESS responseCode to HBT, RLQ, DRG.
Note: this does not impact test harness responses after both CBSD finish the test.

Now addressed in Pull-Request #77 and #71.
Please try to reproduce.  I am able to run CBSD1 through entire test, plus further messages after last test step, prior to CBSD2 starting first step of test (REG), with a PASS for the test case.

Issue not seen with latest release. Closing issue.


Make Manila integration optional

Currently, a manila endpoint must be present. We don't have a manila service at our end and would actually be reluctant to add it. Would it be possible to make the integration of Manila configurable (opt-out)?

@berendt I don't believe that it's required at the moment, are you seeing issues where it's giving an error that it's required?   I believe it should just log a warning and then do nothing

I had prepared this in my testbed where Manila is not activated by default.  Then an error came up that a manila endpoint was missing. So I think it is not currently optional.

@berendt can you share more details?
https://github.com/vexxhost/magnum-cluster-api/blob/391cdacf7fd368f07f149a1c8792b15a4617843a/magnum_cluster_api/resources.py#L246-L328
This block here checks if it's enabled
https://github.com/vexxhost/magnum-cluster-api/blob/391cdacf7fd368f07f149a1c8792b15a4617843a/magnum_cluster_api/integrations/manila.py#L20-L21
https://github.com/vexxhost/magnum-cluster-api/blob/391cdacf7fd368f07f149a1c8792b15a4617843a/magnum_cluster_api/integrations/common.py#L26-L33
So it should break out...
https://github.com/vexxhost/magnum-cluster-api/blob/391cdacf7fd368f07f149a1c8792b15a4617843a/magnum_cluster_api/integrations/common.py#L26-L33

I'm also going to watch it on Thursday. I haven't had time to continue yet.

I'm also going to watch it on Thursday. I haven't had time to continue yet.

@berendt did you have a chance to check again?

@berendt 👋 did you have any other issues?


AVC - avc.cloudbank.2i2c.cloud

Background
Community College in Lancaster CA
Setup Information

Hub auth type:
What is our plan for Microsoft campuses - just get them to make google accounts?

Hub administrators:
<EMAIL_ADDRESS>James Brownlow<EMAIL_ADDRESS>William Kitto<EMAIL_ADDRESS>

Hub url:
<EMAIL_ADDRESS>

Hub logo:

Hub logo URL:

Hub type:
education - community college - data 8

Hub cluster:

Hub image:

Important Information

Link to leads issue:
Hub config name:
Community champion:
@sean-morris
Hub start date:
Hub end date:
Hub important dates:

Deploy To Do

[ ] Initial Hub deployment
[ ] Administrators able to log on
[ ] Community Champion satisfied with hub environment
[ ] Hub now in steady-state

@ericvd-ucb @sean-morris we could have them make username / passwords instead of using google auth?


unable to parse a column of json strings in modin dataframe (works in pandas)

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOS 10.14.4
Modin installed from (source or binary):pip
Modin version:0.5.0
Python version:3.7.3
Exact command to reproduce:

import pandas
import modin.pandas
import json

pandas.DataFrame.from_dict({'a': ['{}']}).a.apply(json.loads)

0    {}
Name: a, dtype: object

modin.pandas.DataFrame.from_dict({'a': ['{}']}).a.apply(json.loads)

TypeError: the JSON object must be str, bytes or bytearray, not float

Describe the problem
I have a dataframe of json strings I want to convert to json objects. df.col.apply(json.loads) works fine for pandas, but fails when using modin dataframes.
also posted in stackoverflow: https://stackoverflow.com/q/56096738/590335

Hi @ophiry, thanks for the report!
The error is coming from the error checking component of the run, where we call the apply (or agg) on an empty DataFrame to determine the return type and let pandas handle the error checking (Link).
Locally, I can reproduce this issue and have fixed it by changing the line to perform the operation on one line of the Series. This may affect the performance, so I need to do some more tuning to see if there is a way to speed it up and still be robust. After the fix the overhead of that check is ~10ms for 256 columns and I don't think we want error checking to take that long.
I will push a PR that fixes it for Series, since it is a small change. DataFrame will also need a similar update.


Remove features and feature_list usage in Notifications

Description

Updates Kotlin to 1.6.10 (this was to be consistent with common-utils and caused compilation errors which were also fixed in this PR)
Removes feature and feature_list usage in backend and frontend

This PR is making changes to integrate the changes in https://github.com/opensearch-project/common-utils/pull/136
Note: During manual testing on the frontend it became apparent that the frontend is incorrectly forming an Email channel object (the recipient is a list of Strings instead of list of EmailRecipient objects i.e { "recipient"<EMAIL_ADDRESS>} like the backend expects). We may favor the frontend format here since wrapping it in an object seems unnecessary. In either case, this will be addressed in a follow-up PR.
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Also since the GitHub Actions for building the backend is still failing (since common-utils 2.0 snapshot is not available yet) I ran the build locally which passed:
notifications % ./gradlew build
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 7.3
  OS Info               : Mac OS X 10.16 (x86_64)
  JDK Version           : 14 (OpenJDK)
  JAVA_HOME             : /Library/Java/JavaVirtualMachines/jdk-14.0.1.jdk/Contents/Home
  Random Testing Seed   : 2F8DD9510DED255E
  In FIPS 140 mode      : false
=======================================

BUILD SUCCESSFUL in 5m 42s
55 actionable tasks: 13 executed, 42 up-to-date

opensearch-project/common-utils#136

What is the hold up for having the 2.0 snapshot published for common utils?

What is the hold up for having the 2.0 snapshot published for common utils?

I think from the recent plugins that were added to the 2.0 build manifest, first it was Job Scheduler (which was fixed), then it seems that Alerting was added prematurely and was failing it because it wasn't upgraded to 2.0. That was the state of things last I checked.

I see the common-utils 2.0 snapshot is available now. The backend test workflow is failing on some flaky tests that doesn't seems to be difficult to reproduce locally. I'll merge this change in for now and look at fixing the flaky tests in a follow-up PR.


Category Folder not collapsing by default

Category require two inputs, main category and sub category
categories: [Services,FEM Automation]


XCODE 15 update: Parse Issue (Xcode): Could not build module 'WebKit'

[x] I have read the Getting Started section
[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version

Plugin version

Android version

iOS version

macOS version

Xcode version

Device information:
Description
Expected behavior: Able to build ios apps with no problem/issue
Current behavior: since updating to xcode 15 it crashes and throws Parse Issue (Xcode): Could not build module 'WebKit'
Steps to reproduce

Images
Stacktrace/Logcat

I have the same issue

add this code to the end of the pod file
post_integrate do |installer|
  compiler_flags_key = 'COMPILER_FLAGS'
  project_path = 'Pods/Pods.xcodeproj'

  project = Xcodeproj::Project.open(project_path)
  project.targets.each do |target|
    target.build_phases.each do |build_phase|
      if build_phase.is_a?(Xcodeproj::Project::Object::PBXSourcesBuildPhase)
        build_phase.files.each do |file|
          if !file.settings.nil? && file.settings.key?(compiler_flags_key)
            compiler_flags = file.settings[compiler_flags_key]
            file.settings[compiler_flags_key] = compiler_flags.gsub(/-DOS_OBJECT_USE_OBJC=0\s*/, '')
          end
        end
      end
    end
  end
  project.save()
end

this solved my issue

add this code to the end of the pod file
post_integrate do |installer|
  compiler_flags_key = 'COMPILER_FLAGS'
  project_path = 'Pods/Pods.xcodeproj'

  project = Xcodeproj::Project.open(project_path)
  project.targets.each do |target|
    target.build_phases.each do |build_phase|
      if build_phase.is_a?(Xcodeproj::Project::Object::PBXSourcesBuildPhase)
        build_phase.files.each do |file|
          if !file.settings.nil? && file.settings.key?(compiler_flags_key)
            compiler_flags = file.settings[compiler_flags_key]
            file.settings[compiler_flags_key] = compiler_flags.gsub(/-DOS_OBJECT_USE_OBJC=0\s*/, '')
          end
        end
      end
    end
  end
  project.save()
end

this solved my issue

Thanks a lot man. It worked for me as well

add this code to the end of the pod file
post_integrate do |installer|
  compiler_flags_key = 'COMPILER_FLAGS'
  project_path = 'Pods/Pods.xcodeproj'

  project = Xcodeproj::Project.open(project_path)
  project.targets.each do |target|
    target.build_phases.each do |build_phase|
      if build_phase.is_a?(Xcodeproj::Project::Object::PBXSourcesBuildPhase)
        build_phase.files.each do |file|
          if !file.settings.nil? && file.settings.key?(compiler_flags_key)
            compiler_flags = file.settings[compiler_flags_key]
            file.settings[compiler_flags_key] = compiler_flags.gsub(/-DOS_OBJECT_USE_OBJC=0\s*/, '')
          end
        end
      end
    end
  end
  project.save()
end

this solved my issue

Thanks, also worked for me!

Please share a fix if the project has build configurations or multiple targets

Released new version 5.8.0 and 6.0.0-beta.25 with the fix!

Is there a fix for older version of Flutter SDK ?

This solved the issue:

add this code to the end of the pod file
post_integrate do |installer|
  compiler_flags_key = 'COMPILER_FLAGS'
  project_path = 'Pods/Pods.xcodeproj'

  project = Xcodeproj::Project.open(project_path)
  project.targets.each do |target|
    target.build_phases.each do |build_phase|
      if build_phase.is_a?(Xcodeproj::Project::Object::PBXSourcesBuildPhase)
        build_phase.files.each do |file|
          if !file.settings.nil? && file.settings.key?(compiler_flags_key)
            compiler_flags = file.settings[compiler_flags_key]
            file.settings[compiler_flags_key] = compiler_flags.gsub(/-DOS_OBJECT_USE_OBJC=0\s*/, '')
          end
        end
      end
    end
  end
  project.save()
end

this solved my issue

Thanks, it works!

Is there a fix for older version of Flutter SDK ?

Released new version 5.8.0 and 6.0.0-beta.25 with the fix!

Is there a fix for older version of Flutter SDK ?

Released new version 5.8.0 and 6.0.0-beta.25 with the fix!

Thank for helping. I love you man who I don't know

Released new version 5.8.0 and 6.0.0-beta.25 with the fix!

Thanks for helping. I love you, man who I don't know

Is there a fix for older version of Flutter SDK ?

Facing the same issue. using flutter 2.10.5 and xcode 15.x. Any solution?


setContent.file

webparsy\helpers\steps.js :82
fs.readFileSync return Buffer
page.setContent need a String
edit
const html = await fs.readFileSync(parameters.file).toString()

Thanks a lot for your findings @Dumi-k! This has been solved in the latest release.
How are you finding Webparsy for your needs?
@all-contributors please add @Dumi-k for bug


Specification definition discussion

Please read the README and anything that you would like to discuss about the specification post a commend here.

@GitEvents/owners check branch v0.x; I've implemented the first version of mailer plugin, however it needs test, which I will implement when as soon I get more time to spend in this.
I've updated the README with the reason of the changes which I've found when I started the implementation and I could do more thoughts and why the first spec didn't fulfil what I think that gitevents microservice needs.

Test created and PR sent on #8


Use check_server instead of is_up for cluster endpoint

avoids redundant calls to cluster.is_up()

#614  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @carolineechen and the rest of your teammates on  Graphite


Add GettingStartedCard

This is a port of GettingStartedCard from https://github.com/openshift/hac-dev/pull/141 with the addition of props isDismissable for cases where the card should not be dismissable (e.g., Workspaces list page) and cardClassName so additional styling can be applied to the card if needed (e.g., to add margin to the bottom).

cc: @rottencandy

/lgtm

/approve


[api] Fix ajv versions through monorepo

Several ajv versions are installed.
We need only one, to avoid mismatch with typings, and better compatibility through the monorepo.

see https://github.com/locokit/locokit/actions/runs/12199327507/job/34032956995?pr=311#step:10:23 for errors

adressed in #311


[Question] How to output generated files into specific folder

Hi,
I would like to output my .g.dart and .dart files into generated/ folder.
Is it possible to do so? How can I do it?

Hi @amadeu01,
That's definitely something I'll do soon, but that's not possible yet.

When looking at https://github.com/comigor/artemis/issues/11, I found out build forces builders to write outputs to specific folder (it depends on the synthetic asset you use lib, test or web).
So unless generated/ folder lives inside lib/, it won't be possible to generate files to that folder.
But I'll soon give options to customize output folder.

Update: it seems build doesn't allow generating files to custom folders.
I'll try circumventing that by creating an aggregate builder that generate to a single file, but this will be a breaking change.

@comigor I don't know whether this will work, but I managed to create a file with different name from the input by adding it to buildExtensions
Map<String, List<String>> get buildExtensions => const <String, List<String>>{
        '.env': <String>['dot_env.dart']
      };

maybe, and that is a big maybe, you can use generated/dot_env.dart
I'll try it latter.

I'm working on it! When you use the $lib$ synthetic input, it's possible to read and write to almost all folders. But, as a downside, you need to specify exactly the outputs at compile time.
Well, soon I'll have some news, but I guarantee it will be a breaking change :P


Error sending result: '<multiprocessing.pool.ExceptionWithTraceback object

I have launched the server using the docker image and vector DB launched fine :
Same machine in other session I am using the vector benchmark run . I am using python and pip3.10 .
[root@9049fa05600b ~]# docker run -p 6333:6333 qdrant/qdrant
_                 _
__ _  | | __ __ _ _ __ | |
/  |/ _ | '__/ ` | ' | __|
| (| | (| | | | (| | | | | |_
_, |_,||  _,|| ||_|
||
Access web UI at http://localhost:6333/dashboard
[2023-07-18T22:34:56.204Z INFO  storage::content_manager::consensus::persistent] Initializing new raft state at ./storage/raft_state
[2023-07-18T22:34:56.236Z INFO  qdrant] Distributed mode disabled
[2023-07-18T22:34:56.236Z INFO  qdrant] Telemetry reporting enabled, id: a96d4b56-dba5-4f4c-9332-04ab9c9033eb
[2023-07-18T22:34:56.238Z INFO  qdrant::tonic] Qdrant gRPC listening on 6334
[2023-07-18T22:34:56.238Z INFO  qdrant::tonic] TLS disabled for gRPC API
[2023-07-18T22:34:56.251Z INFO  qdrant::actix] TLS disabled for REST API
[2023-07-18T22:34:56.251Z INFO  qdrant::actix] Qdrant HTTP listening on 6333
[2023-07-18T22:34:56.251Z INFO  actix_server::builder] Starting 7 workers
[2023-07-18T22:34:56.251Z INFO  actix_server::server] Actix runtime found; starting in Actix runtime
[2023-07-18T22:35:04.526Z INFO  actix_web::middleware::logger] <IP_ADDRESS> "DELETE /collections/benchmark HTTP/1.1" 200 72 "-" "python-httpx/0.24.1" 0.000457
[2023-07-18T22:35:04.530Z INFO  actix_web::middleware::logger] <IP_ADDRESS> "DELETE /collections/benchmark HTTP/1.1" 200 69 "-" "python-httpx/0.24.1" 0.000119
[2023-07-18T22:35:05.562Z INFO  actix_web::middleware::logger] <IP_ADDRESS> "PUT /collections/benchmark HTTP/1.1" 200 71 "-" "python-httpx/0.24.1" 1.031083
When I am running benchmark test getting below error :
[root@9049fa05600b vector-db-benchmark]# python3.10 -m run --engines -m-16- --datasets glove-*
Running experiment: qdrant-mmap-m-16-ef-128 - glove-25-angular
Downloading http://ann-benchmarks.com/glove-25-angular.hdf5...
Moving: /tmp/tmp6q2343mx -> /root/vectordb/vector-db-benchmark/datasets/glove-25-angular/glove-25-angular.hdf5
Experiment stage: Configure
Experiment stage: Upload
1343it [00:00, 18694.49it/s]
Experiment qdrant-mmap-m-16-ef-128 - glove-25-angular interrupted
Traceback (most recent call last):
File "/root/vectordb/vector-db-benchmark/run.py", line 52, in run
client.run_experiment(dataset, skip_upload, skip_search)
File "/root/vectordb/vector-db-benchmark/engine/base_client/client.py", line 70, in run_experiment
upload_stats = self.uploader.upload(
File "/root/vectordb/vector-db-benchmark/engine/base_client/upload.py", line 56, in upload
latencies = list(
File "/usr/local/lib/python3.10/multiprocessing/pool.py", line 873, in next
raise value
multiprocessing.pool.MaybeEncodingError: Error sending result: '<multiprocessing.pool.ExceptionWithTraceback object at 0x7f5fc488fe20>'. Reason: 'TypeError("cannot pickle '_thread.RLock' object")'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/root/vectordb/vector-db-benchmark/run.py", line 79, in
app()
File "/root/vectordb/vector-db-benchmark/run.py", line 74, in run
raise e
File "/root/vectordb/vector-db-benchmark/run.py", line 52, in run
client.run_experiment(dataset, skip_upload, skip_search)
File "/root/vectordb/vector-db-benchmark/engine/base_client/client.py", line 70, in run_experiment
upload_stats = self.uploader.upload(
File "/root/vectordb/vector-db-benchmark/engine/base_client/upload.py", line 56, in upload
latencies = list(
File "/usr/local/lib/python3.10/multiprocessing/pool.py", line 873, in next
raise value
multiprocessing.pool.MaybeEncodingError: Error sending result: '<multiprocessing.pool.ExceptionWithTraceback object at 0x7f5fc488fe20>'. Reason: 'TypeError("cannot pickle '_thread.RLock' object")'
Also there is no content generated inside results dir.
Any pointer how to resolve this issue ?
thanks

I'm facing the same issue here. My system environment is CentOS Linux release 7.4.1708 (Core), and I'm using Python 3.8.1.
Have you found any solution or workaround for this problem?

I'm facing the same issue here. My system environment is CentOS Linux release 7.4.1708 (Core), and I'm using Python 3.8.1.
Have you found any solution or workaround for this problem?

I am using CentOS 8 stream and Python 3.10 ... no solution yet .waiting for the repo owners to comment .

I'm facing the same issue here. My system environment is CentOS Linux release 7.4.1708 (Core), and I'm using Python 3.8.1.
Have you found any solution or workaround for this problem?

I am using CentOS 8 stream and Python 3.10 ... no solution yet .waiting for the repo owners to comment .

Hello, I referred to the testing steps in this repository (https://github.com/myscale/vector-db-benchmark/blob/master/docs/step-by-step-guide-for-benchmark.md#qdrant) and made some minor modifications to the QdrantUploader.init_client method in qdrant/engine/clients/qdrant/upload.py.
I understand that the program is now able to run, but it appears to be hanging during runtime and there are anomalies detected in the collection status.
`
curl 'http://{ip}:{port}/collections/benchmark'
{"result":{"status":"red","optimizer_status":{"error":"Service internal error: IO Error: Function not implemented (os error 38)"},"vectors_count":12ctors_count":0,"points_count":1240620,"segments_count":24,"config":{"params":{"vectors":{"size":100,"distance":"Cosine"},"shard_number":3,"replicatite_consistency_factor":1,"on_disk_payload":true},"hnsw_config":{"m":16,"ef_construct":100,"full_scan_threshold":10000,"max_indexing_threads":0,"on_dizer_config":{"deleted_threshold":0.2,"vacuum_min_vector_number":1000,"default_segment_number":0,"max_segment_size":null,"memmap_threshold":10000,"i":20000,"flush_interval_sec":5,"max_optimization_threads":1},"wal_config":{"wal_capacity_mb":32,"wal_segments_ahead":0},"quantization_config":null},{}},"status":"ok","time":0.001639665}
`

You forgot to add -p 6334:6334

This was fixed in https://github.com/qdrant/vector-db-benchmark/commit/9b22a842b9a3a42ada68c28938447cebed61f696
Feel free to let us know if you continue to face the error.

@KShivendu still facing this when running the qdrant tests, is a specific version of Python needed?
Traceback (most recent call last):

  File "<frozen runpy>", line 198, in _run_module_as_main

  File "<frozen runpy>", line 88, in _run_code

  File "/opt/vector-db-benchmark/run.py", line 91, in <module>
    app()

  File "/opt/vector-db-benchmark/run.py", line 86, in run
    raise e

  File "/opt/vector-db-benchmark/run.py", line 59, in run
    client.run_experiment(

  File "/opt/vector-db-benchmark/engine/base_client/client.py", line 115, in run_experiment
    upload_stats = self.uploader.upload(
                   ^^^^^^^^^^^^^^^^^^^^^

  File "/opt/vector-db-benchmark/engine/base_client/upload.py", line 56, in upload
    latencies = list(
                ^^^^^

  File "/home/ubuntu/.pyenv/versions/3.11.10/lib/python3.11/multiprocessing/pool.py", line 873, in next
    raise value

multiprocessing.pool.MaybeEncodingError: Error sending result: '<multiprocessing.pool.ExceptionWithTraceback object at 0x710345e4a950>'. Reason: 'TypeError("cannot pickle '_thread.RLock' object")

@KShivendu still facing this when running the qdrant tests, is a specific version of Python needed?
Traceback (most recent call last):

  File "<frozen runpy>", line 198, in _run_module_as_main

  File "<frozen runpy>", line 88, in _run_code

  File "/opt/vector-db-benchmark/run.py", line 91, in <module>
    app()

  File "/opt/vector-db-benchmark/run.py", line 86, in run
    raise e

  File "/opt/vector-db-benchmark/run.py", line 59, in run
    client.run_experiment(

  File "/opt/vector-db-benchmark/engine/base_client/client.py", line 115, in run_experiment
    upload_stats = self.uploader.upload(
                   ^^^^^^^^^^^^^^^^^^^^^

  File "/opt/vector-db-benchmark/engine/base_client/upload.py", line 56, in upload
    latencies = list(
                ^^^^^

  File "/home/ubuntu/.pyenv/versions/3.11.10/lib/python3.11/multiprocessing/pool.py", line 873, in next
    raise value

multiprocessing.pool.MaybeEncodingError: Error sending result: '<multiprocessing.pool.ExceptionWithTraceback object at 0x710345e4a950>'. Reason: 'TypeError("cannot pickle '_thread.RLock' object")

Same issue

In my case, the unpicklable is not in the passed-in parameters but seems the result, because I use wrong port.


Dashboard menu label?

There is a way to change menu label of the dashboard?

I just know the way with I18n
"pt-BR":
    active_admin:
        dashboard: "Painel Administrativo"

Tried this, but it only changes the main title text on the page, not the label in the navigation menu.

@reger : I found many issues with translating , menu , especially dashboard. Finnaly it works in my staging enviroment, and doesn't work on development. There are many closed issues about I18n in active admin, so read them , and try - at least 1 should work ;]


Cluster sync duration as an option

Hi :) In NewCluster() there is a hardcoded sync duration:
c.syncEvery(30 * time.Second)
How about adding this duration into ClusterOpt?

Sure! This would be easy enough to do, I'll work on it now. Can I ask why you want to change it? Is it too high or low for you?

Too high. We have 3 shards (master with one slave). When one master goes down it takes about 5s to refresh topology in CLUSTER SLOTS, but radix will got this after (in worst scenario) 29-30s. I've created workaround with .Sync() && sleep 5s, but you know... :)


feat: corrupt data check

Signed-off-by: Jim Ma<EMAIL_ADDRESS>
Description

Related Issue

Motivation and Context

Screenshots (if appropriate)
Types of changes

[ ] 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)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

Codecov Report

Merging #1946 (e0f2348) into main (92b01f0) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1946      +/-   ##
==========================================
- Coverage   42.79%   42.74%   -0.05%
==========================================
  Files         133      133
  Lines       16702    16731      +29
==========================================
+ Hits         7147     7152       +5
- Misses       9008     9032      +24
  Partials      547      547

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
42.74% <0.00%> (-0.05%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

client/daemon/peer/peertask_conductor.go
52.69% <0.00%> (-0.72%)
:arrow_down:

client/daemon/rpcserver/rpcserver.go
49.14% <0.00%> (-1.00%)
:arrow_down:

client/daemon/peer/piece_manager.go
53.40% <0.00%> (+0.40%)
:arrow_up:

...ent/daemon/peer/peertask_piecetask_synchronizer.go
48.37% <0.00%> (+0.97%)
:arrow_up:


Updated documentation is still not live

I fixed a typo way back in December, but it still isn't live. Not necessarily a big deal, unless this is happening for other content as well. Why isn't the documentation getting updated?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: bd9dbddd-0526-b10f-4bb2-a7889b9746e3
Version Independent ID: 0a43d0d8-f65d-38f3-4df4-45fbd9f73fa8
Content: ObservableRecipient - Windows Community Toolkit
Content Source: docs/mvvm/ObservableRecipient.md
Product: community-toolkit
GitHub Login: @Sergio0694
Microsoft Alias: mhawker

I don't think this repo is being pushed to live anymore, I think it just all needs to be migrated first? 🤔
@michael-hawker can confirm. This will all need to move to the new repo anyway (https://github.com/MicrosoftDocs/CommunityToolkit).
It just takes a bit of time 🙂


build error

hi
i am a novice.
i use your VisionCoreMLSample project, have problem. See below
please help me, thank you.
Best Regards
Rick

Thank you very much.
i try is ok.


Using days should be possible too

Using days like "3d" should be possible too. Only catch is: you should also be able to tell how many hours a day should have so you are able to get a workday conversion.

This is a good idea for expanding the library. The reason its only up to hours is because this library was initially created for calculating and converting runtimes of machinery, and we have no runtimes in days :laughing:
I don't think it would be too hard to implement


Put CS exam boards in alphabetical order everywhere

This is failing because I'm using a newer version of npm - if we are moving to npm >=8, looks like the CI bot needs updating too. I'll commit this change without package-lock.json.


fix #227 use uint32 as source

Issues associated with this PR
#227
Sign the CLA
Make sure you has singed the CLA
Solutions
request id in sofa rpc have 4 bytes, should use uint32 to represent
UT result
UT test pass, no new unit test
Benchmark
No Benchmark
Code Style

Make sure Goimports has run
Show Golint result

LGTM


Incorrect value in ResourceClass parameters map results in unintelligible error

Error repeating continuously in crossplane pod logs:
ERROR: logging before flag.Parse: E1203 13:05:58.283536   37540 reflector.go:205] github.com/crossplaneio/crossplane/vendor/sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:196: Failed to list *v1alpha1.ResourceClass: v1alpha1.ResourceClassList.Items: []v1alpha1.ResourceClass: v1alpha1.ResourceClass.Parameters: ReadString: expects " or n, but found 2, error found in #10 byte of ...|","size":20,"subnetG|..., bigger context ...|","securityGroups":"sg-01","size":20,"subnetGroupName":"eks-db-subnets"},"providerRef|...
It's a validation error because the parameters map is defined as map[string]string and I'm passing an int. It would be much more helpful if the parsing indicated more clearly that it was failing because there was an int in the map.
Yaml to reproduce:
apiVersion: core.crossplane.io/v1alpha1
kind: ResourceClass
metadata:
  name: standard-mysql-error
  namespace: crossplane-system
parameters:
  size: 20
provisioner: rdsinstance.database.aws.crossplane.io/v1alpha1
providerRef:
  name: demo-aws-provider
reclaimPolicy: Delete

Would be nice if we dug further into this. Why isn't CRD validation causing this to fail on create?

As of 0.3 ResourceClass no longer exists, and has been replaced by "strongly typed" resource classes like RDSInstanceClass that perform validation at the CRD level.


Connection broken: error

When i try to download something, i get the following error:

INFO     Downloaded /home/Documents/LinuxAcademy/Linux_Essentials_Certification/13 - Turning Commands into a Script/1 - Basic Text Editing.mp4
INFO     Downloading /home/Documents/LinuxAcademy/Linux_Essentials_Certification/13 - Turning Commands into a Script/2 - Basic Shell Scripting.mp4
INFO     Downloaded /home/Documents/LinuxAcademy/Linux_Essentials_Certification/13 - Turning Commands into a Script/2 - Basic Shell Scripting.mp4
INFO     Downloading /Documents/LinuxAcademy/Linux_Essentials_Certification/13 - Turning Commands into a Script/3 - Basic Shell Scripting, Continued.mp4
INFO     Logged Out!
ERROR    Unknown Exception
ERROR    ("Connection broken: error(104, 'Connection reset by peer')", error(104, 'Connection reset by peer'))
Traceback (most recent call last):
File "/home/.local/lib/python2.7/site-packages/linuxacademy_dl/cli.py", line 206, in main
la.download()
File "/home/.local/lib/python2.7/site-packages/linuxacademy_dl/linux_academy.py", line 155, in download
self._course.download()
File "/home/.local/lib/python2.7/site-packages/linuxacademy_dl/course.py", line 102, in download
asset.download()
File "/home/.local/lib/python2.7/site-packages/linuxacademy_dl/assets.py", line 135, in download
self.save_to
File "/home/.local/lib/python2.7/site-packages/linuxacademy_dl/downloader.py", line 119, in call
self.hls_download(download_info, final_path)
File "/home/.local/lib/python2.7/site-packages/linuxacademy_dl/downloader.py", line 80, in hls_download
itm.raw, hls_data['key'], iv
File "/home/.local/lib/python2.7/site-packages/linuxacademy_dl/hls_decrypt.py", line 83, in decrypt
cipher.decrypt(self.chunk_stream.read(1024 * AES.block_size))
File "/home/.local/lib/python2.7/site-packages/requests/packages/urllib3/response.py", line 397, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/lib/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/home/.local/lib/python2.7/site-packages/requests/packages/urllib3/response.py", line 316, in _error_catcher
raise ProtocolError('Connection broken: %r' % e, e)
ProtocolError: ("Connection broken: error(104, 'Connection reset by peer')", error(104, 'Connection reset by peer'))
INFO     Please report this issue on https://github.com/vassim/linuxacademy-dl/issues. Make sure you are using the latest version. Be sure to call linuxacademy-dl with the --debug flag and include its complete output.

Possible duplicate of #19


Add TestHarness.psm1

Run all tests at once

This change is

Codecov Report

Merging #82 into dev will not change coverage.
The diff coverage is n/a.

@@        Coverage Diff        @@
##           dev   #82   +/-   ##
=================================
  Coverage   62%   62%
=================================
  Files        2     2
  Lines      307   307
=================================
  Hits       191   191
  Misses     116   116

Removed the abandoned label.
I haven't approved that yet because

I need to compare the version with the latest we have in DscResource.tests
I find it weird to have this change alone, so I need to check the context a bit more

Will try to get back to this in a few days

Hi, I'm closing this request as it adds a file without using it yet.
Whenever it's needed, then adding the file will be approved and merged.
Thanks!


Clarify rules regarding the timeline to removal of deprecated versions

/cc @thockin

This change is

@mtaufen @thockin, I agree with @thockin on this one. For sure, we should give clear definitions of "deprecate" and "remove". But then we should use them as defined. To deprecate an element means one thing. To announce that deprecation (say, in a blog post) means something else. Having said that, I'm happy to go with whatever the two of you decide.

I'm closing this - if you want to discuss clarifications or enhancing precision, let's do that.

I don't have time to think about how to better word this until after code freeze, but I'll throw it on my todo list.


Extract recursive relations

Is your feature request related to a problem? Please describe.
We want to be able to extract a hierarchy of records - imagine account and parent accounts.
What are you trying to do
We tried to insert the parent (or child) into the query, but it failed with error about overriding data
Describe the solution you'd like
Finish with import of the whole structure of accounts would be awesome
Describe alternatives you've considered
We thought about the standard soql export and bulk import using external key, but we don't have the external key available in this instance (and don't want to create extra fields for it)

@mhumpolec Have you looked at the force:data:tree:... commands?
Something like this could likely pull your data out in a way that it can easily be re-imported.
sfdx force:data:tree:export -q "SELECT Id, Name, (Select Id, Name FROM ChildAccounts) FROM Account WHERE ParentId = null"
This would likely break if you have hierarchies more than one parent level deep. You'll likely need to add the --plan and --outputdir parameters to this command to store it in a way that you can use it later.

Yes, we just did it the other way around, your solution supports only two levels
Martin
From mine clever phone

2019 v 17:58, Heber<EMAIL_ADDRESS>

@mhumpolec Have you looked at the force:data:tree:... commands?
Something like this could likely pull your data out in a way that it can easily be re-imported.
sfdx force:data:tree:export -q "SELECT Id, Name, (Select Id, Name FROM ChildAccounts) FROM Account WHERE ParentId = null"
This would likely break if you have hierarchies more than one parent level deep. You'll likely need to add the --plan and --outputdir parameters to this command to store it in a way that you can use it later.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

https://github.com/forcedotcom/cli/discussions/2359?converting=1


Pipe assignment operator |>=

Like +=, we should add a pipe assignment operator |>= that works like so:
lhs |>= func1 |> func2 |> func3
↓↓↓
lhs = func3(func2(func1(lhs)))

In particular, this gives a reasonable alternative to LiveScript's "accessignment":
document.title .= toUpperCase()
↓↓↓
document.title = document.title.toUpperCase()

Instead we can use this more general operator:
document.title |>= &.toUpperCase()

Seems like we're also gonna need |>.= & |>:= for let & const respectively.

@GoToLoop I don't think so:  |>= and += and similar operators only make sense when the left-hand side already has a value, so it must already be defined.


Disable building of azure storage driver by default

Closes #573.
Signed-off-by: Stephen J Day<EMAIL_ADDRESS>

LGTM.
To make it clear: Azure is still shipping as a builtin driver as part of the official registry image.

I realized this change actually did not add //+build include_azure to the source files, so the azure wasn't building regardless of the build tag specified in the compilation. :smiley:

@ahmetalpbalkan Odd. Looks like I didn't check in this file:
// +build include_azure

package main

import (
	_ "github.com/docker/distribution/registry/storage/driver/azure"
)