[Bug]: Getting an error related to SchemaCoder after upgrading to 2.48

What happened?
After upgrading Apache Beam to the today's latest version 2.48.0, we encountered some issues with our tests. All tests were failing because of this following error:
Caused by: java.lang.IllegalArgumentException: org.apache.beam.model.Function$SchemaCodeGen$9JxP0J5v must be defined in the same package as org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Function

It only happens when you have a nested schema. If we remove the nested schema it works fine.
I created this repository beam-schema-bug that you can run with DirectRunner to reproduce the issue.
Issue Priority
Priority: 1 (data loss / total loss of function)
Issue Components

[ ] Component: Python SDK
[X] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

Any progress related to this issue. We can't run the pipeline with the version 2.48

The same problem (however with different package prefix for Function) occurs with custom generated protobuf classes, e.g.:
org.apache.beam.sdk.Pipeline$PipelineExecutionException: java.lang.IllegalArgumentException: com.my.pacakge.with.proto.Function$SchemaCodeGen$bWrbfTA2 must be defined in the same package as org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Function

I have the same issue. I've generated classes from an Avro schema using avro-compiler at build time and Apache Beam in version 2.48.0 can't handle them properly.

This seems to be caused by #25578.

Version 2.51 seems to be working as expected


refactor: smarter args for measure text

Basically breaking out this: https://github.com/qlik-oss/sn-pivot-table/pull/287/files#diff-ec18bf142eff172651b535422a1a8fa75c79d87588adbc461acef39767dc630eR42-R43. Will be more needed as of that PR, since we take more styling into account.
Passing the whole styling object since we always use the size and fontFamliy from a specific part of the chart (rowContent, header etc). This would also simplify if we would need other styling as well, potentially bold for example

FYI those rendering tests are failing on main as well. So I think we can safely merge this PR anyway

I also had the same issue in my test pr with only 2 (new) rendering tests screenshot.
So I think you need update your pr with those screenshots and merge it.

:tada: This PR is included in version 2.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


SES input

As a user, I can add an SES key so I can send emails and they will be billed to my AWS account

The following doc has interesting info regarding the use SES, particularly with regard to sending limits https://docs.aws.amazon.com/ses/latest/DeveloperGuide/ses-dg.pdf.


[5.8] Add validation rule to verify if attribute is multiple of given number

This PR adds a "multipleOf" validation rule. We verify if attribute is a multiple of given number. This is currently not achieved by available validation rules.
Example of how to use it.
    protected function create(Request $request)
    {
        $request->validate([
            'num' => 'multiple_of:15',
        ]);
    }

End users could benefit from it if they are working with currency, time, distance etc where they need to validate if attribute is a multiple of certain number. For example: When working with calendar, user needs to only accept appointments of length that are multiple of 15. (15 min, 30 mins etc)

Just a reminder to update resources/lang/en/validation.php if this gets through.

You can add this as a custom rule if you so choose. I'm not sure it warrants inclusion in the core.


Dapr endpoint env and TLS support in SDKs

+1, I like this idea!

+1 binding

+1 binding

+1 binding

@artursouza @yaron2 sorry for reopening the conversation here. Working on the injector reminded me that we also have support for Unix Domain Sockets when using gRPC.
Should we expose that somehow using the env vars added here? for example DAPR_GRPC_ENDPOINT set to a path to a UDS? (That may require coordination with SDKs)

@artursouza @yaron2  Similarly sorry for also re-pinging a closed proposal :smile:
I have just now noticed that the gRPC endpoint environment variable accepts a scheme- specifically https://. Semantically- this is incorrect, and as @ItalyPaleAle alluded to above, would be incompatible when attempting to use another transport (e.g. UDP) at the same time. The gRPC documentation is clear on what schemes can be used and HTTP/HTTPS isn't defined because it doesn't make much sense in the context of resovlers.
I would have expected no scheme to default to DNS, and no port or a port of 443 to default to using TLS. In other cases, beside port 80, the clients would optimistically attempt TLS and fall back to insecure (or some other agreed upon behavior). Having a SECURE and INSECURE gRPC env var, preferring SECURE, as another option. I think misusing https:// here to signal to the client to use TLS is confusing for users, be incompatible with their use case, and potentially put off potential new users to dapr.

Let's discuss this. The gRPC client for .Net uses this environment variable as-is withiut the Dapr SDK requiring any parsing.

As I understand, the grpc-dotnet project has decided to use the http/https schemes to signal whether to enable TLS or not (same as this proposal) as a deliberate design decision. I'm assuming (?) that the library only supports DNS, and not other resolvers (or resolver plugins). This has caused some user confusion there.


Remove klusterlet agent namespace on the honsting cluster when delete klusterlet

fix issue the klusterlet agent namespace will leak when delete the hosted mode klusterlet but there is no the external-managed-kubeconfig
Signed-off-by: zhujian<EMAIL_ADDRESS>

/cc @qiujian16 @zhiweiyin318

/hold

/hold

/hold cancel

/close


lineage not shown in v0.8.39

Describe the bug
If you ingest lineage with preserve_upstream: false , upstream is not shown in new UI (with degree of dependencies), although you can still see in visualization.
This used to work fine with 0.8.38
To Reproduce
as above
Expected behavior
Lineage should listed as text

It may be that the upstream datasets are not created as entities in the Metadata Graph --> We are looking into it.

@sachinwadhwa can you confirm that the issue persists?

@sachinwadhwa can you confirm that the issue persists?

confirmed, its happening on v0.8.41

@sachinwadhwa thanks for the reply. If you reach out on Slack, we can find some time to jump into a call and get this sorted out!


Demo and example code ideas

This is a place to post example code ideas we should write, I'll try to keep the checklist up to date with suggestions.
As a rule we also decide all example code should be done and maintained both in LiveScript and ES6 (as a learning resource for Arch and also LiveScript).
The example will eventually be kept in this repository
Example code

[ ] todo-mvc
[ ] App with user registration / authentication (possibly OAuth integration)
[ ] Animations based on state change and re-rendering
[ ] React components integration demo (maybe a styleguide type thing?)

[ ] App with user registration / authentication

An example of using React components with Arch would be helpful.

@cpursley good idea and should be really simple to do. Thanks!

Hi, I built a version of the todo-mvc here. Code reviews welcome! :)

@jamesnolanverran Thanks! I'll have a deeper look tomorrow, meanwhile, you can check our version here if you haven't yet.

For the 3rd-party components example, I'd like to suggest integrating react-bootstrap, as it's very well-documented and my guess is many would find it useful in their applications.

Live updating sync demo with firebase. Chat maybe?


[eas-cli] fix issue with the eas.json envs being not available when resolving local config

Checklist

[ ] I've added an entry to CHANGELOG.md if necessary. You can comment this pull request with /changelog-entry [breaking-change|new-feature|bug-fix|chore] [message] and CHANGELOG.md will be updated automatically.

Why
https://exponent-internal.slack.com/archives/C017N0N99RA/p1675204277962559?thread_ts=1675197740.345569&cid=C017N0N99RA
How
Revert change which caused this bug https://github.com/expo/eas-cli/commit/7fc3e3fcdbfaf8678f74a381ae29906d363ff33a#diff-c63107e3aba5b4b07dc44257b5a0d13751a25aa74279e996419d1e35a5955acf
Test Plan
Tested locally

Could you also see if it's possible to tighten down the type definition for that parameter to prevent this from happening?

/changelog-entry bug-fix Fix the issue with the eas.json envs being not available when resolving dynamic config


Problem using vpn kit on Alpine

I'm running into some problem using the WSL VPN Kit (running in Ubuntu-20.04 WSL2) from alpine in WSL2
Steps to reproduce

Setup wsl-vpnkit in Ubuntu-20.04

Restart Ubuntu-20.04 and start wsl-vpnkit

Internet works in Ubuntu-20.04 while on VPN now 👍

Start alpine (3.13.4, if that matters. Installed from MS Store fresh today)

Edit /etc/wsl.conf just like I did in Ubuntu
[network]
generateResolvConf = false

Edit /etc/resolv.conf to read nameserver <IP_ADDRESS>

Restart Alpine to make sure everything is happy.

What doesn't work
Anything that needs dns resolution

ping www.google.com

ping: bad address 'www.google.com'

wget http://www.example.com

wget: bad address 'www.example.com'

I get the same failures both on and off of VPN
What does work
DNS resolution and internet traffic actually both work

nslookup example.com
Server:         <IP_ADDRESS>
Address:        <IP_ADDRESS>#53

Non-authoritative answer:
Name:   example.com
Address: <IP_ADDRESS>
** server can't find example.com: NXDOMAIN

wget http://<IP_ADDRESS>/
Connecting to <IP_ADDRESS> (<IP_ADDRESS>:80)
wget: server returned error: HTTP/1.1 404 Not Found

ip route
default via <IP_ADDRESS> dev eth1
<IP_ADDRESS>/20 dev eth0 scope link  src <IP_ADDRESS>
<IP_ADDRESS>/24 dev eth1 scope link  src <IP_ADDRESS>

I get the same results both on and off of VPN
Additional: If I delete /etc/wsl.conf and /etc/resolv.conf and restart WSL while off of VPN, everything works as normal, but only when not on VPN. So alpine is working when not using vpnkit
What I expect
Internet should be working, especially if wget by IP and and nslookup are both clearly working. What could be going on to prevent this from functioning as intended?

If you install curl in Alpine, does curl http://www.example.com work?
Which Alpine distro and what version of busybox are you using?

Installing curl and using the (non-busybox version of) curl does indeed behave in the same way as wget mentioned in the OP. Bad address
Alpine Version: 3.13.4
Busybox Version: 1.32.1

I was able to get things working without needing the resolv.conf file anymore, so now alpine is happy with that (100% pure routing solution). If I had to guess, alpine's invisible default for nsswitch.conf does not favor resolv.conf as some OSes are moving from resolv to resolve (with an e at the end). So I'll just go with I don't know what Alpine is doing, but it's probably not resolv, and everything works now with the pure routing solution ;)


Chatwoot live support is unavailable. Please email<EMAIL_ADDRESS>until we restore widget and Telegram support.

This is now resolved. If you need to continue a support ticket issue, please send us a new support message.


Updates to match tilequeue buffer-bounds changes

Connects to https://github.com/mapzen/vector-datasource/issues/106
@zerebubuth could you review please?

:+1: looks good to me.


2.json missing

after much troubleshooting in trying to get the launcher to start Minecraft, i was halted with this error in the launcher log.
[22:37:33 FATAL]: Fatal error launching game. Report this to https://github.com/olauncher/olauncher/issues/new please!
java.io.FileNotFoundException: C:\Users\Mumu\AppData\Roaming.minecraft\assets\indexes\2.json (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_411]
at java.io.FileInputStream.open(Unknown Source) ~[?:1.8.0_411]
at java.io.FileInputStream.(Unknown Source) ~[?:1.8.0_411]
at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:2388) ~[patched.jar:1.7.3]
at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:2506) ~[patched.jar:1.7.3]
at net.minecraft.launcher.Launcher.cleanupOrphanedAssets(Launcher.java:362) ~[patched.jar:1.7.3]
at net.minecraft.launcher.Launcher.performCleanups(Launcher.java:615) ~[patched.jar:1.7.3]
at net.minecraft.launcher.game.MinecraftGameRunner.launchGame(MinecraftGameRunner.java:219) ~[patched.jar:1.7.3]
at com.mojang.launcher.game.runner.AbstractGameRunner.onDownloadJobFinished(AbstractGameRunner.java:292) ~[patched.jar:1.7.3]
at com.mojang.launcher.updater.download.DownloadJob.popAndDownload(DownloadJob.java:150) ~[patched.jar:1.7.3]
at com.mojang.launcher.updater.download.DownloadJob.access$000(DownloadJob.java:16) ~[patched.jar:1.7.3]
at com.mojang.launcher.updater.download.DownloadJob$1.run(DownloadJob.java:111) ~[patched.jar:1.7.3]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_411]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_411]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:1.8.0_411]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:1.8.0_411]
at java.lang.Thread.run(Unknown Source) ~[?:1.8.0_411]
[22:37:33 INFO]: Deleting C:\Users\Mumu\AppData\Roaming.minecraft\versions\1.20.6\1.20.6-natives-14120131965700
I was unable to figure out what more I needed to do, posting here was the next logical step.

Can you put the stack trace in code tags? (surround it with ```)

Can you put the stack trace in code tags? (surround it with ```)

how do i do that?

This issue is fixed in my PR for internal overhaul, it was missing a check if the file exists.

This issue is fixed in my PR for internal overhaul, it was missing a check if the file exists.

how do i fix it on my end?

Currently, you can try to create a 2.json file in that folder %HOME%/.minecraft/assets/indexes temporally.

Currently, you can try to create a 2.json file in that folder %HOME%/.minecraft/assets/indexes temporally.

it's still not working, but thank you all for your help anyways!


Handling changlog window on startup

Is your feature request related to a problem? Please describe.
Handling changlog window on startup
Describe the solution you'd like
Move the "dont show + ok block" from the bottom to the top, else you always need to fully scroll down to close it.
Describe alternatives you've considered
Scrolling down to the bottom and over time the changelog list will be big which then becomes annoying.
Additional context
I like the changlog being presented but scrolling down just to close it where I am interested in the latest changes is really not that good.

@mmattel The don't show disables it forever, not just for the actual release. Once you press ok you will not see that changelog anymore

Reason it is on bottom is that reading changelogs is highly suggested so you should scroll to bottom in order to read it all, like when you have to accept terms in a website it force you to scroll the entire page in order to go on. I would like to know others opinion on this as I'm open  to change this behaviour but I actually did it on purpose for the reasons described above

where I am interested in the latest changes

That I don't understand. The changelog should show just the changes since you read them last.

The changelog should show only the changes that were made since you read them last.

If the changelog would only show the changes of the particular release, I would be fine with the current state. But as long it shows all changes, imagine +20 releasen in the future, scrolling the list to the bottom for options becomes a nightmare.

It has a limit of 10 releases btw I can also reduce this limit

Also you can disable it and since someone keeps it enabled means he want to see it and scrolling would not be a problem.

This assupmtion is imho not correct. One wants to look for the changes of the current release and not for all in the list. Disabling would mean not showing the list at all - even not for the current release. Limiting the amount of changelogs shown could be a alternative solution, but the number should be quite low, I would say 2. The current and the former.

@mmattel In the changelog you see all changes made from the release you was to the one you just installed so IMO say "I want to see only latest changes" makes no sense. I mean you can see a patch release with a minor bug fix and miss all the intermediate important changes if I would follow your logic.
The reason to see multiple releases is to show you every single feature/patch made since your last update and that's the main purpose of a changelog

One wants to look for the changes of the current release and not for all in the list

So, if you were to update from v8.26.0 to v9.1.2, you would only want to see this

add setting to enable new version notification

and not the breaking changes that happened in v9.0.0?

Minimum NodeJS version is now 18
If ZUI doesn’t work as expected after updating please check this issue and follow the steps described here: https://github.com/zwave-js/node-zwave-js/issues/6341
... etc


use httprest v.0.3.0

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines
Coverage Δ

csobpg/v19/api.py
97.33% <ø> (ø)


the attachment can sync with md

if I delete a picture in md, the assets fold won't change.

Yes, currently, the attachment cannot sync with MD. I'm not considering adding this feature soon.


Combination of sharing card and create card

Creating shareable URL for the card
Relevant documentation

FormData: https://developer.mozilla.org/en-US/docs/Web/API/FormData
URLSearchParams: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams
btoa() (for encoding the URL): https://developer.mozilla.org/en-US/docs/Web/API/btoa

Process
HTML
In our card generator page, there is an HTML Form element containing the fields that will make up the card:

background (the background image) (dropdown select)
recipient (text input field)
greeting (text input field)
sender (text input field)

Each of these fields has a "name" tag added to it, which we use to extract the value the user types in (text input field) or selects (dropdown select).
The form also has a 'submit' button.
JavaScript
In the JavaScript for this page, we have a function which converts the form field values into a URL which displays the generated card to the recipient.
This is the function (without comments):
  const cardForm = document.getElementById("cardForm");

  cardForm.addEventListener("submit", function(e) {
    e.preventDefault();
    const values = new URLSearchParams(new FormData(cardForm));

    const cardUrl = new URL('view-card.html', window.location.href);
    cardUrl.hash = btoa(values.toString());

    const urlField = document.getElementById("cardUrl");
    urlField.value = cardUrl.toString();
});

The components are explained in the comments below:
cardForm.addEventListener("submit", function(e) {
  e.preventDefault();

  // saves the values from form fields as an URLSearchParams object
  const values = new URLSearchParams(new FormData(cardForm));

  // creates a base URL to display the card to the recipient
  // 'view-card.html' is the filename of the page we created to display the card to the recipient
  const cardUrl = new URL('view-card.html', window.location.href);

  // values.toString() converts the URLSearchParams object to a query string
  // btoa() is a function that encodes the string as Base64 (so that we cannot see the user's text in the URL)
  // the encoded querystring is added onto the end of the URL we just created above
  cardUrl.hash = btoa(values.toString());

  // We then add this URL as the content in a text field on the card generator page to display it to the user
  const urlField = document.getElementById("cardUrl");
  urlField.value = cardUrl.toString();

});

Result
The user is given a URL which looks like this:
https://hypergeek-dev.github.io/Santas-Devs/view-card.html#Yj0zJnI9RGVubmlzJmc9SGFwcHkrWG1hcyZzPURhbmllbA==
If we had not encoded the URL using btoa(), it would look like this:
https://hypergeek-dev.github.io/Santas-Devs/view-card.html#b=3&r=Dennis&g=Happy+Xmas&s=Daniel
(We looked into using a URL shortener but this was not possible without using any backend or without paying.)
The user can copy the URL and send it to the recipient.
When the recipient visits the link, the JavaScript in the view-card.html page reverses the above process to display the card.


Uri deserialization should support relative URIs

Product
Strawberry Shake
Version
13.9.4
Link to minimal reproduction
https://github.com/json-everything/json-everything/blob/637895947c44a376b13b4019256b6da1316773e2/tools/GenerateSponsorList/Program.cs#L27
Steps to reproduce
Query against GitHub API:
query {
  user(login:"<username>") {
    ... on Sponsorable {
      sponsors(first: 10) {
        nodes {
          ... on User {
            websiteUrl
          }
          ... on Organization {
            websiteUrl
          }
        }
      }
    }
  }
}

You need a sponsor who's URL is relative, like mysite.io.  Apparently GH accepts that.
I can't create a reproduction because it requires authenticated data.  The reproduction link I've supplied is the point at which my app fails.
What is expected?
I expect the response to deserialize.
Uri.TryCreate() successfully makes a relative URI.
What is actually happening?
Apparently one of my sponsors has entered a URL like mysite.io as their website, and the ILeafValueParser<Uri> that's generated seems to have a hard time parsing it.  Seems it interprets this as a relative URI and expects it to start with a slash.
Exception is GraphQLClientException with this as the message:
The relative uri mysite.io does not start with '/'

Relevant log output
No log output.

Additional context
Per @michaelstaib (in Slack) the serializer is https://github.com/ChilliCream/graphql-platform/blob/main/src/StrawberryShake/Client/src/Core/Serialization/UrlSerializer.cs

I'd like to propose two approaches:
Check for hostname
Use the Uri.CheckHostName() method to check if it's a valid host name.  If so, maybe prepend https:// on it and try to parse again.
This approach suits this particular case where some user has entered mysite.io as their website, but it does make the assumption that this is the case.
Support custom parsers
(Maybe this is already done, but I don't know about it.)
It'd be nice to be able to register a custom converter for a particular type, like you can with System.Text.Json.

Lets remove the check and allow relative URIs.

@michaelstaib what version will this be available in?

14 ... use the latest preview ... we will have a release version sometime in august


multiple problems: Remove non-ASCII characters to fix #441

#441
Originally tracked as #527
FYI @Insti @petertseng

@petertseng the new version is updated and ready for you to take a look at.

Thanks @petertseng! I'm assuming to submit this I should rebase and merge this to keep a linear commit history, is that correct?

Hmm, from my observations, the Rebase and Merge button has the disadvantage that it's not possible to tell from the commit message what PR the commit is associated with - one has to go to the github web interface to know. For that reason I would prefer the merge commit.

Ok thanks @petertseng!


use "v-for" and "v-if" on a same

Version
2.4.4
Reproduction link
codepen.io
Steps to reproduce
<template>
  <div>
    <template v-for="item in [1, 2, 3, 8]" v-if="flag === 1">{{item}}</template>
    <template v-for="item in [5, 6, 7]" v-else>{{item}}</template>
  </div>
</template>

data: {
  flag: 2
}

What is expected?
render "5 6 7"
What is actually happening?
render "5 6 7 5 6 7 5 6 7 5 6 7"

https://v2.vuejs.org/v2/guide/list.html#v-for-with-v-if
It is strongly discouraged to use v-if and v-for on the same node.
So I don't think this behavior is worth fixing.


Update keycloak

Description

Superseded by https://github.com/aerogear/datasync-starter/pull/425?


Remix Tests Typescript implementation

Remix Tests Typescript implementation

remix-lib failing test is not related

@iurimatias is this ok to merge regarding the workshops next week?

did the rebase worked ok? cause several commits actually belong to master.

Yes it seems it worked. I can see tests and codes are all in place.

i just don't get why this commit https://github.com/ethereum/remix/pull/1128/commits/cc4dcb5a2fe9f8f493a7ecd7a0f294c64a60c5fc
and some other are referenced in this PR...

i just don't get why this commit cc4dcb5
and some other are referenced in this PR...

I rebased it after your fix last night.


[DO-NOT-MERGE] Squirrelly

@magne4000 Sorry to annoy you again with this but I have a similar struggle with Squirrelly as in #69, i.e. no matter to which external: list (or similar) I add "squirrelly", I seem to always get an error message about require() or about CJS. In the current state the build fails with
packages/cli build$ rimraf ./dist && tsup
│ ReferenceError: require is not defined in ES module scope, you can use import instead
│     at file://.../bati/packages/core/dist/index.js:41808:12
│     at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
└─ Failed in 755ms at .../bati/packages/cli

I see in Squirrelly's package.json:
  "main": "dist/squirrelly.cjs.js",
  "browser": "dist/browser/squirrelly.min.js",
  "module": "dist/squirrelly.es.js",
  "typings": "dist/types/index.d.ts",

and our setup seems to be picking up dist/squirrelly.cjs.js instead of dist/squirrelly.es.js. Do you have an idea how to solve this? Otherwise I'll dig more. Thanks!

@AurelienLourot I managed to replace rollup with esbuild, we should have less issues like this, and it's way faster

@magne4000 since you have now contributed here too, should I just push here some unit tests and we land this PR? And then I can create a new PR later with the Vue boilerplate.

yes, let's do that :+1:!


Hand-roll the JS output for the 2nd tutorial step

This file intentionally contains unused imports, and we don't want TypeScript to remove them.
Part of #332

Oops had a bug where we weren't using the TypeScript custom JSON parser for parsing the config file -- it's different because it allows comments and trailing commas! (Was using it for --watch mode, but not regular build mode, hence why I missed it). Fixed.


Change port

I'm trying to add patternplate in a build and I wanted it to run in :8080, is it possible to change the port it runs ?

Just create a configuration/server.js and override these settings in there.

I managed to do that with the CLI as well, now I wanted to publish this in a QA environment and it needs to listen on '/ui' instead of '/', is this also possible ?
Thank you

I think this is currently not possible. You could do so by using a reverse-proxy (e.g. apache, nginx or some custom node-server) in front of the QA environment.

I can't touch the server configuration :/
Do you know any other way to do this ?

Sorry no, I think there is no other way around it.
You may be able to write a node programm and start patternplate from that. If you create your own express server in there and delegate the requests to patternplate then you have your own reverse-proxy. But it sounds very much like overkill.
Sorry.

I even tried to fork patternplate server and changed the routes.js but that didn't seem to work.  So I'll have to follow that ideia and create a simple  node server
Thanks

So I forked the patternplate-client and I am almost there , all the files are served in '/ui' the only thing that is not working is what is served from the api , the source code and the json basically. DO you know any way around this ?

You need to fork the server as well for that.

And do you know where I need to make the changes in the server?

Sorry, not just a single clue to give. I'm not that deep into it and I'm not sure about side effects.

No problem,  thank you for your help so far.
@sinnerschrader do you think you could help me with this?

Hej @SaraVieira, @marionebl is on vacation right now. Sorry for that.

hey @KnisterPeter np :)
I was able to change that but when I deploy I get a piping error :(

Locally it works great

@SaraVieira what do you mean by piping error? Do you have a stack trace? Or something I can help with?

If this is not sufficient I can ask server permission

There should be a relevant server side error. The clients says 500 which normaly means it is a server error.

I know it's a server error , I need to wait for someone who can get inside the machine and I will try to get the server log and I will get back to you on monday
Thank you

It was a splitter problem in our side.
Thank you so much @KnisterPeter  for your help its working great on the QA server now 👍

I'm glad. Your welcome :smile:

If you like to you can publish your changes for a pull request.
I say we need to make it configurable to include it in patternplate, but we (or you) could do so.

@KnisterPeter when I have the time I will configure the changes better because right now they are hard coded and I will create a pull request so that people can configure the path in the CLI
Is there any way I can load a static svg file ?
I'm trying to load an svg sprite

I don't think so. You need to host it somewhere. There is no static file server in patternplate and it would probably out of scope.

I'm just asking because sometimes you do need something like an image in a pattern library

You could use a placeholder service like this https://image.sinnerschrader.io/Your+Image/aaa/844/800x600/image.png or some kittens. :smile:

Kittens are never a bad idea and something that I will always approve of 😄
The problem is i'm trying to load an svg sprite that is dynamically created , so i'm going to try to make some tweaks to the server to see if I can make it serve a static folder with images or something. Would this be something you guys would like included ? Should I later create a pull request for this when done ?

@KnisterPeter once we had a /static folder on the same level as for the /patterns which became available via <domain.io>/api/static. Is this outdated by now?
@SaraVieira What exactly do you mean by "dynamically created"? A taskrunner building and deploying the sprite to a specific folder oder created from patterns of the patternplate?

@Dangoo I didn't know this. Maybe it will work.
@SaraVieira I would not think that static files should be included in your pull requests. At least split the two features into two requests.

I dont mean include the static files in the pull request but instead create
a pull requests that changes the server in order to also serve am assets
folder for the pattern if needed
On Wed, 8 Feb 2017, 13:04 Markus Wolf<EMAIL_ADDRESS>wrote:

@Dangoo https://github.com/Dangoo I didn't know this. Maybe it will
work.
@SaraVieira https://github.com/SaraVieira I would not think that static
files should be included in your pull requests. At least split the two
features into two requests.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sinnerschrader/patternplate/issues/137#issuecomment-278323405,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABALdSWFphAZJHmYCfj30OdXZuLVRsixks5rab1ZgaJpZM4LwEFY
.

Currently I'm not sure if we need this feature. And maybe it is already implemented. See the comment above from @Dangoo

@Dangoo @KnisterPeter It was already implemented in the static folder like he said and I did manage to get it working: http://imgur.com/a/pZpiA.
Thank you so much for both your help and any help you need here in patternplate just let me know and I would love to help this project

You're welcome. Glad that we could help you. :rocket:
If you like to, have a look at the current issues. The 'good for beginners' may be a good starting point.


UI: usability

[x] format results automatically
[x] show spinner when the query is in progress
[ ] allow to save queries
[ ] send query on Ctrl-Enter or Shift-Enter

(marked items are done in a new UI)

Cmd + Enter works in the new (in progress) UI https://cayley-ui.netlify.com/

Tracked on Cayley Web


Tag a new release sometime soon?

Summary
In the most recent release, the v2 module still requires go 1.12, though this has since been removed by @jadekler in https://github.com/googleapis/gax-go/commit/b2b182669a42d221760db65e3d2622c3997c068e#diff-dc2e1be9e9810655cf485878bd63cde6
Go mod defaults to the latest release tag on the initial dependency pull, so anyone who is not on 1.12 or later will have to come here and debug a bit themselves

Done:

https://github.com/googleapis/gax-go/releases/tag/v2.0.5
https://github.com/googleapis/gax-go/releases/tag/v1.0.3


Post handler

Closes: #XXX
Context and purpose of the change

We want to recompute redemption rate after every tx run to make sure it matches with current redemption rate saved in each hostzone

Brief Changelog

Create StakeIbcPostDecorator
Recompute redemption rate. If its different from current rate => halt zone & add stdenom to rate limit blacklist

Author's Checklist
I have...

[ ] Run and PASSED locally all GAIA integration tests
[ ] If the change is contentful, I either:

[ ] Added a new unit test OR
[ ] Added test cases to existing unit tests

[ ] OR this change is a trivial rework / code cleanup without any test coverage

If skipped any of the tests above, explain.

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] manually tested (if applicable)
[ ] confirmed the author wrote unit tests for new logic
[ ] reviewed documentation exists and is accurate

Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[ ] Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md?
[ ] This pull request updates existing proto field values (and require a backend and frontend migration)?
[ ] Does this pull request change existing proto field names (and require a frontend migration)?
How is the feature or change documented?

[ ] not applicable
[ ] jira ticket XXX
[ ] specification (x/<module>/spec/)
[ ] README.md
[ ] not documented

Incredibly exciting PR. Can you please write some unittests to demonstrate the functionality?

Incredibly exciting PR. Can you please write some unittests to demonstrate the functionality?

Yeah im writing test for checking core logic. Will push soon


Indexer appears to return the AAAA... "zero" address instead of no address at all (e.g. undefined, null, or simply absent) for asset information.

Describe the bug
The semantics of Option<Address> seems invalid for assets.
To Reproduce
Attempting to get the json from https://algoindexer.testnet.algoexplorerapi.io/v2/assets/78377817 yields:
{
    "asset": {
        "created-at-round": 20385749,
        "deleted": false,
        "index": 78377817,
        "params": {
            "clawback": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ",
            "creator": "TALE7TBFEOCK4Q4M4QLYTPYTNTA2L7MYDY7IBYK3UOO4TIXH2YJBBS3EWU",
            "decimals": 0,
            "default-frozen": false,
            "freeze": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ",
            "manager": "TALE7TBFEOCK4Q4M4QLYTPYTNTA2L7MYDY7IBYK3UOO4TIXH2YJBBS3EWU",
            "name": "Protagonist C2α - Ancient",
            "name-b64": "UHJvdGFnb25pc3QgQzLOsSAtIEFuY2llbnQ=",
            "reserve": "TALE7TBFEOCK4Q4M4QLYTPYTNTA2L7MYDY7IBYK3UOO4TIXH2YJBBS3EWU",
            "total": 1,
            "unit-name": "🐰",
            "unit-name-b64": "8J+QsA=="
        }
    },
    "current-round": 20388498
}

The freeze and clawback addresses were set to None on creation.
As a result, calling indexer.asset_info yields the following (truncated for brevity).
Asset {
    params: AssetParams {
        clawback: Some(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ),
        ..
    }
}

Apparently, attempting to create an asset with the AAAA... address yields an error.... which means that the zero address actually means "missing address".
Expected behavior
I was expecting:
Asset {
    params: AssetParams {
        clawback: None,
        ..
    }
}

Additional context
I personally think that algonaut should understand these zero addresses and parse them as "None"s. This obviously introduces complexities and potential bug in the future if existing behavior ever changes.
The other option is to leave them alone, but get rid of the Option from the various addresses. I don't like this.
Regardless of what happens, this behavior is mildly janky and should be documented.

Hmm that seems mainly an API issue. The node's API has this policy (which I dislike) where it omits / expects us to omit values that are considered "zero", which includes arrays with only zeros, or structs with values that are only zeros (this leads to us having to implement "smart" deserialization in some places, like here: https://github.com/manuelmauro/algonaut/blob/0d93ce108d66a593ccc0840c0e9bca6dee795e3c/algonaut_transaction/src/api_model.rs#L395-L415)
The indexer sending these zero addresses is also an inconsistency with that. Probably since it uses strings, their serializer doesn't recognize them as a "zero value" and sends it.
I'd be inclined to raise the issue in their repo https://github.com/algorand/go-algorand. But not against patching it in the SDK.

We should probably do both, then. (As in, both patching it in the SDK & raising an issue.)

Agreed.

Another thing to think about is if we need different deserialization protocols for algod/indexer/kmd.
Does anyone know if I can just plop this into the indexer issues?

If with protocols  you mean JSON / MessagePack, For algod/indexer/kmd only JSON should be enough - MessagePack is used only to send transactions and TEAL. Currently Transaction can however be deserialized only from MessagePack. We've e.g. this place, where Transaction (which is included in the pending_transactions response) is not defined, maybe because of insecurities about how to handle the JSON deserialization. If we adjust the ApiTransaction visitors to deserialize from both MsgPack and JSON we might be able to reuse ApiTransaction / Transaction for this endpoint (and possibly others that return transactions - would have to check whether they share the same fields).

Also relates to https://github.com/manuelmauro/algonaut/issues/106


Make search input single line

Setting android:MaxLine=1 alone did not seem to work as hitting the enter key still added a newline to the search text input.
Consequently, we also need to update the search query on IME_ACTION_SEARCH.

It doesn't look like it resolves the issue after a build from github actions

The issue of the search bar still being multi-line? That's odd, the build from Android studio I've been using to test this change out seems to work fine.
(I'm fairly new to Android development, so bare with me here).
Could this be something to do with the keyboard app? I'm using GOS's default but I'm about to test it out with Florisboard.

Works on my build for Florisboard too.
Perhaps the adjacent MaterialTextView also needs the android:singleLine property to be true?

Squash all your commits into one please

Will do. Won't be at my computer for a few hours though.

Squashed 👍

edit: in my testing android:inputType="text" should fix the issue.

Okay in that case i'll remove the listener and add that attribute to the XML. Seems to be a cleaner solution.

UI improvements can be considered again on top of the rewritten code.


Missing propagation for unpack -> collapse_shape to collpase_shape -> unpack.

It stops the fusion for unpack + consumers. E.g., we should be able to swap unpack and collapse_shape because it is just folding unit dims away.
  func.func @foo(%arg0: tensor<1x1024x1024x16x16xf32>) -> tensor<16384x16384xf32> {
    %0 = tensor.empty() : tensor<1x16384x16384xf32>
    %unpack = tensor.unpack %arg0 outer_dims_perm = [0, 1, 2] inner_dims_pos = [1, 2] inner_tiles = [16, 16] into %0 : tensor<1x1024x1024x16x16xf32> -> tensor<1x16384x16384xf32>
    %collapsed = tensor.collapse_shape %unpack [[0, 1], [2]] : tensor<1x16384x16384xf32> into tensor<16384x16384xf32>
    %1 = tensor.empty() : tensor<16384x16384xf32>
    %2 = linalg.softmax dimension(1) ins(%collapsed : tensor<16384x16384xf32>) outs(%1 : tensor<16384x16384xf32>) -> tensor<16384x16384xf32>
    return %2 : tensor<16384x16384xf32>
  }

It should be done in https://github.com/iree-org/iree/blob/main/compiler/src/iree/compiler/GlobalOptimization/DataLayoutPropagation.cpp

Where is this collapse shape coming from. There might be a uniform way of handling this in the reshape propagation passes later on.

I don't know. It is here after set encoding. A sequence of linalg ops are raised to softmax op in GlobalOptimization stage. Are we able to push down reshape ops on named op? It looks not easy to me, so I think we can implement a (unpack, collapse_shape) propagation pattern in this case.

I don't know. It is here after set encoding. A sequence of linalg ops are raised to softmax op in GlobalOptimization stage. Are we able to push down reshape ops on named op? It looks not easy to me, so I think we can implement a (unpack, collapse_shape) propagation pattern in this case.

The propogation patterns are implemented for Linalg ops, but we can add propagation patterns for other ops as well. I'd like to consolidate in one place all the propagation patterns if possible. We can still add those patterns, but we should be able to use them in the reshape propagation passes.


Do not update the camera position automatically for single object scene

This was introduced in https://github.com/jupytercad/JupyterCAD/pull/493 as I thought it would be nice to move the camera to a proper position when e.g. scaling up a single object.
It turns out this can be really annoying especially when we merge the transform control PR as it makes the camera jump upon translation (see screencast)
https://github.com/user-attachments/assets/013132e8-3c0c-4f89-86a4-af00cb31de74

Please update snapshots


contractsConfig is now a module

The module automatically picks up the filename based on network id
So if development it will be development.json, on kovan it should be kovan.json

Seems mostly ok, can I get write access so that I can push my suggestions here?


Made it launch. Now we get to watch Jeff make it work popcorn.

Lookin' good.
Slow down!
My man!

merged.


Update trenchbroom to 1.1.6_2759

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as f69b4c2642e06936975f6bcac1417f9ece3e7ad2. Your contribution is still credited to you.


Create 2016-08-15-lecturer-of-the-year-2015\16.markdown

Blog post adding in the Lecturer of the Year link for 2015-16

Thanks for writing this. I've made some minor changes and merged.


experiencing RequestedMethod could not be found errors

I'm getting these errors in my logs every 10 seconds, and I'm not sure what is being called or referenced.
[11/30/2020, 10:00:27 AM] [BraviaTVOS] Error: Requested method (%s) could not be found!     at ServiceProtocol.checkApiMethod (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/@seydx/bravia/src/service-protocol.js:138:13)     at ServiceProtocol.invoke (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/@seydx/bravia/src/service-protocol.js:194:10)     at tvAccessory.poll (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:115:46)     at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:177:14)     at listOnTimeout (internal/timers.js:554:17)     at processTimers (internal/timers.js:497:7)
I looked for the file path /usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/@seydx but it's not there... would there be any reason why?
This is on a clean install of Rasp Pi and brand new install of Homebridge and homebridge-bravia-tvos.
Here is the config file presently:
            "platform": "BraviaOSPlatform",
            "name": "BraviaTVOS",
            "tvs": [
                {
                    "name": "Living Room TV",
                    "ip": "<ip>",
                    "mac": "<mac>",
                    "port": 80,
                    "timeout": 30,
                    "psk": "<psk>",
                    "model": "X750H",
                    "apps": [
                        "YouTube",
                        "Disney+"
                    ],
                    "commands": [
                        "VolumeUp",
                        "VolumeDown"
                    ],
                    "speaker": {
                        "output": "headphone",
                        "increaseBy": 1,
                        "reduceBy": 1
                    },
                    "remote": [
                        {
                            "command": "Up",
                            "target": "ARROW_UP"
                        },
                        {
                            "command": "Down",
                            "target": "ARROW_DOWN"
                        },
                        {
                            "command": "Left",
                            "target": "ARROW_LEFT"
                        },
                        {
                            "command": "Right",
                            "target": "ARROW_RIGHT"
                        },
                        {
                            "command": "Confirm",
                            "target": "SELECT"
                        },
                        {
                            "command": "VolumeUp",
                            "target": "VOLUME_UP"
                        },
                        {
                            "command": "VolumeDown",
                            "target": "VOLUME_DOWN"
                        },
                        {
                            "command": "Return",
                            "target": "BACK"
                        }
                    ]

hey @lteffertiller
can u try v4.1.6 pls - this should give more infore about the requested method.
And also enable debug in config pls

Just updated and enabled debug- now getting this:
[12/1/2020, 10:35:53 AM] [BraviaTVOS] Error: Requested method (getPlayingContentInfo) could not be found!     at ServiceProtocol.checkApiMethod (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/@seydx/bravia/src/service-protocol.js:138:13)     at ServiceProtocol.invoke (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/@seydx/bravia/src/service-protocol.js:194:10)     at tvAccessory.poll (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:115:46)     at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:177:14)     at listOnTimeout (internal/timers.js:554:17)     at processTimers (internal/timers.js:497:7)

@lteffertiller
Could you successfully run the TV with another plugin before?

this is the first time i've tried- i haven't used it on another plugin before

if it helps, when i make remote control presses, it logs 404 errors. not sure if they're correlated.

@lteffertiller
Is anything else working? It seems that your tv doesn’t support the Sony API. Which model?

it's the Sony X750H. power and input controls work fine, it's just remote controls and the random logs for some reason. the TV is completely up to date as well.

@lteffertiller
Hmm, strange.. is it always the same error?
Error: Requested method (getPlayingContentInfo) could not be found!
One another thing that would be very helpful is to enable homebridge debug and put bravia:* as below:

it's the exact same error, yes. i just enabled the debug flag- i'll come back with logs in a few!

@lteffertiller
Allright. Please post the whole log here from restart. Not only the line with the error

here you go- this is all of it up until it starts repeating logs again:
`[12/1/2020, 4:15:31 PM] [HB Supervisor] OS: Linux 5.4.72+ arm
[12/1/2020, 4:15:31 PM] [HB Supervisor] Node.js v14.15.0 /usr/local/bin/node
[12/1/2020, 4:15:31 PM] [HB Supervisor] Homebridge Path: /usr/local/lib/node_modules/homebridge/bin/homebridge
[12/1/2020, 4:15:31 PM] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[12/1/2020, 4:15:31 PM] [HB Supervisor] Delaying Homebridge startup by 20 seconds on low powered server
[12/1/2020, 4:16:00 PM] [Homebridge UI] Homebridge Config UI X v4.34.0 is listening on :: port 8581
[12/1/2020, 4:16:06 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -D
[12/1/2020, 4:16:06 PM] [HB Supervisor] Starting Homebridge with custom env: {"DEBUG":"bravia:*"}
[12/1/2020, 4:16:07 PM] [HB Supervisor] Started Homebridge v1.1.6 with PID: 14562
[12/1/2020, 4:16:19 PM] Loaded config.json with 1 accessories and 3 platforms.
[12/1/2020, 4:16:20 PM] ---
[12/1/2020, 4:16:25 PM] Loaded plugin<EMAIL_ADDRESS>[12/1/2020, 4:16:28 PM] Registering platform 'homebridge-bravia-tvos.BraviaOSPlatform'
[12/1/2020, 4:16:28 PM] ---
[12/1/2020, 4:16:28 PM] Loaded plugin<EMAIL_ADDRESS>[12/1/2020, 4:16:28 PM] Registering platform 'homebridge-config-ui-x.config'
[12/1/2020, 4:16:28 PM] ---
[12/1/2020, 4:16:29 PM] Loaded plugin<EMAIL_ADDRESS>[12/1/2020, 4:16:29 PM] Registering platform 'homebridge-nest.Nest'
[12/1/2020, 4:16:29 PM] ---
[12/1/2020, 4:16:34 PM] Loaded plugin<EMAIL_ADDRESS>[12/1/2020, 4:16:34 PM] Registering accessory 'homebridge-roomba.Roomba'
[12/1/2020, 4:16:34 PM] ---
[12/1/2020, 4:16:34 PM] Loading 3 platforms...
[12/1/2020, 4:16:34 PM] [Config] Initializing config platform...
[12/1/2020, 4:16:34 PM] [Config] Running in Service Mode
[12/1/2020, 4:16:34 PM] [Nest] Initializing Nest platform...
[12/1/2020, 4:16:34 PM] [BraviaTVOS] Initializing BraviaOSPlatform platform...
[12/1/2020, 4:16:34 PM] Loading 1 accessories...
[12/1/2020, 4:16:34 PM] [Roomba] Initializing Roomba accessory...
[12/1/2020, 4:16:34 PM] [BraviaTVOS] Living Room TV Speaker: Configuring accessory...
[12/1/2020, 4:16:34 PM] [Nest] Fetching Nest devices.
[12/1/2020, 4:16:34 PM] [Nest] Authenticating via Google.
[12/1/2020, 4:16:34 PM] [BraviaTVOS] Living Room TV: Configuring accessory...
Setup Payload:
X-HM://00251NT8MOL67
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 952-83-398 │
└────────────┘

[12/1/2020, 4:16:35 PM] Homebridge is running on port 51317.
2020-12-01T21:16:36.178Z bravia:service:avContent Method types not initialized yet. Initializing available method types before continue
2020-12-01T21:16:36.187Z bravia:service:avContent Executing action getVersions (1.0)
2020-12-01T21:16:36.196Z bravia:request Initializing request for http://<IP_ADDRESS>:80/sony/avContent
2020-12-01T21:16:36.250Z bravia:request Request data { id: 3, method: 'getVersions', version: '1.0', params: [] }
2020-12-01T21:16:36.254Z bravia:request Request options {
'Content-Type': 'text/xml; charset=UTF-8',
SOAPACTION: '"urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"',
'X-Auth-PSK': 'bv2121'
}
[12/1/2020, 4:16:36 PM] [BraviaTVOS] Living Room TV: Configured!
[12/1/2020, 4:16:36 PM] Living Room TV is running on port 38275.
[12/1/2020, 4:16:36 PM] Please add [Living Room TV] manually in Home app. Setup Code: 952-83-398
2020-12-01T21:16:37.052Z bravia:service:avContent Executing action getMethodTypes (1.0)
2020-12-01T21:16:37.086Z bravia:request Initializing request for http://<IP_ADDRESS>:80/sony/avContent
2020-12-01T21:16:37.096Z bravia:request Request data { id: 3, method: 'getMethodTypes', version: '1.0', params: [ '1.0' ] }
2020-12-01T21:16:37.121Z bravia:request Request options {
'Content-Type': 'text/xml; charset=UTF-8',
SOAPACTION: '"urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"',
'X-Auth-PSK': 'bv2121'
}
2020-12-01T21:16:38.764Z bravia:service:avContent Registering method getContentCount (1.0) for avContent
2020-12-01T21:16:38.770Z bravia:service:avContent Registering parameter "source" for getContentCount (1.0)
2020-12-01T21:16:38.773Z bravia:service:avContent Registering parameter "type" for getContentCount (1.0)
2020-12-01T21:16:38.779Z bravia:service:avContent Registering method getContentList (1.0) for avContent
2020-12-01T21:16:38.783Z bravia:service:avContent Registering parameter "source" for getContentList (1.0)
2020-12-01T21:16:38.786Z bravia:service:avContent Registering parameter "stIdx" for getContentList (1.0)
2020-12-01T21:16:38.789Z bravia:service:avContent Registering parameter "cnt" for getContentList (1.0)
2020-12-01T21:16:38.792Z bravia:service:avContent Registering parameter "type" for getContentList (1.0)
2020-12-01T21:16:38.796Z bravia:service:avContent Registering method getCurrentExternalInputsStatus (1.0) for avContent
2020-12-01T21:16:38.799Z bravia:service:avContent Registering method getSchemeList (1.0) for avContent
2020-12-01T21:16:38.803Z bravia:service:avContent Registering method getSourceList (1.0) for avContent
2020-12-01T21:16:38.807Z bravia:service:avContent Registering parameter "scheme" for getSourceList (1.0)
2020-12-01T21:16:38.810Z bravia:service:avContent Registering method setPlayContent (1.0) for avContent
2020-12-01T21:16:38.815Z bravia:service:avContent Registering parameter "uri" for setPlayContent (1.0)
2020-12-01T21:16:38.816Z bravia:service:avContent Registering method getMethodTypes (1.0) for avContent
2020-12-01T21:16:38.817Z bravia:service:avContent Registering parameter "string" for getMethodTypes (1.0)
2020-12-01T21:16:38.819Z bravia:service:avContent Registering method getVersions (1.0) for avContent
[12/1/2020, 4:16:38 PM] [BraviaTVOS] Error: Requested method (getPlayingContentInfo) could not be found!
at ServiceProtocol.checkApiMethod (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/@seydx/bravia/src/service-protocol.js:138:13)
at ServiceProtocol.invoke (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/@seydx/bravia/src/service-protocol.js:194:10)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at tvAccessory.poll (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:115:18)
[12/1/2020, 4:16:45 PM] [Nest] Authentication successful.
[12/1/2020, 4:16:49 PM] [BraviaTVOS] Error: Requested method (getPlayingContentInfo) could not be found!
at ServiceProtocol.checkApiMethod (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/@seydx/bravia/src/service-protocol.js:138:13)
at ServiceProtocol.invoke (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/@seydx/bravia/src/service-protocol.js:194:10)
at tvAccessory.poll (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:115:46)
at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:177:14)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
[12/1/2020, 4:16:54 PM] [Nest] initing thermostat (P) "Living Room Thermostat": deviceId: [redacted] structureId: [redacted]
[12/1/2020, 4:16:54 PM] [Nest] Temperature unit for Living Room Thermostat is: Fahrenheit
[12/1/2020, 4:16:54 PM] [Nest] Current temperature for Living Room Thermostat is: 20 °C / 68 °F
[12/1/2020, 4:16:54 PM] [Nest] Current humidity for Living Room Thermostat is: 40%
[12/1/2020, 4:16:54 PM] [Nest] Target temperature for Living Room Thermostat is: 20 °C / 68 °F
[12/1/2020, 4:16:54 PM] [Nest] Target heating/cooling state for Living Room Thermostat is: Heat
[12/1/2020, 4:16:54 PM] [Nest] Cooling threshold temperature for Living Room Thermostat is: 23.8 °C / 74.84 °F
[12/1/2020, 4:16:54 PM] [Nest] Heating threshold temperature for Living Room Thermostat is: 20 °C / 68 °F
[12/1/2020, 4:16:54 PM] [Nest] Online status for Living Room Thermostat is: true
[12/1/2020, 4:16:54 PM] [Nest] Skipping device [redacted] because it is not in the required structure. Has [redacted], looking for  [redacted].
[12/1/2020, 4:16:54 PM] [Nest] Skipping device  [redacted] because it is not in the required structure. Has  [redacted], looking for  [redacted].
[12/1/2020, 4:16:54 PM] [Nest] Skipping device  [redacted] because it is not in the required structure. Has  [redacted], looking for  [redacted].
[12/1/2020, 4:16:54 PM] [Nest] initing home_away_sensor "Home Occupied": deviceId:  [redacted] structureId:  [redacted]
[12/1/2020, 4:16:54 PM] [Nest] Home Occupied for Home Occupied is: true
[12/1/2020, 4:16:54 PM] [Nest] Skipping device  [redacted] because it is not in the required structure. Has  [redacted], looking for  [redacted].
[12/1/2020, 4:16:59 PM] [Nest] Current heating/cooling state for Living Room Thermostat is: Heating
[12/1/2020, 4:16:59 PM] [BraviaTVOS] Error: Requested method (getPlayingContentInfo) could not be found!
at ServiceProtocol.checkApiMethod (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/@seydx/bravia/src/service-protocol.js:138:13)
at ServiceProtocol.invoke (/usr/local/lib/node_modules/homebridge-bravia-tvos/node_modules/@seydx/bravia/src/service-protocol.js:194:10)
at tvAccessory.poll (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:115:46)
at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-bravia-tvos/src/accessories/tv.js:177:14)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)`

@lteffertiller
Your TV supports the Sony API but can not find the requested method
Can you install the bravia modul pls
sudo npm i -g @seydx/bravia@beta
and post the output here from the following command
bravia methods TVIPHERE --psk TVPSKHERE

here ya go!
[   [     {       "endpoint": "accessControl",       "version": false,       "methods": []     }   ],   [     {       "endpoint": "appControl",       "version": "1.0",       "availableMethods": [         "getApplicationList",         "setActiveApp",         "getMethodTypes",         "getVersions"       ],       "availableParams": {         "getApplicationList": [],         "setActiveApp": [           "uri",           "data"         ],         "getMethodTypes": [           "string"         ],         "getVersions": []       },       "methods": [         {           "method": "getApplicationList",           "in": [],           "out": [             {               "title": "string",               "uri": "string",               "icon": "string",               "data": "string"             }           ],           "version": "1.0"         },         {           "method": "setActiveApp",           "in": [             {               "uri": "string",               "data": "string"             }           ],           "out": [],           "version": "1.0"         },         {           "method": "getMethodTypes",           "in": [             "string"           ],           "out": [             "string",             "string*",             "string*",             "string"           ],           "version": "1.0"         },         {           "method": "getVersions",           "in": [],           "out": [             "string*"           ],           "version": "1.0"         }       ]     }   ],   [     {       "endpoint": "audio",       "version": "1.0",       "availableMethods": [         "getVolumeInformation",         "setAudioMute",         "setAudioVolume",         "getMethodTypes",         "getVersions"       ],       "availableParams": {         "getVolumeInformation": [],         "setAudioMute": [           "status"         ],         "setAudioVolume": [           "target",           "volume"         ],         "getMethodTypes": [           "string"         ],         "getVersions": []       },       "methods": [         {           "method": "getVolumeInformation",           "in": [],           "out": [             {               "target": "string",               "volume": "int",               "mute": "bool",               "maxVolume": "int",               "minVolume": "int"             }           ],           "version": "1.0"         },         {           "method": "setAudioMute",           "in": [             {               "status": "bool"             }           ],           "out": [             "int"           ],           "version": "1.0"         },         {           "method": "setAudioVolume",           "in": [             {               "target": "string",               "volume": "string"             }           ],           "out": [             "int"           ],           "version": "1.0"         },         {           "method": "getMethodTypes",           "in": [             "string"           ],           "out": [             "string",             "string*",             "string*",             "string"           ],           "version": "1.0"         },         {           "method": "getVersions",           "in": [],           "out": [             "string*"           ],           "version": "1.0"         }       ]     },     {       "endpoint": "audio",       "version": "1.2",       "availableMethods": [         "setAudioVolume"       ],       "availableParams": {         "setAudioVolume": [           "target",           "volume",           "ui"         ]       },       "methods": [         {           "method": "setAudioVolume",           "in": [             {               "target": "string",               "volume": "string",               "ui": "string"             }           ],           "out": [],           "version": "1.2"         }       ]     }   ],   [     {       "endpoint": "avContent",       "version": "1.0",       "availableMethods": [         "getContentCount",         "getContentList",         "getCurrentExternalInputsStatus",         "getSchemeList",         "getSourceList",         "setPlayContent",         "getMethodTypes",         "getVersions"       ],       "availableParams": {         "getContentCount": [           "source",           "type"         ],         "getContentList": [           "source",           "stIdx",           "cnt",           "type"         ],         "getCurrentExternalInputsStatus": [],         "getSchemeList": [],         "getSourceList": [           "scheme"         ],         "setPlayContent": [           "uri"         ],         "getMethodTypes": [           "string"         ],         "getVersions": []       },       "methods": [         {           "method": "getContentCount",           "in": [             {               "source": "string",               "type": "string"             }           ],           "out": [             {               "count": "int"             }           ],           "version": "1.0"         },         {           "method": "getContentList",           "in": [             {               "source": "string",               "stIdx": "int",               "cnt": "int",               "type": "string"             }           ],           "out": [             {               "uri": "string",               "title": "string",               "index": "int",               "dispNum": "string",               "originalDispNum": "string",               "tripletStr": "string",               "programNum": "int",               "programMediaType": "string",               "directRemoteNum": "int",               "startDateTime": "string",               "durationSec": "int",               "channelName": "string",               "fileSizeByte": "int",               "isProtected": "bool",               "isAlreadyPlayed": "bool"             }           ],           "version": "1.0"         },         {           "method": "getCurrentExternalInputsStatus",           "in": [],           "out": [             {               "uri": "string",               "title": "string",               "connection": "bool",               "label": "string",               "icon": "string"             }           ],           "version": "1.0"         },         {           "method": "getSchemeList",           "in": [],           "out": [             {               "scheme": "string"             }           ],           "version": "1.0"         },         {           "method": "getSourceList",           "in": [             {               "scheme": "string"             }           ],           "out": [             {               "source": "string"             }           ],           "version": "1.0"         },         {           "method": "setPlayContent",           "in": [             {               "uri": "string"             }           ],           "out": [],           "version": "1.0"         },         {           "method": "getMethodTypes",           "in": [             "string"           ],           "out": [             "string",             "string*",             "string*",             "string"           ],           "version": "1.0"         },         {           "method": "getVersions",           "in": [],           "out": [             "string*"           ],           "version": "1.0"         }       ]     }   ],   [     {       "endpoint": "browser",       "version": false,       "methods": []     }   ],   [     {       "endpoint": "cec",       "version": false,       "methods": []     }   ],   [     {       "endpoint": "encryption",       "version": false,       "methods": []     }   ],   [     {       "endpoint": "guide",       "version": "1.0",       "availableMethods": [         "getServiceProtocols",         "getSupportedApiInfo",         "getMethodTypes",         "getVersions"       ],       "availableParams": {         "getServiceProtocols": [],         "getSupportedApiInfo": [           "services"         ],         "getMethodTypes": [           "string"         ],         "getVersions": []       },       "methods": [         {           "method": "getServiceProtocols",           "in": [],           "out": [             "string",             "string*"           ],           "version": "1.0"         },         {           "method": "getSupportedApiInfo",           "in": [             {               "services": "string*"             }           ],           "out": [             {               "service": "string",               "protocols": "string*",               "apis": "ApiInfo[]"             }           ],           "version": "1.0"         },         {           "method": "getMethodTypes",           "in": [             "string"           ],           "out": [             "string",             "string*",             "string*",             "string"           ],           "version": "1.0"         },         {           "method": "getVersions",           "in": [],           "out": [             "string*"           ],           "version": "1.0"         }       ]     }   ],   [     {       "endpoint": "recording",       "version": false,       "methods": []     }   ],   [     {       "endpoint": "system",       "version": "1.0",       "availableMethods": [         "getCurrentTime",         "getInterfaceInformation",         "getNetworkSettings",         "getPowerStatus",         "getRemoteControllerInfo",         "getSystemInformation",         "requestReboot",         "setPowerStatus",         "getMethodTypes",         "getVersions"       ],       "availableParams": {         "getCurrentTime": [],         "getInterfaceInformation": [],         "getNetworkSettings": [           "netif"         ],         "getPowerStatus": [],         "getRemoteControllerInfo": [],         "getSystemInformation": [],         "requestReboot": [],         "setPowerStatus": [           "status"         ],         "getMethodTypes": [           "string"         ],         "getVersions": []       },       "methods": [         {           "method": "getCurrentTime",           "in": [],           "out": [             "string"           ],           "version": "1.0"         },         {           "method": "getInterfaceInformation",           "in": [],           "out": [             {               "productCategory": "string",               "productName": "string",               "modelName": "string",               "serverName": "string",               "interfaceVersion": "string"             }           ],           "version": "1.0"         },         {           "method": "getNetworkSettings",           "in": [             {               "netif": "string"             }           ],           "out": [             {               "netif": "string",               "hwAddr": "string",               "ipAddrV4": "string",               "ipAddrV6": "string",               "netmask": "string",               "gateway": "string",               "dns": "string*"             }           ],           "version": "1.0"         },         {           "method": "getPowerStatus",           "in": [],           "out": [             {               "status": "string"             }           ],           "version": "1.0"         },         {           "method": "getRemoteControllerInfo",           "in": [],           "out": [             {               "bundled": "bool",               "type": "string"             },             {               "name": "string",               "value": "string"             }           ],           "version": "1.0"         },         {           "method": "getSystemInformation",           "in": [],           "out": [             {               "product": "string",               "region": "string",               "language": "string",               "model": "string",               "serial": "string",               "macAddr": "string",               "name": "string",               "generation": "string",               "area": "string",               "cid": "string"             }           ],           "version": "1.0"         },         {           "method": "requestReboot",           "in": [],           "out": [],           "version": "1.0"         },         {           "method": "setPowerStatus",           "in": [             {               "status": "bool"             }           ],           "out": [],           "version": "1.0"         },         {           "method": "getMethodTypes",           "in": [             "string"           ],           "out": [             "string",             "string*",             "string*",             "string"           ],           "version": "1.0"         },         {           "method": "getVersions",           "in": [],           "out": [             "string*"           ],           "version": "1.0"         }       ]     },     {       "endpoint": "system",       "version": "1.1",       "availableMethods": [         "getCurrentTime"       ],       "availableParams": {         "getCurrentTime": []       },       "methods": [         {           "method": "getCurrentTime",           "in": [],           "out": [             {               "dateTime": "string",               "timeZoneOffsetMinute": "int",               "dstOffsetMinute": "int"             }           ],           "version": "1.1"         }       ]     }   ],   [     {       "endpoint": "videoScreen",       "version": false,       "methods": []     }   ] ]

Your TV does not seem to fully support the Sony API. The problem is that your TV is not able to tell WHAT the TV is playing. And this is exactly the endpoint the plugin uses to work.
I just wonder why your TV, which is so up-to-date, only partially supports the API.

Very weird indeed! Totally fine by me, but thanks for the help :)

I'm having the same issue and my TV is dated October 2020. I just installed it and tried this plugin but get the same errors.

@robboz4
Tried a another bravia plugin with success before?

Couldn't get the first plugin I tried to recognize the TV. So uninstalled it and tried this one. Power is working but no apps for stations.

@SeydX I couldn't get your plugin to work with a newer tv that was bought about October 2020. I tried this plugin and it connected, but it registers the TV as a bridged TV so doesn't have the TV icon.
Figured I would share if you wanted to look into this issue?

@SeydX I couldn't get your plugin to work with a newer tv that was bought about October 2020. I tried this plugin and it connected, but it registers the TV as a bridged TV so doesn't have the TV icon.
Figured I would share if you wanted to look into this issue?

@donavanbecker
Same error as mentioned here?

@donavanbecker
Same error as mentioned here?

@donavanbecker
Same error as mentioned here?

no I didn't get an error. the plugin turned the tv on and off. but it didn't publish the tv as a external acessory like your plugin does. So it won't work with control center either.

@donavanbecker
Same error as mentioned here?

no I didn't get an error. the plugin turned the tv on and off. but it didn't publish the tv as a external acessory like your plugin does. So it won't work with control center either.

@donavanbecker
Normally, it is not displayed if you have previously used another plugin with the same tv name.
Tried with another name in config.json?

@donavanbecker
Normally, it is not displayed if you have previously used another plugin with the same tv name.
Tried with another name in config.json?

@donavanbecker
Normally, it is not displayed if you have previously used another plugin with the same tv name.
Tried with another name in config.json?

why? I just wanted to let you know that that plugin is working with this kind of TV, and I know yours isn't so I figured I would point you to that plugin so you could see the difference.
only problem with that plugin is not registering as external accessory but thats okay.

@donavanbecker
Normally, it is not displayed if you have previously used another plugin with the same tv name.
Tried with another name in config.json?

why? I just wanted to let you know that that plugin is working with this kind of TV, and I know yours isn't so I figured I would point you to that plugin so you could see the difference.
only problem with that plugin is not registering as external accessory but thats okay.

Same with my bravia TV, connect using PSK as PIN dont work, teied others but others uses PIN unfortunately no PIN appear on TV
my tv model : Sony Bravia 55x750H / x7500H
Year 2020 model Android Pie
[21/01/2021, 10:34:05 am] [Bravia TV] Bravia TV: Polling tv state
[21/01/2021, 10:34:05 am] [Bravia TV] Error: Requested method (getPlayingContentInfo) could not be found!
at ServiceProtocol.checkApiMethod (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:150:13)
at ServiceProtocol.invoke (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:164:30)
at tvAccessory.poll (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:117:46)
at Timeout._onTimeout (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:179:14)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
[21/01/2021, 10:34:15 am] [Bravia TV] Bravia TV: Polling tv state
[21/01/2021, 10:34:15 am] [Bravia TV] Error: Requested method (getPlayingContentInfo) could not be found!
at ServiceProtocol.checkApiMethod (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:150:13)
at ServiceProtocol.invoke (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:164:30)
at tvAccessory.poll (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:117:46)
at Timeout._onTimeout (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:179:14)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
[21/01/2021, 10:34:25 am] [Bravia TV] Bravia TV: Polling tv state
[21/01/2021, 10:34:25 am] [Bravia TV] Error: Requested method (getPlayingContentInfo) could not be found!
at ServiceProtocol.checkApiMethod (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:150:13)
at ServiceProtocol.invoke (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:164:30)
at tvAccessory.poll (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:117:46)
at Timeout._onTimeout (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:179:14)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
[21/01/2021, 10:34:35 am] [Bravia TV] Bravia TV: Polling tv state
[21/01/2021, 10:34:35 am] [Bravia TV] Error: Requested method (getPlayingContentInfo) could not be found!
at ServiceProtocol.checkApiMethod (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:150:13)
at ServiceProtocol.invoke (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:164:30)
at tvAccessory.poll (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:117:46)
at Timeout._onTimeout (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:179:14)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)

Same with my bravia TV, connect using PSK as PIN dont work, teied others but others uses PIN unfortunately no PIN appear on TV
my tv model : Sony Bravia 55x750H / x7500H
Year 2020 model Android Pie
[21/01/2021, 10:34:05 am] [Bravia TV] Bravia TV: Polling tv state
[21/01/2021, 10:34:05 am] [Bravia TV] Error: Requested method (getPlayingContentInfo) could not be found!
at ServiceProtocol.checkApiMethod (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:150:13)
at ServiceProtocol.invoke (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:164:30)
at tvAccessory.poll (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:117:46)
at Timeout._onTimeout (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:179:14)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
[21/01/2021, 10:34:15 am] [Bravia TV] Bravia TV: Polling tv state
[21/01/2021, 10:34:15 am] [Bravia TV] Error: Requested method (getPlayingContentInfo) could not be found!
at ServiceProtocol.checkApiMethod (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:150:13)
at ServiceProtocol.invoke (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:164:30)
at tvAccessory.poll (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:117:46)
at Timeout._onTimeout (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:179:14)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
[21/01/2021, 10:34:25 am] [Bravia TV] Bravia TV: Polling tv state
[21/01/2021, 10:34:25 am] [Bravia TV] Error: Requested method (getPlayingContentInfo) could not be found!
at ServiceProtocol.checkApiMethod (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:150:13)
at ServiceProtocol.invoke (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:164:30)
at tvAccessory.poll (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:117:46)
at Timeout._onTimeout (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:179:14)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
[21/01/2021, 10:34:35 am] [Bravia TV] Bravia TV: Polling tv state
[21/01/2021, 10:34:35 am] [Bravia TV] Error: Requested method (getPlayingContentInfo) could not be found!
at ServiceProtocol.checkApiMethod (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:150:13)
at ServiceProtocol.invoke (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\node_modules@seydx\bravia\src\service-protocol.js:164:30)
at tvAccessory.poll (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:117:46)
at Timeout._onTimeout (C:\Users\calvi\AppData\Roaming\npm\node_modules\homebridge-bravia-tvos\src\accessories\tv.js:179:14)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)

v4.1.10 is online, can u try it all pls


Add login integrations + scripts for authenticated crawling

Please describe your feature request:

Describe the use case of this feature:

This feature can be more generic by supporting sequence recorders/generators and manual intervention for some scenarios.


Reintroduce dataEach or similar.

The dataEach option was dropped when @root and @file were introduced. Current solution of using @file.data seems less than ideal.
https://github.com/shannonmoeller/gulp-hb/issues/10#issuecomment-275220220

@backflip Thank you for PR #48, but I wonder if we can address this differently. I'm not a fan of the hook that would make @root equivalent to @file.data in some circumstances. I think I'd rather add another @ alias like @local or @data.

I think the real cause of this issue is in handlebars-wax. It is overriding the meaning of @root to be the global data, rather than the object that's passed to the template. If I don't override @root there, this problem goes away and everything will work as expected in estatico.

This issue was addressed in handlebars-wax and published as v5. I have pulled in this new version to gulp-hb and published as v6.
The value of @root should now be as @swey expected in unic/estatico#36.


Labs administration dump plugins command dump relative path

This PR changes the way the bin/console administration:dump:plugins command exports paths. The original behaviour was to dump paths absolute to the docker instance, but this doesn't work in case the user runs webpack from outside the docker machine. So in order to be able to use webpack more flexible we dump paths relative to the projectDir
1. Why is this change necessary?
In order to run webpack from outside docker
2. What does this change do, exactly?
Add a new private function getPathRelativeToProjectDir(string $absolute): string to AdministrationDumpPluginsCommand in order to export universal relative paths.
3. Describe each step to reproduce the issue or behaviour.
./psh.phar docker:ssh
bin/console administration:dump:plugins
exit
npm run --prefix src/Administration/Resources/administration/ dev shopware.next:8088

4. Please link to the relevant issues (if any).

5. Which documentation changes (if any) need to be made because of this PR?

6. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Thank you  @screeny05,
was merged with 4e6ff07c639d4a4490dbd6cdac1e03cfa38c8eb2.
👍


addMessageProp does not work

Add a dialog as below
+ __preview
- {@__preview_question_kickoff}

+ __preview_question_kickoff
- Do you want to play word games? Yes? ^addMessageProp(voice_message_only,chatbot1p)
- Let's play word games OK? ^addMessageProp(voice_message_only,chatbot2p)

Expected Behavior
It should have voice_message_only in reply data.
Current Behavior
The function does run, but the prop is not attached.
Possible Solution
+ __preview
- {@__preview_question_kickoff} ^addMessageProp(voice_message_only,chatbot1p)

+ __preview_question_kickoff
- Do you want to play word games? Yes?
- Let's play word games OK?

Above script works as expected, but the much more practical case is to enable attach different value for each reply in grouped replies.
Context
Fulfill a requirement to send voice message to client.
Your Environment

Version used: Node.js v6.9.1
Environment name and version: run against https://github.com/superscriptjs/superscript/commit/82e46877931f28e75eec63b034209c877b7f1f5b
Server type and version:
Operating System and version: mac osx

I tried your original example but the system seems to work as expected. Am I missing anything here?
ss file:
[10:56]

topic:keep main

~emohello *~2

Hi!

__preview

{@__preview_question_kickoff}

__preview_question_kickoff

Do you want to play word games? Yes? ^addMessageProp2(voice_message_only,chatbot1p)
Let's play word games OK? ^addMessageProp2(voice_message_only,chatbot2p)

< topic
[10:57]
Response:
[10:57]
You> __preview
Bot> Let's play word games OK? addMessageProp received: voice_message_only chatbot2p
You> __preview
Bot> Let's play word games OK? addMessageProp received: voice_message_only chatbot2p
You> __preview
Bot> Do you want to play word games? Yes? addMessageProp received: voice_message_only chatbot1p
You>

I can re-produce the problem in this repo:
(https://github.com/Samurais/superscript-sample](https://github.com/Samurais/superscript-sample)
Please take a look, I am very appreciated your help.

Fixed in v1.0.0 - cheers!


Improve disk space usage for source container builds

Signed-off-by: Robert Cerven<EMAIL_ADDRESS>Maintainers will complete the following section

[x] Commit messages are descriptive enough
[x] Code coverage from testing does not decrease and new code is covered
n/a JSON/YAML configuration changes are updated in the relevant schema
n/a Changes to metadata also update the documentation for the metadata
n/a Pull request has a link to an osbs-docs PR for user documentation updates
n/a New feature can be disabled from a configuration file

Could you please include some more information in the commit message?

@rcerven pretty please 😊

One thing that is not entirely clear to me - this does not affect the size of the final source container, does it? Only the space that is used while building that container?

Is my understanding correct?

Could you please include some more information in the commit message?

@rcerven pretty please blush
sure

One thing that is not entirely clear to me - this does not affect the size of the final source container, does it? Only the space that is used while building that container?

Is my understanding correct?

yes exactly, it isn't about image size itself, but about disk space consumption during  build

Could you please include some more information in the commit message?

@rcerven pretty please blush

One thing that is not entirely clear to me - this does not affect the size of the final source container, does it? Only the space that is used while building that container?

Is my understanding correct?

yes exactly, it isn't about image size itself, but about disk space consumption during build
sure I'll add more info in the commit message

added more info into the commit message

rn updated: Improve disk space usage for source container builds


pipewire: 0.3.36 -> 0.3.38

Motivation for this change
https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.37
Now with a correct version number.
Bugfixes, DSD passthrough support.
Bluetooth hardware db is now treated as a data file instead of media-session config and installed to the pipewire lib output. This should benefit wireplumber down the line.
This also updates libcamera to a commit that pipewire builds against (there were some header changes since the last packaged commit that would break builds) and add it to the pipewire build.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Not sure about backporting the libcamera stuff, it works if you add  but seems a bit wonky still and there hasn't been a stable release of libcamera yet anyway.
Libcamera node(s) show up with this in configuration.nix, if you have supported devices connected:
    services.pipewire.media-session.config.media-session."session.modules".default = [
      "flatpak"
      "portal"
      # "v4l2" # this is the default and the same devices should show up via this plugin
      "libcamera"
      "suspend-node"
      "policy-node"
    ];

Result of nixpkgs-review pr 139451 at 44881966 run on aarch64-linux 1

2 packages marked as broken and skipped:

easyeffects
obs-studio-plugins.obs-ndi

68 packages skipped due to time constraints:

adapta-gtk-theme
adoptopenjdk-icedtea-web
chromium
empathy (gnome.empathy)
fast-cli
firefox-esr-unwrapped (firefox-esr-78-unwrapped ,firefoxPackages.firefox-esr-78)
firefox-esr-91-unwrapped (firefoxPackages.firefox-esr-91)
xulrunner (firefox-unwrapped)
kdev-php
kdev-python
...

47 packages built successfully:

chrome-gnome-shell
gnome.cheese
gnome.gnome-contacts
gnome.gnome-control-center (gnome.gnome_control_center)
gnome.gnome-remote-desktop
gnome.gnome-session (gnome.gnome_session)
gnome.gnome-shell (gnome.gnome_shell)
gnome.gnome-terminal (gnome.gnome_terminal)
gnome.gnome-tweaks (gnome.gnome-tweak-tool)
gnome.gpaste
gnome.mutter
gnome.mutter338 (pantheon.mutter)
gnome.pomodoro
gnomeExtensions.easyScreenCast
gnomeExtensions.gsconnect
helvum
libsForQt5.kwin (libsForQt515.kwin ,plasma5Packages.kwin)
libsForQt5.xdg-desktop-portal-kde (libsForQt515.xdg-desktop-portal-kde ,plasma5Packages.xdg-desktop-portal-kde)
monitor
pantheon.elementary-greeter
pantheon.elementary-session-settings
pantheon.gala
pantheon.switchboard-plug-a11y
pantheon.switchboard-plug-mouse-touchpad
pantheon.switchboard-plug-pantheon-shell
pantheon.switchboard-plug-security-privacy
pantheon.switchboard-with-plugs
pantheon.wingpanel
pantheon.wingpanel-applications-menu
pantheon.wingpanel-indicator-a11y
pantheon.wingpanel-indicator-bluetooth
pantheon.wingpanel-indicator-datetime
pantheon.wingpanel-indicator-keyboard
pantheon.wingpanel-indicator-network
pantheon.wingpanel-indicator-nightlight
pantheon.wingpanel-indicator-notifications
pantheon.wingpanel-indicator-power
pantheon.wingpanel-indicator-session
pantheon.wingpanel-indicator-sound
pantheon.wingpanel-with-indicators
phoc
pipewire
vimix-gtk-themes
whitesur-gtk-theme
xdg-desktop-portal
xdg-desktop-portal-gtk
xdg-desktop-portal-wlr

Haven't encountered any regressions in the past few days of using this.

For some reason readline doesn't seem to install a .pc file so it doesn't actually get picked up by meson? This causes pw-cli to not be built.

For some reason readline attribute points to readline6`. Pkg-config file is only available in ≥ 7.0.

Changed to readline81 for now, that seems to be the latest one on unstable and 21.05. With this pw-cli builds again & works as far as I can tell.
I also dropped the explicit build flag for examples now that pipewire-media-session has been split out to its own component (controlled by the session-manager build flag).


Implement upcoming STL C++20 coroutines support

The Microsoft STL has recently merged non-experimental coroutine support: https://github.com/microsoft/STL/pull/894
This support, once shipped (expected around 16.8 preview 1), will prevent mixing code using the new coroutines and the experimental ones.
Using the /await command line (which is forced in various places by the C++/WinRT project files) will prevent including <coroutine>, telling you to use <experimental/coroutine>. Similarly, using the /std:c++latest command line (my code makes use of many new C++ 20 only features), will prevent including <experimental/coroutine>, telling you to instead use <coroutine>.
This puts me in a weird spot: I can't include <coroutine> because C++/WinRT uses <experimental/coroutine> and /await, but neither can I include <experimental/coroutine> because I use /std:c++latest.
Ideally, the C++/WinRT headers should detect the presence of C++20 coroutines (using __cpp_impl_coroutine) and use the right header. Additionally, the project files should not force /await in VS 16.8 and newer, or provide a way to opt-out from this behavior.

Yes, it might soon be time to create a C++17 branch for servicing and then switch master over to C++20. I'd like to avoid supporting both C++17 and C++20 as it can become quite complex especially since Clang and Visual C++ are never quite in line.

It looks like you're saying VC++ in C++17 mode does not define __cpp_impl_coroutine. Did I read that correctly?

https://github.com/microsoft/STL/blob/21acd23ad81463628e95cb6c571c56ba7200cdba/stl/inc/yvals_core.h#L1162-L1164
https://github.com/microsoft/STL/blob/21acd23ad81463628e95cb6c571c56ba7200cdba/stl/inc/coroutine#L12-L21
Yes

It happened, VS 16.8 Preview 1 is out and my code doesn't compile anymore:

Looks like __cpp_impl_coroutine isn't defined yet so existing code using <experimental/coroutine> will build fine (once this is defined <experimental/coroutine> will stop working with /std:c++latest), but trying to use <coroutine> anywhere else will fail because of the C++/WinRT props file forcing /await

Now VS 16.8 Preview 3.0 is out with "full C++20 coroutines support".
What is the ETA of WinRT support for conformant coroutines?
What is the recommended (if any) way to switch own code to C++20 coroutines and still use the current version of WinRT?

I've been away for a few weeks but should be back in the "office" next week and plan to take a look at 16.8 support.

Subscribed to this issue because I'm also blocked by it

The C++/WinRT library has been updated to support both C++17 and C++20 coroutines.

Can confirm that I'm now un-blocked. Thank you so much!

Hi @kennykerr,
I was just trying to build my C++/WinRT header (which I have created using cppwinrt.exe -input local -output .) with c++20. However, there seems to be an obvious error with this. My base.h header includes the passage:
#ifndef __clang__

#include <experimental/coroutine>

#else
...

Which will try to include <experimental/coroutine> as I compile with MSVC.
My cppwinrt.exe version is C++/WinRT v2.0.200203.5. I'm a bit confused at the moment given that some people reportedly were able to successfully compile with c++20... Do you perhaps see where the issue is?

That cppwinrt version is super old, it seems to be from around February 2020. Try the NuGet for an up to date version.


Fix some clang-tidy warnings found by readability-qualified-auto.

Also organized the .clang-tidy rules to sort disabled rules.
Unfortunately, we can't have readability-qualified-auto on by
default, as it also suggests to qualify the return value of
absl::string_view::begin() with const auto* - which can be wrong
as absl::string_view might be typedefed to std::string_view whose
iterator type is implementation defined. So this change does
not touch any suggestions that involves iterators.
Signed-off-by: Henner Zeller<EMAIL_ADDRESS>

Codecov Report

Merging #1162 (83f6da6) into master (5aaba9b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1162   +/-   ##
=======================================
  Coverage   92.86%   92.87%
=======================================
  Files         337      337
  Lines       22745    22749    +4
=======================================
+ Hits        21123    21127    +4
  Misses       1622     1622

Impacted Files
Coverage Δ

common/analysis/lint_rule_status.cc
96.61% <100.00%> (ø)

common/analysis/lint_waiver.cc
93.51% <100.00%> (ø)

common/formatting/align.cc
89.54% <100.00%> (ø)

common/formatting/layout_optimizer.cc
94.29% <100.00%> (ø)

common/strings/diff.cc
97.11% <100.00%> (ø)

common/text/concrete_syntax_tree.cc
100.00% <100.00%> (ø)

common/tools/patch_tool.cc
96.25% <100.00%> (ø)

verilog/CST/port.cc
100.00% <100.00%> (ø)

...log/analysis/checkers/always_comb_blocking_rule.cc
100.00% <100.00%> (ø)

verilog/analysis/checkers/forbidden_macro_rule.cc
100.00% <100.00%> (ø)

... and 15 more

Continue to review full report at Codecov.

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


Implement REPLACE function

resolves #1146

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
19 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 98.916%

Files with Coverage Reduction
New Missed Lines
%

core/src/executor/execute.rs
19
92.02%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
42257

Relevant Lines:
42720

💛  - Coveralls


Record TTL will be set to default TTL, if it is larger than default in etcd

In doc, ttl means "default TTL in seconds to use on replies when none is set in etcd, defaults to 3600."
But if a record ttl  is set larger than default(example 7200), the answer will be 3600.
I found this in code
for _, r := range m.Answer {
r.Header().Ttl = minttl
}
So ttl is not only used on replies when non is set but also larger than default set in etcd, this is not mentioned in doc.
Is it a designed feature or not ?

I found the describtion in doc,  it is not a issue