undefined is not a function (evaluating '_reactNativeMeteor2.default.collection("messages").find().fetch()')

In my Meteor app I have a collection definition like this:
this.collections.Messages = new Mongo.Collection("messages");

Now I try to connect to it from a react native meteor like this:
import React, { Component } from 'react';
import Meteor, { createContainer } from 'react-native-meteor';
import MessageListComponent from '../routes/messageList';

export default MessageListContainer = createContainer(() => {
    const messagesHandle = Meteor.subscribe('userMessage');
    const loading = !messagesHandle.ready();
    const messages = Meteor.collection("messages").find().fetch();
    return {
        loading,
        messages
    };
}, MessageListComponent);

But it's return below red error message on device:
undefined is not a function (evaluating '_reactNativeMeteor2.default.collection("messages").find().fetch()')

What is the problem guys?
/CC: @Mokto
/CC: @noris666

@Mokto I don't know why but when I convert my code from Meteor.collection("messages").find().fetch(); to Meteor.collection("messages").find(); (remove .fetch()) it's working well.
Is it a bug? or it's just a undocumented limitation of react-native-meteor package?

@cyclops24 hmmmm i think fetch available when subscribition ready, because fetch function implemented inside Cursor class.

@noris666 I also test Meteor.collection("messages").find() with .count() and it's also return same error message. Are you sure it's implemented now?

@cyclops24 ok i will go back in next days to project with React Native and Meteor and will check that functions.

@noris666 Thanks man.

@cyclops24 How do you install the package? npm or git ?

I installed with npm.

@cyclops24 ok :-)  I think now i know how you can solve problem with need to you methods.
Look to that PR: https://github.com/inProgress-team/react-native-meteor/pull/166 and try install package from github.

@noris666 I will try github version and post back result here man.

@cyclops24 you need pass the cursoredFind option when you get your collection if you want access to use cursor-like method :
Meteor.collection("messages", { cursoredFind: true })
or you can simply use find() to get an array of documents. The option default to false for backward compatibility. Cursor methods are available to share code more easily between a react-native app and a standard Meteor app.

@simonbelanger thanks man. So I think it's need some documentation about this feature because cursoredFind not mentioned in ReadMe.txt.

@cyclops24 PRs are welcome 👍

@noris666 I send PR for it:
https://github.com/inProgress-team/react-native-meteor/pull/177

Happening to me too


Updating documentation based on techical writing suggestions.

Checklist:

[x] Did you sign the Contributor License Agreement?
[x] Is the linter reporting 0 errors?
[x] Does the CI pipeline pass?
[x] Did you update the documentation?

Codecov Report

Merging #146 (3ebc87b) into main (e256818) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #146   +/-   ##
=======================================
  Coverage   92.90%   92.90%
=======================================
  Files          79       79
  Lines        1918     1918
=======================================
  Hits         1782     1782
  Misses        136      136

Impacted Files
Coverage Δ

Sources/SwiftCurrent/Models/Workflow.swift
100.00% <ø> (ø)

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 fb0ffd1...3ebc87b. Read the comment docs.


Adds adjust and update

This is a proposal / stawman for #773
This change introduces 2 new list functions adjust and update, providing the ability to modify values at a given index of a list. adjust applies a given function to replace the value, while update is the specialised form, updating the array with a new explicit value.
R.adjust(R.add(10))(1)([0, 1, 2]);  //=> [0, 11, 2]
R.update(1)(11)([0, 1, 2]);         //=> [0, 11, 2]

Since there was clear (and understandable) resistance to folding this into assoc, I'm all for this.  It's clearly a useful feature.  :herb:

LGTM

Very nice addition imho

:cow2:

@davidchambers: any feedback?

:cow2:

Thank you very much.  This is great stuff!

You're welcome, @CrossEye. Glad I could contribute to a great project. :)

Why does haskell put the index in different argument positions for these two functions? Do we want to mimic that here?

My reasoning behind following the Data.Sequence parameter order was that when using key/value pairs such as in update, the key typically comes before the value. The reason for reversing this with adjust was to allow it to be curried with a function as the first parameter.
I appreciate that it could be a point of confusion if users are using both functions interchangeably, so I'm happy to hear what others think about this, though if it's to be changed, it needs to be changed soon before a new version is released.

The reason for reversing this with adjust was to allow it to be curried with a function as the first parameter.

Makes sense. I guess I end up more often writing things like
pipe(
    map(foo),
    map(adjust(bar, 2))
)(listOfLists);

than needing to create one off functions that will be resused ala var barAdjuster = adjust(bar); Also if that is needed and the params are switched, still very easy in ramda: var barAdjuster = adjust(__, bar); In any event, struck me as odd, thanks for the reply :)


I have to restart ddev and kill docker-icontainer manually, to make ddev work again.

Preliminary checklist

[X] I am using the latest stable version of DDEV (see upgrade guide)
[X] I have searched existing issues
[X] I have checked the troubleshooting guide
[X] I have run ddev debug test to include output below

Output of ddev debug test
Expand `ddev debug test` diagnostic information
PS C:\php7\dueddelei> ddev debug test
Running C:\Program Files\Git\bin\bash.exe [-c /c/Users/DIETER~1/AppData/Local/Temp/test_ddev.sh C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt]
Resulting output will be written to:
C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt
file://C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt
Please provide the file for support in Discord or the issue queue.
OK to stop running projects? This does no harm, and they will be restarted [Y/n] (yes): Y
Doing ddev poweroff but will restart projects at completion
 Container ddev-dueddelei-db  Stopped
 Container ddev-dueddelei-web  Stopped
 Container ddev-dueddelei-db  Stopped
 Container ddev-dueddelei-web  Stopped
 Container ddev-dueddelei-db  Removed
 Container ddev-dueddelei-web  Removed
 Network ddev-dueddelei_default  Removed
Project dueddelei has been stopped.
Stopped Mutagen daemon
The ddev-ssh-agent container has been removed. When you start it again you will have to use 'ddev auth ssh' to provide key authentication again.
Network ddev_default removed

======== Please make sure that you have already looked at troubleshooting guide ========
Troubleshooting guide: https://ddev.readthedocs.io/en/stable/users/usage/troubleshooting/
Simple things to check:
* ddev poweroff
* Restart Docker Provider
* Reboot computer
* Temporarily disable VPN and firewall
Press any key to continue:

======== Output file will be in C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt ========

======== Existing project config ========
ddev installation alternate locations:
/c/Program Files/DDEV/ddev

WARNING: Project should most often be in a subdirectory of the user's home directory.
Instead it's in /c/php7/dueddelei

These config files were loaded for project dueddelei: [C:\php7\dueddelei\.ddev\config.yaml]
name: dueddelei
type: typo3
docroot: web/
php_version: 8.2
webserver_type: nginx-fpm
webimage: ddev/ddev-webserver:v1.23.1
router_http_port: 80
router_https_port: 443
xdebug_enabled: true
additional_hostnames: []
additional_fqdns: [buergerstimmen.ddev.site tri-plan.ddev.site padina.ddev.site reaction.ddev.site mobger.ddev.site ich-schau-weg.ddev.site]
mariadb_version: 10.2
database: {mariadb 10.2}
hooks: map[post-start:[map[exec:mysql -uroot -proot -hdb -e "CREATE DATABASE IF NOT EXISTS testdb; GRANT ALL ON testdb.* TO 'root'@'%';"] map[exec:mysql -uroot -proot -hdb -e "CREATE DATABASE IF NOT EXISTS wikidb; GRANT ALL ON wikidb.* TO 'root'@'%';"] map[exec:mysql -uroot -proot -hdb -e "CREATE DATABASE IF NOT EXISTS qadb; GRANT ALL ON qadb.* TO 'root'@'%';"]]]
webimage_extra_packages: [php8.2-fileinfo php8.2-iconv php8.2-imap php8.2-intl php8.2-mbstring php8.2-pdo php8.2-yaml]
project_tld: ddev.site
use_dns_when_possible: true
composer_version: 2
nodejs_version: 20
default_container_timeout: 240

======== existing project customizations ========
.ddev/php/timeout.ini

======== installed DDEV add-ons ========
No registered add-ons were found. Add-ons installed before DDEV v1.22.0 will not be listed.
Update them with `ddev get` so they'll be shown.

======== mutagen situation ========
looking for #ddev-generated in mutagen.yml in project /c/php7/dueddelei
#ddev-generated
unmodified #ddev-generated found in .ddev/mutagen/mutagen.yml

======== Creating dummy project named tryddevproject-21813 in ../tryddevproject-21813 ========
Creating a new DDEV project config in the current directory (C:\php7\tryddevproject-21813)
Once completed, your configuration will be written to C:\php7\tryddevproject-21813\.ddev\config.yaml

Configuring a 'php' project with docroot 'web' at C:\php7\tryddevproject-21813\web
Configuration complete. You may now run 'ddev start'.

======== OS Information ========
MINGW64_NT-10.0-22631 LAPTOP-45GH6jUIO 3.1.7-340.x86_64 2020-10-23 13:08 UTC x86_64 Msys

======== User information ========
uid=197609(Dieter Porth) gid=197121 groups=197121

======== DDEV version ========
 ITEM             VALUE
 DDEV version     v1.23.1
 architecture     amd64
 cgo_enabled      0
 db               ddev/ddev-dbserver-mariadb-10.11:v1.23.1
 ddev-ssh-agent   ddev/ddev-ssh-agent:v1.23.1
 docker           24.0.7
 docker type      Docker Desktop For Windows
 docker-api       1.43
 docker-compose   v2.27.0
 docker-platform  docker-desktop
 mutagen          0.17.2
 os               windows
 router           ddev/ddev-traefik-router:v1.23.1
 web              ddev/ddev-webserver:v1.23.1

======== proxy settings ========

 HTTP_PROXY=''
 HTTPS_PROXY=''
 http_proxy=''
 NO_PROXY=''

======== DDEV global info ========
developer-mode=false
disable-http2=false
fail-on-hook-fail=false
instrumentation-opt-in=true
instrumentation-queue-size=0
instrumentation-reporting-interval=0s
instrumentation-user=
internet-detection-timeout-ms=3000
last-started-version=v1.23.1
letsencrypt-email=
mailpit-http-port=8025
mailpit-https-port=8026
mkcert-caroot=C:\Users\Dieter Porth\AppData\Local\mkcert
no-bind-mounts=false
omit-containers=[]
performance-mode=mutagen
project-tld=ddev.site
required-docker-compose-version=v2.27.0
router=traefik
router-bind-all-interfaces=false
router-http-port=80
router-https-port=443
simple-formatting=false
table-style=default
traefik-monitor-port=10999
use-docker-compose-from-path=false
use-hardened-images=false
use-letsencrypt=false
wsl2-no-windows-hosts-mgt=false
xdebug-ide-location=

======== DOCKER provider info ========
docker client location: -rwxr-xr-x 1 Dieter Porth<PHONE_NUMBER> Apr  6 08:16 /c/Program Files/Docker/Docker/resources/bin/docker

docker client alternate locations:
/c/Program Files/Docker/Docker/resources/bin/docker

Docker provider: docker-desktop
Docker Desktop Version: Docker Desktop for Windows <IP_ADDRESS>620

docker version:
Client:
 Cloud integration: v1.0.35+desktop.5
 Version:           24.0.7
 API version:       1.43
 Go version:        go1.20.10
 Git commit:        afdd53b
 Built:             Thu Oct 26 09:08:44 2023
 OS/Arch:           windows/amd64
 Context:           default

Server: Docker Desktop 4.26.1 (131620)
 Engine:
  Version:          24.0.7
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.10
  Git commit:       311b9ff
  Built:            Thu Oct 26 09:08:02 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.25
  GitCommit:        d8f198a4ed8892c764191ef7b3b06d8a2eeb5c7f
 runc:
  Version:          1.1.10
  GitCommit:        v1.1.10-0-g18a0cb0
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

DOCKER_DEFAULT_PLATFORM=notset
Docker platform: docker-desktop
Using Docker context: default (npipe:////./pipe/docker_engine)
docker-compose: v2.27.0
Using DOCKER_HOST=npipe:////./pipe/docker_engine
Docker version: 24.0.7
Able to run simple container that mounts a volume.
Able to use internet inside container.
Docker disk space:Filesystem                Size      Used Available Use% Mounted on
overlay                  62.7G     19.0G     40.5G  32% /

======== Existing docker containers ========
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES

======== mkcert information ========
/c/ProgramData/chocolatey/bin/mkcert
C:\Users\Dieter Porth\AppData\Local\mkcert
total 8
-rw-r--r-- 1 Dieter Porth<PHONE_NUMBER> Oct 28  2019 rootCA-key.pem
-rw-r--r-- 1 Dieter Porth<PHONE_NUMBER> Oct 28  2019 rootCA.pem

======== ping attempt on ddev.site ========
Zugriff verweigert.
Rebuilding web image with `C:\Users\Dieter Porth\.ddev\bin\docker-compose.exe -f C:\php7\tryddevproject-21813\.ddev\.ddev-docker-compose-full.yaml build web --no-cache`
2024/05/19 09:29:36 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed
#0 building with "default" instance using docker driver

#1 [web internal] load .dockerignore
#1 transferring context: 2B 0.0s done
#1 DONE 0.1s

#2 [web internal] load build definition from Dockerfile
#2 transferring dockerfile: 1.58kB 0.0s done
#2 DONE 0.1s

#3 [web internal] load metadata for docker.io/ddev/ddev-webserver:v1.23.1
#3 DONE 0.0s

#4 [web 1/9] FROM docker.io/ddev/ddev-webserver:v1.23.1
#4 CACHED

#5 [web 2/9] RUN (groupadd --gid 1000 "dieterporth" || groupadd "dieterporth" || true) && (useradd  -l -m -s "/bin/bash" --gid "dieterporth" --comment '' --uid 1000 "dieterporth" || useradd  -l -m -s "/bin/bash" --gid "dieterporth" --comment '' "dieterporth" || useradd  -l -m -s "/bin/bash" --gid "1000" --comment '' "dieterporth" || useradd -l -m -s "/bin/bash" --comment '' dieterporth )
#5 DONE 0.5s

#6 [web 3/9] RUN export XDEBUG_MODE=off; composer self-update --stable || composer self-update --stable || true; composer self-update --2 || composer self-update --2 || true
#6 0.883 Storing "stable" as default update channel for the next self-update run.
#6 1.084 You are already using the latest available Composer version 2.7.6 (stable channel).
#6 1.582 You are already using the latest available Composer version 2.7.6 (2.x channel).
#6 DONE 1.7s

#7 [web 4/9] RUN mkdir -p /home/dieterporth && chown dieterporth /home/dieterporth && chmod 600 /home/dieterporth/.pgpass
#7 DONE 0.4s

#8 [web 5/9] RUN npm install --global forever
#8 21.83 npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
#8 21.97 npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-url#deprecated
#8 22.45 npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated
#8 23.34 npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
#8 23.76 npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
#8 24.69
#8 24.69 added 282 packages in 24s
#8 24.69
#8 24.69 45 packages are looking for funding
#8 24.69   run `npm fund` for details
#8 DONE 24.8s

#9 [web 6/9] RUN echo "Built on $(date)" > /build-date.txt
#9 DONE 0.5s

#10 [web 7/9] RUN apt update
#10 0.367
#10 0.367 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#10 0.367
#10 0.617 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
#10 0.621 Get:2 http://nginx.org/packages/debian bookworm InRelease [2860 B]
#10 0.682 Get:3 https://packages.sury.org/php bookworm InRelease [7542 B]
#10 0.720 Get:4 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
#10 0.740 Get:5 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
#10 0.799 Get:6 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#10 0.852 Get:7 https://dl.cloudsmith.io/public/platformsh/cli/deb/debian bookworm InRelease [3675 B]
#10 0.861 Get:8 http://nginx.org/packages/debian bookworm/nginx amd64 Packages [7975 B]
#10 1.052 Get:9 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
#10 1.056 Get:10 https://dl.cloudsmith.io/public/platformsh/upsun-cli/deb/debian bookworm InRelease [3675 B]
#10 1.225 Get:11 https://packages.sury.org/php bookworm/main amd64 Packages [229 kB]
#10 1.279 Get:12 https://dl.cloudsmith.io/public/symfony/stable/deb/debian bookworm InRelease [4422 B]
#10 1.808 Get:13 http://packages.blackfire.io/debian any InRelease [28.0 kB]
#10 1.897 Get:14 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [7318 B]
#10 2.111 Get:15 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [13.8 kB]
#10 2.171 Get:16 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [156 kB]
#10 2.374 Get:17 https://dl.cloudsmith.io/public/platformsh/cli/deb/debian bookworm/main amd64 Packages [3310 B]
#10 2.525 Get:18 https://dl.cloudsmith.io/public/platformsh/upsun-cli/deb/debian bookworm/main amd64 Packages [2193 B]
#10 2.640 Get:19 https://dl.cloudsmith.io/public/symfony/stable/deb/debian bookworm/main amd64 Packages [6917 B]
#10 3.751 Get:20 http://packages.blackfire.io/debian any/main amd64 Packages [26.0 kB]
#10 4.180 Fetched 9556 kB in 4s (2561 kB/s)
#10 4.180 Reading package lists...
#10 5.555 Building dependency tree...
#10 5.947 Reading state information...
#10 5.991 6 packages can be upgraded. Run 'apt list --upgradable' to see them.
#10 DONE 6.0s

#11 [web 8/9] RUN curl -I https://www.google.com
#11 0.470   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
#11 0.470                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
#11 0.604 HTTP/2 200
#11 0.604 content-type: text/html; charset=ISO-8859-1
#11 0.604 content-security-policy-report-only: object-src 'none';base-uri 'self';script-src 'nonce-TNx1y4FCWw_zQuVEJqPf1w' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
#11 0.604 p3p: CP="This is not a P3P policy! See g.co/p3phelp for more info."

 Network ddev-tryddevproject-21813_default  Created
 Container ddev-tryddevproject-21813-db  Created
 Container ddev-tryddevproject-21813-web  Created
 Container ddev-tryddevproject-21813-db  Started
 Container ddev-tryddevproject-21813-web  Started
Starting Mutagen sync process...
..Mutagen sync flush completed in 21s.
For details on sync status 'ddev mutagen st tryddevproject-21813 -l'
Waiting for web/db containers to become ready: [web db]
Starting ddev-router if necessary...
 Container ddev-router  Created
 Container ddev-router  Started
Waiting for additional project containers to become ready...
All project containers are now ready.

======== Project startup ========
2024-05-19T09:33:34.554 Downloading remote config.
2024-05-19T09:33:35.45 termWidth: 80

 TIP OF THE DAY
 Try 'ddev pull upsun' with Upsun from Platform.sh, https://upsun.com

2024-05-19T09:33:35.46 termWidth: 80
2024-05-19T09:33:35.46 termWidth: 80
Starting tryddevproject-21813...
2024-05-19T09:33:38.087 Pulled image for ddev/ddev-webserver:v1.23.1
2024-05-19T09:33:38.105 Pulled image for busybox:stable
2024-05-19T09:33:38.116 Pulled image for ddev/ddev-ssh-agent:v1.23.1
2024-05-19T09:33:38.127 Pulled image for ddev/ddev-traefik-router:v1.23.1
2024-05-19T09:33:42.995 GetDockerContext: contextInfo='default npipe:////./pipe/docker_engine'
2024-05-19T09:33:42.995 Using Docker context default (npipe:////./pipe/docker_engine)
2024-05-19T09:33:49.214 chowning /mnt/ddev-global-cache and /var/lib/mysql to 1000
2024-05-19T09:33:52.684 done chowning /mnt/ddev-global-cache and /var/lib/mysql to 1000
2024-05-19T09:33:53.127 host.docker.internal='' because no other case was discovered
2024-05-19T09:33:54.732 Pulled image for ddev/ddev-dbserver-mariadb-10.11:v1.23.1
2024-05-19T09:33:54.902 Pulled image for ddev/ddev-webserver:v1.23.1
2024-05-19T09:33:55.035 Pulled image for ddev/ddev-ssh-agent:v1.23.1
2024-05-19T09:33:55.14 Pulled image for ddev/ddev-traefik-router:v1.23.1
Building project images...
2024-05-19T09:33:55.352 Executing docker-compose -f C:\php7\tryddevproject-21813\.ddev\.ddev-docker-compose-full.yaml build --progress=plain
.....2024/05/19 09:33:59 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed
2024/05/19 09:33:59 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed
...Project images built in 8s.
2024-05-19T09:34:03.48 Executing docker-compose -f C:\php7\tryddevproject-21813\.ddev\.ddev-docker-compose-full.yaml up -d
 Container ddev-tryddevproject-21813-db  Recreate
 Container ddev-tryddevproject-21813-web  Recreate
 Container ddev-tryddevproject-21813-db  Recreated
 Container ddev-tryddevproject-21813-web  Recreated
 Container ddev-tryddevproject-21813-db  Started
 Container ddev-tryddevproject-21813-web  Started
2024-05-19T09:34:21.32 VIRTUAL_HOST=tryddevproject-21813.ddev.site for web
2024-05-19T09:34:21.32 HTTP_EXPOSE=80:80,8025:8025 for web
2024-05-19T09:34:21.32 HTTPS_EXPOSE=443:80,8026:8025 for web
2024-05-19T09:34:26.74 Copied C:\php7\tryddevproject-21813\.ddev\traefik:CopyIntoVolume_uuvvpajuzzep into /mnt/v/traefik in 1.2760169s
2024-05-19T09:34:28.131 Exec chown -R 1000 /mnt/v/traefik stdout=, stderr=, err=<nil>
2024-05-19T09:34:28.926 Copied Traefik certs in C:\php7\tryddevproject-21813\.ddev\traefik\certs to ddev-global-cache/traefik
Starting Mutagen sync process...
2024-05-19T09:34:30.785 Using Mutagen config file C:\php7\tryddevproject-21813\.ddev\mutagen\mutagen.yml
.2024-05-19T09:34:42.759 Mutagen status after sync: ok
Mutagen sync flush completed in 13s.
For details on sync status 'ddev mutagen st tryddevproject-21813 -l'
2024-05-19T09:34:42.761 Running /start.sh in ddev-webserver
Waiting for web/db containers to become ready: [web db]
2024-05-19T09:34:57.117 Copied C:\Users\Dieter Porth\.ddev\commands:CopyIntoVolume_yutejxrovyna into /mnt/v/global-commands in 248.3164ms
2024-05-19T09:34:57.277 Exec chown -R 1000 /mnt/v/global-commands stdout=, stderr=, err=<nil>
2024-05-19T09:34:58.573 Testing to see if /mnt/ddev_config is properly mounted
Starting ddev-router if necessary...
2024-05-19T09:35:03.277 Copied C:\Users\Dieter Porth\.ddev\traefik:CopyIntoVolume_kijxuimvwkso into /mnt/v/traefik in 410.078ms
2024-05-19T09:35:03.528 Exec chown -R 1000 /mnt/v/traefik stdout=, stderr=, err=<nil>
2024-05-19T09:35:04.27 Copied global Traefik config in C:\Users\Dieter Porth\.ddev\traefik\certs to ddev-global-cache/traefik
 Container ddev-router  Running
2024-05-19T09:35:04.745 Waiting for ddev-router to become ready. docker inspect --format "{{json .State.Health }}" ddev-router
2024-05-19T09:35:05.286 ddev-router is ready
Waiting for additional project containers to become ready...
All project containers are now ready.
Successfully started tryddevproject-21813
Project can be reached at https://tryddevproject-21813.ddev.site https://<IP_ADDRESS>:55904

======== Curl of site from inside container ========
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0HTTP/1.1 200 OK
Server: nginx
Date: Sun, 19 May 2024 07:35:21 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

======== curl -I of http://<IP_ADDRESS>:55905 (web container http docker bind port) from outside ========
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0HTTP/1.1 200 OK
Server: nginx
Date: Sun, 19 May 2024 07:35:26 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding

======== curl -I of http://tryddevproject-21813.ddev.site (router http URL) from outside ========
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Date: Sun, 19 May 2024 07:35:26 GMT
Server: nginx
Vary: Accept-Encoding

======== Full curl of http://tryddevproject-21813.ddev.site (router http URL) from outside ========
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   262    0   262    0     0   6894      0 --:--:-- --:--:-- --:--:--  7081Success accessing database... db via TCP/IP<br />
ddev is working.<br />
The output file for Discord or issue queue is in
<b>C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt</b><br />
file://C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt<br />

======== Full curl of https://tryddevproject-21813.ddev.site (router https URL) from outside ========
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

======== Curl google.com to check internet access and VPN ========
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0HTTP/2 200
content-type: text/html; charset=ISO-8859-1
content-security-policy-report-only: object-src 'none';base-uri 'self';script-src 'nonce-ldINT37Q5BpazMeMJCfDXg' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
p3p: CP="This is not a P3P policy! See g.co/p3phelp for more info."
date: Sun, 19 May 2024 07:35:27 GMT
server: gws
x-xss-protection: 0
x-frame-options: SAMEORIGIN
expires: Sun, 19 May 2024 07:35:27 GMT
cache-control: private
set-cookie: AEC=AQTF6HwAU8udcE6Hf9jijlAQNhF5b-r0uTAuR6z7Xo6feG3BJr7ZRGZ-LA; expires=Fri, 15-Nov-2024 07:35:27 GMT; path=/; domain=.google.com; Secure; HttpOnly; SameSite=lax
set-cookie: __Secure-ENID=19.SE=pmVjH6sdQhpYxA133kUIu4T1_JqbZ66482kD-Gp3NGE8KZqZkv62oke3nlW1rTtRPiR9Dy42X-IuEuqP9F_EG_PA3zjcMx6JIP8cyE0NluvbR3X2dobXcAdOWaZ5COo-xMiRLW-RfQoCJfA3vZh41PZ2Ui_4571qcT2q2zbEYxZwHNu1; expires=Wed, 18-Jun-2025 23:53:45 GMT; path=/; domain=.google.com; Secure; HttpOnly; SameSite=lax
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000

======== host.docker.internal status ========
PING host.docker.internal (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS> (<IP_ADDRESS>): icmp_seq=1 ttl=63 time=13.4 ms

--- host.docker.internal ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 13.422/13.422/13.422/0.000 ms

======== Project ownership on host ========
drwxr-xr-x 1 Dieter Porth 197121 0 May 19 09:29 ../tryddevproject-21813

======== Project ownership in container ========
drwxr-xr-x 4 dieterporth dieterporth 4096 May 19 07:31 //var/www/html

======== In-container filesystem ========
Filesystem     Type 1K-blocks     Used Available Use% Mounted on
/dev/sda1      ext4  65739308 22342296  40025236  36% /var/www

======== Thanks for running the diagnostic! ========
Running ddev launch in 3 seconds
Running ddev launch
Waiting for ddev launch to complete before deleting project

Cleanup: deleting test project tryddevproject-21813
 Container ddev-tryddevproject-21813-db  Stopped
 Container ddev-tryddevproject-21813-web  Stopped
 Container ddev-tryddevproject-21813-web  Stopped
 Container ddev-tryddevproject-21813-db  Stopped
 Container ddev-tryddevproject-21813-db  Removed
 Container ddev-tryddevproject-21813-web  Removed
 Network ddev-tryddevproject-21813_default  Removed
Volume tryddevproject-21813-mariadb for project tryddevproject-21813 was deleted
Volume tryddevproject-21813-postgres for project tryddevproject-21813 was deleted
Volume tryddevproject-21813_project_mutagen for project tryddevproject-21813 was deleted
Project tryddevproject-21813 was deleted. Your code and configuration are unchanged.

Please remove the files from this test with 'rm -r ../tryddevproject-21813'
←[0m←[32m

==== Restarting previously-running DDEV projects====←[0m←[0m
←[33m←[33mUsing custom PHP configuration: [
        C:\php7\dueddelei\.ddev\php\timeout.ini
]←[0m←[0m
←[33m←[33mCustom configuration is updated on restart.
If you don't see your custom configuration taking effect, run 'ddev restart'.←[0m←[0m
←[0mBuilding project images...←[0m
...←[0m2024/05/19 09:37:01 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed←[0m
....←[0m2024/05/19 09:37:05 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed←[0m
←[0m2024/05/19 09:37:05 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed←[0m
...←[0m←[32mProject images built in 10s.←[0m←[0m
←[0m Network ddev-dueddelei_default  Created←[0m
←[0m Container ddev-dueddelei-db  Created←[0m
←[0m Container ddev-dueddelei-web  Created←[0m
←[0m Container ddev-dueddelei-web  Started←[0m
←[0m Container ddev-dueddelei-db  Started←[0m
←[0mStarting Mutagen sync process...←[0m
.........................................................................................................................................←[0m←[32mMutagen sync flush completed in 3m21s.
For details on sync status 'ddev mutagen st dueddelei -l'←[0m←[0m
←[0mWaiting for web/db containers to become ready: [web db]←[0m
←[0mStarting ddev-router if necessary...←[0m
←[0m Container ddev-router  Created←[0m
←[0m Container ddev-router  Started←[0m
←[0mWaiting for additional project containers to become ready...←[0m
←[0mAll project containers are now ready.←[0m
←[33m←[33madditional.php already exists and is managed by the user.←[0m←[0m
Output file written to:
C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt
file://C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt
Please provide the file for support in Discord or the issue queue.
PS C:\php7\dueddelei>

Expected Behavior
I start the php-system with ddev and  can develop an extension for TYPO3 using xdebug. The Docker/ddev-system did not need any restart, while i am using it.
Actual Behavior
I use DDEV on windows 11. (no WSL2, because i did not get xdebug/phpstorm to work)
After starting ddev works fine for a while.
After some time I will try an request, but the ddev system won't respond.
The container in Docker Desktop shows  low activity. (0,0..%)
Then I have to kill the containers in docker-desktop and I have restart the docker and the ddev.
A ddev restart won't work in this cases.
After the full restart of docker and ddev everything work fine and fast - until the next crash.
I have not find any systematic for this bug.
Steps To Reproduce
I have currently no idea, how to reproduce that behaviour.
Anything else?
No response

It sounds like you have a problem with Docker Desktop; Windows trouble with Docker Desktop is common.

Make sure you turn off Docker Desktop's power-saving feature.
Update Docker Desktop if you're not using current (but they rarely fix important bugs and often introduce new ones)

I'd much rather help you get xdebug going using WSL2 + docker-ce. If you come to Discord we can help with that, including doing a screenshare session if needed. https://discord.gg/5wjP76mBJD

Thank you for your effort and your time. I have stopped the usage of docker-desktop. I unloaded the docker-desktop and use now docker on wsl2 now.
(https://ddev.readthedocs.io/en/latest/users/install/ddev-installation/#windows - recommended variation)
The main problem is with it that phpstorm (2024.1) and xdebug won't work properly together.
After some hour I could make it work. I had to expand the my additional php.ini in the ddev-configurration by following code.
;https://stackoverflow.com/questions/63417516/unable-to-get-phpstorm-to-connect-to-xdebug-running-in-wsl-2
;https://intellij-support.jetbrains.com/hc/en-us/community/posts/360009532740-Unable-to-get-PHPStorm-to-connect-to-xdebug-running-in-WSL-2
zend_extension=xdebug.so
xdebug.remote_autostart=1
xdebug.remote_enable=1
xdebug.default_enable=1
xdebug.remote_connect_back=1
xdebug.remote_host=host.docker.internal
xdebug.remote_log=/tmp/xdebug.log
;https://github.com/ddev/ddev/issues/3772
xdebug.client_host=<IP_ADDRESS>

I hope, the new variation will work more properly.
I close this issue. If I have problems with the new variation, I will open a new issue.

Wrong button.

The PhpStorm extension (and PhpStorm 2024) are having some trouble, but

https://github.com/php-perfect/ddev-intellij-plugin/issues/307#issuecomment-2108257078

explains how to manually install the extension.

@Padina42 I've spent an enormous amount of time trying to make WSL2 properly figure out the host.docker.internal IP address without doing the things that you did here. I'd love to spend some time with you trying to sort out what happened in your case. If you'd be willing to do a screenshare session with me and try to sort it out, please make an appointment at a time that works for you on https://cal.com/randyfay/30min - thanks!


userDefaults: Unimplemented error in case with provided dependency value

I'm not sure if it's a bug or I'm doing something wrong, but there is an equal chance to get the test passed or failed using this code:
final class ViewSpec: QuickSpec {
  // MARK: Spec

  override func spec() {
    describe("View") {
      let width = 320.0

      let height = 1000.0
      it("should match snapshots in dark mode") { @MainActor in
        withDependencies {
          $0.userDefaults = .liveValue
        } operation: {
          assertSnapshot(
            matching: View(screenWidth: width, previousView: String())
              .environment(\.colorScheme, .dark),
            as: .image(layout: .fixed(width: width, height: height)),
            named: "View.dark"
          )
        }
      }
      it("should match snapshots in light mode") { @MainActor in
        withDependencies {
          $0.userDefaults = .liveValue
        } operation: {
          assertSnapshot(
            matching: View(screenWidth: width, previousView: String())
              .environment(\.colorScheme, .light),
            as: .image(layout: .fixed(width: width, height: height)),
            named: "View.light"
          )
        }
      }
    }
  }
}

It always passes in dark mode but has a random chance of failing in light mode. 🤔
Uncaught Exception: Unimplemented: @Dependency(\.userDefaults)

Hey @arietis! This is weird indeed. My guess is that there is an escaping closure somewhere (in snapshot testing or in your own code) and the dependencies are reset. You can find more information about this phenomenon in the documentation. In your case, withEscapedDependencies could help, but I'm not sure how to pass the escaped dependencies up to where it is used. Could you post a little more about View's internals? Are you using a StateObject?

Great! I'll close the issue then. Feel free to reopen it if the problem is back!

The root problem was similar to this one, I just need to prevent the app from loading in tests. https://github.com/pointfreeco/swift-dependencies/issues/37

Ah indeed, I missed this possibility! This behavior is extremely annoying. Maybe there are ways to improve its diagnostic because you're not the first, and definitely not the last to trip on it.
Thanks for the follow-up!

Hmm, I'm getting this same error even with the use of if !_XCTIsTesting {. I'll look to reproduce this in an isolated project.

Hey @JacksonUtsch! Make sure that you're not linking your test target with Dependencies. See testing section's last paragraph in the doc (on mobile right now)

It doesn't look like I have static linking. Here is a demo of the issue. 🤔

@JacksonUtsch, if you use the trailing closure to set your dependencies, it works:
let store = TestStore(
  initialState: ExampleFeature.State(),
  reducer: ExampleFeature()
) {
  $0.userDefaults = .ephemeral()
}

This is because this dependency fails as soon as you touch its test value, even if you don't call any endpoint.  I'll try to improve the situation soon.

Interesting.. I'm not sure how that is achieved when the dependency is overwritten. I'm guessing dependencies are iterated through internally in the TestStore or in Dependencies? And so the logic in result is different where you override.. 🤷

The trailing closure wraps everything internally in a withDependencies. This is the reducer modifier that is triggering it, but the value is already implemented when using the closure, so everything is fine then.
But this is rather a limitation of this specific dependency than a problem with the modifier.


fix segmentation fault when meeting 'select * from t where 2 > 1'

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[zh] Update install-kubectl-windows.md

Signed-off-by: Gao Qian<EMAIL_ADDRESS>

found a dup: https://github.com/kubernetes/website/pull/37343


How to switch grom gamescope Session to Kde Plasma (Wayland)

Hello, i have a questions how to make switch to desktop grom gamescope steam Session to Kde wayland

PLEASE RESPONSE

Hi. Sorry for the delay. To make Switch to Desktop to work you need the steamos-session-select script in /usr/bin/. In this script you can call steam -shutdown, which will take you back to the login screen (GDM, SDDM). For example:
/usr/bin/steamos-session-select
#!/bin/bash
steam -shutdown
This is described in the README file under section 8. I noticed there is a typo in there so I'll make the update to fix this.
It is possible to set KDE Plasma to autologin in to Steam, and when you select Switch to Desktop you will return to the login screen.
If you want to autologin in to Plasma Wayland after selecting Switch to Desktop, you'll need to add instructions in the 'steamos-session-select' script to amend session property in the /etc/sddm.conf.d/kde_settings.conf. But for that to work it requires root access, which gets more complicated.


DATA-5143. Holes are created when a feed with delay is updated/touched

+1 for the patch.

Can you please add a test preferably one which fails without this change and passes with this change?

@ajayyadava : Can you review it now?

:+1:

+1


Updated to React 16, and some other changes.

I was thinking maybe you should not require the user to use CSS, but rather pass all the necessary information as props. I added some changes for that. I also upgraded to React 16, and updated the README file where it was needed. :)

Love the changes. Having default styling makes this so much simpler to implement, which is nice! I would say that if the dev wanted we should continue to allow for classNames instead of styles -
maybe a disable prop or detection of the missing className prop.
This also leads onto how we can implement this without breaking the current default behaviour. If we want to change the default then we'll need to document breaking changes and treat this as a separate new major version. I think we'll be able to introduce this feature without needing any breaking changes?
Also, does the bump to react 16 still generate react 15 compatible component files?
Thanks for the feature add @balazsorban44

I don't think that it will break anything, as I just moved a few stylings from the CSS to inline styling. The worst that could happen is that the users have redundant CSS left in their .css files. Unfortunately, I did not manage to run the build command without an error, because PropTypes are working differently in React 16 now. It would be nice if you could check that. Here is a link with more info: https://reactjs.org/blog/2017/09/26/react-v16.0.html#packaging I am thinking if this pull request should be moved to a branch then, to not to mess up the master branch.

Yeah React 16 is definitely something we should support, I'll create a separate issue for this. I'm not to familiar with github repo roles, but I'll see what I can get ya for these features

You should be invited as a contributor, which will hopefully gives you access to create new branches. Let me know if thats not the case


varlink Commit API fails with Error: Varlink Error: Connection Closed

/kind bug
Description
Varlink Commit API fails consistentl with:
Error: Varlink Error: Connection Closed
Steps to reproduce the issue:

Create some container for example with
podman run busybox

Get the ID of the created container by inspecting the podman ps command output

Try to commit the container:

sudo varlink call unix:/run/podman/io.podman/io.podman.Commit '{"name": "ecbeb66e204c420479bd5f0625857a96ae3ff8e5aaae5a32e76d91bc49e82d0d", "image_name": "test_commited_busybox"}'

Describe the results you received:
Exited with:
Error: Varlink Error: Connection Closed
No image was created
Describe the results you expected:
Same as with podman CLI commit command the commited container should create a new image.
For comparison I ran on the same container the podman commit command and it succeded:
sudo podman commit ecbeb66e204c420479bd5f0625857a96ae3ff8e5aaae5a32e76d91bc49e82d0d test_commited_busybox

Output of podman version:
1.4

Does it work if you provide all the attributes described by the API?
https://github.com/containers/libpod/blob/master/API.md#Commit

Does it work if you provide all the attributes described by the API?
https://github.com/containers/libpod/blob/master/API.md#Commit

No. I tried to pass everything and it still does not work, but anyway, the only required are the two I used above, https://github.com/containers/libpod/blob/master/API.md#func-commit

the backtrace suggests:
/home/bbaude/git/src/github.com/containers/libpod/pkg/varlinkapi/images.go:550

If you use the varlink call with -m (more), it works.

@baude verified that it works with -m.
This behaviour must have changed though between 1.3 and 1.4.
So now all method that return a MoreResponse need to be called with a more = true parameter?

@baude this is still broken on 2:1.4.4-1.fc30 FYI


Need to properly import list of phonemes and their features

Added a Hashtable<String, ArrayList> to store phoneme labels and a list of their features.


the output can‘t change but i have modity new path

const { build } = require('vite')
const path  = require('path')
const resolve = function (...args) {
return path.resolve(__dirname, ...args);
};
;(async () => {
// All options are optional.
// check out src/node/build/index.ts for full options interface.
const result = await build({
rollupInputOptions: {
// https://rollupjs.org/guide/en/#big-list-of-options
input: resolve("../packages/index.ts"),
},
rollupOutputOptions: {
output:{
format: "esm",
dir: resolve("../web"),
}
},
rollupPluginVueOptions: {
// https://github.com/vuejs/rollup-plugin-vue/tree/next#options
target:'browser'
}
// ...
})
})()

H:\我的项目\test2>node scripts
[write] dist_assets\index.js 18.60kb, brotli: 6.99kb
[write] dist\index.html 0.31kb, brotli: 0.12kb
Build completed in 2.13s.
i have modify the output but the file create in the default path . what can i do for this thing

Please provide a link to a repo that can reproduce the problem you ran into.
A reproduction is required unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will be closed immediately.


make: rewrite makefile

The makefile has adopted various technical debt over time. This commit
rewrites it, with the following major changes:

- Consistent marking of PHONY targets. This is most important for
  `install`, since it matches the name of a directory.
- Use of `.ONESHELL`. This means that all commands are invoked in the
  same shell, and as such, `cd` is valid without using `&&`. To make
  sure that any failure is fatal, we pass the `-e` flag to the shell.
- Makes use of `run-cmake-release` to drastically reduce duplication
  throughout the file.
- Make sure the all target correctly builds everything.
- Organize targets into sections.
- Add python and rust target.
- Remove $(ROOT_DIR) since it is never important. All recipes implicitly
  require the current directory to be the project root.

Also, replaced all instances of `clean-all` with `clean`. `clean-all`
doesn't exist anymore.

Running a dry run to ensure make works well across all runners. https://github.com/kuzudb/kuzu/actions/runs/6971393645.

Ah. That would actually clean up a lot. I'll make those changes.

Updated dry run is https://github.com/kuzudb/kuzu/actions/runs/6971944432.


[labs/virtualizer] scrollElementIntoView not a function

Which package(s) are affected?
Virtualizer (@lit-labs/virtualizer)
Description
Following the example to scroll list element into view.
this.list[virtualizerRef].scrollElementIntoView({index: idx});
However, this is reported as scrollElementIntoView is not a function :
caught TypeError: this.ul[_lit_labs_virtualizer_virtualize_js__WEBPACK_IMPORTED_MODULE_1__.virtualizerRef].scrollElementIntoView is not a function
Checking Virtualizer.d.ts :
    private _scrollElementIntoView;
So change code from example to :
this.list[virtualizerRef]._scrollElementIntoView({index: idx});
will atleast make it work. But...
Reproduction
Follow doc
Workaround
this.list[virtualizerRef]._scrollElementIntoView({index: idx});
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
"name": "@lit-labs/virtualizer",   "version": "2.0.0",
Browser/OS/Node environment
$ node --version
v18.15.0
$ npm --v
9.5.0
Chrome Version 112.0.5615.86 (Officiell version) (64 bitar)

#3835 updates README

@graynorton or @usergenic Should this be closed now? I don't see any references to the old API method in the docs on NPM anymore.


Custom Service + Custom Characteristic

Hey,
I just wanted to ask if you plan to add Service.Custom and Characteristic.Custom to the code aswell. I did not want to add a pull request, because it says that the file is generated.
(Currently I'm extending your lib by these functions)
Characteristic.Custom = function() {
Characteristic.call(this, 'Custom', '9372E03B-69B2-43D5-80B7-7E3996CC9A4A');
this.value = this.getDefaultValue();
};
inherits(Characteristic.Custom, Characteristic);
Service.Custom = function (displayName, subtype) {
Service.call(this, displayName, '5408E8EC-7B41-4371-935C-BE5C3053C06C', subtype);
};
inherits(Service.Custom, Service);

What's the purpose of this "custom" service/characteristic?
Ideally if none of the pre-defined service fits the developer's need, they have the freedom to define any service/characteristic on their own. Since HomeKit apps will use service type/characteristic type to figure out what user can control, defining a specific "custom" service/characteristic without restricting behavior feels dangerous to me.

It's actually one of the given services / characteristics types in the HomeKit Accessory Simulator, therefore i would have added it

@henzed the "custom" service/characteristic generates a random UUID every time you created it, it's not a const.


Excel dates when opening in Mac Osx

I used the following NumberFormat property for date formatting in my worksheets
Example: Set-Format -Worksheet $ws -Range "Due_Date" -NumberFormat "m/dd/yyyy"
I'm running on Powershell7 on Windows. When this worksheet is opened on a Mac, the date is wrong by about 4 years into the future. Any ideas?

Sorry, I don't have a Mac. The module is tested in general terms for PS and Core on Windows, Linux, and Mac. Can you run the script on Windows? If it has the same error, please post a repro.

Hmm - it looks like this is the setting that needs to be set (vb equivalent).  ActiveWorkbook.Date1904 = false will then make the workbook open up in mac with the appropriate dates. Any way to set the equivalent in your library?

The module functions don't explicitly have that. You can try using -PassThru on Export-Excel and then inspect the properties and methods on the object returned to see if there is a settable property.

Thanks!  There is a settable property Workbook.Date1904  Interestingly though if you set it to $true the expected behavior occurs.  If you set it to $false it doesn't work (It looks by default its already set to $false but I specifically set it to $false just to make sure...and it still doesn't impact it!).  I'll see if there is something in the open office xml or wherever that may allow something different.

Thanks for the updates

This is an attribute stored in the .\xl\workbook.xml file.
The default (on my Windows 10, Office 365) is absent. Setting ThisWorkbook.Date1904 to true adds the date1904 attribute to the workbookPr element.

The reason for the setting is explained here: https://docs.microsoft.com/en-us/office/troubleshoot/excel/1900-and-1904-date-system
"Because of the design of early Macintosh computers, dates before January 1, 1904, were not supported. This design was intended to prevent problems related to the fact that 1900 was not a leap year. In the past, Excel for Macintosh defaulted to using the 1904 date system for workbooks originating on a Macintosh. However, Excel for Macintosh now defaults to the 1900 date system and supports dates as early as January 1, 1900."
In  this article (https://support.microsoft.com/en-us/office/date-systems-in-excel-e7fe7167-48a9-4b96-bb53-5612a800b487) it states "Excel 2008 for Mac and earlier Excel for Mac versions calculate dates based on the 1904 date system. Excel 2016 for Mac and Excel for Mac 2011 use the 1900 date system, which guarantees date compatibility with Excel for Windows."


Support "Escaping Special Characters" and "Wildcard Searches"

Hi,
The rules do not support the "Escaping Special Characters" and "Wildcard Searches".
Examples:
program:postfix\/smtpd
program:postfix*

Best Regards

Please try out https://github.com/zerowidth/lucene_query_parser/pull/2 and see if it works for you.

My solution :
    rule :term do
      ( (escape_special_words | match["\\w.*-"]).repeat(1) ).as(:term) >> (fuzzy | boost).maybe
    end

    rule :escape_special_words do
      (str('\\') >> match['^\\w']).repeat(1)
    end

I prefer this solution in order to avoid to define a regexp to constructor. This is more common in my case.

please review and comment on #9 as it uses this approach plus the term_re feature from #2

#9 is merged.


az interactive not working

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az interactive
Errors:
cannot import name 'DEFAULTS_SECTION'
Traceback (most recent call last):
Temp\pip-install-v1m4qsu_\knack\knack\cli.py, ln 206, in invoke
azure\cli\core\commands\__init__.py, ln 560, in execute
azure\cli\core\commands\__init__.py, ln 618, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 611, in _run_job
Local\Temp\pip-install-v1m4qsu_\six\six.py, ln 693, in reraise
azure\cli\core\commands\__init__.py, ln 588, in _run_job
azure\cli\core\commands\__init__.py, ln 297, in __call__
azure-cli-core\azure\cli\core\__init__.py, ln 453, in default_command_handler
azure\cli\command_modules\interactive\custom.py, ln 31, in start_shell
.azure\cliextensions\interactive\azext_interactive\__init__.py, ln 10, in start_shell
    from .azclishell.app import AzInteractiveShell
cliextensions\interactive\azext_interactive\azclishell\app.py, ln 35, in <module>
    from azure.cli.core._config import DEFAULTS_SECTION
ImportError: cannot import name 'DEFAULTS_SECTION'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az interactive

Expected Behavior
Environment Summary
Windows-10-10.0.18362-SP0
Python 3.6.6
Shell: cmd.exe

azure-cli 2.0.64

Extensions:
interactive 0.4.1

Additional Context

Dupe of pinned issue #9260.


sdml:srcLabel lacks surrounding quotation in Turtle serialization

Recently (between 2024-02-23 and 2024-06-28), serializing as turtle format dropped the surrounding quotation marks for sdml:srcLabel entries. This renders the output unusable.

To clarify, using the concrete example you provided yourself in #9 , SDML currently produces this:
sdml:srcLabel type_constructor_fix9 .

which is syntactically illegal.
The third part of that triple should be (and until recently was) a string, which needs to be quoted, like this:
sdml:srcLabel "type_constructor_fix9" .

Unfortunately the fix for #9 had this side-effect. By fixing strings that had double-quotes added above the renderer it didn't add them to strings without. This affected both sdml:srcLabel and owl:VersionInfo.

See 377a26076e4e52ad200a567f1136d0279ce755b7

I am in the process of bumping versions and publishing the latest versions to crates.io.

Works now. Thanks a lot!


Can we do Auto-complete in repeat section?

How to do Cascade Select in repeat section?
I have a requirement where in repeat section I want to give auto-complete.When user selects an option from auto -complete then based on the selection I have to pre-populate the other fields in the repeat section.
Here are our starter templates in a case you may need/want to reproduce an example:
https://stackblitz.com/edit/angular-g9txuh-pzaugt?file=src%2Fapp%2Fapp.component.ts
Please suggest me how to do it.
Thanks

check a similar example https://formly.dev/examples/advanced/repeating-section-input


[SPARK-25753][[CORE][FOLLOW-UP]fix reading small files via BinaryFileRDD

What changes were proposed in this pull request?
This is a follow up of #21601, StreamFileInputFormat and WholeTextFileInputFormat have the same problem.
Minimum split size pernode 5123456 cannot be larger than maximum split size 4194304 java.io.IOException: Minimum split size pernode 5123456 cannot be larger than maximum split size 4194304         at org.apache.hadoop.mapreduce.lib.input.CombineFileInputFormat.getSplits(CombineFileInputFormat.java: 201) 	at org.apache.spark.rdd.BinaryFileRDD.getPartitions(BinaryFileRDD.scala:52) 	at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:254) 	at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:252) 	at scala.Option.getOrElse(Option.scala:121) 	at org.apache.spark.rdd.RDD.partitions(RDD.scala:252) 	at org.apache.spark.SparkContext.runJob(SparkContext.scala:2138)
How was this patch tested?
Added a unit test

Test build #97378 has started for PR 22725 at commit 54ffcdb.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3980/
Test PASSed.

Test build #97378 has finished for PR 22725 at commit 54ffcdb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/97378/
Test PASSed.

cc @dhruve @tgravescs

SPARK-24610 is the original issue, please file a new jira for StreamFileInputFormat

@tgravescs ok, I will do it ,thanks

+1 Looks good, thanks @10110346

ok,thanks @dongjoon-hyun

It still has [[ before CORE. :)

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4307/
Test PASSed.

merged to master

Test build #97854 has started for PR 22725 at commit 54ffcdb.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4339/
Test PASSed.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4344/
Test PASSed.

Test build #97862 has started for PR 22725 at commit 54ffcdb.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4365/
Test PASSed.

Test build #97874 has started for PR 22725 at commit 54ffcdb.

Build finished. Test FAILed.


Fix construction of Rack applications on Rack < 3

Rack::Builder in Rack 2 returns a 2 element tuple, instead of a single element.
If using Rack 2.x, define a method that returns a single element.
Closes #230
Types of Changes

Bug fix.

Contribution

[ ] I added tests for my changes.
[x] I tested my changes locally.
[x] I agree to the Developer's Certificate of Origin 1.1.

Closing in favour of #232


Updating the default cipher-suite lists for the 9.x release.

Based on comments from issue #5389.  Starting the ball rolling to figure out the appropriate default cipher_suite lists for the 9.x release.
Added defaults for the TLS1.3 client and server settings, selecting CHACHA first for performance reasons.
For the server cipher_suites, Added the CHACHA20-POLY and preferred some shorter AES versions over longer ones for performances reasons.
Added defaults for the client side.  In general the client side should be more generous because you don't control the servers to talk to particularly in the forward proxy case.  Based on feedback from an internal security person, I got this rather large list by running
openssl ciphers 'ALL:!aNULL:!aDH:!aECDH:!aPSK:!aSRP:!eNULL:!kSRP:!SSLv2:!SSLv3:!TLSv1:!TLSv1.1:@STRENGTH'

To get all sensible ciphers for TLS1.2 and beyond.  Open for discussion on this one.  We should definitely have something better than NULL (which allows for all ciphers).

I think CHACHA20 is the slowest of them all :).

As a stream cipher, CHACHA20-POLY is faster on a general CPU (like a mobile phone).  With hardware assist AES may be faster.

Got rid of the old comment.

[approve ci autest]

Some other implementations honour client preference only if ChaCha20 is at the head as a loose indication that the client has no AES offload, allowing implementors to choose whether to take the hit on the server.
I have recently tested many generations of CPU (up to at least 5 years) and ChaCha is always second place to GCM ciphers, these all had offload capability. Interestingly ChaCha did outpace AES CBC cipher suites on larger block sizes (8/16k) even with offload, but this is only a TLSv1.2 concern and possibly an edge case. i.e. ChaCha20 support but no (AES GCM||AES offload).

Thanks for all the feedback.  Updated the defaults based on feedback.  The guidance for this version is
PFS ciphers first.  Within the PFS ciphers, GCM and CCM AES ciphers.  Then CHACHA, then CBC ciphers.

[approve ci autest]

One more update to remove the cipher_suite entry from records.config.default.in since it was just tracking the traffic_server default.

Updated the TLSv1_3.cipher_suites to explicitly enumerate the openssl default ordering.  I think it is worthwhile to be explicit even if it is the openssl -1.1.1 default.
Took another pass on the proxy.config.ssl.server.cipher_suite.  Here is my dimension outline and breakdown rationale for this list.  First, no ciphers less that TLSv1.2, since the default configuration has protocols less than TLSv1.2 turned off.   This gets rid of triple DES and the SHA1 algorithms.

Prefer PFS over non-PFS
Key exchange: prefer ECDHE over DHE.
Authentication: prefer ECDSA over RSA
Mode: GCM, CCM, CCM8, CBC
Encryption algorithm: AES256, AES128.  Insert the CHACHA20 stream cipher before AES in CBC mode.

I have removed the common "!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA" suffix.  It doesn't help for this specific sequence.  Perhaps worthwhile to put some catch-all at the end to help if people start messing with the default option?

[approve ci autest]

[ci approve autest]

[approve ci autest]

[approve ci clang-analyzer]

Updated the TLSv1_3.cipher_suites to explicitly enumerate the openssl default ordering. I think it is worthwhile to be explicit even if it is the openssl -1.1.1 default.

I'm ok with this, but if we do so, we'll need to update the default value when OpenSSL update its default cipher suites and ordering. New cipher suites will never be available until we update our default value or users update their configuration to use it.

Cherry-picked to v9.0.x branch.


RunQueryResponse in firestore API v1 holds a single document instead of a list

I cannot manage to use the runQuery firestore API (v1).
The response is defined as a map holding a single document
/// The response for Firestore.RunQuery.
class RunQueryResponse {
  /// A query result.
  /// Not set when reporting partial progress.
  Document document;
  ...
}

although the JSON result look like an array:
 [
        {
          'document': {
            'createTime': '2018-10-27T05:34:53.459862Z',
            'fields': {...

So the decoder complains and calling runQuery simply failed.
Not easy to extract a running example although it is quite easy to reproduce running any query (even without any response). Since the API is generated maybe there is an error somewhere else in the source definition or the generator

Looks like a dup of https://github.com/dart-lang/googleapis/issues/25 which has been closed.
Even the REST documentation is incorrect:
https://firebase.google.com/docs/firestore/reference/rest/v1/projects.databases.documents/runQuery
Unfortunately this make the firestore REST unusable...how can we report this to the firestore team (initial issue reported more than 2 years ago!)

I'm running into the same issue. Essentially this prevents doing any kind of Firestore query altogether using the API.
The problem is in this discovery document: https://firestore.googleapis.com/$discovery/rest?version=v1 - the Rust wrapper seems to have the exact same issue: Byron/google-apis-rs#220. It might be the same for other languages and packages too.
@jonasfj I understand this is an issue in the Discovery Document - so it's not this Dart package that has the bug. I also understand that this should be fixed by the Firestore Team. But do you know how to reach them? Or do you know anyone who knows how to reach them & report this bug?
In the meantime, I will try to fix the discovery document myself and if that works, depend on a fork until this is officially fixed.

I have no more information.
Closed duplicate.

In the meantime, I will try to fix the discovery document myself and if that works, depend on a fork until this is officially fixed.

This is a good solution, I would suggest publishing it as a separate package, maybe call it package:firestore_rest_api.
Ideally, you can also wrap the firebase REST API with some nicer wrappers, the generated APIs aren't that nice to begin with.

Hi @jonasfj , did you end up resolving this?
Hi @roughike , I just submitted a bug request via the Firebase support page, have you already done that?

I have no solution for this. It's possible that we should simply update the code-generation scripts in this repository to know about this bug and make a workaround.

I have created a single file with just a correction for this single call here:
https://github.com/tekartik/firebase_firestore.dart/blob/master/firestore_rest/lib/src/firestore/v1_fixed.dart
It can be copied and used the same way (i.e. use FirestoreFixedApi instead of FirestoreApi to call runQuery)

@alextekartik we can do something like that, but it will probably need to be integrated with dart generator/bin/generate.dart run_config generate, so that such a patch is automatically applied.
Ideal would be a patch that is automatically applied to the discovery API document, after it's downloaded.

It might be worth looking into a system for adding overrides. If the input data we get is "bad".
Reopening!

I received this from the firebase support team, I will be looking for confirmation that they have actually found the work in progress.
Thanks for the clarification. I have done some research about this issue, since it has been already reported in the link you shared, actually the engineering team is aware of this issue and they are currently working to fix it. However there's no telling when this will be completely fixed, but you can keep an eye on the Firebase Release Notes to be informed of the latest from Firebase.


Re-work on Overview pages

Googlers see b/200623336.
There's a lot of Sphinx-specific formatting that's done on reference.md files that could be incorporated into the Overview pages for a better Overview page. This can be used as an upgraded entry point for each client library into the different parts of the product.

Besides reference.md, we could add an about group as suggested from an internal review. The proposed group will contain the overview and changelog and other information, and operations can contain other information users would like.
I like the about group containing some of the meta-info such as changelog and Overview and other pages, helping the user focus on only the relevant information.

Raising to P1 to address this ASAP.


Add assert_polys_grouped_by function

Added a function to test that polygons were grouped by a certain attribute, much like the functions we have that do this for lines and points. Also added some tests. This pr addressed issue #225. I can add this function to our vector vignette once this https://github.com/earthlab/matplotcheck/pull/220 pr is merged.

@lwasser here for review whenever you get the chance!

thank you @nkorinek what assignment were you testing this on? i just want to test it locally. maybe one of the vector assignments?

@lwasser ya I would test this on the clip assignment, towards the end, when there are the polygons with the values based on land/water area.


Search frontend

completed the frontend for the search food component
path : /search-food
the backend is complete as well but didnt connect it because we did not handle where to put the results at.
as of right now its just a static component with no functionality

This does not look right

 This does not look right

situation: handled


Key Error: 'bpy_prop_collection[key]: key "Subsurface" not found Blender 4.3

No idea what this error is for. It created some nodes and then stopped with the error in the image.

Yeah, will update the script for proper 4.0 compatibility.

I realized after downloading 3.8 and trying it out that it works mostly there. It did drop a bunch of nodes in the shading, but it connected nothing. I am completely new to using Blender and general and just trying to find easy ways to use models from a game extracted using Fmodel.

Also of note, I kept getting the "Textures Not Found" error when I first tried it, but I guess the script is also looking at the structure before the folder. For example my files were in D:\Fmodel\Output\Exports\GameName and the material was deeper in. However, it wasn't till I moved that folder to D:\GameName did it work despite pointing it at the same GameName folder.

The node was added along textures being loaded, but they did not connect due to the suffix of each texture.
Each studio uses different abbreviations for texture maps. Provide the game title, and I'll provide support for that game.

That shouldn't be a problem, as my current directory is X:\Dump\GameName\Game
and the files are also deeper and it works fine for me.

but I'll check it out.

Asgard's Wrath 2, attached is one of the material json exports.
Thank you,
On Wednesday, November 27, 2024 at 08:52:03 PM EST, Jullious Mattheson<EMAIL_ADDRESS>wrote:

The node was added along textures being loaded, but they did not connect due to the suffix of each texture.
Each studio uses different abbreviations for texture maps. Provide the game title, and I'll provide support for that game.

That shouldn't be a problem, as my current directory is X:\Dump\GameName\Game
and the files are also deeper and it works fine for me.
but I'll check it out.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


[tests] skip DP tests on devices without DP support

Description
PR adds double precision support check to unit tests for skipping double precision tests on devices that do not support it.
I've tested the changes on Intel Arc A770, all double precision tests are skipped as expected, all other tests are passed except for GemmBatchUsm for half precision (not related to the changes).
Checklist
All Submissions

[x] Do all unit tests pass locally? Attach a log.
[x] Have you formatted the code using clang-format?

The DFT tests can also use double precision, should we add the same kind of checks there in this PR? Last time I checked the CI is running very few DFT tests for the GPU device but I don't know why.

The DFT tests can also use double precision, should we add the same kind of checks there in this PR? Last time I checked the CI is running very few DFT tests for the GPU device but I don't know why.

As I see DFT already has the check for DP support on the device during commit stage https://github.com/oneapi-src/oneMKL/blob/a3dc81b413e0557c813109e6b3029035a70b5a3d/tests/unit_tests/dft/source/descriptor_tests.cpp#L600
Let me know if I missed something for DFT.

As I see DFT already has the check for DP support on the device during commit stage https://github.com/oneapi-src/oneMKL/blob/develop/tests/unit_tests/dft/source/descriptor_tests.cpp#L599-L601 Let me know if I missed something for DFT.

Indeed, I missed that, thanks!
I'll make sure to add this to https://github.com/oneapi-src/oneMKL/pull/374 once this is merged.


[Run] PowerLauncher.exe is NOT running when PowerToys starts

As first thing, please verify that PowerToys.exe is running but PowerLauncher.exe is not:

open the Task Manager
go to the Details tab
scroll the list until you find PowerToys.exe, if PowerLauncher.exe is running, it will appear above PowerToys.exe.

If PowerLauncher.exe is present, please go to https://github.com/microsoft/PowerToys/issues/9018  that is the issue tracking the problem when PowerLauncher.exe is running but not responding to the shortcut key.
To help investigating why PowerLauncher.exe doesn't start, we have a test build (see the zip file attached below).
Note: this test build contains improved logging, and one fix that may help for this specific problem.
IMPORTANT: it's an unsigned private build, you may not be able to install it if your computer is managed by your company.
To run the test, follow these steps:

uninstall the current installed version of PowerToys (your settings will not be deleted)
unzip the attach zip file and run the PowerToysSetup-0.0.1-x64.exe installer, you will be presented with a security dialog, click on More info and then on Run anyway

after the installation has completed, make sure PowerToys.exe is running and PowerLauncher.exe is not running (using the Task Manager)
open the PowerToys Settings and verify that  PowerToys Run is On

if it is Off turn it On, if it was already On, turn it Off and back On again.
close the PowerToys Settings
open the Task Manager and verify again if PowerLauncher.exe is running or not.
if PowerLauncher.exe is running but still not opening when the shortcut key is pressed, you are now in the case tracked by https://github.com/microsoft/PowerToys/issues/9018 and you don't have to do the following step
if PowerLauncher.exe is not running, open a command prompt and run "%PROGRAMFILES%\PowerToys\Tools\BugReportTool.exe" (the double quotes are important)
That will create a zip file, on your desktop, named like this PowerToysReport_2021-01-04-12-02-08.zip that contains settings, log files and other system configurations to help debugging the problem.
You can drag and drop the zip file in a GitHub comment.

IMPORTANT: after you've posted the zip file, please reinstall 0.29.3 https://github.com/microsoft/PowerToys/releases/download/v0.29.3/PowerToysSetup-0.29.3-x64.exe
Even if the test build worked for you and PowertToys Run was opening, make sure to reinstall 0.29.3 because the test build is not a stable release and it will not notify you when the next stable build is released.
EDIT: I've updated the test build with more logging.
PowerToysSetup-0.0.1-x64-unsigned.zip

PowerToys Run still doesn't run, even after installing PowerToysSetup-0.0.1-x64.exe. No PowerLaunch.exe is showing up in Task Manager. For debugging as asked for I created and uploaded "PowerToysReport_2021-01-10-00-30-27" using BugReportTool.exe.
PowerToysReport_2021-01-10-00-30-27.zip

PowerToys Run still doesn't run, even after installing PowerToysSetup-0.0.1-x64.exe. No PowerLaunch.exe is showing up in Task Manager. For debugging as asked for I created and uploaded "PowerToysReport_2021-01-10-00-30-27" using BugReportTool.exe.
PowerToysReport_2021-01-10-00-30-27.zip

Uninstalled testversion and installed latest stable version 0.29.3 after manual installing dependancy software .NET Core 3.1 Desktop Runtime ("windowsdesktop-runtime-3.1.10-win-x64.exe"). PowerToys Run stil doesn't start.

Uninstalled testversion and installed latest stable version 0.29.3 after manual installing dependancy software .NET Core 3.1 Desktop Runtime ("windowsdesktop-runtime-3.1.10-win-x64.exe"). PowerToys Run stil doesn't start.

@wieldon
thank you for posting the report. Do you have the same problem when PowerToys runs as a user (not as administrator)?

@wieldon
thank you for posting the report. Do you have the same problem when PowerToys runs as a user (not as administrator)?

Hi, I followed the instructions, and Power Launcher.exe still does not launch when PowerToys starts. Please find the Report created Thank You.
PowerToysReport_2021-01-10-14-17-03.zip

Hi, I followed the instructions, and Power Launcher.exe still does not launch when PowerToys starts. Please find the Report created Thank You.
PowerToysReport_2021-01-10-14-17-03.zip

Hi, I come back to say that I have done this operations. I disabled UAC in registry (HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ policies \ System (EnableLUA to 0))
After restarting, PowerLauncher.exe has to start automatically, and even when I deactivate it in PowerToys it is this closed and when I reactivate it it reopens.
I hope this is the operation that fixed the problem and will help others.

Hi, I come back to say that I have done this operations. I disabled UAC in registry (HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ policies \ System (EnableLUA to 0))
After restarting, PowerLauncher.exe has to start automatically, and even when I deactivate it in PowerToys it is this closed and when I reactivate it it reopens.
I hope this is the operation that fixed the problem and will help others.

@GMably
we should not suggest to disable UAC. There is a bug in the PowerToys code and we will work to fix it. But no one should disable UAC has a solution for this problem.

@GMably
we should not suggest to disable UAC. There is a bug in the PowerToys code and we will work to fix it. But no one should disable UAC has a solution for this problem.

Ok, but then why disabling uac seems to solve the problem, when i am the admin of this pc, and the only user?
Couldn't there be another way? because I have tried with several versions and none of them launch PowerLauncher.exe
I also tried to run it in the task scheduler. The problem is that if I add PowerLauncher.exe with the powertoys autorun it works, but as soon as I reboot or disconnect it disappears. And if I create another task just with PowerLauncher.exe it just doesn't work.
I don't know if this can help anything
Thank you for your quick feedback, I took the liberty of hiding the comment given that you do not suggest doing the manipulation I did.

Ok, but then why disabling uac seems to solve the problem, when i am the admin of this pc, and the only user?
Couldn't there be another way? because I have tried with several versions and none of them launch PowerLauncher.exe
I also tried to run it in the task scheduler. The problem is that if I add PowerLauncher.exe with the powertoys autorun it works, but as soon as I reboot or disconnect it disappears. And if I create another task just with PowerLauncher.exe it just doesn't work.
I don't know if this can help anything
Thank you for your quick feedback, I took the liberty of hiding the comment given that you do not suggest doing the manipulation I did.

@GMably

but then why disabling uac seems to solve the problem

It's really simple, but very long to explain.
Bottom line is that the bug is random and it happens because of some bad memory initialization.
Changing things like the UAC changes the boundary conditions, but it's not the thing to change to fix this problem.

@GMably

but then why disabling uac seems to solve the problem

It's really simple, but very long to explain.
Bottom line is that the bug is random and it happens because of some bad memory initialization.
Changing things like the UAC changes the boundary conditions, but it's not the thing to change to fix this problem.

Ok thank you for the explanation, I have just activated UAC in the registry but also in the windows options, and PowerLauncher.exe this launches without problem now.
Thank you

Ok thank you for the explanation, I have just activated UAC in the registry but also in the windows options, and PowerLauncher.exe this launches without problem now.
Thank you

@wieldon @GMably
I've updated the test build, it has more logging and also a possible fix:
https://github.com/microsoft/PowerToys/files/5795545/PowerToysSetup-0.0.1-x64-unsigned.zip
In case you want to test it, try restarting PowerToys multiple times, switching from user mode to admin mode and vice versa.
Thanks.

@wieldon @GMably
I've updated the test build, it has more logging and also a possible fix:
https://github.com/microsoft/PowerToys/files/5795545/PowerToysSetup-0.0.1-x64-unsigned.zip
In case you want to test it, try restarting PowerToys multiple times, switching from user mode to admin mode and vice versa.
Thanks.

PowerToysReport_2021-01-11-12-58-25.zip
PowerLauncher.exe did not launch whenever I enabled PowerToys Run. Something I noticed going through logs was something about needing elevation, but the program was supposed to already be running in administrator?

PowerToysReport_2021-01-11-12-58-25.zip
PowerLauncher.exe did not launch whenever I enabled PowerToys Run. Something I noticed going through logs was something about needing elevation, but the program was supposed to already be running in administrator?

@Koooper
thanks you for uploading the bug report, it has some interesting information.

@Koooper
thanks you for uploading the bug report, it has some interesting information.

@Koooper
do you have any third party antivirus/security software on your pc? Is it a personal or a company pc?
Your user account has administrator rights?

@Koooper
do you have any third party antivirus/security software on your pc? Is it a personal or a company pc?
Your user account has administrator rights?

@enricogior
Fixed!
As requested by you I checked again running PowerToys.exe as administrator and as user. In both cases it didn't work as expected. While still running PowerToys.exe I started Powerlauncher.exe manually from command prompt but still no success. Then I closed PowerToys.exe and started Powerlauncher.exe manually again and suddenly the keyboard shortkey worked fine! Suddenly I rembered one of the previously tested fixes! That's why I opened the properties of PowerToys.exe and I disabled "Run as administrator for all users" in the Compatability-tab. (Installing a newer version doesn't seem to reset this setting!?) Then Powerlauncher.exe finally did start together with PowerToys.exe running as administrator as well as normal user and the GUI run command line popped up after pressing the - in the settings previously chosen - keyboard shortkey.
That's why I suggest to build in a check of the file permissions in the installation setup or make sure to overwrite them.

@enricogior
Fixed!
As requested by you I checked again running PowerToys.exe as administrator and as user. In both cases it didn't work as expected. While still running PowerToys.exe I started Powerlauncher.exe manually from command prompt but still no success. Then I closed PowerToys.exe and started Powerlauncher.exe manually again and suddenly the keyboard shortkey worked fine! Suddenly I rembered one of the previously tested fixes! That's why I opened the properties of PowerToys.exe and I disabled "Run as administrator for all users" in the Compatability-tab. (Installing a newer version doesn't seem to reset this setting!?) Then Powerlauncher.exe finally did start together with PowerToys.exe running as administrator as well as normal user and the GUI run command line popped up after pressing the - in the settings previously chosen - keyboard shortkey.
That's why I suggest to build in a check of the file permissions in the installation setup or make sure to overwrite them.

@enricogior It's a personal computer that has Bitdefender Free and Microsoft Defender. Kaspersky Security Cloud was also installed previously. I am the only user and it has administrator rights. Will try wieldon's fix though.

@enricogior It's a personal computer that has Bitdefender Free and Microsoft Defender. Kaspersky Security Cloud was also installed previously. I am the only user and it has administrator rights. Will try wieldon's fix though.

The fix worked, persisted after restart as well.

The fix worked, persisted after restart as well.

@wieldon @Koooper
just to be 100% sure, you both had this option on?

How is that even possible? The installer doesn't set that option. Did you manually set it on?
Can you try uninstalling 0.29.3 and reinstall it and verify if it the option is on or off?https://github.com/microsoft/PowerToys/releases/download/v0.29.3/PowerToysSetup-0.29.3-x64.exe
And thank you so much for helping with this issue!

@wieldon @Koooper
just to be 100% sure, you both had this option on?

How is that even possible? The installer doesn't set that option. Did you manually set it on?
Can you try uninstalling 0.29.3 and reinstall it and verify if it the option is on or off?https://github.com/microsoft/PowerToys/releases/download/v0.29.3/PowerToysSetup-0.29.3-x64.exe
And thank you so much for helping with this issue!

Thanks @wieldon @enricogior -- @wieldon's solution worked for getting it to start (previously I had enabled 'run this program as admin' in the properties of the shortcut).
Now the launcher starts on startup, but alt space still does not work, for example in powershell here is the result - it opens the menu:

Any ideas? Maybe it's Powershell-specific, but the alt space shortcut also doesn't work in other apps sometimes. Even the screenshot shortcut (fn + shift + f11) does not work in powershell (but works in the file explorer).

Thanks @wieldon @enricogior -- @wieldon's solution worked for getting it to start (previously I had enabled 'run this program as admin' in the properties of the shortcut).
Now the launcher starts on startup, but alt space still does not work, for example in powershell here is the result - it opens the menu:

Any ideas? Maybe it's Powershell-specific, but the alt space shortcut also doesn't work in other apps sometimes. Even the screenshot shortcut (fn + shift + f11) does not work in powershell (but works in the file explorer).

@altosaar
if PowerToys is running with user rights and the application that is on foreground is running as administrator, that application will catch the keyboard input, for security reasons.

@altosaar
if PowerToys is running with user rights and the application that is on foreground is running as administrator, that application will catch the keyboard input, for security reasons.

Good to know, thank you! @enricogior - and there is no workaround to this for elevated Powershell sessions?
Compared to macOS this seems like a pretty bad UX decision in Windows, as it limits universal keyboard shortcuts that often help accessibility and productivity.
I'd be very interested in even a hacky way to get around this to be able to use alt + space from truly anywhere!
Thanks again.

Good to know, thank you! @enricogior - and there is no workaround to this for elevated Powershell sessions?
Compared to macOS this seems like a pretty bad UX decision in Windows, as it limits universal keyboard shortcuts that often help accessibility and productivity.
I'd be very interested in even a hacky way to get around this to be able to use alt + space from truly anywhere!
Thanks again.

@altosaar

there is no workaround to this for elevated Powershell sessions?

You can run PowerToys with admin rights, and it will be able to process the shortcut to open Run

@altosaar

there is no workaround to this for elevated Powershell sessions?

You can run PowerToys with admin rights, and it will be able to process the shortcut to open Run

Thanks @enricogior - I tried that but I need to do that on each login.
Is there a way to automate the 'restart as administrator' option in PowerToys to avoid doing it every log in?
(That's why I clicked 'run as administrator' in properties of the shortcut, but then that breaks alt space and led me to this in the first place.)

Thanks @enricogior - I tried that but I need to do that on each login.
Is there a way to automate the 'restart as administrator' option in PowerToys to avoid doing it every log in?
(That's why I clicked 'run as administrator' in properties of the shortcut, but then that breaks alt space and led me to this in the first place.)

@altosaar
as you can see in the screen shot above, if you restart PowerToys as adminstrator, then you can set to always run as adminstrator (reopen the settings and and the toggle will be enabled).

@altosaar
as you can see in the screen shot above, if you restart PowerToys as adminstrator, then you can set to always run as adminstrator (reopen the settings and and the toggle will be enabled).

So - I have that problem, and I went through the process. It unfortunately isn't solved. Here's my .zip file:
PowerToysReport_2021-01-14-18-10-34.zip

So - I have that problem, and I went through the process. It unfortunately isn't solved. Here's my .zip file:
PowerToysReport_2021-01-14-18-10-34.zip

@TheOnlyTails
thank you for sending the report.

go to C:\Program Files\PowerToys
right click on PowerToys.exe and select Properties
go to Compatibility tab
make sure the Run this program as an administraotr option is unchecked (you may have to click on Change settings for all users to be able to turn it off)

@TheOnlyTails
thank you for sending the report.

go to C:\Program Files\PowerToys
right click on PowerToys.exe and select Properties
go to Compatibility tab
make sure the Run this program as an administraotr option is unchecked (you may have to click on Change settings for all users to be able to turn it off)

I believe it's now working. Thank you very much! This feature is so useful!

I believe it's now working. Thank you very much! This feature is so useful!

@enricogior
I'm very sad!
As requested by you I reinstalled latest build v29.03 and now powerlauncher.exe again doesn't start, not when restarting - several times - PowerToys.exe as administrator and as user.
My answer to your remark "How is that even possible? The installer doesn't set that option. Did you manually set it on?":
I wrote before "Suddenly I rembered one of the previously tested fixes!". So, yes this setting was one of the things I tried before by myself. I'm certified Microsoft engineer, created msi-files also many times and also tested many applications.
I'm also very sad to inform you that when running the repair option from the uninstaller I got an error telling my it couldn't find PowerToysBootstrappedinstaller-<IP_ADDRESS>.msi in the Temp-dir.
By the way, when uninstalling PowerToys I also do miss the question whether or not the configuration settings should be deleted!?
Considering all above I will leave this issue #9017 and switch to #9018.

@enricogior
I'm very sad!
As requested by you I reinstalled latest build v29.03 and now powerlauncher.exe again doesn't start, not when restarting - several times - PowerToys.exe as administrator and as user.
My answer to your remark "How is that even possible? The installer doesn't set that option. Did you manually set it on?":
I wrote before "Suddenly I rembered one of the previously tested fixes!". So, yes this setting was one of the things I tried before by myself. I'm certified Microsoft engineer, created msi-files also many times and also tested many applications.
I'm also very sad to inform you that when running the repair option from the uninstaller I got an error telling my it couldn't find PowerToysBootstrappedinstaller-<IP_ADDRESS>.msi in the Temp-dir.
By the way, when uninstalling PowerToys I also do miss the question whether or not the configuration settings should be deleted!?
Considering all above I will leave this issue #9017 and switch to #9018.

@wieldon
the log shows that the shortcut to open PT Run is never processed by PowerToys.
We'll need to do more investigation for you case.
We are in the process of releasing 0.31, after that we will continue the investigation.
Regarding

running the repair option from the uninstaller I got an error

It's a known issue, btw the repair option at this stage is kind of useless, since it's much simpler to just reinstall PowerToys.

when uninstalling PowerToys I also do miss a question whether or not the configuration settings should be deleted!?

We don't provide that option yet. It can be done manually, deleting %localappdata%\Microsoft\PowerToys\

@wieldon
the log shows that the shortcut to open PT Run is never processed by PowerToys.
We'll need to do more investigation for you case.
We are in the process of releasing 0.31, after that we will continue the investigation.
Regarding

running the repair option from the uninstaller I got an error

It's a known issue, btw the repair option at this stage is kind of useless, since it's much simpler to just reinstall PowerToys.

when uninstalling PowerToys I also do miss a question whether or not the configuration settings should be deleted!?

We don't provide that option yet. It can be done manually, deleting %localappdata%\Microsoft\PowerToys\

Dear @enricogior ,
I also still have problems regarding Power Launcher in my computer.
Attached is the zip file created by BugReportTool.exe (I have followed your instruction). Hope this can help you and your team for future update.
Thank you and have a nice day.
PowerToysReport_2021-01-31-10-50-56.zip

Dear @enricogior ,
I also still have problems regarding Power Launcher in my computer.
Attached is the zip file created by BugReportTool.exe (I have followed your instruction). Hope this can help you and your team for future update.
Thank you and have a nice day.
PowerToysReport_2021-01-31-10-50-56.zip

@kancumaniseng
unfortunately the log is not showing any activity, it looks like PowerToys itself is not running.
Next week I will update the private build with more logging to try to figure out what is happening.

PowerToysReport_2021-02-17-07-25-15.zip

PowerLauncher works when I manually execute it
PowerLauncher does not work when PowerToys is on and PowerLauncher is on
PowerLauncher works when PowerToys is completely terminated but PowerLauncher is on
I tried #2 and #3 again with PowerLauncher terminated via Task Manager
Result: Did not work
Hope this information helps

PowerLauncher works when I manually execute it
PowerLauncher does not work when PowerToys is on and PowerLauncher is on
PowerLauncher works when PowerToys is completely terminated but PowerLauncher is on
I tried again with PowerLauncher terminated via Task Manager
Result: Did not work (Have to manually execute PowerLauncher again)
Hope this information helps!

PowerToysReport_2021-03-08-09-29-02.zip

Closing this issue as well as https://github.com/microsoft/PowerToys/issues/9018 since the instructions are obsolete now.
Users are still reporting issues for PT Run not starting, and we will use new issues to track the problem.

I'm on v.0.58.0 and the issue is still there.

Issue persists on v0.61.1.

Powerlauncher not starting up in the newest version
PowerToysReport_2022-10-22-10-12-49.zip
PowerToysReport_2022-10-22-10-27-08.zip

Powerlauncher still not running
PowerToysReport_2022-11-04-20-48-18.zip


[Broken] [nickelodeon] ERROR: Conversion failed!

Checklist

[ X] I'm reporting a broken site support
[X ] I've verified that I'm running youtube-dlc version 2020.11.11-3
[ X] I've checked that all provided URLs are alive and playable in a browser
[ X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ X] I've searched the bugtracker for similar issues including closed ones

Verbose log
Downloading https://www.nickelodeon.nl/episodes/ovmytb/spongebob-de-grill-is-weg-de-nachtburger-seizoen-seasonnumber-11-afl-24
This will be SE11E24
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.nickelodeon.nl/episodes/ovmytb/spongebob-de-grill-is-weg-de-nachtburger-seizoen-seasonnumber-11-afl-24', '--verbose', '--no-check-certificate', '--download-archive', '~/.Spongebob Squarepants', '-r', '5m', '-f', 'best', '-c', '-w', '--add-metadata', '-i', '--output', '/Volumes/GoogleDrive/My Drive/Media/Series/Spongebob Squarepants/Spongebob Squarepants - SE11E24.%(ext)s']
[debug] Loading archive file '/Users/niels/.Spongebob Squarepants'
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dlc version 2020.11.11-3
[debug] Python version 3.7.3 (CPython) - Darwin-20.2.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, rtmpdump 2.4
[debug] Proxy map: {}
[nick.de] spongebob-de-grill-is-weg-de-nachtburger-seizoen-seasonnumber-11-afl-24: Downloading webpage
[nick.de] 37ac4eb1-cd88-11e8-8764-70df2f866ace: Downloading JSON metadata
[nick.de] 37ac4eb1-cd88-11e8-8764-70df2f866ace: Downloading info
[nick.de] 4dbfba71-e933-11e8-a442-0e40cf2fc285: Extracting information
[nick.de] 4dbfba71-e933-11e8-a442-0e40cf2fc285: Downloading video urls
[nick.de] 4dbfba71-e933-11e8-a442-0e40cf2fc285: Downloading m3u8 information
[download] Downloading playlist: De grill is weg / De nachtburger
[nick.de] playlist De grill is weg / De nachtburger: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Invoking downloader on 'https://dlvrsvc.mtvnservices.com/api/playlist/gsp.mtviestor/intlod/won-intl/spongebob_squarepants/spongebob_squarepants_11/239_spongebob_squarepants_239/ABC742420/1/stream_1920x1080_4586235_1306594217.m3u8?tk=st=1612255637~exp=1612270037~acl=/api/playlist/gsp.mtviestor/intlod/won-intl/spongebob_squarepants/spongebob_squarepants_11/239_spongebob_squarepants_239/ABC742420/1/stream_1920x1080_4586235_1306594217.m3u8*~hmac=066b5bef4932e5fa9855d70436ca15cc4f39450f41492c764a884b264405bf64&account=intl.mtvi.com&cdn=ns1'
[download] /Volumes/GoogleDrive/My Drive/Media/Series/Spongebob Squarepants/Spongebob Squarepants - SE11E24.mp4 has already been downloaded
[download] 100% of 729.88MiB
[debug] ffmpeg command line: ffprobe -show_streams 'file:/Volumes/GoogleDrive/My Drive/Media/Series/Spongebob Squarepants/Spongebob Squarepants - SE11E24.mp4'
[ffmpeg] Fixing malformed AAC bitstream in "/Volumes/GoogleDrive/My Drive/Media/Series/Spongebob Squarepants/Spongebob Squarepants - SE11E24.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/Volumes/GoogleDrive/My Drive/Media/Series/Spongebob Squarepants/Spongebob Squarepants - SE11E24.mp4' -c copy -f mp4 -bsf:a aac_adtstoasc 'file:/Volumes/GoogleDrive/My Drive/Media/Series/Spongebob Squarepants/Spongebob Squarepants - SE11E24.temp.mp4'
	ERROR: Conversion failed!
Traceback (most recent call last):
  File "/Users/niels/Library/Python/3.7/lib/python/site-packages/youtube_dlc/YoutubeDL.py", line 2150, in post_process
    files_to_delete, info = pp.run(info)
  File "/Users/niels/Library/Python/3.7/lib/python/site-packages/youtube_dlc/postprocessor/ffmpeg.py", line 618, in run
    self.run_ffmpeg(filename, temp_filename, options)
  File "/Users/niels/Library/Python/3.7/lib/python/site-packages/youtube_dlc/postprocessor/ffmpeg.py", line 239, in run_ffmpeg
    self.run_ffmpeg_multiple_files([path], out_path, opts)
  File "/Users/niels/Library/Python/3.7/lib/python/site-packages/youtube_dlc/postprocessor/ffmpeg.py", line 235, in run_ffmpeg_multiple_files
    raise FFmpegPostProcessorError(msg)
youtube_dlc.postprocessor.ffmpeg.FFmpegPostProcessorError: Conversion failed!

 However, it has also had no updates in over 2 months. You can use my fork yt-dlp instead if you want. Anyway, you should report the issue in either of these to get any attention


Fix typo in deprecation doc

thanks @tiborvass
Signed-off-by: Doug Davis<EMAIL_ADDRESS>

@duglin might as well fix s/replace/replaced/ somewhere in there :)

@tiborvass took me a while to realize you were talking about a different file   ;-)  but I did find it.  thanks!

lol sorry! LGTM

LGTM

LGTM


Specify DLRM calibration set

Specify DLRM calibration set
@mnaumovfb @christ1ne Could you review if this is clear enough? Thanks

closes #641

How about "from the 89137319-th row to the 89265318-th row(both inclusive)"?

Looks good to me.

updated!