HADOOP-16615. Add password check for credential provider

When we use hadoop credential provider to store password, we can not sure if the password is the same as what we remembered.
So, I think we need a check tool.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
663
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1215
trunk passed

-1
compile
190
root in trunk failed.

+1
checkstyle
37
trunk passed

+1
mvnsite
70
trunk passed

+1
shadedclient
896
branch has no errors when building and testing our client artifacts.

+1
javadoc
77
trunk passed

0
spotbugs
120
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
117
trunk passed

_ Patch Compile Tests _

+1
mvninstall
50
the patch passed

-1
compile
180
root in the patch failed.

-1
javac
180
root in the patch failed.

-0
checkstyle
33
hadoop-common-project/hadoop-common: The patch generated 11 new + 22 unchanged - 0 fixed = 33 total (was 22)

+1
mvnsite
65
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
824
patch has no errors when building and testing our client artifacts.

+1
javadoc
77
the patch passed

+1
findbugs
119
the patch passed

_ Other Tests _

-1
unit
524
hadoop-common in the patch failed.

+1
asflicense
29
The patch does not generate ASF License warnings.

5202

Reason
Tests

Failed junit tests
hadoop.fs.viewfs.TestViewFsTrash

Subsystem
Report/Notes

Docker
Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1614

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 6f980e55ced7 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 4fdf016

Default Java
1.8.0_222

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/1/artifact/out/branch-compile-root.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/1/artifact/out/patch-compile-root.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/1/artifact/out/patch-compile-root.txt

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/1/artifact/out/diff-checkstyle-hadoop-common-project_hadoop-common.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/1/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/1/testReport/

Max. process+thread count
1461 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/1/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
1036
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1234
trunk passed

-1
compile
205
root in trunk failed.

+1
checkstyle
36
trunk passed

+1
mvnsite
78
trunk passed

+1
shadedclient
963
branch has no errors when building and testing our client artifacts.

+1
javadoc
96
trunk passed

0
spotbugs
134
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
132
trunk passed

_ Patch Compile Tests _

+1
mvninstall
54
the patch passed

-1
compile
210
root in the patch failed.

-1
javac
210
root in the patch failed.

-0
checkstyle
34
hadoop-common-project/hadoop-common: The patch generated 11 new + 23 unchanged - 0 fixed = 34 total (was 23)

+1
mvnsite
70
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
851
patch has no errors when building and testing our client artifacts.

+1
javadoc
86
the patch passed

+1
findbugs
138
the patch passed

_ Other Tests _

-1
unit
552
hadoop-common in the patch failed.

+1
asflicense
35
The patch does not generate ASF License warnings.

5854

Reason
Tests

Failed junit tests
hadoop.util.TestReadWriteDiskValidator

Subsystem
Report/Notes

Docker
Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1614

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux b7b849b49a07 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 4fdf016

Default Java
1.8.0_222

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/2/artifact/out/branch-compile-root.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/2/artifact/out/patch-compile-root.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/2/artifact/out/patch-compile-root.txt

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/2/artifact/out/diff-checkstyle-hadoop-common-project_hadoop-common.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/2/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/2/testReport/

Max. process+thread count
1368 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/2/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@steveloughran HADOOP-16615 patch here.

oops, deleted the wrong yetus comment. once you update the patch it will kick off again.
Overall -patch LGTM; a little bit of tuning and it's ready

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
1794
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1067
trunk passed

+1
compile
1016
trunk passed

+1
checkstyle
51
trunk passed

+1
mvnsite
86
trunk passed

+1
shadedclient
881
branch has no errors when building and testing our client artifacts.

+1
javadoc
92
trunk passed

0
spotbugs
123
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
120
trunk passed

_ Patch Compile Tests _

+1
mvninstall
49
the patch passed

+1
compile
968
the patch passed

+1
javac
968
the patch passed

-0
checkstyle
51
hadoop-common-project/hadoop-common: The patch generated 12 new + 22 unchanged - 0 fixed = 34 total (was 22)

+1
mvnsite
80
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
718
patch has no errors when building and testing our client artifacts.

+1
javadoc
94
the patch passed

+1
findbugs
132
the patch passed

_ Other Tests _

+1
unit
545
hadoop-common in the patch passed.

+1
asflicense
55
The patch does not generate ASF License warnings.

7897

Subsystem
Report/Notes

Docker
Client=19.03.3 Server=19.03.3 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1614

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 9f23c3ae07b4 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / f267917

Default Java
1.8.0_222

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/3/artifact/out/diff-checkstyle-hadoop-common-project_hadoop-common.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/3/testReport/

Max. process+thread count
1374 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/3/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
83
Docker mode activated.

_ Prechecks _

+1
dupname
1
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1226
trunk passed

+1
compile
1082
trunk passed

+1
checkstyle
45
trunk passed

+1
mvnsite
80
trunk passed

+1
shadedclient
938
branch has no errors when building and testing our client artifacts.

+1
javadoc
87
trunk passed

0
spotbugs
128
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
126
trunk passed

_ Patch Compile Tests _

+1
mvninstall
48
the patch passed

+1
compile
1026
the patch passed

+1
javac
1026
the patch passed

-0
checkstyle
46
hadoop-common-project/hadoop-common: The patch generated 12 new + 22 unchanged - 0 fixed = 34 total (was 22)

+1
mvnsite
78
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
806
patch has no errors when building and testing our client artifacts.

+1
javadoc
85
the patch passed

+1
findbugs
130
the patch passed

_ Other Tests _

+1
unit
596
hadoop-common in the patch passed.

+1
asflicense
48
The patch does not generate ASF License warnings.

6614

Subsystem
Report/Notes

Docker
Client=19.03.3 Server=19.03.3 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1614

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux b101a7cec088 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / f267917

Default Java
1.8.0_222

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/4/artifact/out/diff-checkstyle-hadoop-common-project_hadoop-common.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/4/testReport/

Max. process+thread count
1378 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/4/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

code is good, you just need to deal with those checkstyles, which are mostly indentation and a couple of minor line lengths

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
41
Docker mode activated.

_ Prechecks _

+1
dupname
1
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
1
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1069
trunk passed

+1
compile
1023
trunk passed

+1
checkstyle
52
trunk passed

+1
mvnsite
84
trunk passed

+1
shadedclient
890
branch has no errors when building and testing our client artifacts.

+1
javadoc
94
trunk passed

0
spotbugs
123
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
119
trunk passed

_ Patch Compile Tests _

+1
mvninstall
48
the patch passed

+1
compile
971
the patch passed

+1
javac
971
the patch passed

-0
checkstyle
49
hadoop-common-project/hadoop-common: The patch generated 1 new + 22 unchanged - 0 fixed = 23 total (was 22)

+1
mvnsite
80
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
732
patch has no errors when building and testing our client artifacts.

+1
javadoc
94
the patch passed

+1
findbugs
131
the patch passed

_ Other Tests _

+1
unit
545
hadoop-common in the patch passed.

+1
asflicense
53
The patch does not generate ASF License warnings.

6178

Subsystem
Report/Notes

Docker
Client=19.03.3 Server=19.03.3 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/6/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1614

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux cf69b3d98101 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 6e5cd52

Default Java
1.8.0_222

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/6/artifact/out/diff-checkstyle-hadoop-common-project_hadoop-common.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/6/testReport/

Max. process+thread count
1370 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1614/6/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

retest this, please

retest this please

@steveloughran please help to retest this.

I like all tests in our code to provide enough diagnostics on failure that we can work out what went wrong purely from the Jenkins logs.
AssertJ is really good here, which is why we are adopting it in new code.
For your tests, I'm going to propose a new assertion which can be used to validate the output of the new command. If the condition is not met,
The exception raised will include all of the output.
private void assertOutputContains(String expected) {
  Assertions.assertThat(outContent.toString())
    .contains(expected));
}

Yetus probably isn't retesting the code, as it thinks the last change was a documentation only change. If you change the test case things may be different.

thanks. code LGTM. Now github is saying things won't merge. Can you try to rebase this to trunk (yes, at the cost of the discussion); and we can go from there. Provided yetus doesn't object, I plan to merge this ASAP

+1, merged to trunk. Thanks!
(if you do a PR with this cherry picked back to 3.2/3.1 then I'll pull back there too. It's low risk and beneficial to all)

@steveloughran thanks for your help and review.


SkipHooks ignored in Preload

GORM Playground Link

https://github.com/go-gorm/playground/pull/208
Description

Using db.Session(&gorm.Session{SkipHooks: true}) with a Preload, the relation's hooks seem to run. Since this is a session, I expect the session settings to remain consistent throughout its use, including preloads.
If I were to guess, the issue is here since a new transaction is getting created and the db.Statements properties are not being pulled in.
https://github.com/go-gorm/gorm/blob/d66af581b4b6467b9f09a1eade855b29394d0150/callbacks/preload.go#L16

@jinzhu Thanks so much for the quick fix!
I can't help but think that the new transaction's session should copy (almost) everything from the db's session:

DryRun
PrepareStmt
~NewDB~ not relevant
Skip Hooks
AllowGlobalUpdate
FullSaveAssociations
Context
Logger
NowFunc
Debug - maybe not relevant due to Logger

It seems to me that all of these (except NewDB obviously and maybe Debug) are extremely relevant to Preloaded queries. I know that the lack of NewFunc will cause issues for me early next week. And I imagine the other fields will be similar for many users.
What do you think?

Only those settings saved in Statement need to be copied, other settings will be reused.

Ah OK. So once this is released, this should cover things. Got it. Thank you again for your quick fix and explanation.
This is OSS at its finest. 🎉 🏆

Last question: is the release schedule / cadence documented somewhere? Want to get an idea when this fix will be released 🙏

Roughly two weeks pre release, but quite depends on the development progress & the emergency.

@jinzhu The above issue is still broken even with https://github.com/go-gorm/gorm/commit/e3b4e0418f2c9c4670bf21f6d9d63caa5a0903ce

@jinzhu The above issue is still broken even with e3b4e04

Seems like so, just submitted another fix, could you try again?

@jinzhu The above issue is still broken even with e3b4e04

Seems like so, just submitted another fix, could you try again?

This seems to work


Adds highlighting for the 'accessor' keyword

Related: https://github.com/microsoft/TypeScript/pull/49705

Why is CI failing?

checking


Real world applications created with vibe.d

Vibe.d seems promising, but I would like to know if there are any real-life applications created with it (except for the vibe.d's website)? Please, do not suggest the examples, but real world applications, websites, etc.

I don't know if I may mention most of the commercial sites that I know, but there are some more examples in the D ecosystem:
https://code.dlang.org/
https://forum.rejectedsoftware.com/
https://sdlang.org/
One commercial example is https://github.com/eBookingServices

I run a local player rating site for a game, written with vibe: http://pr.zenja.ca/

I used to use vibe.d in my service for deployment of cloud servers. I only moved from D because of several issues I been having with D itself, but have been looking back to use D to create a client around our api in the near future.

To extend this, here's a list of popular Vibe.d applications with their source code being on GitHub:
https://github.com/rejectedsoftware/vibelog
https://github.com/dlang/dub-registry
https://github.com/stonemaster/dlang-tour
https://github.com/dlang-bots/dlang-bot
Maybe we can put this somewhere on vibed.org?

we run an api ( ~20M reqs/ day, 300-600rps, on one c4.large ) since about a year and i know of at least one other equally frequented api that uses vibe.
so its doable, for me the main constraint always was availability of libraries and other tooling.
if you can work with what is around (or add your own if needed) then i see no reason vibe.d itself will be a problem.
no matter what synthetic benchmarks show, for real apps you will see very good performance (and if not you can fix that). this directly saves you money once there is enough traffic.


suffices to start the rotation matrix as the identity matrix

Description of Change
In the 3D orthogonal rotation sample, the initial rotation matrix was set to 30 degrees around the Y-axis.  This is not necessary.  It suffices to set the initial rotation matrix to the identity matrix.
Bugs Fixed
None.
API Changes
None
Behavioral Changes
None
PR Checklist
(not sure about this section)

[ ] Has tests (if omitted, state reason in description)
[ ] Rebased on top of master at time of PR
[ ] Changes adhere to coding standard
[ ] Updated documentation

Thanks!


Docs(web-twig): Introduction TextField stories

Coverage: 96.172%. Remained the same when pulling 11371ce8957141dcbd51bef93274eec359826cd5 on docs/web-twig-textfield-story into bdecd539f7828226bd59d35ad06d7b66a22f6102 on main.

It is looking good. Still in a draft?

Most of the examples are missing required status, placeholder or value.


ImageMagick module not available with this PHP installation

If there any way to enable modules on appengine flexible.
I'm currently working with a laravel application.

@mgallegos Yes, you can! Check out this doc for a list of dynamically loadable extensions and how to enable them. Also, we have an example of Laravel on App Engine Flexible).

I'm still getting the same error, this is how my php.ini looks like:
; we should tighten up these restrictions eventually
suhosin.executor.func.blacklist =
disable_functions =

extension = "curl.so"
extension = "imagick.so"
extension = "fileinfo.so"

P.D: Thanks, I'm already using the example Laravel on App Engine Flexible.

@mgallegos I think the problem is our docker image doesn't provide imagick extension.
For now, you need to do it by yourself with the custom Dockerfile.

Thanks for your answer @tmatsuo, I'm going to try to work something out for now.

Enabling imagick via your php.ini should now work.

Yes, this should be fixed as of https://github.com/GoogleCloudPlatform/php-docker/pull/207. Add the following to the root of your project:
# php.ini
extension=imagick.so


Add a unit test when getmodule returns None

Related to this PR: https://github.com/bodylabs/harrison/pull/3

👍 once the test is renamed. Thanks for adding this!


feat (tokens) add token count display to sidebar

Added real-time token count in the sidebar
https://github.com/user-attachments/assets/159d69df-847b-47c5-b1ed-8d025d9662ef

Thank you for your contribution! I will refactor this PR: perform token calculation based on real prompts and reuse input hints to reduce the obstruction of visual components and input boxes.

This PR is causing issue #966.


Allow StreamBytes generator to be iterated more than once

Problem
A JsonMachine based on a stream (StreamBytes iterator) can not be iterated more than once.
Reproduce
$jm = JsonMachine::fromStream(fopen('data://text/plain,{"path": {"key":"value"}}', 'r'));
foreach($jm as $item) {
    echo $item;
}
foreach($jm as $item) {
    echo $item;
}

This results in JsonMachine\Exception\SyntaxError: Cannot iterate empty JSON '' At position 0. (and value is printed only once).
Proposed solution
Rewind the stream inside the StreamBytes' Generator.

@halaxa My fork has a branch based on the 0.3.3 tag, since that what my project is currently using. I don't want to use the master branch (for obvious reasons), however I actually would love to use the custom decoders, so my question is: are there plans for a new release?

Hi, thanks for the PR and sorry for the late response. I understand the reasoning behind it, however this might be a major BC break. Somebody may already rely on the current behavior. For example somebody passes partially consumed stream of http response where http headers are skipped and the stream cursor is right at the beginning of JSON data. Additionally, JsonMachine is not build with stream recycling in mind. Based on generators it can not be as they cannot be reset. Also the parser might be confused that you are feeding it another document. Right now it only works with one document to parse.
Solution: Manually reset the stream and create new instance of JSON machine. Immutability for the win :)
$stream = fopen('data://text/plain,{"path": {"key":"value"}}', 'r');
foreach(JsonMachine::fromStream($stream) as $item) {
    echo $item;
}
reset($stream)
foreach(JsonMachine::fromStream($stream) as $item) {
    echo $item;
}

Ad next version: I was waiting for response from on #28 and also had some other matter during pandemic. It will roll out in few days.

A Generator as part of an IteratorAggregate can be "reset",though I see your point, and agree about the immutability.
I'll be looking forward to the new version. Thanks for the great work!


Changes to a more descriptive name

closes https://github.com/MicrosoftDocs/OfficeDocs-SharePoint-PowerShell/issues/277

Docs Build status updates of commit 7b72696:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-server-ps/sharepoint-server/New-SPPowerPointConversionServiceApplication.md
:white_check_mark:Succeeded
View (sharepoint-server-ps)

sharepoint/sharepoint-server-ps/sharepoint-server/New-SPPowerPointConversionServiceApplicationProxy.md
:white_check_mark:Succeeded
View (sharepoint-server-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@JohanFreelancer9

@dariomws @tseward

@tiburd Please merge this PR. Thanks


Merge changes from istio template (#38837)

Merge changes from istio template

Remove security section

Missing end

Make gen, remove the ifs and add lifecycle - grpc starts very fast

Few debug statements to figure out why wait doesn't work

Use the agent ready port

Rever the deugging changes

make gen

Please provide a description of this PR:

Hi @sanjaypujare. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@costinm as discussed. Once you are okay I will change from draft to regular PR

Will need to be approved by the release managers. I think it is very good to merge since it helps with increasing the number of users of proxyless gRPC, in 1.14 it doesn't work very well without this change.

This is a safe change to merge - it only impacts proxyless gRPC, which is still an experimental feature.

Thanks @costinm . I believe I can't merge this but will need to be merged by the release manager?

The tests are still waiting, how does that get unblocked? @lei-tang ?
release-notes_istio_release-1.14 Expected — Waiting for status to be reported        Required

The tests are still waiting, how does that get unblocked? @lei-tang ?
release-notes_istio_release-1.14 Expected — Waiting for status to be reported        Required

Similar to https://github.com/istio/istio/pull/38837, add a release-notes-none label to this PR to unblock the test release-notes_istio_release-1.14.

/retest

...
Similar to #38837, add a release-notes-none label to this PR to unblock the test release-notes_istio_release-1.14.

Thank you.

@sanjaypujare: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-distroless_istio_release-1.14
f8e7fc17085c773c75d91154129fa322861d09a8
link
true
/test integ-distroless_istio_release-1.14

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@sanjaypujare: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test

@sanjaypujare: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-pilot-istiodremote_istio_release-1.14
f8e7fc17085c773c75d91154129fa322861d09a8
link
true
/test integ-pilot-istiodremote_istio_release-1.14

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

From the output:
=== RUN   TestWebhook
2022-08-12T16:47:04.217830Z	info	tf	=== BEGIN: Test: 'pilot[TestWebhook]' ===
    webhook_test.go:85: Config rejected: false, expected config rejected: true
2022-08-12T16:47:04.304342Z	info	tf	=== DONE (failed):  Test: 'pilot[TestWebhook] (86.505776ms)' ===
2022-08-12T16:47:04.304453Z	error	tf	=== Dumping Namespace echo-2-55861 State...
2022-08-12T16:47:04.304484Z	error	tf	=== Dumping Istio Deployment State...
2022-08-12T16:47:04.304509Z	error	tf	=== Dumping Namespace external-1-139 State...
2022-08-12T16:47:07.255751Z	info	tf	istioctl ([x internal-debug --all configz]): completed after 0.0340s
2022-08-12T16:47:07.286943Z	info	tf	istioctl ([x internal-debug --all mcsz]): completed after 0.0296s
2022-08-12T16:47:07.329873Z	info	tf	istioctl ([x internal-debug --all clusterz]): completed after 0.0427s
--- FAIL: TestWebhook (9.30s)
=== CONT  TestValidation
...
FAIL
2022-08-12T16:47:15.919272Z	info	tf	=== FAILED: Test Run: 'pilot' (exitCode: 1) ===
...
FAIL	istio.io/istio/tests/integration/pilot	290.402s
...
NoCleanup:         false
...
FAIL
...

This does not seem related to the change in the PR. @costinm or @lei-tang could you confirm?

/retest


Default optimizer in Scholar.Linear.LogisticRegression

It seems there is an issue with the training of Scholar.Linear.LogisticRegression; see here. I believe this is because SGD is used as a default optimizer. Setting optimizer: adam in fit/3 solves the problem. Perhaps we should change the default optimizer?

The issue happens to be more complex than the default optimizer. Using Adam instead of SGD seems to have worked with binary backend, not with EXLA. However, I am not able to investigate further as I am not able to install EXLA on my M1 Mac for some reason. Is this expected?

Closing this issue as the problem doesn't seem to be in optimizer. See #301.


[MyPy & Pylint] TypeSpec generated code issues

MyPy: helper methods in _operations.py are using CloudEvent type for _content, but we pass in a str after doing a json.dumps()
Pylint: When using @internal, getting protected_access pylint warnings for accessing private Models in the _operations.py
Both Errors can be seen on this run here

For Mypy error, I think there is no need to expose content in build_xxx function: https://github.com/Azure/azure-sdk-for-python/blob/37e7341d362c7d4b014177bbdffc596085816884/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_operations/_operations.py#L39


Plugin publish plugin publishes compile-only dependencies in POM

Compile only dependencies for a plugin project are included in the generated and published POM file as compile scope dependencies unnecessarily and undesirably.
Expected Behavior
Such dependencies should be omitted from the published POM file.
Observed with version 0.12.

This is actually not the case. For the case in question, the dependency is declared as compileOnlyApi, so the behaviour of the plugin publish plugin is valid.


[fontconfig] Use system version on linux

There seems to be no proper way to package custom-built fontconfig with a user application. The package relies on paths that are set at build time which is incompatible with vcpkg. It is possible to workaround that by setting config and cache paths to be /etc/fonts and /var/cache, but it might conflict with system fontconfig (config and cache files might not be compatible with fontconfig that comes from vcpkg).
Given that this port does not really work on linux, and that every other piece of software on linux expects that fontconfig comes from system, make it system library (like X11 and wayland).
Fixes #28229

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Wasn't the solution https://github.com/microsoft/vcpkg/issues/28229#issuecomment-1342263788

but it might conflict with system fontconfig (config and cache files might not be compatible with fontconfig that comes from vcpkg).

Is that actually observed? I new of one case where there was a conflict but that was never intended and thus fixed. Old config/cache should always be ok with newer fontconfig.

Given that this port does not really work on linux

Does not work and requires extra steps to setup correctly are two different shoes.

Old config/cache should always be ok with newer fontconfig.

What I observed is that old config (from system) + new fontconfig (from vcpkg) may result in runtime warning (IIRC, "something is deprecated and should be removed from config")
What bothers me is new config (from system) + old fontconfig (from vcpkg).

Does not work and requires extra steps to setup correctly are two different shoes.

Doesn't matter if it may break.
Note that "may break" is my speculation because there's absolutely no info in the internet about that.

libfontconfig1-dev is not installed on CI machine...

IMO this change is dangerous. System fontconfig relies on system freetype which relies on system libpng and zlib and maybe more. This will cause runtime problems when used together with vcpkg ports which rely on vcpkg freetype, libpng, zlib.
(Before port gtk3 was restored, we had such a mix for wxwidgets, and it was reported to crash on some systems.)

IMO this change is dangerous. System fontconfig relies on system freetype which relies on system libpng and zlib and maybe more. This will cause runtime problems when used together with vcpkg ports which rely on vcpkg freetype, libpng, zlib.
(Before port gtk3 was restored, we had such a mix for wxwidgets, and it was reported to crash on some systems.)

So from my point of view this PR can then be closed since either it is all or nothing situation for the deps of fontconfig. Either all come from the system or none come from the system.
So just make the default paths the system paths.

Ok, I'll try to hardcode system paths and see what happens.
Closing this PR for now.


implement the day procedures code list logic in databricks

our day procedures code list is currently in an R script and needs to be re-implemented in databricks

can get roughly the same numbers as before, hard to replicate as some of the base definitions of things like last episode in spell have changed.
however, the list of codes to include should probably now match the code list for has_procedure, which does change the counts of procedures somewhat.


feat: separate deny and allow rules

Explanation
Separate deny and allow rules.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 27.20%. Comparing base (a8eed56) to head (4ab2d13).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #272   +/-   ##
=======================================
  Coverage   27.20%   27.20%
=======================================
  Files          30       30
  Lines        1066     1066
=======================================
  Hits          290      290
  Misses        728      728
  Partials       48       48

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

the allow and deny code looks very similar, will it be possible to remove the duplicate parts

Yup, response types are different though i will make it generic.

@vishal-chdhry i made changes to reduce the duplicated parts


running guestfish commands as root?

Hi @bkahlert
Thanks for this nice guesfish packaging.
I have a slight issue with the way users are treated by the embedded scripts.

How can I enforce running shell commands in a non-interactive way as a root user?

You could try to run the container with --entrypoint /bin/bash and start the corresponding binary, e.g. guestfish yourself. Or use it directly as the alternative entrypoint. This would circumvent the user downgrade (with untested effects, in particular, due to the fact that using guestfish as root is discouraged).


:cop: Throttle generation of auth tokens

Chances of collisions via token entropy attacks are extremely small just because of how they're generated. Still, in order to discourage this kind of attack and any DDOS by side effect, a limit is now set on how many tokens can be generated within an hourly period per person.
The default limit is 8 and can be increased/decreased by setting the env variable MAX_TOKENS_PER_HOUR on the server.

@threedaymonk can you take a look see at my refactoring providings? :)

Yup. you're right. But if you look at the original code that was there before, it looks like the case of invalid email was only handled in the fact that it re-render the 'new' action and didn't output any error messaging around it leaving the user confused.
I'll setup a separate story in trello to handle error messages for invalid emails addresses. It's a small change.

Actually I might be wrong... The there's a feature that says it should output an error message but for some reason it's not failing. Will investigate.

@threedaymonk yeh you're right. I'd previously read the code wrong. Can you take another look and the fix?

@jaikoo Looks good. Can you squash and rebase onto master?

Yup, I'll do it now. Thanks!


Reward system for Site in the steamname

Hello,
I saw on the CSGOWINBIG.COM site that there is a reward system for players who
put "CSGOWINBIG.COM" in their name.
So can someone help me getting this working with my site.
Or will @ztizzlegaming release this update here on github?
Steam: http://steamcommunity.com/id/GreYzZ_DE/

im also wondering if this gonna be updated or not! :)

I could add this and make a PR if people are still interested?

@andrewda
You are in contact with zittle?

@GreYzZ Nope. I've emailed him a few times about why no pull requests are ever merged, but he never replies. This project seems kind of dead, as no new features are being added. I might clone this and continue to add more features if nothing more is added.

@andrewda
This would be great if you can do this I believe the community will switch to your thread and help you over there. But yes it seems like this is dead


⚠ LabBricks has degraded performance

In 39d11f3, LabBricks (https://labbricks.com) experienced degraded performance:

HTTP code: 523
Response time: 3235 ms

Resolved: LabBricks performance has improved in 0f4530d after 16 minutes.


Fix broken links

before: http://codemirror.net/mode/demo/vim.html
after: http://codemirror.net/demo/vim.html

Thanks! Merged.


Add information on model tagging to import.md.

I added a section to the import documentation on model tagging and cleaned up the quantization reference section a smidge.

Since https://github.com/ollama/ollama/pull/4921 is in the works, this PR can be closed.


Not all collections are links

On an item show page I expect each listed collection to be a link to that collection's landing page. Some are and some aren't. E.g. https://dpul.princeton.edu/gutenberg/catalog/0v8380652

My off-the-cuff thought is that this is probably because the indexed title doesn't match the exhibit title, but it's been a while since I've looked at this.


versions: add entry for CoCo operator

Added 'git.coco-operator' entry to the project's versions.yaml with information about the repository URL and reference (commit SHA1, tag...etc) as a way to have a single source truth and avoiding the need to update the references in many places at release time (then roll-back after the release).
Now make deploy will read the operator's URL and reference from versions.yaml. Likewise, the e2e test's provision.

Apparently the only concern with that change is requiring yq to  run make deploy

Putting on hold to wait the release gets out of door.

@stevenhorsman rebased to main.

I tested out the make deploy option (via libvirt/install_operator.sh) and the e2e provisioning flow (via ./caa-provisioner-cli -action=install) and both work as expected when I changes the operator reference in versions.yaml between main and the v0.9.0-alpha1 release:
INFO[0000] Installing CoCo operator and cloud-api-adaptor resources
INFO[0000] Install the controller manager
TRAC[0002] /usr/local/bin/kubectl apply -k https://github.com/confidential-containers/operator/config/default?ref=main, output: namespace/confidential-containers-system unchanged

vs
INFO[0000] Installing CoCo operator and cloud-api-adaptor resources
INFO[0000] Install the controller manager
TRAC[0002] /usr/local/bin/kubectl apply -k https://github.com/confidential-containers/operator/config/default?ref=v0.9.0-alpha1, output: namespace/confidential-containers-system created

Updates:

rebase to main
accepted the change in README.md (@bpradipt )


[WIP] Add ok-to-test label to build forked PRs

Description
This commit add the possibility to launch E2E tests on PR from forks.
How Has This Been Tested?

[x] CI Run

Pull Request Test Coverage Report for Build 384945305

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 48.022%

Totals

Change from base Build 383326690:
0.0%

Covered Lines:
6883

Relevant Lines:
14333

💛  - Coveralls


Wrong order of transactions on Rinkeby Staging

Description
Out of order nonce when the client gateway switch is OFF.
Environment

Browser: chrome
Wallet: MetaMask
Environment:
https://safe-team.dev.gnosisdev.com/app/rin:0x219a1a38FB8e57d9b2253b78f9fE1E27E595426c/balances

https://safe-client.staging.gnosisdev.com/v1/chains/4/safes/0x219a1a38FB8e57d9b2253b78f9fE1E27E595426c/transactions/history
https://safe-client.gnosis.io/v1/chains/4/safes/0x219a1a38FB8e57d9b2253b78f9fE1E27E595426c/transactions/history?<cursor>&<timezone_offset>&<trusted>
Steps to reproduce
Go to the safe in the description
Switch the CGW on/off and see the tx in the history, check the order of the nonces
Expected result
The tx should always be in the correct nonce order (higher nonce at the top)
Obtained result
The nonces are out of order
Screenshots

Transaction are mapped incorrectly:
The tx for nonce 1 is mapped to nonce 4.
Everything else seems to be shifted by 1

Issue has been fixed:
Staging: https://safe-client.staging.gnosisdev.com/v1/chains/4/safes/0x219a1a38FB8e57d9b2253b78f9fE1E27E595426c/transactions/history
Production: https://safe-client.gnosis.io/v1/chains/4/safes/0x219a1a38FB8e57d9b2253b78f9fE1E27E595426c/transactions/history


Create External Table, Error Msg110813

Tutorial: Load New York Taxicab data to Azure SQL Data Warehouse
Trying to run the scripts and when I run the following I got an Error Msg 110813, Level 16, State 1, Line 1
Object reference not set to an instance of an object.
CREATE EXTERNAL TABLE [ext].[Date]
(
[DateID] int NOT NULL,
[Date] datetime NULL,
[DateBKey] char(10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DayOfMonth] varchar(2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DaySuffix] varchar(4) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DayName] varchar(9) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DayOfWeek] char(1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DayOfWeekInMonth] varchar(2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DayOfWeekInYear] varchar(2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DayOfQuarter] varchar(3) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DayOfYear] varchar(3) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[WeekOfMonth] varchar(1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[WeekOfQuarter] varchar(2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[WeekOfYear] varchar(2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Month] varchar(2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[MonthName] varchar(9) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[MonthOfQuarter] varchar(2) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Quarter] char(1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[QuarterName] varchar(9) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Year] char(4) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[YearName] char(7) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[MonthYear] char(10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[MMYYYY] char(6) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[FirstDayOfMonth] date NULL,
[LastDayOfMonth] date NULL,
[FirstDayOfQuarter] date NULL,
[LastDayOfQuarter] date NULL,
[FirstDayOfYear] date NULL,
[LastDayOfYear] date NULL,
[IsHolidayUSA] bit NULL,
[IsWeekday] bit NULL,
[HolidayUSA] varchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
)
WITH
(
LOCATION = 'Date',
DATA_SOURCE = NYTPublic,
FILE_FORMAT = uncompressedcsv,
REJECT_TYPE = value,
REJECT_VALUE = 0
);

Kindly request any suggestion

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

ID: 8e253528-7277-9f78-06e7-fff9f91e7a79
Version Independent ID: 36ade0d7-ae89-da1e-2c74-65a4defefa84
Content: Tutorial: Load New York Taxicab data to Azure SQL Data Warehouse
Content Source: articles/sql-data-warehouse/load-data-from-azure-blob-storage-using-polybase.md
Service: sql-data-warehouse
GitHub Login: @Ckarst
Microsoft Alias: cakarst

@dimijim please provide us with the link to the doc you are referring to so we can better assist.

The link from tutorial:
https://docs.microsoft.com/en-us/azure/sql-data-warehouse/load-data-from-azure-blob-storage-using-polybase

@dimijim thanks.
@Mike-Ubezzi-MSFT can you take a look?

@dimijim Thanks, this is a known issue per the previous issues that have been filed against this document but I think other's have found a work around.

@dimijim I went through this tutorial and although I am able to complete this tutorial without issue, I do see a possible step that could cause issues.
In the section: Create external tables for the sample data, the instructions have you connect as Server Admin as well as LoaderRC20.
I was having issue with the user LoaderRC20 but in a previous version of this tutorial, the loading user was LoaderRC60. I added this account to my newly created DWH instance to reproduce your issue, after having issues with the specific user the tutorial has you create.
I would be happy to walk you though this if you have the time and this is still an issue.

thank you so much for your response.
On Thu, 29 Nov 2018 at 03:23, Mike Ubezzi<EMAIL_ADDRESS>wrote:

Closed #19416 https://github.com/MicrosoftDocs/azure-docs/issues/19416.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/19416#event-1994026715,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ArMLqnLNx5IePZmGWBUnTCDlcKmn_RnVks5uzzcJgaJpZM4Ywj49
.

Hello Guys
Good Morning . I am trying to start off and test  Polybase  feature only for read a simple csv in my server, but I have got this error . Someone else help me  ?
Ps Polybase Service is Running with the same SQL Server Service Version
IsPolybaseInstalled
1
(1 row affected)
Error
Msg 110813, Level 16, State 1, Line 72
Object reference not set to an instance of an object.
Completion time: 2022-05-27T11:07:23.5030565+02:00
My Code
CREATE EXTERNAL FILE FORMAT csvformat
WITH (
FORMAT_TYPE = DELIMITEDTEXT,
FORMAT_OPTIONS (
FIELD_TERMINATOR = ';'
)
);
--- DROP EXTERNAL DATA SOURCE polybase_csv
CREATE EXTERNAL DATA SOURCE polybase_csv
WITH
(
LOCATION = 'odbc://SERVER',
connection_options = 'DSN=polybase', -- this is the DSN name
-- PUSHDOWN = ON | OFF,
credential = sql_creds
);
GO
CREATE EXTERNAL TABLE polybase1
(
name varchar(100),
lastname varchar(100),
email varchar(100)
)
WITH
(
LOCATION = 'c:\temp\polybase1.csv',
DATA_SOURCE = polybase_csv ,
REJECT_TYPE = value,
REJECT_VALUE = 0
)


Fix build issues

You will lose support for ARM devices like M Series chips and such. This alpha build of NFDSharp should not be causing build issues, your issue is elsewhere.

No I don't believe this was the issue at all, this one had nothing to do with it. I just wasn't sure why it was using alpha.

ARM should build fine now.

ARM should build fine now.

Don’t forget to update the automation to use 0.6.0 alpha in the install. It will not auto to it unless it is latest, 0.6.0 alpha of course is a prerelease.

I don't think I ever removed it from the automation.

I'm pretty sure anything that I've kept here has been solved so imma close this


Automatically set the dist javascript banner during build process

We can then take a step out of RELEASE.md that involves updating version and timestamp in /lib/data-model.js

Fixed in 0d66bbef75902c21d432961bd4e42776c576bbbd


It is not possible to differentiate between the permissions that contain "-"

If we have two permissions that partially contains same string but they totally different permissions the package cant  differentiate between them, For example: we have :
v-permission="'admin.dashboard.overview.ranking-data.no-of-visits'"
and
v-permission="'admin.dashboard.overview.ranking-data.no-of-visits-per-customer'"
These two permissions sounds the same to the Vue-Gates.

Hey @eslamoo, fixed!
https://github.com/williamcruzme/vue-gates/releases/tag/v2.1.2


Remote duplicate default route

recheck

Build failed (check pipeline). Post recheck (without leading slash) to rerun all jobs. Make sure the failure cause has been resolved before you rerun jobs.
https://review.rdoproject.org/zuul/buildset/682107b0c1b7406383063a285e4a2cb1
✔ openstack-k8s-operators-content-provider  SUCCESS in 1h 51m 01s ✔ podified-multinode-edpm-deployment-crc  SUCCESS in 51m 42s ❌ podified-multinode-edpm-deployment-crc1  FAILURE in 39m 32s ❌ podified-multinode-edpm-deployment-crc2  FAILURE in 38m 22s ❌ podified-multinode-edpm-deployment-crc3  FAILURE in 37m 48s ❌ podified-multinode-edpm-deployment-crc4  FAILURE in 39m 27s ❌ podified-multinode-edpm-deployment-crc5  FAILURE in 38m 09s ❌ podified-multinode-edpm-deployment-crc6  FAILURE in 38m 30s

This was due to another issue where the content-provider can be scheduled on IBM cloud which only has private IP addresses causing all jobs NOT on IBM cloud to fail 😢


errors with type narrowing

Hi, I am having problems understanding what I am seeing here in the below example.
Why can't mypy figure out that after the else statement, we definitely have a DataFrame?
from typing import Union

import pandas as pd

x: Union[pd.Series, pd.DataFrame, pd.Index] = pd.Series([1, 2, 3])
if isinstance(x, (pd.Series, pd.Index)):
    reveal_type(x)  # Revealed type is "Union[pandas.core.series.TimestampSeries, pandas.core.indexes.numeric.NumericIndex]"
    dtype = x.dtype
    reveal_type(dtype)  # Revealed type is "Union[numpy.dtype[numpy.generic], pandas.core.dtypes.base.ExtensionDtype]"
else:  # a DataFrame
    reveal_type(x)  # Revealed type is "Union[pandas.core.series.Series[Any], pandas.core.frame.DataFrame, pandas.core.indexes.base.Index]"
    dtypes = x.dtypes  # yields error: Item "Index" of "Union[Series[Any], DataFrame, Index]" has no attribute "dtypes"  [union-attr]
    reveal_type(dtypes)  # "Union[numpy.dtype[numpy.generic], pandas.core.dtypes.base.ExtensionDtype, pandas.core.series.Series[Any], Any]"
    dtypes_set = set(x.dtypes) # yield 2 errors:
    # first error Item "Index" of "Union[Series[Any], DataFrame, Index]" has no attribute "dtypes"  [union-attr]
    # second error: Argument 1 to "set" has incompatible type "Union[dtype[generic], ExtensionDtype, Series[Any], Any]"; expected "Iterable[Any]"  [arg-type]

This would appear to be a Mypy bug. It's probably worth trying pyright as well - I suspect they've got it right.

I modified the code a bit, and this is a mypy bug.  One issue is that you bind x to a Series, so the else part is never entered.  So I wrapped it in a function
import pandas as pd

def foo(x: Union[pd.Series, pd.DataFrame, pd.Index]): # = pd.Series([1, 2, 3])
    if isinstance(x, (pd.Series, pd.Index)):
        reveal_type(x)  # Revealed type is "Union[pandas.core.series.TimestampSeries, pandas.core.indexes.numeric.NumericIndex]"
        dtype = x.dtype
        reveal_type(dtype)  # Revealed type is "Union[numpy.dtype[numpy.generic], pandas.core.dtypes.base.ExtensionDtype]"
    else:  # a DataFrame
        reveal_type(x)  # Revealed type is "Union[pandas.core.series.Series[Any], pandas.core.frame.DataFrame, pandas.core.indexes.base.Index]"
        dtypes = x.dtypes  # yields error: Item "Index" of "Union[Series[Any], DataFrame, Index]" has no attribute "dtypes"  [union-attr]
        reveal_type(dtypes)  # "Union[numpy.dtype[numpy.generic], pandas.core.dtypes.base.ExtensionDtype, pandas.core.series.Series[Any], Any]"
        dtypes_set = set(x.dtypes) # yield 2 errors:
        # first error Item "Index" of "Union[Series[Any], DataFrame, Index]" has no attribute "dtypes"  [union-attr]
        # second error: Argument 1 to "set" has incompatible type "Union[dtype[generic], ExtensionDtype, Series[Any], Any]"; expected "Iterable[Any]"  [arg-type]

pyright correctly reports:
  issue516a.py:7:21 - information: Type of "x" is "Series[Unknown] | Index"
  issue516a.py:9:21 - information: Type of "dtype" is "dtype[generic] | ExtensionDtype"
  issue516a.py:11:21 - information: Type of "x" is "DataFrame"
  issue516a.py:13:21 - information: Type of "dtypes" is "Series[Unknown]"

mypy incorrectly reports:
issue516a.py:7: note: Revealed type is "Union[pandas.core.series.TimestampSeries, pandas.core.indexes.numeric.NumericIndex]"
issue516a.py:9: note: Revealed type is "Union[numpy.dtype[numpy.generic], pandas.core.dtypes.base.ExtensionDtype]"
issue516a.py:11: note: Revealed type is "Union[pandas.core.series.Series[Any], pandas.core.frame.DataFrame, pandas.core.indexes.base.Index]"
issue516a.py:12: error: Item "Index" of "Union[Series[Any], DataFrame, Index]" has no attribute "dtypes"  [union-attr]
issue516a.py:13: note: Revealed type is "Union[numpy.dtype[numpy.generic], pandas.core.dtypes.base.ExtensionDtype, pandas.core.series.Series[Any], Any]"
issue516a.py:14: error: Item "Index" of "Union[Series[Any], DataFrame, Index]" has no attribute "dtypes"  [union-attr]
issue516a.py:14: error: Argument 1 to "set" has incompatible type "Union[dtype[generic], ExtensionDtype, Series[Any], Any]"; expected "Iterable[Any]"  [arg-type]

Created a mypy issue:   https://github.com/python/mypy/issues/14502

thanks everyone!  I have started using pyright in VS Code.

thanks everyone! I have started using pyright in VS Code.

You can also use pyright from the command line as well.

reopening so we can track if mypy ever fixes the bug


Make google sheets generated and generic clients isolate

Purpose
Related to:4393
Examples
Checklist

[x] Linked to an issue
[ ] Updated the specification
[ ] Updated the changelog
[ ] Added tests
[ ] Checked native-image compatibility

@MaryamZi we are merging this PR as another PR depends on this fix. please raise if we need to do any more changes. we will address them in a separate PR.


README

Thank you for the project!
I've just got it working in Android Studio, and am now learning Kotlin - but it took a bit of playing around with to get there.
I think "To build the project and run tests use 'test' task on Gradle panel." in the README could do with expanding a bit; specifically that "test" is found in Koans->Tasks->verification->test.  Also "Gradle panel" was a bit vague. I didn't even notice it there, on the right of my screen, to begin with!
Cheers,
Ben.

Thanks for pointing this out! Changed the reference to Gradle tasks description here: https://github.com/Kotlin/kotlin-koans/commit/d1700aa6757a21209015e1726ec1e306a09e6484.


Source coede

Hello, could you share the sorce code, I would like to make an Android port in order to integrate to Xcas Pad (port of Giac/Xcas)

I'll have to track down the files, but I should be able to do that. We weren't really sure what to do with this project, but if there's interest I should be able to help.
I'm not entirely sure this is the same AsTeX as the one for Xcas, but we can try. I looked at some code on OpenHub but couldn't find where AsTeX was called from there. The most recent online documentation is here: http://math.bu.edu/people/alexk/docs.html. Check and make sure this is what you're looking for, and I'll try to track down the files this weekend.


Backend Issue - Internal Server Error

Hi @Diaoul @ymartin59, I hope you're well. Our back-end server has been consistently reporting "Internal Server Error" for the past day, affecting users. While I don't have access to the back-end server, I'm here to assist in any way I can. Your expertise in resolving this matter would be greatly appreciated.

Synopackage website has been also affected with Internal Server Error when trying to get packages from https://packages.synocommunity.com. First error was recorded at 2023-11-29 13:27:51.3559 CET

https://packages.synocommunity.com is not a website, this is the package server API and the resulting error in DSM Package Center (using the API) is "Invalid Location".

The error seems to depend on the Internet Provider (weird!)
Free : KO
Orange mobile: OK

@gpion I have similar feelings. My phisical device (DS718+ @DSM7.1.1) can add the repository to Package Center, while in ohter location and provider it is Internal Server Error.

@hgy59 @mreid-tt @Diaoul The disk is full  No space left on device. I reclamed some space with rm but it's still not working. I think the file system needs to be repaired.

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            1.9G     0  1.9G   0% /dev
tmpfs           384M  384K  384M   1% /run
/dev/sda1        79G   76G     0 100% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           384M     0  384M   0% /run/user/1003

Ah shit, thanks for looking into it :pray: Keep us posted!

@publicarray, I noticed the backend is online as of a few minutes ago. Really appreciate you jumping in on this. Could you please update me on whether the reported issue has been resolved, or if work is still in progress?

@Diaoul It's up and running @hgy59 can you check if we need 4 homeassitant versions so we can cleanup some disk space? https://synocommunity.com/package/homeassistant @Diaoul we should think about moving the storage to something else if possable or increase the drive space.
$ du -h /etc/synocommunity/data | sort -rh | head -25
64G	/etc/synocommunity/data
2.8G	/etc/synocommunity/data/homeassistant
2.6G	/etc/synocommunity/data/mono
2.1G	/etc/synocommunity/data/synocli-devel
1.9G	/etc/synocommunity/data/python311
1.9G	/etc/synocommunity/data/owncloud
1.8G	/etc/synocommunity/data/erlang
1.8G	/etc/synocommunity/data/domoticz
1.8G	/etc/synocommunity/data/bazarr
1.7G	/etc/synocommunity/data/java-11-openjdk/1
1.7G	/etc/synocommunity/data/java-11-openjdk
1.6G	/etc/synocommunity/data/sickchill
1.4G	/etc/synocommunity/data/radarr
1.4G	/etc/synocommunity/data/python310
1.2G	/etc/synocommunity/data/sonarr
1.1G	/etc/synocommunity/data/tvheadend
1.1G	/etc/synocommunity/data/synocli-disk
1.1G	/etc/synocommunity/data/synocli-devel/3
1.1G	/etc/synocommunity/data/ombi
1.1G	/etc/synocommunity/data/mono/20
1.1G	/etc/synocommunity/data/imagemagick
984M	/etc/synocommunity/data/flexget
[...]

To get the server running again I removed some older versions for jellyfin, synocli-files and bazzar

To get the server running again I removed some older versions for jellyfin, synocli-files and bazzar

Thanks mate
Additionally I removed all the python3 packages (Python 3.7 and older).

@mreid-tt, @th0ma7 shall I delete the ffsync packages now?

the single version is v1.5.2-3 BETA for DSM 5.x and published long ago (2015-09-16).

This will allow us to start from scratch with mozilla sync server (https://github.com/SynoCommunity/spksrc/pull/5942) by keeping the package name "ffsync".

Adding to my previous comment, there are multiple updates to ffmpeg + all that serie coming up.  More storage space is really something to look for.  @Diaoul have we got a few spare coins from sponsors that could help?

I don't know if I can upgrade storage on this very entry-level hosting :grimacing:
I'd rather move away it and go for something more robust but that means ops work and potentially some dev as well for which I don't really have the time...

Double the storage space for an additional price of 8.80 €/month, i.e. a total of 21.30 €/month

:exploding_head: that seems excessive nowadays for 80GB...

interesting thread... https://www.reddit.com/r/selfhosted/comments/16ijs7j/cheap_vps_with_1tb_of_space/

@publicarray, thanks for that. Regarding this ticket, is it now considered resolved? Also, if low disk space was the only issue, what mitigations can we put in place to avoid in the future? Perhaps a simple bot to alert on the #repo-dev discord when disk space is running low?


MAVLink: Do a better job at receive rate limiting

@AndreasAntener This should kill the receive limit we experienced in HIL. Bad rate limiting code.

Good for testing. I could see the MAVLink receiver app load slightly increasing, other than that the only difference should be better performance.


Add throws tag to every methods

Hi @sheldonvaughn,
The PHPdoc is missing a lot of @throws tag, most of the time it's because ::request method is called and this can throw a lot of different WorkOS exceptions. I recently got the issue of not catching one of these exceptions, and this would have been caught thanks to phpdoc and PHPStorm/PHPStan.
Also, since the ::request method can throw a lot of different exceptions:
@throws \WorkOS\Exception\GenericException if a client level exception is encountered
@throws \WorkOS\Exception\ServerException if a 5xx status code is returned
@throws \WorkOS\Exception\AuthenticationException if a 401 status code is returned
@throws \WorkOS\Exception\AuthorizationException if a 403 status code is returned
@throws \WorkOS\Exception\NotFoundException if a 404 status code is returned
@throws \WorkOS\Exception\BadRequestException if a 400 status code is returned

I introduced an interface WorkOSException in order to

Not copy paster those 6 lines everywhere
Allow catching all these exception in once with catch (WorkOSException).

@VincentLanglet just released v3.2.0 with these changes. Let me know if we can help with anything!


Report more exceptions

I had trouble getting this to work because I had installed chromedriver via brew cask instead of standard brew. By reporting exception strings it makes it much easier to debug.

Looks good to me, thanks!


Add logo feature for blog poasts

New Feature: Blog Post Logos
Description
This feature allows the addition of logos to blog posts. It utilizes Supabase storage buckets for logo management and requires new table relationships to link logos to their respective posts.
Supabase Configuration

Storage Bucket: A new bucket named blog-post-logos is required for logo storage.
Table Relationships: The company column in the posts table requires a foreign link to the links table (or whatever you've named this table). I've added a column in the links table called logo_url which stores the Supabase Storage link to the respective company logos.

The foreign link looks like this when I hover over the company column in the posts table:
company -> public.links.company
Let me know if this feature is worth, I think it looks nice on the sister brypto site I've created. If the instructions are unclear, or the implementation sucks, please let me know :)

Love this idea, I'll implement this weekend

Do you know how to convert my already existing company column in the posts table to a foreign key without breaking stuff?

Do you know how to convert my already existing company column in the posts table to a foreign key without breaking stuff?

Yes, I should've added some more photos. I did everything in the Supabase UI.

Head to posts table, click dropdown arrow next to company column title.
Add new foregin key relation

Below are the screenshots that show the fields to edit and how it should look afterwards:

Cool just need to fix this error and that should work, think I just need to add some constraint

 Cool just need to fix this error and that should work, think I just need to add some constraint
looks like links.company needs to be unique lemme try that

Did you create

oops, Meant to reply with:
Did you create the new column to store logo urls in the links table?

Yep created that column, will get these db changes in and then update frontend with your changes later

Awesome! I used all kinds of image formats for the logos .png, .jpeg, .ico to see if they worked and those all do just FYI

Great that's good to know, I'll try to find good logo assets. also supabase is insanely slow rn

yea, I noticed they had a banner last night saying they were fixing some bug. It was gone today, but perhaps related

Sweet it worked!

lessgo :)


Update org.openrewrite.yaml.DeleteProperty to support documents having anchors and aliases

https://github.com/openrewrite/rewrite/pull/2272 added support for Yaml anchors aliases it also updated DeleteProperty to prevent transforming documents having anchor/alias pairs.

Closing this issue, DeleteKey should be used for transforming Yaml documents having anchor alias keys.


[Bug] Min&Max button on top bar doesn't work correctly

Describe the Bug
Min&Max button on the top bar now only works for maximizing discord but not minimizing back to the original size
Only installed BD have this behavior
To Reproduce

install BD
click the min&max button on top bar (upper right corner)

Expected Behavior
It should size to the max and size back to the original size when clicked again
Screenshots

this little cutie here
Discord Version
Stable, PTB Tested
Additional Context

Disable window transparency in settings and restart Discord.

ok thanks, but im wondering is this supposed to not work when window transparency is enabled? @rauenzi

@rauenzi @mkcoldwolf Similar problem here. Window is still resizable after clicking the maximize button. I am unable to maximize the window with AltDrag. Why/how is this tied to window transparency?

Also: this issue can presumably be fixed, why was this closed?

It's an issue with Electron itself, enabling transparency in BD settings just sets transparent to true. There are several open issues regarding transparency in electron including your issue regarding minimizing/maximizing (electron/electron#23275) the window as well as resizing (electron/electron#22915). Both of those will also mention issues with windows aero snap.
So this is something that can be fixed by Electron. Once they fix it, Discord would need to then upgrade to that version, and then you would have the fix.


Should we remove duplicate lock key in ConnectionContext

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

I add some logs for debug
2019-05-15 18:15:23.561 INFO [ServerHandlerThread_5_500]io.seata.server.lock.memory.MemoryLockManagerImpl.unLock:172 -Global unlock start on [:storage_tbl:15;storage_tbl:15;storage_tbl:15;storage_tbl:15;storage_tbl:15;storage_tbl:15;storage_tbl:15;storage_tbl:15;storage_tbl:15;storage_tbl:15;storage_tbl:15;storage_tbl:15;storage_tbl:15;storage_tbl:15] is unlock by<PHONE_NUMBER>

It seems

Should we remove duplicate lock key in ConnectionContext, use HashSet?
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Just paste your stack trace here!

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

xxx
xxx
xxx

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version :
OS :
Others:

it must be
resourceId=jdbc:mysql://localhost:3306/fescar_demo,lockKey=storage_tbl:17;storage_tbl:17;storage_tbl:17;storage_tbl:17;storage_tbl:17;storage_tbl:17;storage_tbl:17;storage_tbl:17;storage_tbl:17;storage_tbl:17

if resource is long ,
https://github.com/seata/seata/issues/942 will can not insert to db


Dependency Import Broken starting with v2022.08.31

Issue description
Starting with 2022.08.31 dependency installs have started breaking for a single package we install. This was working for all version prior to 2022.08.31, and has as a result of not pinning pipenv, broken all our pipelines.
Package: yajl-py
Expected result
pipenv install
Installing dependencies from Pipfile.lock (3553a9)...
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 2/2 — 00:00:02
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.

Actual result
/usr/local/Cellar/pipenv/2022.8.31/bin/pipenv install --verbose
Installing dependencies from Pipfile.lock (3553a9)...
Writing supplied requirement line to temporary file: 'six==1.16.0 --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254'
Writing supplied requirement line to temporary file: 'yajl-py==2.1.2 --hash=sha256:086d5031aac0dc456476e79ce32615455b5e7bc0c29bcece595e65a41b6a551a'
Install Phase: Standard Requirements
Preparing Installation of 'six'
Preparing Installation of 'yajl-py'
$ /Users/mhaber/.local/share/virtualenvs/recreate-6qyGiqPQ/bin/python /usr/local/Cellar/pipenv/2022.8.31/libexec/lib/python3.10/site-packages/pipenv/patched/pip/__pip-runner__.py install -i https://pypi.org/simple --no-input --upgrade --no-deps --exists-action=i -r /var/folders/jt/ly5256g913b5j012ywxznvhw0000gn/T/pipenv-oek2o8b_-requirements/pipenv-z1q_iz95-hashed-reqs.txt
Using source directory: '/Users/mhaber/.local/share/virtualenvs/recreate-6qyGiqPQ/src'
Collecting six==1.16.0

  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)

Collecting yajl-py==2.1.2

  Using cached yajl-py-2.1.2.tar.gz (7.8 kB)

  Preparing metadata (setup.py): started

  Preparing metadata (setup.py): finished with status 'error'

error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/jt/ly5256g913b5j012ywxznvhw0000gn/T/pip-install-uclw58aa/yajl-py_ce1bcc49c1db47138c27f20bd2f506e0/setup.py", line 4, in <module>
          from yajl import __version__ as version
        File "/private/var/folders/jt/ly5256g913b5j012ywxznvhw0000gn/T/pip-install-uclw58aa/yajl-py_ce1bcc49c1db47138c27f20bd2f506e0/yajl/__init__.py", line 18, in <module>
          from .yajl_parse import (
        File "/private/var/folders/jt/ly5256g913b5j012ywxznvhw0000gn/T/pip-install-uclw58aa/yajl-py_ce1bcc49c1db47138c27f20bd2f506e0/yajl/yajl_parse.py", line 6, in <module>
          import six
      ModuleNotFoundError: No module named 'six'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
An error occurred while installing six==1.16.0 --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254! Will try again.
An error occurred while installing yajl-py==2.1.2 --hash=sha256:086d5031aac0dc456476e79ce32615455b5e7bc0c29bcece595e65a41b6a551a! Will try again.
Installing initially failed dependencies...
Writing supplied requirement line to temporary file: 'six==1.16.0 --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254'
Writing supplied requirement line to temporary file: 'yajl-py==2.1.2 --hash=sha256:086d5031aac0dc456476e79ce32615455b5e7bc0c29bcece595e65a41b6a551a'
Install Phase: Standard Requirements
Preparing Installation of 'six'
Preparing Installation of 'yajl-py'
$ /Users/mhaber/.local/share/virtualenvs/recreate-6qyGiqPQ/bin/python /usr/local/Cellar/pipenv/2022.8.31/libexec/lib/python3.10/site-packages/pipenv/patched/pip/__pip-runner__.py install -i https://pypi.org/simple --no-input --upgrade --no-use-pep517 --no-deps --exists-action=i -r /var/folders/jt/ly5256g913b5j012ywxznvhw0000gn/T/pipenv-oek2o8b_-requirements/pipenv-i94wdm_d-hashed-reqs.txt
Using source directory: '/Users/mhaber/.local/share/virtualenvs/recreate-6qyGiqPQ/src'
Collecting six==1.16.0

  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)

Collecting yajl-py==2.1.2

  Using cached yajl-py-2.1.2.tar.gz (7.8 kB)

  Preparing metadata (setup.py): started

  Preparing metadata (setup.py): finished with status 'error'

error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/jt/ly5256g913b5j012ywxznvhw0000gn/T/pip-install-y8baa9cq/yajl-py_b1b1536d465d4579a36bc96ac0860feb/setup.py", line 4, in <module>
          from yajl import __version__ as version
        File "/private/var/folders/jt/ly5256g913b5j012ywxznvhw0000gn/T/pip-install-y8baa9cq/yajl-py_b1b1536d465d4579a36bc96ac0860feb/yajl/__init__.py", line 18, in <module>
          from .yajl_parse import (
        File "/private/var/folders/jt/ly5256g913b5j012ywxznvhw0000gn/T/pip-install-y8baa9cq/yajl-py_b1b1536d465d4579a36bc96ac0860feb/yajl/yajl_parse.py", line 6, in <module>
          import six
      ModuleNotFoundError: No module named 'six'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[pipenv.exceptions.InstallError]: error: subprocess-exited-with-error
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]:   × python setup.py egg_info did not run successfully.
[pipenv.exceptions.InstallError]:   │ exit code: 1
[pipenv.exceptions.InstallError]:   ╰─> [10 lines of output]
[pipenv.exceptions.InstallError]:       Traceback (most recent call last):
[pipenv.exceptions.InstallError]:         File "<string>", line 2, in <module>
[pipenv.exceptions.InstallError]:         File "<pip-setuptools-caller>", line 34, in <module>
[pipenv.exceptions.InstallError]:         File "/private/var/folders/jt/ly5256g913b5j012ywxznvhw0000gn/T/pip-install-y8baa9cq/yajl-py_b1b1536d465d4579a36bc96ac0860feb/setup.py", line 4, in <module>
[pipenv.exceptions.InstallError]:           from yajl import __version__ as version
[pipenv.exceptions.InstallError]:         File "/private/var/folders/jt/ly5256g913b5j012ywxznvhw0000gn/T/pip-install-y8baa9cq/yajl-py_b1b1536d465d4579a36bc96ac0860feb/yajl/__init__.py", line 18, in <module>
[pipenv.exceptions.InstallError]:           from .yajl_parse import (
[pipenv.exceptions.InstallError]:         File "/private/var/folders/jt/ly5256g913b5j012ywxznvhw0000gn/T/pip-install-y8baa9cq/yajl-py_b1b1536d465d4579a36bc96ac0860feb/yajl/yajl_parse.py", line 6, in <module>
[pipenv.exceptions.InstallError]:           import six
[pipenv.exceptions.InstallError]:       ModuleNotFoundError: No module named 'six'
[pipenv.exceptions.InstallError]:       [end of output]
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]:   note: This error originates from a subprocess, and is likely not a problem with pip.
[pipenv.exceptions.InstallError]: error: metadata-generation-failed
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]: × Encountered error while generating package metadata.
[pipenv.exceptions.InstallError]: ╰─> See above for output.
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]: note: This is an issue with the package mentioned above, not pip.
[pipenv.exceptions.InstallError]: hint: See above for details.
ERROR: Couldn't install package: [Requirement(_name='six', vcs=None, req=NamedRequirement(name='six', version='==1.16.0', req=Requirement.parse('six==1.16.0'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=six, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===1.16.0, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=six==1.16.0)>), markers=None, _specifiers='==1.16.0', index='pypi', editable=False, hashes=frozenset({'sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926', 'sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=six, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===1.16.0, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=six==1.16.0)>, _ireq=None), Requirement(_name='yajl-py', vcs=None, req=NamedRequirement(name='yajl-py', version='==2.1.2', req=Requirement.parse('yajl-py==2.1.2'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=yajl-py, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===2.1.2, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=yajl-py==2.1.2)>), markers=None, _specifiers='==2.1.2', index='pypi', editable=False, hashes=frozenset({'sha256:086d5031aac0dc456476e79ce32615455b5e7bc0c29bcece595e65a41b6a551a'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=yajl-py, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===2.1.2, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=yajl-py==2.1.2)>, _ireq=None)]
 Package installation failed...

Steps to replicate
Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
six = "*"
yajl-py = "*"

[dev-packages]

[requires]
python_version = "3.10"

Pipfile.lock
{
    "_meta": {
        "hash": {
            "sha256": "06410356d9d26d54cd9fc3753488ad44d9defcf79ac9c71c3af24135d83553a9"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.10"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "six": {
            "hashes": [
                "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
                "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"
            ],
            "index": "pypi",
            "version": "==1.16.0"
        },
        "yajl-py": {
            "hashes": [
                "sha256:086d5031aac0dc456476e79ce32615455b5e7bc0c29bcece595e65a41b6a551a"
            ],
            "index": "pypi",
            "version": "==2.1.2"
        }
    },
    "develop": {}
}

Pipenv Support
$ pipenv --support | pbcopy
$ pipenv --support
Pipenv version: '2022.8.15'
Pipenv location: '/Users/mhaber/.pyenv/versions/3.10.4/lib/python3.10/site-packages/pipenv'
setuptools version: '58.1.0'
Python location: '/Users/mhaber/.pyenv/versions/3.10.4/bin/python3.10'
OS Name: 'posix'
User pip version: '22.2.2'
user Python installations found:

3.10.6: /usr/local/bin/python3
3.10.4: /Users/mhaber/.pyenv/versions/3.10.4/bin/python3
3.10.4: /Users/mhaber/.pyenv/versions/3.10.4/bin/python3
3.10.4: /Users/mhaber/.pyenv/versions/3.10.4/bin/python
3.9.13: /Users/mhaber/.pyenv/versions/3.9.13/bin/python3
3.8.11: /Users/mhaber/.pyenv/versions/3.8.11/bin/python3
3.8.9: /usr/bin/python3
3.7.11: /Users/mhaber/.pyenv/versions/3.7.11/bin/python3
2.7.16: /usr/bin/python
2.7.16: /usr/bin/python2
2.7.16: /usr/bin/python2.7

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.10.4',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '20.6.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 20.6.0: Tue Apr 19 21:04:45 PDT '
                     '2022; root:xnu-7195.141.29~1/RELEASE_X86_64',
 'python_full_version': '3.10.4',
 'python_version': '3.10',
 'sys_platform': 'darwin'}

System environment variables:

NVM_INC
TERM_PROGRAM
PYENV_ROOT
NVM_CD_FLAGS
TERM
SHELL
TMPDIR
TERM_PROGRAM_VERSION
TERM_SESSION_ID
PYENV_VERSION
NVM_DIR
USER
SSH_AUTH_SOCK
PYENV_DIR
PATH
GITHUB_OAUTH_TOKEN
LaunchInstanceID
__CFBundleIdentifier
PWD
LANG
PYENV_HOOK_PATH
XPC_FLAGS
XPC_SERVICE_NAME
PYENV_SHELL
HOME
SHLVL
LOGNAME
NVM_BIN
GITHUB_TOKEN
SECURITYSESSIONID
GH_TOKEN
__CF_USER_TEXT_ENCODING
PIP_SHIMS_BASE_MODULE
PIP_DISABLE_PIP_VERSION_CHECK
PIP_PYTHON_PATH
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /Users/mhaber/.pyenv/versions/3.10.4/bin:/usr/local/Cellar/pyenv/2.3.2/libexec:/usr/local/Cellar/pyenv/2.3.2/plugins/python-build/bin:/Users/mhaber/.poetry/bin:/Users/mhaber/.nvm/versions/node/v16.13.1/bin:/Users/mhaber/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
SHELL: /bin/zsh
LANG: en_CA.UTF-8
PWD: /Users/mhaber/recreate

Contents of Pipfile ('/Users/mhaber/recreate/Pipfile'):
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
six = "*"
yajl-py = "*"

[dev-packages]

[requires]
python_version = "3.10"

Contents of Pipfile.lock ('/Users/mhaber/recreate/Pipfile.lock'):
{
    "_meta": {
        "hash": {
            "sha256": "06410356d9d26d54cd9fc3753488ad44d9defcf79ac9c71c3af24135d83553a9"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.10"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "six": {
            "hashes": [
                "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
                "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"
            ],
            "index": "pypi",
            "version": "==1.16.0"
        },
        "yajl-py": {
            "hashes": [
                "sha256:086d5031aac0dc456476e79ce32615455b5e7bc0c29bcece595e65a41b6a551a"
            ],
            "index": "pypi",
            "version": "==2.1.2"
        }
    },
    "develop": {}
}

@mattthaber I am unable to lock your Pipfile example with both 2022.8.30 and 2022.8.31 -- also noticed your support output says 2022.8.15.

@mattthaber I am unable to lock your Pipfile example with both 2022.8.30 and 2022.8.31 -- also noticed your support output says 2022.8.15.

hmmm, so 2022.8.15 was just the local one i had , but i had tested with 2022.8.30 and it also worked.
$ pipenv --support
Pipenv version: '2022.8.30'
Pipenv location: '/Users/mhaber/.pyenv/versions/3.10.4/lib/python3.10/site-packages/pipenv'
Python location: '/Users/mhaber/.pyenv/versions/3.10.4/bin/python3.10'
OS Name: 'posix'
User pip version: '22.2.2'
user Python installations found:

3.10.6: /usr/local/bin/python3
3.10.4: /Users/mhaber/.pyenv/versions/3.10.4/bin/python3
3.10.4: /Users/mhaber/.pyenv/versions/3.10.4/bin/python3
3.10.4: /Users/mhaber/.pyenv/versions/3.10.4/bin/python
3.9.13: /Users/mhaber/.pyenv/versions/3.9.13/bin/python3
3.8.11: /Users/mhaber/.pyenv/versions/3.8.11/bin/python3
3.8.9: /usr/bin/python3
3.7.11: /Users/mhaber/.pyenv/versions/3.7.11/bin/python3
2.7.16: /usr/bin/python
2.7.16: /usr/bin/python2
2.7.16: /usr/bin/python2.7

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.10.4',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '20.6.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 20.6.0: Tue Apr 19 21:04:45 PDT '
                     '2022; root:xnu-7195.141.29~1/RELEASE_X86_64',
 'python_full_version': '3.10.4',
 'python_version': '3.10',
 'sys_platform': 'darwin'}

System environment variables:

NVM_INC
TERM_PROGRAM
PYENV_ROOT
NVM_CD_FLAGS
TERM
SHELL
TMPDIR
TERM_PROGRAM_VERSION
TERM_SESSION_ID
PYENV_VERSION
NVM_DIR
USER
SSH_AUTH_SOCK
PYENV_DIR
PATH
GITHUB_OAUTH_TOKEN
LaunchInstanceID
__CFBundleIdentifier
PWD
LANG
PYENV_HOOK_PATH
XPC_FLAGS
XPC_SERVICE_NAME
PYENV_SHELL
HOME
SHLVL
LOGNAME
NVM_BIN
GITHUB_TOKEN
SECURITYSESSIONID
GH_TOKEN
__CF_USER_TEXT_ENCODING
PIP_DISABLE_PIP_VERSION_CHECK
PIP_PYTHON_PATH
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /Users/mhaber/.pyenv/versions/3.10.4/bin:/usr/local/Cellar/pyenv/2.3.2/libexec:/usr/local/Cellar/pyenv/2.3.2/plugins/python-build/bin:/Users/mhaber/.poetry/bin:/Users/mhaber/.nvm/versions/node/v16.13.1/bin:/Users/mhaber/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
SHELL: /bin/zsh
LANG: en_CA.UTF-8
PWD: /Users/mhaber/recreate

Contents of Pipfile ('/Users/mhaber/recreate/Pipfile'):
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
six = "*"
yajl-py = "*"

[dev-packages]

[requires]
python_version = "3.10"

Contents of Pipfile.lock ('/Users/mhaber/recreate/Pipfile.lock'):
{
    "_meta": {
        "hash": {
            "sha256": "06410356d9d26d54cd9fc3753488ad44d9defcf79ac9c71c3af24135d83553a9"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.10"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "six": {
            "hashes": [
                "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
                "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"
            ],
            "index": "pypi",
            "version": "==1.16.0"
        },
        "yajl-py": {
            "hashes": [
                "sha256:086d5031aac0dc456476e79ce32615455b5e7bc0c29bcece595e65a41b6a551a"
            ],
            "index": "pypi",
            "version": "==2.1.2"
        }
    },
    "develop": {}
}

I was able to sync with your lockfile on 2022.8.30 and I see where the problem is -- apparently the setup.py of yajl-py is importing files from itself and causing itself to import from six during the install phase.   You were getting lucky prior because the pip installs happen serially and so six would get installed before yajl-py.  Now the same pip process is trying to do all of the packages in the same install basically which cut the time of the install in half on the benchmark:  https://lincolnloop.github.io/python-package-manager-shootout/  (prior version has already fallen off the graph).
Anyway, what I can suggest as a work around is to pip install six before running pipenv sync in order to work around the complication of the yajl-py setup.py.

matteius@matteius-VirtualBox:~/shared-projects/pipenv-triage/pipenv-5319$ pipenv run pip install six
Collecting six
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six
Successfully installed six-1.16.0
matteius@matteius-VirtualBox:~/shared-projects/pipenv-triage/pipenv-5319$ pipenv sync --verbose
Installing dependencies from Pipfile.lock (3553a9)...
Writing supplied requirement line to temporary file: 'yajl-py==2.1.2 --hash=sha256:086d5031aac0dc456476e79ce32615455b5e7bc0c29bcece595e65a41b6a551a'
Install Phase: Standard Requirements
Preparing Installation of 'yajl-py'
$ /home/matteius/.virtualenvs/pipenv-5319-7Y5NzgWN/bin/python /home/matteius/.local/lib/python3.9/site-packages/pipenv/patched/pip/__pip-runner__.py install -i https://pypi.org/simple --no-input --upgrade --no-deps --exists-action=i -r /tmp/pipenv-43h3bi7y-requirements/pipenv-7g1mgb8s-hashed-reqs.txt
Using source directory: '/home/matteius/.virtualenvs/pipenv-5319-7Y5NzgWN/src'
Collecting yajl-py==2.1.2

  Using cached yajl-py-2.1.2.tar.gz (7.8 kB)

  Preparing metadata (setup.py): started

  Preparing metadata (setup.py): finished with status 'done'

Building wheels for collected packages: yajl-py

  Building wheel for yajl-py (setup.py): started

  Building wheel for yajl-py (setup.py): finished with status 'done'

  Created wheel for yajl-py: filename=yajl_py-2.1.2-py3-none-any.whl size=8066 sha256=0452a443a0fef9ecb62405520fd702e6e757bb9654dd78ef84bab6733b8c0c04

  Stored in directory: /home/matteius/.cache/pipenv/wheels/26/a4/14/5c3878079d30acb5365fd75770a478e7cc3edf0f4910fccc5f

Successfully built yajl-py

Installing collected packages: yajl-py

Successfully installed yajl-py-2.1.2

To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
All dependencies are now up-to-date!
matteius@matteius-VirtualBox:~/shared-projects/pipenv-triage/pipenv-5319$ pipenv --version
pipenv, version 2022.8.31

I was able to sync with your lockfile on 2022.8.30 and I see where the problem is -- apparently the setup.py of yajl-py is importing files from itself and causing itself to import from six during the install phase. You were getting lucky prior because the pip installs happened serially and so six would get installed before yajl-py. Now due to #5301 the same pip process is doing all of the packages in the same install basically which cut the time of the install in half on the benchmark: https://lincolnloop.github.io/python-package-manager-shootout/ (prior version has already fallen off the graph).
Anyway, what I can suggest as a work around is to pipenv run pip install six before running pipenv sync in order to work around the complication of the yajl-py setup.py. ~FWIW locking that Pipfile is problematic on all versions that I have tried.~ The locking was problematic because I needed to install libyajl-dev

ahhh ok makes sense then. we will resolve it on our end to get around then.
i really appreciate the quick response and help investigating!


Links to dataset reports are broken

Thanks for pointing this out - it's not clear that for ease of modifying this report, placeholder links are included in this page, for example a link to dataset 1, but they are just placeholders pointing to a non-existent page. These should be modified to point to the actual location. Added a comment to make this more clear.


Support for new lines \n in the help

I want to put long help paragraphs with usage examples and can't find a good way to structure the help text in nice paragraphs with new lines for each example
k8sGKECluster.Command("create", "create a new k8s cluster \n
gke cluster create -a key.json  -c ../../config/cluster.yaml \n
gke cluster create (using the defaults)").

closing for now as I think I can use   will reopen it doesn't work well.


End-to-End Testing

My current scenario is -

Using zerocode test framework I publish a message to a topic.
I have extended the ZeroCodeRunner to start my consumer also, which should ideally take the message from the topic, do some transformation, and publish it into a different topic.
I have added a zerocode step for consumption which checks the message is right or not.

So in total my json test case file has 2 steps- for publishing and consuming
The end-goal is to check whether the transformation is right and the message are published from my consumer-producer to the right partition.
Would this scenario be possible using zerocode?

@jbiju94 , just to clarify:
e.g.

Step-1 : Produce Hello to order-topic
The consumer via ZerocodeExRunner picks "Hello", then transforms to Hello There

Then publishes to order-new-topic

Step-2: Consume from order-new-topic and asserts Hello There

check whether the transformation is right and the message are published from my consumer-producer to the right partition.

Here, In the Step-2 do you know the partition number to consume from?
if so what's the partition-number?
Then in Step-2 you mention that number using seek like below:
"seek": "order-new-topic,0,1"

Here
order-new-topic : Your topic of interest
0 : Partition number
1 : Offset from where you want to read the message

Hope it helps!
Are you in Slack, if not can you join the Kafka channel and ping us in Slack(Click)


Happy Number in Python

💥 Proposal
Implementing happy number in python. A number is called happy if it leads to 1 after a sequence of steps wherein each step number is replaced by the sum of squares of its digit.
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


Fix ckeditor

The hopefully final fix for EasyRedmine's CK Editor, see #37

Nice! it worked in ckeditor.
another enhancement, could you use the last name , first name for user ,not the login name , and add a hyperlink to user's profile?

You should make different issues for that...

@amenk OK， I will Submit it asap.

@amenk Hi, I applied this patch to get it to work with CKEditor but when using tab or enter to autocomplete I get @user.name ser.name with my caret positioned before 'ser.name'.

I know this very well but thought i Fixit in my version of jQuery textcomplete. can you check the new one by me in the query text complete repository?


Allow passing collation (or other extended options) to mongoDB query

Is your feature request related to a problem? Please describe.
To retrieve users by their email address, I would like to use a (previously created) collation index. Unfortunately I can't pass the necessary options to the find method of the mongo client. In the MongoDriver unknown FindOneOptions/FindOptions-properties are not passed to the MongoConnection or mongodb.collection.find.
Describe the solution you'd like
I would like to pass a property collation in the FindOptions for findOne or find, which is passed directly to the mongodb.collection.find function.
Describe alternatives you've considered
Instead of using a collation index, I could make the search case-insensitive by using a regular expression. However, this does not seem to me to be the recommended way.
Alternatively, I could set the collation for the entire collection, which would result in this collation being used by default - without having to include the collation in the FindOptions. But then all other queries would also use this collation, which is not desired e.g. for first/last names.
Additional context
I could imagine different approaches to solve this problem:

the find methods in MongoDriver and MongoConnection are extended by options.collation.
the find methods are changed so that excess options are passed directly to the mongo.collection.find method.
another hook beforeFind allows to manipulate the query (this seems to me a disproportionate amount of effort to fulfill this requirement, but might allow future use cases)

Is this feature something you would consider? In any case, thanks for the work on MikroORM!

Any update on this or workaround? I need to use collation for case-insensitive sorting.


The Internal scripts were not processed

This kind of script is rarely used. I don't know whether it is easy to handle this kind of script.Anyway, I wrote this issue.
(Is it called internal script in English? It is set up like this.)

Yea internal scripts aren't supported right now, though it shouldn't be that hard to do so.
It's something I'm planning to do eventually.

The internal scripts may be processed soon in case anyone ever needs it, i have made some changes and tested both the PackedScenes and Resources, Thank you for opening this topic.
Pull ref: #30

Oh I completely forgot to close this issue.
I already merged your PR. Thanks!