Uncaught exception: (0, 'SSL error: unexpected eof')

Hello.
sometimes emc_vnx_stats.py script occurred error.
I don't know why occurred error.
Below is emc_vnx_stats.log
2016-11-09 09:29:57,275 ERROR 25807 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-09 09:29:58,188 ERROR 25808 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-09 09:29:59,222 ERROR 25809 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-09 09:30:00,130 ERROR 25810 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-09 09:30:01,160 ERROR 25812 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-09 09:30:01,200 ERROR 25813 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-09 09:30:02,296 ERROR 25822 Uncaught exception: (0, 'SSL error: unexpected eof')
None

What version of EMC SMI-S Are you running along with what version of pyWBEM?
Typically this is caused by a connection issue, can you provide some of the
logs before and after these errors so I can get an idea of context?
Do you see similar errors in the discovery log also?
On Tue, Nov 8, 2016 at 7:33 PM, naechin91004<EMAIL_ADDRESS>wrote:

Hello.
sometimes emc_vnx_stats.py script occurred error.
I don't know why occurred error.

Reply to this email directly, view it on GitHub
https://github.com/ktelep/EMC-Zabbix-Integration/issues/22, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAor76FKCdkJHPFxMwL9euukKC3UQcFGks5q8RTcgaJpZM4KtErA
.

hello.
I installed pywbem-0.7.0-25.20130827svn625.el7.noarch and EMC SMI-S is REVISIONS: V7.6.2.
And discovery log has no error.
By the way I add "no_verification=True"  in script. Is that make a errors?

I don't believe the no_verification=True would cause this, but I would
suggest downgrading SMI-S to the 4.x series and trying again.
Also are you actually missing data when you get these messages?   An SSL
EOF could also be indicative of a connectivity issue to the SMI-S server.
On Wed, Nov 9, 2016 at 9:28 PM, naechin91004<EMAIL_ADDRESS>wrote:

hello.
I installed pywbem-0.7.0-25.20130827svn625.el7.noarch and EMC SMI-S is
REVISIONS: V7.6.2.
And discovery log has no error.
By the way I add "no_verification=True" in script. Is that make a errors?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ktelep/EMC-Zabbix-Integration/issues/22#issuecomment-259585761,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAor72wLGhar_wjq36jyl9Bo4qLV3nxoks5q8oE1gaJpZM4KtErA
.

Hello. I tried find SMI-S 4.X. But I cant find SMI-S 4.x in EMC web.
Can you upload SMI-S 4.x?

It error occurred on SMI v4.6.2.

below is emc_vnx_stats.log
2016-11-17 18:05:25,429 ERROR 49598 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:27,765 ERROR 49488 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:27,775 ERROR 50411 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:28,207 ERROR 51884 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:28,214 ERROR 52058 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:33,564 ERROR 49958 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:33,565 ERROR 50101 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:33,581 ERROR 51535 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:34,085 ERROR 51177 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:35,387 ERROR 51041 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:37,075 ERROR 50026 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:37,196 ERROR 51284 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:37,234 ERROR 52472 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:37,260 ERROR 51223 Uncaught exception: (0, 'SSL error: unexpected eof')
None
below is emc_vnx_discovery.log
22016-11-17 18:05:11,847 INFO 50798 Generating output
2016-11-17 18:05:11,847 INFO 50798 Discovery Complete
2016-11-17 18:05:12,384 INFO 51347 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:12,384 INFO 51347 Pool discovery started
2016-11-17 18:05:13,255 INFO 51383 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:13,255 INFO 51383 Storage Processor discovery started
2016-11-17 18:05:14,269 INFO 50944 Generating output
2016-11-17 18:05:14,269 INFO 50944 Discovery Complete
2016-11-17 18:05:15,160 INFO 51129 Generating output
2016-11-17 18:05:15,161 INFO 51129 Discovery Complete
2016-11-17 18:05:16,865 INFO 50985 Generating output
2016-11-17 18:05:16,866 INFO 50985 Discovery Complete
2016-11-17 18:05:18,275 INFO 51622 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:18,275 INFO 51622 Array hardware discovery started
2016-11-17 18:05:18,510 INFO 51179 Generating output
2016-11-17 18:05:18,510 INFO 51179 Discovery Complete
2016-11-17 18:05:20,259 INFO 51721 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:20,259 INFO 51721 Pool discovery started
2016-11-17 18:05:21,192 INFO 51754 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:21,193 INFO 51754 Storage Processor discovery started
2016-11-17 18:05:22,062 INFO 51383 Generating output
2016-11-17 18:05:22,063 INFO 51383 Discovery Complete
2016-11-17 18:05:24,163 INFO 51883 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:24,163 INFO 51883 Pool discovery started
2016-11-17 18:05:25,252 INFO 51927 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:25,252 INFO 51927 Storage Processor discovery started
2016-11-17 18:05:28,155 INFO 52059 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:28,155 INFO 52059 Pool discovery started
2016-11-17 18:05:29,695 INFO 52120 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:29,699 INFO 52120 Storage Processor discovery started
2016-11-17 18:05:30,417 INFO 52149 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:30,417 INFO 52149 Array hardware discovery started
2016-11-17 18:05:31,091 INFO 51721 Generating output
2016-11-17 18:05:31,092 INFO 51721 Discovery Complete
2016-11-17 18:05:32,235 INFO 52243 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:32,236 INFO 52243 Pool discovery started
2016-11-17 18:05:32,392 INFO 51754 Generating output
2016-11-17 18:05:32,393 INFO 51754 Discovery Complete
2016-11-17 18:05:33,259 INFO 52291 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:33,259 INFO 52291 Storage Processor discovery started
2016-11-17 18:05:33,590 ERROR 50176 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:34,071 ERROR 50678 Uncaught exception: (0, 'SSL error: unexpected eof')
None
2016-11-17 18:05:34,335 INFO 52349 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:34,335 INFO 52349 Array hardware discovery started
2016-11-17 18:05:35,596 INFO 51883 Generating output
2016-11-17 18:05:35,596 INFO 51883 Discovery Complete
2016-11-17 18:05:35,619 INFO 51927 Generating output
2016-11-17 18:05:35,620 INFO 51927 Discovery Complete
2016-11-17 18:05:35,842 INFO 50783 Generating output
2016-11-17 18:05:35,844 INFO 50783 Discovery Complete
2016-11-17 18:05:36,382 INFO 52431 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:36,382 INFO 52431 Pool discovery started
2016-11-17 18:05:37,184 INFO 52473 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:37,184 INFO 52473 Storage Processor discovery started
2016-11-17 18:05:37,314 INFO 52059 Generating output
2016-11-17 18:05:37,314 INFO 52059 Discovery Complete
2016-11-17 18:05:40,167 INFO 52598 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:40,167 INFO 52598 Pool discovery started
2016-11-17 18:05:40,975 INFO 52120 Generating output
2016-11-17 18:05:40,975 INFO 52120 Discovery Complete
2016-11-17 18:05:41,125 INFO 52648 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:41,126 INFO 52648 Storage Processor discovery started
2016-11-17 18:05:41,690 INFO 52243 Generating output
2016-11-17 18:05:41,691 INFO 52243 Discovery Complete
2016-11-17 18:05:42,405 INFO 51347 Generating output
2016-11-17 18:05:42,407 INFO 51347 Discovery Complete
2016-11-17 18:05:42,686 INFO 52291 Generating output
2016-11-17 18:05:42,686 INFO 52291 Discovery Complete
2016-11-17 18:05:43,736 INFO 52431 Generating output
2016-11-17 18:05:43,736 INFO 52431 Discovery Complete
2016-11-17 18:05:44,245 INFO 52794 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:44,245 INFO 52794 Pool discovery started
2016-11-17 18:05:45,148 INFO 52829 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:45,149 INFO 52829 Storage Processor discovery started
2016-11-17 18:05:45,634 INFO 52648 Generating output
2016-11-17 18:05:45,635 INFO 52648 Discovery Complete
2016-11-17 18:05:45,858 INFO 52473 Generating output
2016-11-17 18:05:45,859 INFO 52473 Discovery Complete
2016-11-17 18:05:46,812 INFO 52598 Generating output
2016-11-17 18:05:46,813 INFO 52598 Discovery Complete
2016-11-17 18:05:48,925 INFO 52971 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:48,925 INFO 52971 Pool discovery started
2016-11-17 18:05:49,297 INFO 52985 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:49,298 INFO 52985 Storage Processor discovery started
2016-11-17 18:05:50,148 INFO 53028 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:50,148 INFO 53028 Array hardware discovery started
2016-11-17 18:05:52,551 INFO 53135 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:52,551 INFO 53135 Pool discovery started
2016-11-17 18:05:53,321 INFO 53170 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:53,321 INFO 53170 Storage Processor discovery started
2016-11-17 18:05:53,821 INFO 52829 Generating output
2016-11-17 18:05:53,821 INFO 52829 Discovery Complete
2016-11-17 18:05:55,096 INFO 52985 Generating output
2016-11-17 18:05:55,096 INFO 52985 Discovery Complete
2016-11-17 18:05:56,270 INFO 53327 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:56,271 INFO 53327 Pool discovery started
2016-11-17 18:05:57,134 INFO 52971 Generating output
2016-11-17 18:05:57,135 INFO 52971 Discovery Complete
2016-11-17 18:05:57,390 INFO 53371 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:57,390 INFO 53371 Storage Processor discovery started
2016-11-17 18:05:57,529 INFO 53170 Generating output
2016-11-17 18:05:57,530 INFO 53170 Discovery Complete
2016-11-17 18:05:57,668 INFO 52794 Generating output
2016-11-17 18:05:57,669 INFO 52794 Discovery Complete
2016-11-17 18:05:58,112 INFO 53410 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:05:58,113 INFO 53410 Array hardware discovery started
2016-11-17 18:06:00,382 INFO 53496 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:06:00,382 INFO 53496 Pool discovery started
2016-11-17 18:06:01,070 INFO 53327 Generating output
2016-11-17 18:06:01,070 INFO 53327 Discovery Complete
2016-11-17 18:06:01,129 INFO 53524 Building WBEM Connection to https://<IP_ADDRESS>:5989
2016-11-17 18:06:01,129 INFO 53524 Storage Processor discovery started
2016-11-17 18:06:02,224 INFO 53371 Generating output
2016-11-17 18:06:02,225 INFO 53371 Discovery Complete
2016-11-17 18:06:02,639 INFO 53135 Generating output
2016-11-17 18:06:02,640 INFO 53135 Discovery Complete
I capture log same time.


use run task to run migration

This has still a major flaw which is does not fail the build when the migration fails

closing as this was just an example of how to run a long running tasks


Inline input data for execution events

Signed-off-by: Katrina Rogan<EMAIL_ADDRESS>TL;DR
Adds parity to the existing flow for inline event output data passing and storage.
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[x] Unit tests added
[x] Code documentation added
[x] Any pending items have an associated Issue

Complete description
Tested for

Python tasks
Dynamic nodes
Recovered nodes
Branch nodes
Map tasks

Tracking Issue
https://github.com/flyteorg/flyte/issues/3232
Follow-up issue
NA

@EngHabu updated to only send task event input for undefined plugin phases, re-tested on the same set of task and node types. Mind taking another look?

friendly ping @EngHabu @hamersaw

@EngHabu sorry one more time if you don't mind?


tests: bump nfs-ganesha version

in stable-4.0, nfs-ganesha 2.8 should be used.
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

is it just for CI testing purpose ? If not, we should update nfs_ganesha_stable_branch in ceph-defaults role instead


can't get working i think i need specific dotnet version

wondering what dotnet version you used so i can try

I use .NET 8.0 -> https://dotnet.microsoft.com/en-us/download/dotnet/8.0


UI failed to start

This is  issue can be solved if we use "use strict".
/usr/local/lib/node_modules/rasa-nlu-trainer/server.js:56
let json
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:990:3
PR is available for the same PR #23

I think you have to update your node version

Thank you,, I was using old node.


New test for effect search, update schemas

Ontology terms changed since the last PR, this update brings it in line with those changes. In addition adds a test for filtering variant annotations using the transcript effect term.
This PR will merge in changes from master, which will remove some merge conflicts from #141.

Looks good! +1


[BUG] api.ipfs.lukso.network doesn't work anymore

Describe the bug
TypeErorr : failed to fetch here ipfs while adding  api.ipfs.lukso.network  port:443
maybe the correct address is : api.2eff.lukso.dev
Screenshots

Link
link to the page that you see this issue.

Hey thanks for flagging ! This has been fixed in this PR:
https://github.com/lukso-network/docs/pull/431
;)


chain: implement upgrade halts

This PR implement chain halts when the upgrade height specified in an UpgradePlan has been reached. It does this in three steps:

when an UpgradePlan is enacted, we write the scheduled upgrade height in nonverifiable storage at key chain/next_upgrade_height
when the target height is reached:

trigger an early epoch change so that the upgraded chain starts at a clean epoch boundary
after committing, shutdown gracefully

There has been some minor additions since review, mainly:

a small fix to the logic fetching spendable note records for voting
re-using the signal mechanism to force a binary upgrade when after an upgrade halt is complete.


'Az ad show' not returning requested fields

Related command
az ad user show --id "email" --query="accountEnabled"
Describe the bug
Above command doesn't return the property accountEnabled. When asked for id it returns the id so it seems that not all fields can be queried since Microsoft Graph API is used. Also when no query is specified only a limited set of fields is returned in comparison of az cli versions under 2.37.
Expected behavior
Selecting the field returns the value.
Environment summary
Az cli version = 2.38.0

@jiasli for awareness

The same happens when I try to get the objectId
az ad user show --id userEmail --query objectId

@manschoe, your problem is similar to https://github.com/Azure/azure-cli/issues/23017
@reiinoldo, as stated in https://docs.microsoft.com/en-us/cli/azure/microsoft-graph-migration, objectId is now id.


npm package missing

E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/amplify-sqs-template - Not found
npm ERR! 404
npm ERR! 404  'amplify-sqs-template@*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Ah yeah, sorry. We haven't published yet and we haven't tested the latest changes either. I'd advise you to clone it locally and work from there. Feel free to come with fixes, suggestions, PRs. Cheers!


Fix travis build and add license badges

qmlrs needs at least Ubuntu 14.04, and travis needs some time for the simple_test timer to actually work.

Great work, thanks!


docker/ci: Use a mock repo for regression test

this allows the test to work in other repos.

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

cc @mattklein123 we need this pretty urgently on all the branches to fix CI in mirror repos

/backport 1.23+


update rc2 to rc4

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

/azurepipelines run


Write and clear functionality

This let's us do
sr = SheetReaderWriter.new('1Q2NdvsSECbDrdOf9-C1EhzHq__3jWW3lQWDDB0mJbd8')

#updates the whole sheet
sr.write  [
   ["foo",   "bar"],
   ["hey",    "ho"],
   ["let's",   nil],
   [nil,      "go"]
]

#clears the whole sheet
sr.clear

@harlow exactly, and the first row is important as those map to the keys that will be returned by the read method


Error installing cargo-generate

I tried to run cargo install cargo-generate via PowerShell and received an error when the compiling (see below). Any suggestions on how to resolve? Seems like the issue might be with libz-sys as other dependencies seemed to be compiling properly.
--
error: failed to run custom build command for libz-sys v1.1.8
Caused by:
process didn't exit successfully: C:\Users\_username_\AppData\Local\Temp\cargo-installm0OOVW\release\build\libz-sys-8caf2ad77f1b5009\build-script-build (exit code: 1)
--- stdout
cargo:rerun-if-env-changed=LIBZ_SYS_STATIC
cargo:rerun-if-changed=build.rs
cargo:rerun-if-env-changed=ZLIB_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-pc-windows-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_pc_windows_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=ZLIB_STATIC
cargo:rerun-if-env-changed=ZLIB_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-pc-windows-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_pc_windows_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-pc-windows-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_pc_windows_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_pc_windows_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo-warning=Could not run "pkg-config" "--libs" "--cflags" "zlib"
The pkg-config command could not be found.
Most likely, you need to install a pkg-config package for your OS.
If you've already installed it, ensure the pkg-config command is one of the
directories in the PATH environment variable.

I also got an error trying to install cargo-generate.
❯ uname -a
Linux jacob-pc 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
~
➜ sudo cargo install cargo-generate
Updating crates.io index
Downloaded cargo-generate v0.16.0
Downloaded 1 crate (86.5 KB) in 0.68s
Installing cargo-generate v0.16.0
error: failed to compile cargo-generate v0.16.0, intermediate artifacts can be found at /tmp/cargo-installB7Oht7
Caused by:
failed to select a version for the requirement rhai = "^1.8"
candidate versions found which didn't match: 1.7.0, 1.6.1, 1.6.0, ...
location searched: crates.io index
required by package cargo-generate v0.16.0
~ took 15s
❯

I have an identical error to Jakub, but a different machine:
Darwin hostname.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64 x86_64

thanks for sharing the solution:

Updating through rustup resolved the issue.


use gyro

zig build works dw

damnit gotta add users

damnit gotta add users

lol realized the user addition doesn't affect this at all

lol realized the user addition doesn't affect this at all

thanks i can now type well enough to press the big green button

thanks i can now type well enough to press the big green button


npm/npmjs/-/mocha/5.0.1

Type: Auto
Summary:
npm/npmjs/-/mocha/5.0.1
Details:
Add undefined license
Resolution:
Auto-generated curation based on merged curation for npm/npmjs/-/mocha/5.0.1

5.0.3
5.1.0
5.1.1

Matching license file(s): package/LICENSE
Matching metadata: registryData.manifest.license: 'MIT'
Affected definitions:

mocha 5.0.3

You can review the change introduced to the full definition at ClearlyDefined.


x/build: add LUCI freebsd-arm64 builder

There currently isn't a LUCI builder that tests the freebsd/arm64 port (other than the misc-compile builder, which tests only that the port compiles). This is the tracking issue for it.
The next steps that a builder owner will need to follow to make progress here are documented https://go.dev/wiki/DashboardBuilders#luci-builders.

CC @golang/freebsd.


Pin mode not being set at initialization

I kept getting Errno::EPERM (Operation not permitted @ fptr_finalize_flush - /sys/class/gpio/gpio4/value) when attempting to set the value of a GPIO pin.  The output of gpio readall revealed that the output was still set as "IN", even though I was initializing the pin as OUT.
I found that if I add pin.mode = OUT before pin.value = , it worked.
Looking at the source, it seemed that the initializer was only setting the mode in an instance variable and never actually calling the setter.  I changed the initializer to call the setter, and now GPIO pins have the correct mode when initialized.

Just pushed a second commit that ensures .value always returns an integer.  I found that it was returning a string "0\n", so comparing that to GPIO::HIGH or GPIO::LOW was always false.


Cannot set MySqlCommand.CommandText when there is an open DataReader for this command; it must be closed first.

code
        public async Task<PagedResult<EmployeRegisterRespone>> Search(EmployeRegisterFilter filter)
        {
            context.Filter<Staffinfo>(list => list.Where( x => x.Sex == (int)filter.Sex));
            var futureList = context.Staffinfo.Skip(filter.CurrentPage).Take(filter.PageSize).Future();
            var futureCount = context.Staffinfo.DeferredCount().FutureValue();

            return new PagedResult<EmployeRegisterRespone>
            {
                List = mapper.Map<IList<EmployeRegisterRespone>>(await futureList.ToListAsync()),
                Pagination = new Pagination
                {
                    Current = filter.CurrentPage,
                    PageSize = filter.PageSize,
                    Total = futureCount.Value
                }
            };
        }

MySql : 5.7.24
Net Core : 2.1
Error message : Cannot set MySqlCommand.CommandText when there is an open DataReader for this command; it must be closed first.

Hello @yedajiang44 ,
Is it possible to provide a full code or runnable solution with this issue?
It makes our job easier/faster when we already have a code that reproduces it.
We now always ask for a project sample even if the issue is easy to reproduce. As a free product, we must find some way to save time to offer an overall better experience for everyone and release fixes faster.
You can send it to<EMAIL_ADDRESS>if you need to keep the source private
Best Regards,
Jonathan

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function


CSV.parse_line when parsing malformed data, drops the stacktrace in from the exception

Consider the following code:
class TestClass
   def self.parsing_method
     CSV.parse("\"foo")
   end
end

Calling TestClass.parsing_method should raise a CSV::MalformedCSVError because there is an unclosed quoted field which makes perfect sense.
However, if we execute this code on version 3.1, we end up with this:
> TestClass.parsing_method
CSV::MalformedCSVError: Unclosed quoted field in line 1.
	from /Users/kd/code/csv/lib/csv/parser.rb:263:in `block in each'
	from /Users/kd/code/csv/lib/csv/parser.rb:92:in `loop'
	from /Users/kd/code/csv/lib/csv/parser.rb:92:in `each'
	from /Users/kd/.rbenv/versions/2.4.3/bin/bundle:1:in `each'

Notice that the stacktrace is incomplete. We don't see any reference to parsing_method or even irb
I have isolated it to this commit: https://github.com/ruby/csv/commit/11f126e5cbd62ea7352c49776d7b723fd8e6bb2f#diff-ad40fdf9392e934708ed9ee9ec79bde3R73
It seems to have something to do with the to_enum call but I haven't been able to figure out what yet.
As of that commit, the stacktrace is partially present, but before that commit, it the stack trace is different:
> TestClass.parsing_method
CSV::MalformedCSVError: Unclosed quoted field in line 1.
	from /Users/kd/code/csv/lib/csv/parser.rb:264:in `block in shift'
	from /Users/kd/code/csv/lib/csv/parser.rb:93:in `loop'
	from /Users/kd/code/csv/lib/csv/parser.rb:93:in `shift'
	from /Users/kd/code/csv/lib/csv.rb:1208:in `shift'
	from /Users/kd/code/csv/lib/csv.rb:1171:in `each'
	from /Users/kd/code/csv/lib/csv.rb:1185:in `to_a'
	from /Users/kd/code/csv/lib/csv.rb:1185:in `read'
	from /Users/kd/code/csv/lib/csv.rb:683:in `parse'
	from (irb):3:in `parsing_method'
	from (irb):6

Notice on this one we do have reference to parsing_method.
This means that for any application that is using CSV that is affected, if there is a parsing error that occurs, it is very difficult to track down where that exception is coming from since the stacktrace what seems like everything outside of the parser file.

Seems like the usage of to_enum and next dropping parts of a stacktrace is an issue in Ruby (https://bugs.ruby-lang.org/issues/16829)
I think the CSV library should revisit the enumerator approach since it is unclear when it will be fixed in Ruby

I couldn't reproduce this with Ruby 2.7:
require "csv"

class TestClass
  def self.parsing_method
    CSV.parse("\"foo")
  end
end

TestClass.parsing_method

$ ruby -v /tmp/a.rb
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]
Traceback (most recent call last):
	15: from /tmp/a.rb:9:in `<main>'
	14: from /tmp/a.rb:5:in `parsing_method'
	13: from /usr/lib/ruby/2.7.0/csv.rb:686:in `parse'
	12: from /usr/lib/ruby/2.7.0/csv.rb:1289:in `read'
	11: from /usr/lib/ruby/2.7.0/csv.rb:1289:in `to_a'
	10: from /usr/lib/ruby/2.7.0/csv.rb:1280:in `each'
	 9: from /usr/lib/ruby/2.7.0/csv.rb:1280:in `each'
	 8: from /usr/lib/ruby/2.7.0/csv/parser.rb:336:in `parse'
	 7: from /usr/lib/ruby/2.7.0/csv/parser.rb:823:in `parse_quotable_loose'
	 6: from /usr/lib/ruby/2.7.0/csv/parser.rb:49:in `each_line'
	 5: from /usr/lib/ruby/2.7.0/csv/parser.rb:49:in `each_line'
	 4: from /usr/lib/ruby/2.7.0/csv/parser.rb:52:in `block in each_line'
	 3: from /usr/lib/ruby/2.7.0/csv/parser.rb:862:in `block in parse_quotable_loose'
	 2: from /usr/lib/ruby/2.7.0/csv/parser.rb:884:in `parse_quotable_robust'
	 1: from /usr/lib/ruby/2.7.0/csv/parser.rb:959:in `parse_column_value'
/usr/lib/ruby/2.7.0/csv/parser.rb:1020:in `parse_quoted_column_value': Unclosed quoted field in line 1. (CSV::MalformedCSVError)

It includes 14: from /tmp/a.rb:5:in parsing_method'`.

@kou Sorry there was a typo. The CSV.parse shoudl have been CSV.parse_line. I've updated the description.

With the updated description we should have this:
$ $ ruby -v /tmp/a.rb
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin19]
Traceback (most recent call last):
	9: from /tmp/a.rb:in `each'
	8: from /Users/kd/.rbenv/versions/2.7.1/lib/ruby/2.7.0/csv/parser.rb:336:in `parse'
	7: from /Users/kd/.rbenv/versions/2.7.1/lib/ruby/2.7.0/csv/parser.rb:823:in `parse_quotable_loose'
	6: from /Users/kd/.rbenv/versions/2.7.1/lib/ruby/2.7.0/csv/parser.rb:49:in `each_line'
	5: from /Users/kd/.rbenv/versions/2.7.1/lib/ruby/2.7.0/csv/parser.rb:49:in `each_line'
	4: from /Users/kd/.rbenv/versions/2.7.1/lib/ruby/2.7.0/csv/parser.rb:52:in `block in each_line'
	3: from /Users/kd/.rbenv/versions/2.7.1/lib/ruby/2.7.0/csv/parser.rb:862:in `block in parse_quotable_loose'
	2: from /Users/kd/.rbenv/versions/2.7.1/lib/ruby/2.7.0/csv/parser.rb:884:in `parse_quotable_robust'
	1: from /Users/kd/.rbenv/versions/2.7.1/lib/ruby/2.7.0/csv/parser.rb:959:in `parse_column_value'
/Users/kd/.rbenv/versions/2.7.1/lib/ruby/2.7.0/csv/parser.rb:1020:in `parse_quoted_column_value': Unclosed quoted field in line 1. (CSV::MalformedCSVError)

Thanks.
I've fixed this.


Fix caption on supplier dashboard

One of the tables had the wrong caption.
Probably the first time CPDD has proved to be problematic.

:+1:


Flag --incompatible_disable_starlark_host_transitions will break Cartographer in Bazel 7.0

Incompatible flag --incompatible_disable_starlark_host_transitions will be enabled by default in the next major release (Bazel 7.0), thus breaking Cartographer. Please migrate to fix this and unblock the flip of this flag.
The flag is documented here: bazelbuild/bazel#17032.
Please check the following CI builds for build and test results:

Ubuntu 16.04 OpenJDK 8

Never heard of incompatible flags before? We have documentation that explains everything.
If you have any questions, please file an issue in https://github.com/bazelbuild/continuous-integration.

您好！我已收到你的邮件！谢谢！          ——曾君

Hi @bufeng-12 , Could you please look into this issue and share any significant update. Thanks!


remove vulgarity from wordpress nixos module

Motivation for this change
remove unnecessary vulgarity that would show up in nixos options. Useful for those of us who would like to promote nixos in our organizations.
Things done
edited comment

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Notify maintainers
cc @

Thank you.


feature: replace electron File.path with electron webUtils

From the electron docs:

Warning: The path property that Electron adds to the File interface is deprecated and will be removed in a future Electron release. We recommend you use webUtils.getPathForFile instead.

This PR replaces the deprecated File.path property with the new electron webUtils api.

For testing:
Native Drag and Drop in the File Explorer:

Drag and drop a file from the native explorer to the vscode file tree
Verify the file is added to the vscode explorer

Normal Drag and Drop in the File Explorer:

Drag and drop a file from the vscode file tree to somewhere else in the vscode file tree
Verify the file is moved as expected in the vscode file explorer

Drag and Drop in the Terminal:

Drag and drop a file from the native explorer to the vscode terminal
Verify the file path appears in the terminal

Thanks, I wasn't actually sure how to approach this when I saw it, so I will learn from your changes 🙏

Thanks!
Initially, I only added electron webUtils to the preload script and exposed it as a global variable webUtils. However, it didn't seem ideal for browser/fileActions.ts to depend on electron-sandbox/globals.ts. That's why I created the webUtils service, inspired by the webViewService.

But I think a service that cannot be implemented for web is also not ideal. I think the right thing would be to depend on globals.ts from electron-sandbox and then move the actions that depend on it to electron-sandbox layers.

Thanks for the feedback.
Do you have an example of similar code where that is applied? I'm not sure how I would proceed here:
// browser/fileActions.ts
export const pasteFileHandler = async (accessor: ServicesAccessor, fileList?: FileList) => {
	if (toPaste.type === 'paths' && item instanceof URI) {
		return item.path
	}
	// how to call something some electron-sandbox here without importing the file from electron-sandbox?
}

Thanks again!

Yeah e.g. here:
https://github.com/microsoft/vscode/blob/9f7eae5bcfb7d6e9378ef34566d60ae23ebe8c86/src/vs/workbench/electron-sandbox/window.ts#L771
For this, the action needs to be moved to a electron-sandbox namespace if possible.

Since this action seems to be used in web as well, it probably should be subclassed on desktop to provide the extra functionality.

I made some changes, but had some difficulties like passing the getPathForFile function from TerminalInstance through TerminalTabs to TerminalTabsRenderer to TerminalTabsDragAndDrop to the _handleExternalDrop function. I also had difficulties overwriting TerminalInstanceService with ElectronTerminalInstanceService which doesn't seem to work well because the registration defines the ctorDescriptor property as readonly.
Let me know, what you think. I feel like compared to before I haven't implemented this approach well and the code feels a bit hacky.

@SimonSiefke how did you find the usages initially, can you list the areas? trying to better understand how the property is used.

I used find all references like this:
https://github.com/microsoft/vscode/assets/23744935/9e0c6c08-d9e6-4e42-aecd-c179bbfe95e8

Got it. Sorry for the back and forth but seeing how complex the change now is, maybe we do go with the service option as you had it initially but re-use an existing service we already have: IHostService is meant for things that the host (electron vs. browser) provides. Some methods in there are already only provided by Electron and no-op by browser. We would still need the change in preload and globals to access the internals.

I like reusing the IHostService and added some changes to implement it. What do you think?

@SimonSiefke I pushed https://github.com/microsoft/vscode/pull/213031/commits/c0298e580add720d5504377c8e88d0b4305ae022 to cleanup, I found many warnings (missing semicolons, etc), did you see them in the editor before committing? please check if things still work.

I forgot I had ESLint disabled, thanks for the fixes! Pasting files in the explorer and terminal is also still working for me!


samples: add Streamlit - DocBot sample

Add sample project Python/Streamlit - DocBot
Description
This pull request includes an update to the hack/samples/index.json file to add a new sample project.

@jyoti-ranjan-jena Thanks for the PR. Please do a signoff on your commit


Updating Master with changes  in Live

Docs Build status updates of commit ec7d89e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/core/feature-pack-create-vsts-token.md
:white_check_mark:Succeeded
View

biztalk/core/publish-schemas-as-wcf-services--use-the-biztalk-wcf-service-publishing-wizard.md
:white_check_mark:Succeeded
View

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


fix(input): change dividerColor to color

demo: http://mmalerba-demo5.firebaseapp.com/input
fixes #3503

done

placeholder text got colorized too. was it expected?


Fix state fission, improved testing

State fission: Improved conditions on how to detect node to not remove.
Improved (and updated to new memlet API) the test as well

@TizianoDeMatteis There's an even more accurate fix here: https://github.com/spcl/dace/pull/645/files?file-filters[]=.py#diff-f76940db8b32cd3a0807a9d0b3b9fa8aa845dd60ff5c91cb6b6f292db860373b


Implements SA1109 (+tests)

Fixes #43
The tests for the code fix are there, but they are currently disabled as the code fix implementation is still a dummy.

 Just add the diagnostic id to the set of supported diagnostic ids

Why dont you just use the RemoveRegionCodeFixProvider? Just add the diagnostic id to the set of supported diagnostic ids

Based on the tests, the code fix moves the region directives inside the curly braces instead of actually removing them. I wouldn't be opposed to changing the tests to expect removal.

@vweijsters @pdelvo @Maxwe11 : #998 directly impacts this pull request. Let me know what you think.

Blocked on #998.

Closing as wontfix based on #998.


XML edits

Includes the IDS FoodHabits campaign XML. Also updates the StessChill XML campaign. Specifically, rewording the question about participants stress chill level and changing the range of response values to plus/minus 2.

@jimmylovestea These campaigns actually can't have any <campaignUrn> or <campaignName> parameters. The teacher tool generates from the file name


WebCmdlets:   empty body should not be added for Get Methods

PR Summary
Fix #15186 - To comply with RFC7230, empty body should not be added for Get Methods
PR Context

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

Two tests need to be updated:
https://dev.azure.com/powershell/PowerShell/_build/results?buildId=91101&view=logs&j=6cde3b71-baca-5747-8e0b-9d2766aa716f&t=47203bc9-c6f6-5ea0-f0a9-178d83600668&l=1580

Oh, it is dup of #16587 and it seems the fix cover more scenarios but haven't tests. We need resolve the conflict and combine the PRs.

Closing this PR as https://github.com/PowerShell/PowerShell/pull/16587 covers this and has necessary test changes

@VeVrX Thanks for your contribution! Sorry for the PR conflict.


manifest line split

Manifest file will have '-' as split not '_ '
https://github.com/thechrisjohnson/terraform-cloud-provider-publish/blob/v1.4/src/main.ts#L38

Hey @rasnarams, I used the '_' splitter as that is what is in the recommend goreleaser.yaml file provided by hashicorp: https://github.com/hashicorp/terraform-provider-scaffolding-framework/blob/main/.goreleaser.yml.
In your case, does just the manifest file have the '_' as the separator, or do all of the .zip files as well?


[client] log sdk version hash on startup

helps debug mobile and PWA staleness issues

maybe we can show this hash in the "do you want to reset" dialog when tapping on the green orb in the bottom right corner? (to make it visible on mobile)


NumericUpDown has value of 0 when text is deleted

Describe the bug
When a minimum value is set in NumericUpDown, and the text is deleted by the user, the control's Value is 0.  The control should probably behave as when attempting to set a value outside its min and max range, which means the property should not be set at all.
To Reproduce
<NumericUpDown
   Value="{Binding myproperty}"
   Minimum="2"
   Maximum="12"/>

Set a breakpoint in myproperty setter.
Delete the initial value so the text box is blank.
The breakpoint will show value=0.

Expected behavior
Proper behavior should be that the property change is not attempted, same as when you type in a number out of range, such as 1 in this case.
Screenshots
Here the user has deleted the text

Desktop (please complete the following information):

OS: [e.g. Windows 10
Version [e.g. 11 preview 4

Additional context
Add any other context about the problem here.

I believe expected value is a default value here.
That's why you should set property to nullable int.

FWIW, WinUI's NumberBox requires an explicit commit (either lose focus or hit enter key) for the text to be processed and update the value. I wonder if that behavior should be copied or add a property to control it for cases like this?

FWIW, WinUI's NumberBox requires an explicit commit (either lose focus or hit enter key) for the text to be processed and update the value. I wonder if that behavior should be copied or add a property to control it for cases like this?

I think this is a great example for a property where UpdateSourceTrigger would be very useful. See #7797 and https://github.com/AvaloniaUI/Avalonia/issues/3754


Version 1.7.3 home.tmpl does not work

Gitea version (or commit ref): 1.7.3
Git version: 2.20.1
Operating system: ubuntu 18.04
Database (use [x]):

[ ] PostgreSQL
[X] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[X] Not relevant

Log gist:

Description
Version 1.7.3 home.tmpl does not work
Gittea is started with Systemd
WorkingDirectory=/opt/gitea
-rw-r--r-- 1 root root 351 Mar  4 16:03 /opt/gitea/custom/templates/home.tmpl

Are there any errors in the logs or on the page?
Based on that path it looks like you're using a custom template, when was it last updated?

No, i dont see any error in the log ( loglevel = debug )

What isn't working about it? Is it that Gitea doesn't start up, or you can't see any changes made to the template? Or something else?

Gittea works, but the home.tmpl doesnt work.
I see no changes :-)

That's your user-defined home.tmpl?

Yes

Can you send a screenshot of how it isn't working, or what you expect to see that you don't?

I think this might be related to perhaps a missing custom env variable

The Template have only the Content
{{template "base/head" .}} Test {{template "base/footer" .}}
But the home Site have the normal Content :-/

Solved ..
@techknowlogick  you're right ..
I have forgotten to set GITEA_CUSTOM Env var.
Thanks a lot for the hint :+1:


How to fix chinese character garbled ?

Hi,
Is there any appropriate way to fix it ?
OS: win8.1
Nodejs: v10.10.0
const readline = require("readline-sync");

readline.question("我是中文乱码, utf-8", {
    encoding: "utf-8"
});

Hi @hong-boy, thank you for the comment.
You don't have to specify the encoding option because the default value is 'utf8' (Not 'utf-8').
And you have to save the script file with "UTF-8" encoding.

@anseki I removed "encoding" option, but the issue is still there :(

You have to save the script file with "UTF-8" encoding.
I tried your code:
node ./test.js
我是中文乱码, utf-8

First thank you so much, and second sorry for the duplicated issue. #48 inspired me.

:smile:


Expand the syntax for Module-Qualified commands to allow you to specify a specific version as well

When writing scripts that have potentially clashing Cmdlet/function/alias names it is recommended to use the Full Module-Qualified name like below
Microsoft.PowerShell.Core\ForEach-Object

Whilst this is an extremely useful feature, this has an issue with it only working with either the currently loaded version or the latest version of the module specifiec and as such this is perhaps a lingering aspect of the language that was never updated when v5 came out which supported Side by Side versions
Therefore I think it would be great if the following syntax would be able to be accepted and correctly parsed
PowerShellGet:1.6.0\Find-Module

This breaks down to
<moduleName>:<moduleVersion>\<CommandName>

The potential although limited use case for this is within scripts that have dependencies on modules that have interesting & weird differences between module versions
You can already load multiple versions of a module into the same session so this would enable script/module authors another method for diagnosing accidental breaking changes in a more typical side by side manner within the same session

PowerShellGet is a bad example to use but if you had pinned versions in the PSD1 you could get round this with some not great coding like this
Import-Module PowerShellGet -RequiredVersion <IP_ADDRESS> -prefix v2
Import-Module PowerShellGet
Install-v2Module
Install-Module

The problem would be then the <IP_ADDRESS> would be calling the latest version of PackageManagement not the one required by that version.
Having this built in with a simpler syntax like <moduleName>:<moduleVersion>\<CommandName> would help in defensive coding strategies where you really want to be explicit of what you are running but would allow for side by side module version use especially thinking Major Version module changes.

As Fred on the PS Community call mentioned (I think @FriedrichWeinmann ) pointed out you could even drop into the module and call it like so
$oldPSGet= Get-Module PowerShellGet | Where Version -Match <IP_ADDRESS>
& $oldPSGet { Find-Module Ise_cew }

though this isn't well known and would only really work for defensive coding if Nested Modules were used instead of global session modules

The key benefit for this is that for mission critical use cases you can then properly plan a move up from a version of a module that you are reliant on, whilst also potentially being able to call a newer or older version of a specific function within that module.
It's a edge case for sure, but one that I feel is needed for ensuring orgs don't always get hammered by a huge change that they weren't quite ready for.

The Interactive WG reviewed this and feels that this needs to be decided by the Language WG.


[Snyk] Upgrade puppeteer from 13.4.1 to 13.5.2

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade puppeteer from 13.4.1 to 13.5.2.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 3 versions ahead of your current version.
The recommended version was released 22 days ago, on 2022-03-31.

Release notes

Package name: puppeteer

13.5.2 - 2022-03-31Bug Fixes

chromium downloading hung at 99% (#8169) (8f13470)
get extra headers from Fetch.requestPaused event (#8162) (37ede68)

13.5.1 - 2022-03-09Bug Fixes

waitForNavigation in OOPIFs (#8117) (34775e5)

13.5.0 - 2022-03-07Features

chromium: roll to Chromium 100.0.4889.0 (r970485) (#8108) (d12f427)

Bug Fixes

Inherit browser-level proxy settings from incognito context (#7770) (3feca32)
page: page.createIsolatedWorld error catching has been added (#7848) (309e8b8)
tests: ensure all tests honour BINARY envvar (#8092) (3b8b9ad)

13.4.1 - 2022-03-01Bug Fixes

regression in --user-data-dir handling (#8060) (85decdc)

    from puppeteer GitHub release notes

Commit messages

Package name: puppeteer

0d9699b chore(release): mark v13.5.2 (#8175)
8f13470 fix: chromium downloading hung at 99% (#8169)
40f1fa7 chore(deps-dev): bump @ typescript-eslint/eslint-plugin (#8170)
90ba1f6 chore(deps-dev): bump @ typescript-eslint/parser from 5.16.0 to 5.17.0 (#8171)
d7e3149 chore(deps-dev): bump eslint from 8.11.0 to 8.12.0 (#8168)
37ede68 fix: get extra headers from Fetch.requestPaused event (#8162)
e31b8e6 docs: fix small typo (#8167)
90ebd0a chore(deps-dev): bump typescript from 4.5.5 to 4.6.3 (#8164)
ed80747 chore(deps-dev): bump prettier from 2.6.0 to 2.6.1 (#8165)
33dffd5 chore(deps-dev): bump @ types/node from 17.0.22 to 17.0.23 (#8161)
7659bf9 chore(deps-dev): bump @ typescript-eslint/eslint-plugin (#8156)
b396103 chore(deps-dev): bump @ types/node from 17.0.19 to 17.0.22 (#8153)
a30b370 chore(deps-dev): bump @ typescript-eslint/parser from 5.15.0 to 5.16.0 (#8155)
bd97929 chore(deps-dev): bump @ microsoft/api-documenter from 7.15.4 to 7.16.0 (#8151)
fe7045f chore(deps-dev): bump minimist from 1.2.5 to 1.2.6 (#8154)
7748730 chore: revert #7868 to use the size parameter for streaming PDF (#8145)
8d4067e chore(deps-dev): bump eslint-plugin-unicorn from 41.0.0 to 41.0.1 (#8143)
b81b378 chore(deps): bump debug from 4.3.3 to 4.3.4 (#8144)
f2693f9 chore(deps-dev): bump @ commitlint/cli from 16.2.1 to 16.2.3 (#8137)
be26c4f chore(deps-dev): bump prettier from 2.5.1 to 2.6.0 (#8141)
c3dc46a chore(deps-dev): bump @ microsoft/api-extractor from 7.19.4 to 7.19.5 (#8138)
4fd0d9f chore(deps): bump github/codeql-action from 1.1.4 to 1.1.5 (#8139)
b120743 chore(deps-dev): bump @ microsoft/api-documenter from 7.15.3 to 7.15.4 (#8136)
89b27a0 chore(deps-dev): bump @ typescript-eslint/eslint-plugin (#8132)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report

Merging #948 (345d8e3) into develop (b9f7f96) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 345d8e3 differs from pull request most recent head 4f6b6f6. Consider uploading reports for the commit 4f6b6f6 to get more accurate results

@@           Coverage Diff            @@
##           develop     #948   +/-   ##
========================================
  Coverage    80.16%   80.16%
========================================
  Files           36       36
  Lines         1104     1104
  Branches       234      234
========================================
  Hits           885      885
  Misses         219      219

Continue to review full report at Codecov.

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


azblob: StorageError might be empty for the current implement UnmarshalXML in the azurite environment.

Bug Report

import path of package in question: import github.com/Azure/azure-sdk-for-go/sdk/storage/azblob
SDK version master
output of go version

go version
go version go1.16.7 darwin/amd64

What happened?
This is my code, and the azurite is running.

import (
	"context"
	"fmt"

	"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob"
)
func main() {
	connStr := "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://<IP_ADDRESS>:10000/devstoreaccount1;"
	service, err := azblob.NewServiceClientFromConnectionString(connStr, nil)
	if err != nil {
		fmt.Printf("err1 %s", err.Error())
		return
	}
	ctx := context.Background()
	client := service.NewContainerClient("test254").NewBlockBlobClient("tt2")
	_, err = client.Download(ctx, nil)
	if err != nil {
		fmt.Printf("err %s\n", err.Error())
		return
	}
	return
}

In fact, container test254 is not exsit in the Azurite. So we will see the error print in the terminal.
But terminal show this,
err ===== RESPONSE ERROR (ErrorCode=
  ) =====
Description=
, Details:
   :

What did you expect or want to happen?
Instead, it should show this,

err ===== RESPONSE ERROR (ErrorCode=ContainerNotFound) =====
Description=The specified container does not exist.
RequestId:e10eeea8-73cf-4ec9-b717-ea1f4ee47a8b
Time:2021-12-09T05:49:23.887Z, Details:
   :

I insert fmt.Printf to print the info into these positions:
https://github.com/Azure/azure-sdk-for-go/blob/d528b569daeb604ec41d593f7933ab2b22946f00/sdk/azcore/runtime/response.go#L73-L92
print the payload:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Error>
  ContainerNotFound
  <Message>The specified container does not exist.
RequestId:e10eeea8-73cf-4ec9-b717-ea1f4ee47a8b
Time:2021-12-09T05:49:23.887Z</Message>
</Error>

https://github.com/Azure/azure-sdk-for-go/blob/7551544efaaf8ec07574debd9178ae9723288510/sdk/storage/azblob/zc_storage_error.go#L187-L210
insert after L195 to print token name fmt.Printf("token name is %s\n", tokName)
insert after L199 to print description fmt.Printf("description is %s\n", e.description)
insert after L204 to print detail fmt.Printf("detail[%s]=%s\n", tokName, string(tt))
detail[]=

token name is Code
detail[Code]=ContainerNotFound
detail[Code]=

token name is Message
description is The specified container does not exist.
RequestId:e8be3a84-f877-4b62-a7aa-7aaa8d44ccb4
Time:2021-12-09T06:19:16.483Z
description is

I found each value are overwrite with empty value.
after insert case xml.EndElement: to reset tokenName, everything seems ok.
// UnmarshalXML performs custom unmarshalling of XML-formatted Azure storage request errors.
//nolint
func (e *StorageError) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
	tokName := ""
	var t xml.Token
	for t, err = d.Token(); err == nil; t, err = d.Token() {
		switch tt := t.(type) {
		case xml.StartElement:
			tokName = tt.Name.Local
		case xml.CharData:
			switch tokName {
			case "Message":
				e.description = string(tt)
			default:
				if e.details == nil {
					e.details = map[string]string{}
				}
				e.details[tokName] = string(tt)
			}
		case xml.EndElement:
			tokName = ""
		}
	}

	return nil
}

How can we reproduce it?
run the Azurite, and run my code above.
Anything we should know about your environment.

Hey @Leavrth ,
Thanks for reporting the issue. @johnstairs has fixed the issue and I've merged it in dev-azblob branch.
Can you please try go get github.com/Azure/azure-sdk-for-go/sdk/storage/azblob@dev-azblob.
Please reach out if the issue persists.

Once we do the next release of azblob, we'll include this change and close this issue.

Fixed in sdk/storage/azblob/v0.3.0


Problem with side-pane "Objects in view"

Two parts you can split them if you want.

They are not in alphabetical order.  They really should be.
There is no way to search that list.  If it has a couple of thousand stars in it, it's useless without a search.  Would it be possible to put a search box in that tab above the list?  If not, ok, because just dragging up and down a sorted list would work.  A disordered list, not so much.

I sorted the list so that each plot has the star names in natural order.
I'll add a separate item for putting a search dialog with autocomplete


Update to Senzing 3.7.0

Pull requests:

https://github.com/Senzing/senzingapi-tools/pull/50
https://github.com/Senzing/senzingapi-tools/pull/51
https://github.com/Senzing/senzingapi-tools/pull/52


Build failing on netlify master

https://app.netlify.com/sites/headlesscms/deploys/5f314086652dffc507f04716
6:12:16 PM: Local archive not found, fetching new data.
6:12:16 PM: [before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4
6:12:21 PM:   Error: {"message":"Not Found","documentation_url":"https://docs.github.com/res  t"}
6:12:21 PM:
6:12:21 PM:   - request.js:73 IncomingMessage.response.on
6:12:21 PM:     [repo]/[@octokit]/rest/lib/request/request.js:73:18
6:12:21 PM:
6:12:21 PM:   - events.js:185 IncomingMessage.emit
6:12:21 PM:     events.js:185:15
6:12:21 PM:
6:12:21 PM:   - _stream_readable.js:1106 endReadableNT
6:12:21 PM:     _stream_readable.js:1106:12
6:12:21 PM:
6:12:21 PM:   - next_tick.js:178 process._tickCallback
6:12:21 PM:     internal/process/next_tick.js:178:19
6:12:21 PM:
6:12:21 PM:
6:12:21 PM: npm ERR! code ELIFECYCLE
6:12:21 PM: npm ERR! errno 1
6:12:21 PM: npm ERR<EMAIL_ADDRESS>build: `react-static build`
6:12:21 PM: npm ERR! Exit status 1
6:12:21 PM: npm ERR!
6:12:21 PM: npm ERR! Failed at the<EMAIL_ADDRESS>build script.
6:12:21 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
6:12:21 PM: npm ERR! A complete log of this run can be found in:
6:12:21 PM: npm ERR!     /opt/buildhome/.npm/_logs/2020-08-10T12_42_21_218Z-debug.log
6:12:21 PM:
6:12:21 PM: ┌─────────────────────────────┐
6:12:21 PM: │   "build.command" failed    │
6:12:21 PM: └─────────────────────────────┘
6:12:21 PM:
6:12:21 PM:   Error message
6:12:21 PM:   Command failed with exit code 1: npm run build
6:12:21 PM: ```

@zachleat

Seems to be due to crystallize having a bad repo URL and there not being any checking/error handling.
The quick solution is to just remove it from the markdown. Hope that helps!

Huge thanks @rmcfadzean, looks like everything is back to normal now. 👏

No worries @huguestennier! Glad the deploy is green again. I was wondering why the site didn't seem like it had changed in awhile 😂


Capr Issue #99: Potential improvements to Capr

This PR is linked to Issue #99.
Suggested functions:
isStandard.R: Given a path to CSV files with at least fields "sourceCode" and "conceptId", along with a database connection with a CDM and vocabulary schema, return a tibble of non-standard concepts. Allows for export of results for all concepts included (including standard). This function can help in quickly identifying non-standard concepts from tables of concept ids.
isStandardDB.R: Checks whether concepts that exist in a database are standard/non-standard and returns the non-standard concepts. The full table of standard and non-standard concepts can be saved as well. This is probably the most useful out of the 3 isStandard functions.
isStandardCS.R: Similar return as isStandard.R and isStandardDB, but performs the check given a Capr ConceptSet class object rather than CSV files. Does not capture source value (as these are not relevant for concept sets).
countOccurrences.R: Given a vector of concept IDs and a connection to a CDM instance, count the number of occurrences of: 1) persons with concept 'x'; 2) records with concept 'x'; 3) persons with concept 'x' or descendants of 'x'; 4) records with concept 'x' or descendants of 'x'
To demonstrate and further clarify this function I have attached a PDF with example usage. Is this already possible within Capr?
@mdlavallee92 I have incorporated your feedback provided in issue #99; please let me know if this is to your expectations.

thanks @guuswilmink can you please recreate this PR targeting the develop branch instead of the main branch


fabric8 4.x seems broken - cannot login on minishift

the browser just responds with
{"error":"invalid_request","error_description":"The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.","state":"krFHHg9i44mvfSWAMPkHP1rTian7p3saidkDPnSlsiw.fabric8-online-platform"}

this seems a recent change - wonder if something in fabric8-auth has broken it? Some KeyCloak change required?

Any details? What endpoint returns this error? Is it 100% reproducible?

I was seeing issues with user 'developer' not approved - to fix that I had to add the attribute mapper.

All users should be approved automatically as we do this at the identity provider https://github.com/fabric8-apps/keycloak-app/blob/master/keycloak/src/main/fabric8/cm.yml#L165
@sbose78 are you saying you were able to log in on minishift after you approved the developer user?

Agreed @rawlingsj  - all users are auto auto-approved. So was mine when I checked in Keycloak.
However, the token claims ( in the token issued by keycloak ) didn't have the approved attribute which was making the auth code feel that user is not approved. So in the above screen, I 'told keycloak' to pass the approved attribute in the token claims too . After that things worked again. I noticed that this 'mapper' which I've shown in the above screenshot is already there in the prod keycloak. ( @alexeykazakov , was it added by you recently ? )
Btw, the original issue in this thread was different - I checked with the reporter Suraj Narwade. He told me that this error
{"error":"invalid_request","error_description":"The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.","state":"krFHHg9i44mvfSWAMPkHP1rTian7p3saidkDPnSlsiw.fabric8-online-platform"}
had occured when he clicked on openshift-v3 in the keyclock login page. That looked like an oauth client setup issue in his minishift. I've asked him to start afresh and see if it could be reproduced.
I tried reproducing - but login with openshift-v3 worked like charm for me.

@jstrachan @sbose78 , I did,
oc edit oauthclient fabric8-online-platform

then I replaced  redirectURIs to this one, http://keycloak-fabric<IP_ADDRESS>.112.nip.io/auth/realms/fabric8/broker/openshift-v3/endpoint
and it worked :)
According to https://github.com/fabric8io/fabric8-platform/blob/master/install.sh#L56
redirectURIs is not adding URL part

So I just tried it again using the main install instructions with gofabric8 (which used to work fine):
gofabric8 deploy --namespace fabric8 --package=system -y

the installer mentioned to make sure the github OAuth redirect URI was setup as:
Authorization callback URL: http://keycloak-fabric<IP_ADDRESS>.2.nip.io/auth/realms/fabric8/broker/github/endpoint

which I did.
It generated an OAuthClient of:
NAME                           SECRET                                 WWW-CHALLENGE   REDIRECT URIS
fabric8-online-platform        fabric8                                FALSE           /auth/realms/fabric8/broker/openshift-v3/endpoint

I get the login button, click on the OpenShift Login button then get:
{
error: "invalid_request",
error_description: "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.",
state: "mAVeyYhev_xAwwUQXTOEnHH7wg6wg2LnHfMXp9Fpy8M.fabric8-online-platform"
}

with the browser at URL: https://<IP_ADDRESS>:8443/oauth/authorize?scope=user%3Afull&state=mAVeyYhev_xAwwUQXTOEnHH7wg6wg2LnHfMXp9Fpy8M.fabric8-online-platform&response_type=code&client_id=fabric8-online-platform&redirect_uri=http%3A%2F%2Fkeycloak-fabric<IP_ADDRESS>.2.nip.io%2Fauth%2Frealms%2Ffabric8%2Fbroker%2Fopenshift-v3%2Fendpoint
any ideas? I"m not using the install.sh script used above but using these instructions: https://github.com/fabric8io/fabric8-platform/blob/master/INSTALL.md

I see your redirect uri for the openshift-v3 oauth client is :
 /auth/realms/fabric8/broker/openshift-v3/endpoint
Not thorough with the gofabric8 code , but it seems to me the that oauth client config is missing the full redirect uri -
Is this info being used to update the redirect uri https://github.com/fabric8io/gofabric8/blob/master/cmds/deploy.go#L352 ?

aha - so it was a regression in gofabric8 https://github.com/fabric8io/gofabric8/pull/599 its working fine for me now!


user creation throws error

It is not possible to create a user, seems it throws error

Hi @ebimohi Thank you for bringing this to my attention. I am woking on a fix and update for this right now. I apologize for the inconvenience but usernames must be a minimum of 6 characters

@Yi-Jacob thanks for the username's minimum chars. but still I see the issue if i give a proper username, please see the following screenshot.


Fix sedml plots

Closes #2659

:tada: This PR is included in version 2.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix rubocop LineLength # see https://rubocop.readthedocs.io/en/latest…

…/cops_layout/#layoutlinelength
Pull Request (PR) description
Fix rubocop LineLength # see https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutlinelength

https://github.com/voxpupuli/puppet-extlib/pull/158#issuecomment-609007409


Modify image GET APIs and getImageArtifacts API to fetch descriptions

Purpose

Modify image GET APIs  (getImages, getOrgImages, getUserImages) and getImageArtifacts API to fetch descriptions
Fix incorrect total artifact count return issue in getImageArtifacts API

Goals

Allow users to fetch descriptions of images and artifacts

Test environment

Ballerina 0.991, MySQL 5.7.25

Codecov Report

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

@@           Coverage Diff           @@
##           master     #115   +/-   ##
=======================================
  Coverage   14.27%   14.27%
=======================================
  Files          61       61
  Lines        2207     2207
  Branches      386      386
=======================================
  Hits          315      315
  Misses       1719     1719
  Partials      173      173

Continue to review full report at Codecov.

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


Do not pull nwjs binary every time.

I'm using nwjs at work to make a small tool for doing stuff with routers. I would need to disconnect my computer every time I want to test, but this tool wants connection whenever I would start the application.
Can you add a flag to make it not pull the newest binary every time? Like a --no-fetch flag?
chtseac $ npm start

><EMAIL_ADDRESS>start /home/chtseac/Projects/projectname
> run --x64 --mirror https://dl.nwjs.io/ .

Fetching NW.js binary... { platform: 'linux',
  arch: 'x64',
  version: '0.24.3',
  flavor: 'sdk' }
{ [Error: getaddrinfo EAI_AGAIN dl.nwjs.io:443]
  code: 'EAI_AGAIN',
  errno: 'EAI_AGAIN',
  syscall: 'getaddrinfo',
  hostname: 'dl.nwjs.io',
  host: 'dl.nwjs.io',
  port: 443 }

...

npm ERR<EMAIL_ADDRESS>start: `run --x64 --mirror https://dl.nwjs.io/ .`
npm ERR! Exit status 255

Could you try the latest nwjs-builder-phoenix 1.14.4 and see if it works? I can only get ENOTFOUND on macOS which is already tolerated.

Sorry, I should have updated before opening an issue! I was on 1.14.3 before.
Fetching NW.js binary... { platform: 'linux',
  arch: 'x64',
  version: '0.24.3',
  flavor: 'sdk' }
DNS lookup timeout, use local caches at this time.
Launching NW.js app...
NW.js app exited with 0.


DHCP6 static leases: LuCI “Save and Apply” does not reload odhcpd when DUID fields are changed

OpenWrt 18.06, Netgear WNDR3800.
Changing the DUID field in static leases section and clicking Save and Apply did not result in the client getting the specified v6 suffix. Restarting odhcpd with service odhcpd restart helps.
It seems like this only applies to the DUID field: I was able to bind a suffix to a printer that uses a MAC-based DUID-LL without specifying the DUID. This time I was configuring a Windows machine which requires specifying the Windows-generated DUID-LLT. I am guessing LuCI does not trigger odhcpd configuration reload on DUID field change.

This is a bug in the OpenWrt odhcpd service, nothing we can fix on the LuCI side.


Added Kung Fury

Hi there. Please:

[ ] Resolve the conflicts with master.

Thank you for your contribution!
@colinking

Done 🎉


Update package.json

Use latest version of glob to avoid node security issues.

Is there a link to this security issue? I can't find anything.

I noticed it due to a warning when I was trying out yarn for the first time. My findings
npm install<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

<EMAIL_ADDRESS>has minimatch@2||3. https://github.com/isaacs/node-glob/blob/v5.0.15/package.json#L22
npm install<EMAIL_ADDRESS>actually gets<EMAIL_ADDRESS>I think this was a bug with yarn not handling the 2||3 syntax for versions. It was grabbing<EMAIL_ADDRESS>when installing<EMAIL_ADDRESS>It seems to be fixed by updating yarn to the latest.
This isn't a problem. This PR can be closed.

Thanks for the research. I will update these deps in any case for the next release.


Issue with Xamarin android when using SSL decrypted

I had install CA Bundle certificate and trust it . but it only working fine with "non SSL Decrypted" . when i try enable "decrypted", it will be error response
someone help me, please
Proxy running ON: Android machine ,Visual Studio 2019 and Xamarin latest

Logs:
Listening on 'ExplicitProxyEndPoint' endpoint at Ip <IP_ADDRESS> and port: 8000
Listening on 'TransparentProxyEndPoint' endpoint at Ip <IP_ADDRESS> and port: 8001
Generic exception in ATC: Failed to make system trust root certificate  for My\LocalMachine store location. You may need admin rights.
Generic exception in ATC: Failed to make system trust root certificate  for Root\LocalMachine store location. You may need admin rights.
Thread started:  #8
Thread started:  #9
Thread started:  #10
Thread started:  #11
Thread started:  #12
Thread started:  #13
Thread started:  #14
[RenderThread] type=1400 audit(0.0:6521): avc: denied { search } for name="21377_44" dev="debugfs" ino=141150 scontext=u:r:untrusted_app:s0:c166,c256,c512,c768 tcontext=u:object_r:debugfs_mali:s0 tclass=dir permissive=1 app=com.companyname.app4
[mali_winsys] EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000,  [1440x2560]-format:1
[Gralloc3] mapper 3.x is not supported
[RenderThread] type=1400 audit(0.0:6522): avc: denied { search } for name="clients" dev="debugfs" ino=4239 scontext=u:r:untrusted_app:s0:c166,c256,c512,c768 tcontext=u:object_r:debugfs_ion:s0 tclass=dir permissive=1 app=com.companyname.app4
[libEGL] EGLNativeWindowType 0x7207f5e3d0 disconnect failed
[ompanyname.app] Explicit concurrent copying GC freed 267(41KB) AllocSpace objects, 0(0B) LOS objects, 78% free, 2239KB/10MB, paused 92us total 27.800ms
Error occured whilst handling session request: https://github.com/mono/mono/issues/12880
The thread 0x9 has exited with code 0 (0x0).
Thread finished:  #9
Thread finished:  #2
Thread started:  #15
The thread 0x2 has exited with code 0 (0x0).

i had set: proxyServer.CertificateManager.CertificateEngine = CertificateEngine.BouncyCastle;
but it still doesn't work

For Android 7 and above, you need to install the certificate to the system directory

For Android 7 and above, you need to install the certificate to the system directory

I had install certificate to system directory and reboot but it not working

Android 7及以上，需要将证书安装到系统目录

我已将证书安装到系统目录并重新启动，但它不起作用
用管理员权限启动看看


Load old/renamed properties from JSON

The rating question has a misspelled property. Before renaming it, we have to add a functionality, to load JSON with misspelled property correctly into corrected property.
Otherwise, some surveys after upgrading will stop working.

alternativeName property is added in JSON declaration.
{name: "minRateDescription", alternativeName: "mininumRateDescription"}

Implemeted-


Matching the GetNpcInfo packet with the source client's MsgRecv_NPCIn packet

This is a quick fix and good for someone new to the project. First find the "CNpc::GetNpcInfo" function in the Npc.cpp file of the GamerServer project. This function creates a packet containing all the Npc information to send to the client. This is the correct packet structure. Make a note of the structure of this packet and then open up GameProcMain.cpp in the WarFare project. Find the "CGameProcMain::MsgRecv_NPCIn" function and rewrite some of this code so that the client is getting exactly what the server is sending.
If you have any questions please post them here!

This issue was moved to ApexKO/OpenKO#26


Add engine presubmit hook on github

We should have an engine presubmit hook similar to what we've got for the framework driven by whether the Linux, Mac, Windows engine build bots are all green.
@Hixie @yjbanov do you have a pointer to what was required to get something like this (and the rope) set up for the framework?

We don't currently rebuild the engine with the patchsets in pull requests on GitHub. Or did you just mean being able to gate commits on a red tree?

Yep I just mean knowing that Engine (Linux, Mac, Windows) bots are green at the last known build.

This should be relatively straight-forward. We'd probably have a job that combines something like this with something like this.
I can take this, if there are no volunteers, but will likely get to it next week.

That would be fantastic.

Just curious, when do you expect to get to this?
No real rush, just asking for https://bugs.chromium.org/p/skia/issues/detail?id=7730 because it is one of the blockers for automated rolls.

Starting this now.

Question since this issue is closed: How do we invoke this? is it automatically triggered? (sorry if this is an obvious question).

Sorry, I forgot that the change was made in a private repo, so this bug was closed without providing any details. The system is automatic. It will forward the latest build status from the engine build bots to all open pull requests. If the build is known to be broken the pull requests will show "Some checks were not successful" and will produce a warning when you attempt to merge.


Add Modal in dashboard

Modal added on edit button inside the dashboard >>list of events

Add fields for other details also

Event Type
Team Size
Capacity
IsPaid
Amount
Resources Link
Short Description

Okay 👍 working on it

Done 👍👍


Alignment points don't cross boundaries of surrounding elements

Description
Consider the following piece of Typst code:
$
  1 & 2 3 \
  (1 & 2)
$

As expected, the alignment points are aligned properly:

Now, let's add an attachment to the second line:
$
  1 & 2 3 \
  (1 & 2)_1
$

This messes up the alignment, because alignment points don't cross the boundaries of the attach element:

I would expect alignment points to cross the boundaries of surrounding elements, when it makes sense (i.e., for any element that does not create multiple lines, such as attach, overline, accent, etc.).
Tested on 0.11.0 and 0.11.1.
Reproduction URL
No response
Operating system
No response
Typst version

[X] I am using the latest version of Typst

Duplicate of https://github.com/typst/typst/issues/3034

Well, that was fast!


Get Function showing wrong values after first calls and then the right one

Hi, I've observed, that the call of the function get_value sometimes delivers strings values and after a couple of calls the expected value (here: 0.75) is delivered.
Refer to my example:

@do-gooder, can you confirm this behaviour?

@heikone, do you have an app or, for example, the Home Assistant integration running?
Perhaps the RCT portal could also be causing the problem.
For me, the problem usually occurs when other requests are running at the same time.

Good point. App might be getting values and Homeassistant custom integration rct-power-integration is running.
Thanks, Heiko

Confirmed. When app and integration deactivated, the values are directly as expected.


Add page and screen + fix tests

Hey @sperand-io - can you take a look at this when you get a chance?
To recap, these are the changes included in this PR:

Resolved the failing write_key validation tests due to changes in Calq's API response from 400 to 200 with status:rejected message
Incorporated Calq's addition of the page and screen call including tests

Just some feedback from our end. The changing of Calq's API response to 200 on failed write keys is a bug. It was changed away from 400, but it's meant to be 403 not the 200 you picked up. The rest of the payload (i.e. status: rejected) is still correct as per your tests.

Thanks for the update @RRAway. I changed the handling back to a 403 in the latest commit.
Francisco

@RRAway just to echo @francisco... thanks so much for jumping in there and letting us know!!

Is this going to get merged in? It's been nearly 8 months since the original pull request. That seems a little excessive guys?


Code hang in using session

when I use username and password for logging in, starting the server works absolutely fine
aternos = Client()
aternos.login(username = os.environ["username"]), password = os.environ["password"])
aternos_account = aternos.account
server = aternos_account.list_servers()[0]
server.start()

But when I use session for logging in, it gets stuck on server.start()
aternos = Client()
aternos.login_with_session(session=os.environ["session"])
aternos_account = aternos.account
server = aternos_account.list_servers()[0]
server.start()

it doesn't only affect start but also stop, and restart

Try to add these lines after login_with_session:
aternos.parse_token()
aternos.generate_sec()

That was fixed in the last commit, but not released.

I get this now
AttributeError: 'Client' object has no attribute 'parse_token'

@Supslike, I'm sorry, I meant this code:
aternos.atconn.parse_token()
aternos.atconn.generate_sec()


add zero-conf to compound words list

Check this PR -- I'm unsure if "zero-conf" is the convention we actually want. LMK if not and I can update this PR. The command
$ grep -i zero.*conf _posts/en/*/*md

shows several forms, zero-conf, zeroconf, and zero conf, so we haven't been very consistent.

ACK on "zero-conf".  I'm also fine with the other spellings except 0conf.

ACK on preferring "zero-conf"


Jitter regression after 0.8 update

Something seems to have changed in bevy_rapier3d to cause jitter in the FPS example when running into walls again. Will have to investigate.
Also there seems to be an additional debug render mesh that wasn't there before? A bit obnoxious.

should be fixed with https://github.com/dimforge/bevy_rapier/pull/248 but need to wait for a new release of bevy_rapier


Datepicker, type does not exist

I'm trying to use Datepicker, but it returns me that there is no such type.
{
            label: 'informaçoes basicas',
            disabled: false,
            fields: [
                {
                    key: 'nat_datafim',
                    type: 'datepicker',
                    className: 'flex-1',
                    templateOptions: {
                        label: 'Data Fim da vigência',
                        translate: true,
                        required: true,
                        appearance: 'outline'
                    }
                }
           ]
}

Version Formly:
"@ngx-formly/core": "5.5.11",
"@ngx-formly/material": "5.5.11",

You may check datepicker demo example https://formly.dev/ui/material which is working and copy the necessary code to make it work in your app.


ngrx store can't save the $event.file

I'm using NGRX store 4 with my Angular 5 project,
and when I'm sending the $event.file to the reducer it appears empty.
(i'm using the onUploadFinished method)
also, if I send the whole $event I will see in the store the .src but the .file will be an empty object.
any idea what could be the problem?

Yes, I'm also experiencing this issue. I can only get a base64 encoded string in src and file{} is empty

I figured out that if you use "event" instead of "$event" in your js/ts code that works.
in the HMTL use onUploadFinished($event) and in your JS use onUploadFinished(event)
and then to get the file use event.file.

Thanks for the reply, I'm definetely checkin it out tonight

@Danieliverant I tried your solution but I'm still getting an empty object, I can get the image name though when I write: event.file.name but event.file shows {} an empty object. Weird

@reenezden  try to create new object before you save to the store.
  onUploadFinished(event: FileHolder) {     const file = {       uniqID: this.uniqID,       name: event.file.name,       size: event.file.size,       type: event.file.type,       src: event.src     };     this.store.dispatch(new fromStore.SaveImage(file));

Thanks alot @Danieliverant. I'm back from my trip. Going to try this out

@reenezden
better solution:
add [url]="" in your HTML  and than you can use event.file

Thanks alot @Danieliverant. The worked well 100%


Customize window icon

Currently, if a developer wants a custom application icon he can put .icns file into the app bundle on MacOS, or use custom resource file on Windows.
This still uses the default application icon on Windows in the window bar, and it uses the default icon on Linux.
It may be possible to add a special icon parameter to the webview structure that would be pixmap data and it would be used as a window icon in Gtk and WINAPI. I don't consider loading icons from files, because I assume most of the webview apps would embed all the resources into a standalone executable, and I don't want to force developers distribute more than one executable file for their apps.
On linux the following API can be used: https://developer.gnome.org/gtk3/stable/GtkWindow.html#gtk-window-set-icon
On windows it's likely to be something like, except that icon should be read from memory buffer:
HANDLE icon = LoadImage(fgDisplay.Instance, "c:\\icon.ico", IMAGE_ICON, 32, 32, LR_LOADFROMFILE);
SendMessage(instance, (UINT)WM_SETICON, ICON_BIG, (LPARAM)icon);

Set the custom window icon and write an example, because I didn't find the answer on the issue.

Test successed by:
view_windows.go
` go
// +build windows
package cli
/*
#include <windows.h>
void set_window_icon(const void *ptr) {
HWND hwnd = ((const HWND *)ptr)[5]; // x64 offset
SendMessageW(hwnd, WM_SETICON, ICON_BIG, (LPARAM) LoadIconW(GetModuleHandleW(NULL), MAKEINTRESOURCEW(3))); // resource id = 3
SendMessageW(hwnd, WM_SETICON, ICON_SMALL, (LPARAM) LoadIconW(GetModuleHandleW(NULL), MAKEINTRESOURCEW(3)));
}
*/
import "C"
import (
"reflect"
"unsafe"
"github.com/zserge/webview"

)
func setWindowIcon(w webview.WebView) {
ptr := reflect.ValueOf(w).Elem().FieldByName("w").Pointer()
C.set_window_icon(unsafe.Pointer(ptr))
}
`

Does anyone know how to can set this icon WITHOUT using a resource?

By the way, it seems that Webview2 is planning to add API for favicon, I thought it could be a great idea if favicon in HTML can be the window icon.

Since the last discussion post about this issue dates back a year, I'm curious if there are any plans to implement a C++ function like setIcon() in the near future. Right now, my application only displays an icon in the taskbar due to VS's IDI_ICON1 resource option and a default blue application icon in the top far left of the window bar. Adding an option to set the window's icon would greatly improve the user experience.