Typescript errors when importing templates

Like I prefer to use Angular2 best-practice App structure I thought it was a mistake coming from me but it happend directly from the step 0 of the tutorial despite that the App run.
PS: issue not present in last version

It's present in the latest version?
Meaning it's working?
Can you share you .meteor/versions file?

please be my guest
versions.txt

I am actually having a similar issue but it is happening in step 4, right before the Event Handlers section. The app isn't finding any of the templates.
Here is the terminal output:
client/imports/parties-form/parties-form.ts (5, 22): Cannot find module './parties-form.html'.
client/app.ts (6, 29): Cannot find module 'client/imports/parties-form/parties-form.html'.
client/app.ts (8, 22): Cannot find module './app.html'.
Unable to resolve some modules:
"client/imports/parties-form/parties-form.html" in
/Users/Nik/Documents/Meteor/socially/client/app.ts (web.browser)
Here is a link to my codebase for the tutorial so far:
https://github.com/nikhammerellis/meteor-angular2-example
Let me know if you need any more info, keep up the good work!

Yes, those Typescript error are because the way Meteor compiles Typescript.
these errors will be solved with Typescript 2.0 as described here: https://github.com/Urigo/angular2-meteor/tree/master/atmosphere-packages/css-compiler

by the way, @barbatus , is it already available in typescript@next?
I've seen milestone 2.0 is almost done and maybe we can start recommending people to use it?

yes, TypeScript 2.0 is in Beta now. I'll see if we can update prob this week.

@nikhammerellis your path is incorrect. Paths should be relative in the node resolution mode.
I.e. client/imports/parties-form/parties-form.html -> ./imports/parties-form/parties-form.html

@barbatus thanks. That helped a ton.

It's actually still not finding ./app.html or ./parties-form.html and those paths look correct

@Urigo is this actually resolved? I'm running the latest version of angular2 and still receiving the error message with the typings:
Cannot find module './translationList.html'
Beside that the app loads as expected.
Thanks

I was reading further, the typescript errors will be gone when TypeScript 2.x is released? Then I'll ignore them

It would be helpful if this was mentioned in the guide. Researched almost an hour only to read this and to find out that I only have to ignore this until 2.0 will be released - oh man... :)

I'm using typescript 2.1.4 and the newest typings and still get the "Cannot find module '.xxxxx.html' error message.
Is it still a known problem or is something wrong with my config?
Thanks!

I also still have this as a problem.
I've reverted to using
templateUrl: 'path/to/file.'
because even if using the import is best practice, no errors works better for me.

the answer to the problem is available here: https://www.npmjs.com/package/angular2-meteor#static-resources

I installed the global typings but still have the squiggly red line under my 'html' template import. Do I need to add something to tsconfig too?

I have TypeScript 2.5.2 installed, and while import template from './app.html' results in page being loaded in browser, as expected, there is, however, still error in VisualStudio Code, saying "Cannot find module" from typescript.
Did anyone have resolved this issue?

have you tried adding a typing
declare module '*.html' {
  const value: Function;
  export default value;
}

Thanks for your input, @mattiLeBlanc : I had added
declare module '*.html' {   const value: Function;   export default value; }
into meteor-app/declarations.d.ts , however, the pesky red wavy underline is still there.
Not sure if relevant, I noticed I had a file meteor-app/typings/globals/angular2-compilers/index.d.ts that had originally this definition for *html
declare module "*.html" {   const template: string;   export default template; }
I had tried both - updating declaration inside this index.d.ts file and adding it to declarations.d.ts  - no luck.

It could be a tsconfig issue.
Mine looks like:
{
  "compilerOptions": {
    "allowSyntheticDefaultImports": true,
    "baseUrl": "./typings",
    "declaration": false,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "lib": [
      "dom",
      "es2015"
    ],
    "module": "commonjs",
    "moduleResolution": "node",
    "sourceMap": true,
    "target": "es5",
    "skipLibCheck": true,
    "stripInternal": true,
    "noImplicitAny": false,
    "typeRoots": [
      "node_modules/@types/"
    ],
    "types": [
      "meteor-typings",
      "@types/underscore",
      "node"
    ]
  },
  "exclude": [
    "node_modules",
    ".meteor"
  ],
  "compileOnSave": false
}

and I am importing .pug instead of .html.
So actually, the example I gave you is wrong.
declare module "*.html" { const template: string; export default template; }

is the right one. Pug is returning a function, hence the function declaration in my answer, but HTML will not be a Function but just a String.
Still I think it has to do with your tsconfig.json.
I also have typings/globals/angular2-compilers which has the index.d.ts with those declarations.

@mattiLeBlanc - thanks a million for looking into it! Your tsconfig.json had resolved the issue. I am not entirely sure why (and I can live with that for now) my tsconfig did not work, but the fields that were different were baseUrl (mine was '.'), module (mine was 'umd') and typeRoots (mine did not have any) - in case if that would help someone else out there.
Again - thank you very much for helping out with this one!

@Zory1 No problem mate. I was running in the same issue before with the PUG files and fiddling with the TSCONFIG helped. You could remove keys from your config to see when the red squiggly text shows up again.


Run all tests in E2E test suite, not just specific ones

@mieubrisse  this is a duplicate of https://github.com/ava-labs/gecko/pull/270


Highlight showing over text in IE, but works in Chrome/Firefox

There is a text that was highlighted but in IE the highlight is showing over the text and hiding the original text. However, in Chrome and Firefox the highlight works as expected. Screenshots are shown below.
In IE:

In Chrome:

Thanks,
MSLA-IT

@msladev, your solution worked perfectly for us until we stumbled upon some PDFs which rendered other image and shape elements with a 50% transparency due to this change.
Example PDF: https://dl.dropboxusercontent.com/u/1652601/ht-1-handbook.pdf
We then moved the workaround to CanvasGraphics_beginAnnotation() and only apply it for IE so it only affects the text highlight and only when it needs to.

Thanks @tbasse, works great.

Closing IE11/Edge (non-Chromium-based) issues in response to #11211. Please note that, as outlined in https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support, only bugs which completely prevent the library and/or the default viewer from running will be accepted.


chore(main): release 0.13.0

:robot: I have created a release beep boop
0.13.0 (2024-07-14)
Features

Move the C bindings into a standalone repository (#1) (14ae192)

Bug Fixes

Fix some typos in the documentation (f67459f)

This PR was generated with Release Please. See documentation.

I'll go ahead and release this, and we can do another release with the Meson build option when we're ready for that.

:robot: Created releases:

0.13.0
:sunflower:


skipToNext and skipToPrevious does not work on locked screen controls iOS

Description:
I can not change track from locked screen on real device iOS.
The player works fine when I am on the locked screen with background playing and I can do play, pause, but when I do a skipToNext() or skipToPrevious() here, it goes to paused state (and I can not start any track any more from locked screen - but if I open the device I see that the track was changed).
Reproduce in real iOS device:
Configure up the package.
Add some tracks to the queue.
Start to play a track in the app.
Lock the screen.
Press home button.
Click to the next or the previous from the control buttons.
Environment:
react-native info:
System:
OS: macOS 11.6
CPU: (8) x64 Apple M1
Memory: 20.02 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.17.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.16.0 - /usr/local/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.2 - /opt/homebrew/lib/ruby/gems/3.0.0/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 15.0, DriverKit 20.4, macOS 11.3, tvOS 15.0, watchOS 8.0
Android SDK:
API Levels: 29, 30
Build Tools: 29.0.2, 30.0.2, 30.0.3
System Images: android-29 | Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.2 AI-202.76<IP_ADDRESS>51085
Xcode: 13.0/13A233 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_292 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.65.1 => 0.65.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
What `react-native-track-player: 2.1.1
Tested two real device: iPhone 6s - iOS 15.0, iPhone 6s Plus - iOS 14.1
Code:
My service.ts file:
import TrackPlayer, {Event} from 'react-native-track-player';
import {tracks} from './tracks';

module.exports = async function () {
  TrackPlayer.addEventListener(Event.RemotePlay, () => TrackPlayer.play());

  TrackPlayer.addEventListener(Event.RemotePause, () => TrackPlayer.pause());

  TrackPlayer.addEventListener(Event.RemoteStop, () => TrackPlayer.destroy());

  TrackPlayer.addEventListener(Event.RemotePrevious, async () => {
    const currentTrackIndex = await TrackPlayer.getCurrentTrack();
    if (currentTrackIndex > 0) {
      await TrackPlayer.skipToPrevious();
    }
  });

  TrackPlayer.addEventListener(Event.RemoteNext, async () => {
    const currentTrackIndex = await TrackPlayer.getCurrentTrack();
    if (currentTrackIndex < tracks.length - 1) {
      await TrackPlayer.skipToNext();
    }
  });

  TrackPlayer.addEventListener('remote-seek' as Event, async (position) =>
    TrackPlayer.seekTo(position.position),
  );

Log from xCode:
After next clicked on locked screen the last log from xCode:
2021-10-06 16:05:28.447615+0200 [54027:3022229] [javascript] 'New event: ', { state: 'paused', type: 'playback-state' }

Screenshot from iPhone:

*** UPDATE: ***
I have checked on version: 2.0.0 - it works fine.
I have checked on version: 2.0.3 - does not work.

Please move up to the latest 2.x.x version. There was a bug in iOS 15 which we fixed later.

Resolved.


Document perfmap settings

Document  DOTNET_PerfMapEnabled  behavior:

DOTNET_PerfMapEnabled
Behavior

0
Disabled

1
Generate both

2
Generate only JitDump

3
Generate only PerfMaps

Internal previews

📄 File
🔗 Preview link

docs/core/diagnostics/debug-highcpu.md
Debug high CPU usage in .NET Core

docs/core/runtime-config/debugging-profiling.md
Debugging profiling config settings

cc @davmason @hoyosjs as FYI

@tommcdon For next time, it's best to batch the suggestions into a single commit (for docs, the build kicks off on each commit). You can batch them from the Files changed tab.


TADA_TwoCharacteristicScatterplot legend should not include fraction and/or speciation if they are NA

Is your feature request related to a problem? Please describe.
The legend for the TADA_TwoCharacteristicScatterplot in Figures.R looks strange for characteristics that do not require a fraction or speciation and are NA. See example from RShiny App:

Describe the solution you'd like
Update TADA_TwoCharacteristicScatterplot so the fraction and/or speciation are not included in the legend titles if they are NA. Keep if not NA.
Example (remove these NAs):

I ran into this issue when working on the depth profile plots - the way I dealt with it here may work here too.


Failed to connect to spotify

The extension seems to be using an outdated version of spotilocal which is causing it to stop checking at port 4380 when it should be checking up to 4389 in the latest version of spotilocal.
My spotify uses the port 4381 therefor this extension does not work.

@NightmareInfinity
Thank you very much for the hint!
I released version 3.0.0 of the extension with the latest version (0.4.4) of spotilocal.


Enhancement : copy / paste an cloned object (across zones)

I'm not sure how to describe this;
I want to be able to lock this door:   from the systec lobby side.  I cloned the 'tinybutton' object that locks the door from the hallway side.
I've had good success with cloning buttons swapping their direction and placing them straight on the other side of the door frame.
Not in ths insance. The button is in the stairway_section zone and  the clone is in lobbyhub.
I'll need to create a proxy.
Is there any way to makes this process easier some how copy a cloned object into a proxy  event without reinventing the wheel.
In this case it's not too too hard to add door open / close, emergency override and such events to a new door button object
(I've messed with this before) , but some more complex objects might benefit more.

I'm not too sure what the problem is here, but I suspect a tool addition won't solve it - seems more like a discussion :)
If you're trying to move the button to be visible in zones across multiple composites there are ways of proxying for zones?

So.  I think I was unclear and as I said I was not sure how to fully describe it.   It was also late when I wrote that.
The door goes between LOBBYHUB and STAIRWELL_SECTION. The button and door are on the STAIRWELL_SECTION zone.
I want a button also on the LOBBYHUB zone too.  I was merely cloning the button and placing it's coordinates such that it
crosses into LOBBYHUB.  This is wrong and makes the button do nothing due to zoning.
To do this correct required a new tinybutton object in Lobby and a proxy from stairwell to this object b/c there is logic that enables it when the server hub is opened.  Then I had to make a proxy to the door so the tinybutton could make it work.
I guess I was asking for a way to simpliy these steps and make the links easier.  In the instant case of the button being
able to clone it with it's parameters intact and move it across to the lobby would have made it easier.  It would not relieve
the requirement for proxies.   I've updated this ticket title.  I suspect what I'm after is not really feasable though.

Ah I see, so the request is to be able to duplicate entities across composites?
Doing that creates a lot of complexity because of dependencies entities have on objects within the same composite - it works well for simple things but becomes tricky with more complicated things.
I've been thinking about making it easier to copy parameters (particularly transforms) for a while. Would that be useful?

Yes.  I realize now what I asked for is probably too complex due to just those dependant links.
Easier copying of transforms would be great.  How about an integral "scratch pad"?     Just to hold the parameters
for such an occasion?  Perhaps a way to output this to a more permanant file as an option but that's not needed.
This would give an easier view than going back and forth manually.
I've been using a second instance of commands editor on a 2nd monitor to work from and copying information manually.
This works, but I still spend a lot of time going between composites and searching for the item I'm looking to copy.
And if didn't have at least two monitors or a massive single monitor this would be quite tedious.
Thanks again for entertaining my wild notions.  And your continued development..

I've been thinking about updating the UI to use dockable panels, supporting the ability to select multiple entities at once.
I'm not sure if you're familiar with Unity, but basically something similar to the inspector there, where you can select a GameObject, lock the inspector to that GameObject, and then open another inspector to view other objects. I think it'd make working around multiple entities a lot easier. Making them dockable panels would let you drag them wherever you'd want.

No familliarity with Unity at all.  I have zero development background.
I have jumped into modding from a fully blind perspective.
The learning curve has been steep without that foundation, but not too terrible.
That outline sounds good.  Dockable windows would help organize the workspace.


✨ Add message sign to xNFT wallet adapter.

⚠ NOTE: Use notes like this to emphasize something important about the PR.
This could include other PRs this PR is built on top of; API breaking changes; reasons for why the PR is on hold; or anything else you would like to draw attention to.

Status
Type
⚠ Core Change
Issue

Ready
Feature
No
#85

Problem
Sign Message implementation did not exist for XNFT Wallet Adapter.
Solution
Added implementation inside XNFT.jslib and XNFTWallet.cs files.

LGTM! Thanks @dfl-zeke


chore: bdd-sbrp-import-1585372840 to 0.0.1

chore: Promote bdd-sbrp-import-1585372840 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


removed bootstrap classes from winter draft generator

This pull requests address #85.  I have removed the bootstrap classes from the winter-2020 branch.

@pmckernin Is it necessary to remove all the classes from each View, even though students will only ever get the index and show pages?
Unless, of course, we talk about more flags this quarter.

I spoke with @raghubetina about removing bootstrap from all of the draft:resource generators.  Also, the extra line is to make sure our <label> match the way they are displayed throughout the rest of the gem.  @jelaniwoods @raghubetina  Want to get a go head to merge this.


As a user I can save and access previous records of scanned QR codes.

User Story:
As a user, I want to be able to save and access previous records of scanned QR codes,
So that I can conveniently review and reuse the scanned information later.
Acceptance Criteria:

After scanning QR code data should be saved in the app's history or records section,
And I should be able to access the list of saved QR code records,
And each record should display the scanned data, date, and time of scanning,
And I should be able to tap on a record to view the details of the scanned QR code,
And I should have the option to delete specific records if needed,
And the records should persist and be accessible even after closing and reopening the app.

Won't do. Not Required


How to Release a Port Being Listened by Viser in Jupyter Without Restarting the Kernel

Hi,
I have been using Viser in Jupyter notebooks and encountered an issue related to port management:
When I run a Viser program, it starts the server on http://<IP_ADDRESS>:8080 by default. If that port is occupied, it switches to 8081, and so on. However, when I interrupt the notebook, it seems that the original port (e.g., 8080) isn’t released properly, so running the cell again results in the use of the next available port (e.g., 8081).
Is there a way to explicitly release or close the listening state of the port (e.g., 8080) without needing to kill the entire Python kernel or restart the Jupyter environment? I am looking for a method that can programmatically clean up and release the port, ensuring that the original port can be reused in subsequent runs.
Any guidance or suggestions on how to manage port cleanup in such cases would be highly appreciated!
Thank you for your help!

This question should be repeated, see #310

To free up the port more generally there's also a ViserServer.stop() method, but it looks like this is actually broken in the recent releases. I have a fix in #313.


Early Access for Azure Functions Traces

Hi,
Is there any way we could get early access to the Azure Function Traces for research? BTW, I am a PhD student at the University of Alberta.
Best,
Nima

We still need such data to conduct FaaS experiments.

The traces are now generally available. Sorry we couldn't make them available earlier.


Adding SLES 15

This pull request is to add SLES 15 to the supported list. The only change from SLES 12
appears to be the version of PostgreSQL that is included. I have successfully tested this with SLES 15, but do not have access to test this with OpenSUSE so I did not make that change.
To wit, on my system zypper se postgresql returns:
S | Name                         | Summary                                                                 | Type
--+------------------------------+-------------------------------------------------------------------------+-----------
| freeradius-server-postgresql | Postgresql support for freeradius                                       | package
| libQt5Sql5-postgresql        | Qt 5 PostgreSQL plugin                                                  | package
| postgresql                   | Basic Clients and Utilities for PostgreSQL                              | package
| postgresql-contrib           | Contributed Extensions and Additions to PostgreSQL                      | package
| postgresql-devel             | PostgreSQL development header files and libraries                       | package
| postgresql-docs              | HTML Documentation for PostgreSQL                                       | package
| postgresql-plperl            | The PL/Tcl, PL/Perl, and  PL/Python procedural languages for PostgreSQL | package
| postgresql-plpython          | The PL/Python Procedural Languages for PostgreSQL                       | package
| postgresql-pltcl             | PL/Tcl Procedural Language for PostgreSQL                               | package
| postgresql-server            | The Programs Needed to Create and Run a PostgreSQL Server               | package
| postgresql10                 | Basic Clients and Utilities for PostgreSQL                              | package
| postgresql10                 | Basic Clients and Utilities for PostgreSQL                              | srcpackage
| postgresql10-contrib         | Contributed Extensions and Additions to PostgreSQL                      | package
| postgresql10-devel           | PostgreSQL development header files and libraries                       | package
| postgresql10-docs            | HTML Documentation for PostgreSQL                                       | package
| postgresql10-plperl          | The PL/Tcl, PL/Perl, and  PL/Python procedural languages for PostgreSQL | package
| postgresql10-plpython        | The PL/Python Procedural Languages for PostgreSQL                       | package
| postgresql10-pltcl           | PL/Tcl Procedural Language for PostgreSQL                               | package
| postgresql10-server          | The Programs Needed to Create and Run a PostgreSQL Server               | package

Hi @msurato,
Thank you for your contribution.


make phone numbers consistent

The phone numbers on the user and the help request have a different name

They should be validated and always be in the same format.

solved using the class-validator for the moment. It checks if it can be parsed by google-libphonenumber


[FEATURE] Add ru_RU locale

fix bug in Translator2

Hello, This is an automated comment from our build system. Since this pull request originated from a user  not in the Pentaho organization, we will not proceed  with automatic validation of the pull request.  However, rest assured that it will be reviewed manually as soon  as we get the chance. Thanks for your contribution!

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -Dsurefire.runOrder=alphabetical -B -fn -f 'pom.xml' -pl 'ui,.,core' -P '!assemblies' -amd clean install && mvn -B -f 'pom.xml' -pl 'ui,.,core' -P '!assemblies' -amd site

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'ui,.,core' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  Translator.bat
  core/src/main/java/org/pentaho/di/i18n/GlobalMessages.java
  translator.xml
  ui/src/main/java/org/pentaho/di/ui/i18n/MessagesSourceCrawler.java
  ui/src/main/java/org/pentaho/di/ui/i18n/MessagesStore.java
  ui/src/main/java/org/pentaho/di/ui/i18n/TranslationsStore.java
  ui/src/main/java/org/pentaho/di/ui/i18n/editor/Translator2.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: <0.1% (click to expand)
org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.csvinput.CsvInputMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.7% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:
Instruction Change: -0.4% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -1% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.insertupdate.InsertUpdateMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.ui.repository.pur.repositoryexplorer.model.UISecurityRole

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupdate.SalesforceUpdateMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

License header violations

:heavy_exclamation_mark: Copyright year is not the current year on core/src/main/java/org/pentaho/di/i18n/GlobalMessages.java. Found 2017. Was expecting 2018

:heavy_exclamation_mark: Copyright year is not the current year on ui/src/main/java/org/pentaho/di/ui/i18n/MessagesSourceCrawler.java. Found 2017. Was expecting 2018

:heavy_exclamation_mark: Copyright year is not the current year on ui/src/main/java/org/pentaho/di/ui/i18n/MessagesStore.java. Found 2017. Was expecting 2018

:heavy_exclamation_mark: Copyright year is not the current year on ui/src/main/java/org/pentaho/di/ui/i18n/TranslationsStore.java. Found 2017. Was expecting 2018

:heavy_exclamation_mark: Copyright year is not the current year on ui/src/main/java/org/pentaho/di/ui/i18n/editor/Translator2.java. Found 2017. Was expecting 2018

Checkstyle violations
The code submitted is not complying with one or more of our guidelines. To perform these checks locally, please use this tool.
/home/buildguy/project/ui/src/main/java/org/pentaho/di/ui/i18n/MessagesSourceCrawler.java

:heavy_exclamation_mark: 'if' construct must use '{}'s. at Line: 215

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 215 Column: 11

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 215 Column: 28

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 379 Column: 46

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 379 Column: 66

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 383 Column: 53

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 383 Column: 56

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 384 Column: 15

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 384 Column: 31

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 385 Column: 55

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 385 Column: 70

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 386 Column: 53

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 386 Column: 69

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 387 Column: 17

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 387 Column: 29

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 387 Column: 38

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 387 Column: 39

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 388 Column: 35

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 388 Column: 57

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 402 Column: 44

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 402 Column: 64

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 414 Column: 44

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 414 Column: 64

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 427 Column: 42

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 427 Column: 57

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 427 Column: 75

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 427 Column: 76

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 433 Column: 15

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 433 Column: 35

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 433 Column: 38

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 433 Column: 39

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 434 Column: 55

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 434 Column: 58

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 435 Column: 52

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 435 Column: 67

:heavy_exclamation_mark: 'if rcurly' has incorrect indentation level 8, expected level should be 10. at Line: 436

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 437 Column: 54

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 437 Column: 64

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 438 Column: 17

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 438 Column: 36

:heavy_exclamation_mark: 'if' child has incorrect indentation level 12, expected level should be 14. at Line: 439

:heavy_exclamation_mark: 'if rcurly' has incorrect indentation level 10, expected level should be 12. at Line: 440

:heavy_exclamation_mark: 'else' child has incorrect indentation level 12, expected level should be 14. at Line: 441

:heavy_exclamation_mark: 'else rcurly' has incorrect indentation level 10, expected level should be 12. at Line: 442

:heavy_exclamation_mark: 'else rcurly' has incorrect indentation level 8, expected level should be 10. at Line: 443

/home/buildguy/project/ui/src/main/java/org/pentaho/di/ui/i18n/MessagesStore.java

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 198 Column: 37

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 198 Column: 46

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 214 Column: 30

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 214 Column: 53

:heavy_exclamation_mark: '{' is not preceded with whitespace. at Line: 214 Column: 54

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 215 Column: 27

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 215 Column: 43

/home/buildguy/project/ui/src/main/java/org/pentaho/di/ui/i18n/TranslationsStore.java

:heavy_exclamation_mark: 'if' construct must use '{}'s. at Line: 233

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 233 Column: 9

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 233 Column: 28

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 256 Column: 67

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 256 Column: 110

:heavy_exclamation_mark: '{' is not preceded with whitespace. at Line: 256 Column: 111

:heavy_exclamation_mark: 'if' construct must use '{}'s. at Line: 261

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 261 Column: 9

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 261 Column: 28

:heavy_exclamation_mark: 'if' construct must use '{}'s. at Line: 271

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 271 Column: 11

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 271 Column: 26

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 272 Column: 17

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 272 Column: 43

/home/buildguy/project/ui/src/main/java/org/pentaho/di/ui/i18n/editor/Translator2.java

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 277 Column: 18

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 277 Column: 55

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 278 Column: 34

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 278 Column: 52

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 279 Column: 34

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 279 Column: 51

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 281 Column: 18

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 281 Column: 78

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 386 Column: 39

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 386 Column: 76

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 387 Column: 9

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 387 Column: 31

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 387 Column: 40

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 387 Column: 41

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 388 Column: 44

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 388 Column: 53

:heavy_exclamation_mark: 'if' construct must use '{}'s. at Line: 389

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 389 Column: 11

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 389 Column: 20

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 390 Column: 39

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 390 Column: 47

:heavy_exclamation_mark: 'if' construct must use '{}'s. at Line: 859

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 859 Column: 9

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 859 Column: 21

:heavy_exclamation_mark: 'if' construct must use '{}'s. at Line: 864

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 864 Column: 9

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 864 Column: 35

:heavy_exclamation_mark: 'method def' child has incorrect indentation level 8, expected level should be 4. at Line: 866

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 869 Column: 54

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 869 Column: 75

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 870 Column: 55

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 870 Column: 68

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 871 Column: 20

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 871 Column: 46

:heavy_exclamation_mark: 'for' is not followed by whitespace. at Line: 872 Column: 10

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 872 Column: 11

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 872 Column: 56

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 873 Column: 67

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 873 Column: 75

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 875 Column: 13

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 875 Column: 36

:heavy_exclamation_mark: '{' is not preceded with whitespace. at Line: 875 Column: 37

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 876 Column: 24

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 876 Column: 82

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 880 Column: 54

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 880 Column: 69

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 882 Column: 35

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 882 Column: 43

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 883 Column: 20

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 883 Column: 28

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 883 Column: 37

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 883 Column: 45

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 885 Column: 19

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 885 Column: 27

:heavy_exclamation_mark: 'if' construct must use '{}'s. at Line: 887

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 887 Column: 11

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 887 Column: 27

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 888 Column: 22

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 888 Column: 42

:heavy_exclamation_mark: 'for rcurly' has incorrect indentation level 8, expected level should be 4. at Line: 889

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 890 Column: 18

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 890 Column: 58

:heavy_exclamation_mark: 'method def' child has incorrect indentation level 8, expected level should be 4. at Line: 894

:heavy_exclamation_mark: 'method def' child has incorrect indentation level 8, expected level should be 4. at Line: 895

:heavy_exclamation_mark: 'method def' child has incorrect indentation level 8, expected level should be 4. at Line: 896

:heavy_exclamation_mark: 'if' has incorrect indentation level 8, expected level should be 4. at Line: 899

:heavy_exclamation_mark: 'if' child has incorrect indentation level 10, expected level should be 6. at Line: 900

:heavy_exclamation_mark: 'try' has incorrect indentation level 10, expected level should be 6. at Line: 903

:heavy_exclamation_mark: 'try' child has incorrect indentation level 12, expected level should be 8. at Line: 904

:heavy_exclamation_mark: 'try' child has incorrect indentation level 12, expected level should be 8. at Line: 905

:heavy_exclamation_mark: 'for' construct must use '{}'s. at Line: 906

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 906 Column: 14

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 906 Column: 82

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 909 Column: 62

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 909 Column: 79

:heavy_exclamation_mark: 'for' child has incorrect indentation level 14, expected level should be 12. at Line: 910

:heavy_exclamation_mark: 'while' has incorrect indentation level 14, expected level should be 12. at Line: 911

:heavy_exclamation_mark: 'while' child has incorrect indentation level 16, expected level should be 14. at Line: 912

:heavy_exclamation_mark: 'while rcurly' has incorrect indentation level 14, expected level should be 12. at Line: 913

:heavy_exclamation_mark: 'for' child has incorrect indentation level 14, expected level should be 12. at Line: 914

:heavy_exclamation_mark: 'for' child has incorrect indentation level 14, expected level should be 12. at Line: 915

:heavy_exclamation_mark: 'for rcurly' has incorrect indentation level 12, expected level should be 10. at Line: 916

:heavy_exclamation_mark: 'try' child has incorrect indentation level 12, expected level should be 8. at Line: 917

:heavy_exclamation_mark: 'try rcurly' has incorrect indentation level 10, expected level should be 6. at Line: 918

:heavy_exclamation_mark: 'catch' child has incorrect indentation level 12, expected level should be 8. at Line: 919

:heavy_exclamation_mark: 'catch rcurly' has incorrect indentation level 10, expected level should be 6. at Line: 922

:heavy_exclamation_mark: 'if rcurly' has incorrect indentation level 8, expected level should be 4. at Line: 924


Adding the FeatureName parameter in example

Using the FeatureName parameter will prevent that the user needs to search for the feature in a big list of ProviderFeatures.

@Cloudenius : Thanks for your contribution! The author(s) have been notified to review your proposed change.

I'm happy to say that the feature no longer needs any of these steps. You can work directly in the portal. Thank you for taking the time to respond, though! #please-close


Unable to generate public audio file, but 1.1.4 worked fine

System Health details
System Information

version
core-2024.10.3

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.4

os_name
Linux

os_version
6.6.54-haos

arch
x86_64

timezone
America/Los_Angeles

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

HACS Data
ok

GitHub API Calls Remaining
4928

Installed Version
2.0.1

Stage
running

Available Repositories
1465

Downloaded Repositories
72

AccuWeather

can_reach_server
ok

remaining_requests
42

Home Assistant Cloud

logged_in
true

subscription_expiration
October 31, 2024 at 5:00 PM

relayer_connected
true

relayer_region
us-east-1

remote_enabled
true

remote_connected
true

alexa_enabled
false

google_enabled
true

remote_server
us-east-1-7.ui.nabu.casa

certificate_status
ready

instance_id
b8337d89d1654680a2050a4ab1c65281

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 13.2

update_channel
stable

supervisor_version
supervisor-2024.10.2

agent_version
1.6.0

docker_version
27.2.0

disk_total
117.4 GB

disk_used
90.2 GB

healthy
true

supported
true

host_connectivity
true

supervisor_connectivity
true

ntp_synchronized
true

virtualization
vmware

board
ova

supervisor_api
ok

version_api
ok

installed_addons
File editor (5.8.0), Studio Code Server (5.17.2), Mosquitto broker (6.4.1), Home Assistant Google Drive Backup (0.112.1), Hass Calendar Addon (0.501), Terminal & SSH (9.14.0), PS5 MQTT (1.4.0), Samba share (12.3.2), Zigbee2MQTT (1.40.2-1), Piper (1.5.2), Node-RED (18.1.1), MQTT Explorer (browser-1.0.3)

Dashboards

dashboards
21

resources
49

views
305

mode
storage

Miele

component_version
2024.8.1

reach_miele_cloud
ok

Recorder

oldest_recorder_run
October 9, 2024 at 8:32 AM

current_recorder_run
October 18, 2024 at 3:17 PM

estimated_db_size
2539.34 MiB

database_engine
sqlite

database_version
3.45.3

Spotify

api_endpoint_reachable
ok

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
1.1.4 worked fine with my configuration, but after updating to 1.1.6, it no longer works.
I'm using Google Nest Minis to playback the audio.
Here's my setup:

This is the error that I'm getting:
2024-10-18 15:24:57.341 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Unable to generate public audio file
The files are being created correctly:

But media_content_id is no longer being returned anymore, which is how I was playing back the resulting mp3 on Google Nest Minis:

Here's what a line from the 1.1.4 log file showing the media source line that was generated:
2024-10-18 15:14:56.201 DEBUG (MainThread) [custom_components.chime_tts] * media_content_id = "media-source://media_source/local/chime_tts/jekxb93n.mp3"
In my configuration.yaml file I added this (months ago):
homeassistant:
  allowlist_external_dirs:
    - /media/camera-clips
    - /media/sounds
    - /media/chime_tts
    - /media/temp/chime_tts

Switching back to 1.1.4 makes it work again.
Reproduction steps

...
Debug logs
2024-10-18 15:24:51.091 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔══════════════════════════════╗
2024-10-18 15:24:51.091 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Clear Cache Called ║
2024-10-18 15:24:51.091 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚══════════════════════════════╝
2024-10-18 15:24:51.091 DEBUG (MainThread) [custom_components.chime_tts] Clearing cached downloaded chimes, cached temporary Chime TTS audio files and cached publicly accessible Chime TTS audio files...
2024-10-18 15:24:51.093 DEBUG (MainThread) [custom_components.chime_tts] ...removing public file http://<IP_ADDRESS>:8123/local/chime_tts/r5jhe9x7.mp3
2024-10-18 15:24:51.093 WARNING (MainThread) [custom_components.chime_tts.helpers.filesystem] No file at path /config/www/chime_tts/r5jhe9x7.mp3 - unable to delete
2024-10-18 15:24:51.095 DEBUG (MainThread) [custom_components.chime_tts] ...removing public file http://<IP_ADDRESS>:8123/local/chime_tts/bd019_oa.mp3
2024-10-18 15:24:51.095 WARNING (MainThread) [custom_components.chime_tts.helpers.filesystem] No file at path /config/www/chime_tts/bd019_oa.mp3 - unable to delete
2024-10-18 15:24:51.095 DEBUG (MainThread) [custom_components.chime_tts] ...removing public file http://<IP_ADDRESS>:8123/local/chime_tts/fnuwygge.mp3
2024-10-18 15:24:51.095 WARNING (MainThread) [custom_components.chime_tts.helpers.filesystem] No file at path /config/www/chime_tts/fnuwygge.mp3 - unable to delete
2024-10-18 15:24:51.096 DEBUG (MainThread) [custom_components.chime_tts] ...removing public file http://<IP_ADDRESS>:8123/local/chime_tts/4me_25ou.mp3
2024-10-18 15:24:51.097 WARNING (MainThread) [custom_components.chime_tts.helpers.filesystem] No file at path /config/www/chime_tts/4me_25ou.mp3 - unable to delete
2024-10-18 15:24:51.097 DEBUG (MainThread) [custom_components.chime_tts] ...removing public file http://<IP_ADDRESS>:8123/local/chime_tts/d01lhzl4.mp3
2024-10-18 15:24:51.097 WARNING (MainThread) [custom_components.chime_tts.helpers.filesystem] No file at path /config/www/chime_tts/d01lhzl4.mp3 - unable to delete
2024-10-18 15:24:51.098 DEBUG (MainThread) [custom_components.chime_tts] ...removing public file http://<IP_ADDRESS>:8123/local/chime_tts/ydb61vn4.mp3
2024-10-18 15:24:51.098 WARNING (MainThread) [custom_components.chime_tts.helpers.filesystem] No file at path /config/www/chime_tts/ydb61vn4.mp3 - unable to delete
2024-10-18 15:24:51.098 DEBUG (MainThread) [custom_components.chime_tts] ...removing public file http://<IP_ADDRESS>:8123/local/chime_tts/pfi90nbu.mp3
2024-10-18 15:24:51.099 WARNING (MainThread) [custom_components.chime_tts.helpers.filesystem] No file at path /config/www/chime_tts/pfi90nbu.mp3 - unable to delete
2024-10-18 15:24:51.099 DEBUG (MainThread) [custom_components.chime_tts] Clearing cached Home Assistant TTS audio files...
2024-10-18 15:24:51.100 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────────────────────────────────────────────────────╮
2024-10-18 15:24:51.100 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │──── Chime TTS Clear Cache Completed in %s ms 8.940999999999999 ────│
2024-10-18 15:24:51.100 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────────────────────────────────────────────────────╯
2024-10-18 15:24:55.687 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔════════════════════════════════════════════════╗
2024-10-18 15:24:55.687 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Say URL Called. Version v1.1.6-beta1 ║
2024-10-18 15:24:55.687 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚════════════════════════════════════════════════╝
2024-10-18 15:24:55.687 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────╮
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ General Parameters │
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────╯
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids = []
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = True
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 450.0
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 0.0
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * message = [{'chime': 'media/sounds/notify.mp3'}, {'tts': 'Home Assistant has started', 'offset': -800}]
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_platform = tts.openai_tts
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = False
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * fade_audio = False
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = -1
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = False
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = False
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * media_players_array = []
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭─────────────────╮
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Preparing Audio │
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰─────────────────╯
2024-10-18 15:24:55.688 DEBUG (MainThread) [custom_components.chime_tts] *** Checking Chime TTS audio cache ***
2024-10-18 15:24:55.692 DEBUG (MainThread) [custom_components.chime_tts] ...no cached audio found
2024-10-18 15:24:55.694 DEBUG (MainThread) [custom_components.chime_tts] - Retrieving audio from path: "/media/sounds/notify.mp3"...
2024-10-18 15:24:55.771 DEBUG (MainThread) [custom_components.chime_tts] ...audio retrieved. Duration: 1.536s
2024-10-18 15:24:55.771 DEBUG (MainThread) [custom_components.chime_tts] - Attempting to retrieve TTS audio from cache...
2024-10-18 15:24:55.772 DEBUG (MainThread) [custom_components.chime_tts] ...no cached TTS audio found
2024-10-18 15:24:55.775 DEBUG (MainThread) [custom_components.chime_tts] - Generating new TTS audio with parameters:
2024-10-18 15:24:55.775 DEBUG (MainThread) [custom_components.chime_tts] * tts_platform = 'tts.openai_tts'
2024-10-18 15:24:55.775 DEBUG (MainThread) [custom_components.chime_tts] * message = 'Home Assistant has started'
2024-10-18 15:24:55.775 DEBUG (MainThread) [custom_components.chime_tts] * cache = True
2024-10-18 15:24:55.775 DEBUG (MainThread) [custom_components.chime_tts] * language = None
2024-10-18 15:24:55.775 DEBUG (MainThread) [custom_components.chime_tts] * options = {}
2024-10-18 15:24:57.165 DEBUG (MainThread) [custom_components.chime_tts] ...TTS audio generated in 1.39s
2024-10-18 15:24:57.165 DEBUG (MainThread) [custom_components.chime_tts] - Saving generated TTS audio to cache...
2024-10-18 15:24:57.210 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /media/temp/chime_tts/ihv46898.mp3
2024-10-18 15:24:57.210 DEBUG (MainThread) [custom_components.chime_tts] - Saving data to chime_tts storage:
2024-10-18 15:24:57.210 DEBUG (MainThread) [custom_components.chime_tts] - key: "41d3bbe5a75c1aa796b5a4abff72e2037dab328b8043777ec8b29b19d783738a"
2024-10-18 15:24:57.210 DEBUG (MainThread) [custom_components.chime_tts] - value: "{'local_path': '/media/temp/chime_tts/ihv46898.mp3', 'audio_duration': 1.475}"
2024-10-18 15:24:57.213 DEBUG (MainThread) [custom_components.chime_tts] ...TTS audio saved to cache
2024-10-18 15:24:57.213 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] Performing overlay of -800.0ms
2024-10-18 15:24:57.214 DEBUG (MainThread) [custom_components.chime_tts] - Saving mp3 file to public folder: /media/chime_tts/...
2024-10-18 15:24:57.214 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] Creating audio folder: /media/chime_tts/
2024-10-18 15:24:57.270 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /media/chime_tts/8oly5fjw.mp3
2024-10-18 15:24:57.341 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Unable to generate public audio file
2024-10-18 15:24:57.341 DEBUG (MainThread) [custom_components.chime_tts] Final URL = None
2024-10-18 15:24:57.341 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭──────────────────────────────────────────────────╮
2024-10-18 15:24:57.341 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │──── Chime TTS Say URL Completed in %s 1.65 s ────│
2024-10-18 15:24:57.341 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰──────────────────────────────────────────────────╯
2024-10-18 15:24:57.342 WARNING (MainThread) [custom_components.chime_tts] Check that the folder path in the configuration for `chime_tts.say_url` is within the public "www" folder or the local media folder

Diagnostics dump
I can't find the diagnostics dump file.

Hi Dan, thank you for opening the ticket and providing your settings and debug log messages ⭐ Sorry you've been having issues.
I think the cause might be related to the your chime_tts.say_url folder in your configuration:

This folder path needs to be public/externally accessible.
Can you please try changing it to a folder path that starts with /config/www/ eg:

I just released a new beta version, v1.1.6-beta2, that fixes a lot of caching issues. I suggest you upgrade and test against this newer version 👍

I reverted to using the default say_url folder and changed to using the URL string instead of the media_content_id (for some reason, I incorrectly thought that Google devices didn't work with a local url).
I also needed to delete the config/.storage/chime_tts_integration_data file (as it wasn't getting cleared when I cleared the cache).
And now everything seems to be working fine.
In short, the non-standard things I had done to get chime_tts working historically broke with the latest update, but reverting to default settings solved my problem.

As an aside, I'm inclined to think that adding this in my configuration.yaml file:
homeassistant:
  allowlist_external_dirs:
    - /media/chime_tts

should have qualified the say_url folder to be able to generate a public URL (as the files were created correctly), but it works with the default settings, so not a big deal.
Thanks again!

Hey @DanDixon, glad to hear its working well for you now 👍
I think the you're right about how chime_tts.say_url should be able to use the /media/chime_tts folder if it has been added to your allow_external_dirs list. I will investigate further.

In the latest beta (v1.1.6-beta4) I added validation to the configuration page and made a fix to the code which handles external mp3 paths.

Hi!
I have a similar problem with the latest version v1.1.6-beta5
With this service call
action: chime_tts.say_url data:   offset: 450   final_delay: 100   message: Hello   tts_platform: google_translate   cache: false   audio_conversion: Alexa   language: it   options: "tld: com.au\voice: en-AU"   tts_speed: 100
i get this result
url: null media_content_id: null duration: 0 success: false
The log says
`Logger: custom_components.chime_tts
Source: custom_components/chime_tts/init.py:871
integration: Chime TTS (documentation, issues)
First occurred: 13:35:02 (1 occurrences)
Last logged: 13:35:02
async_get_playback_audio_path --> Public audio file not found on filesystem: http://<IP_ADDRESS>:8123/local/chime_tts/yy1ywi1r.mp3`
The thing is that the file is actually in that specific folder (if I past the above url in the browser I can play the audio file). So i do not understand the problem
this is my chime tts config

and this is my home assistant config  yaml
homeassistant:   allowlist_external_dirs:     - /media/sounds/temp/chime_tts/chimes/     - /media/sounds/temp/chime_tts/     - /config/www/chime_tts/
Am I missing something?

I'm also having new issues after upgrading to v1.1.6-beta5.
It was working fine before I updated from v1.1.6-beta3.
Please let me know if you need any additional info.
2024-11-01 17:17:30.878 INFO (MainThread) [homeassistant.setup] Setting up chime_tts
2024-11-01 17:17:30.878 INFO (MainThread) [homeassistant.setup] Setup of domain chime_tts took 0.00 seconds
2024-11-01 17:18:42.662 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔════════════════════════════════════════════════╗
2024-11-01 17:18:42.662 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Say URL Called. Version v1.1.6-beta5 ║
2024-11-01 17:18:42.662 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚════════════════════════════════════════════════╝
2024-11-01 17:18:42.662 DEBUG (MainThread) [custom_components.chime_tts.queue_manager] Adding service call to queue
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭────────────────────╮
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ General Parameters │
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰────────────────────╯
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * entity_ids = []
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * cache = True
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * offset = 450.0
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * final_delay = 0.0
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * message = [{'chime': 'media/sounds/notify.mp3'}, {'tts': 'Home Assistant has started', 'offset': -800}]
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_platform = tts.openai_tts
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_speed = 100.0
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * tts_pitch = 0
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * announce = False
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * fade_audio = False
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * volume_level = -1
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * join_players = False
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * unjoin_players = False
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] * media_players_array = []
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭─────────────────╮
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │ Preparing Audio │
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰─────────────────╯
2024-11-01 17:18:42.849 DEBUG (MainThread) [custom_components.chime_tts] *** Checking Chime TTS audio cache ***
2024-11-01 17:18:42.851 DEBUG (MainThread) [custom_components.chime_tts] ...no cached audio found
2024-11-01 17:18:42.852 DEBUG (MainThread) [custom_components.chime_tts] - Retrieving audio from path: "/media/sounds/notify.mp3"...
2024-11-01 17:18:43.078 DEBUG (MainThread) [custom_components.chime_tts] ...audio retrieved. Duration: 1.536s
2024-11-01 17:18:43.078 DEBUG (MainThread) [custom_components.chime_tts] - Attempting to retrieve TTS audio from cache...
2024-11-01 17:18:43.079 DEBUG (MainThread) [custom_components.chime_tts] - Retrieving audio from path: "/media/temp/chime_tts/wo89y3bv.mp3"...
2024-11-01 17:18:43.148 DEBUG (MainThread) [custom_components.chime_tts] ...audio retrieved. Duration: 1.462s
2024-11-01 17:18:43.148 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] Performing overlay of -800.0ms
2024-11-01 17:18:43.149 DEBUG (MainThread) [custom_components.chime_tts] - Saving mp3 file to public folder: /config/www/chime_tts/...
2024-11-01 17:18:43.204 DEBUG (MainThread) [custom_components.chime_tts.helpers.filesystem] File saved to path: /config/www/chime_tts/gqssd0h_.mp3
2024-11-01 17:18:43.274 ERROR (MainThread) [custom_components.chime_tts] async_get_playback_audio_path --> Public audio file not found on filesystem: http://<IP_ADDRESS>:8123/local/chime_tts/gqssd0h_.mp3
2024-11-01 17:18:43.274 DEBUG (MainThread) [custom_components.chime_tts] Final URL = None
2024-11-01 17:18:43.274 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╭─────────────────────────────────────────────────╮
2024-11-01 17:18:43.274 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] │──── Chime TTS Say URL Completed in 430.0 ms ────│
2024-11-01 17:18:43.274 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╰─────────────────────────────────────────────────╯
2024-11-01 17:18:43.274 WARNING (MainThread) [custom_components.chime_tts] Check that the folder path in the configuration for `chime_tts.say_url` is within the public "www" folder or the local media folder
2024-11-01 17:24:03.082 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╔══════════════════════════════════════════════╗
2024-11-01 17:24:03.082 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ║ Chime TTS Version v1.1.6-beta5 Configuration ║
2024-11-01 17:24:03.082 DEBUG (MainThread) [custom_components.chime_tts.helpers.helpers] ╚══════════════════════════════════════════════╝

Could you please test the new beta version, v1.2.2-beta3, and let me know if the issue is resolved?

Yay!
v1.2.2-beta3 fixed the issue.
Thank you!


Components docs: Bullets Checkbox Chevron Divider Heading

Related issue
#420 [Docs] Create missing component docs
Components

Bullets
Checkbox
Chevron
Divider
Heading

@EduardDopler can you please also make this example components work (so checkbox is checked on click etc). Basically the code from example should become an example component

can you please also make this example components work (so checkbox is checked on click etc).

Is this possible though?

It iwz you just need to create an instance like I did for SfPagination in Customization doc

Wow, didn't know about that feature yet, it's great. I added stateful components where appropriate (Bullets, Checkbox and Loader).

Thank you!


Bump golang.org/x/crypto from v0.16.0 to v0.21.0

Addresses the following CVEs

CVE-2023-48795 Insufficient Verification of Data Authenticity vulnerability with Medium severity found
CVE-2023-42818 Improper Restriction of Excessive Authentication Attempts vulnerability with High severity found

Changes
Bump golang.org/x/crypto from v0.16.0 to v0.21.0
Submitter Checklist

[ ] Includes tests if functionality changed/was added
[ ] Includes docs if changes are user-facing
[x] Set a kind label on this PR
[x] Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.
Release Notes
NONE

/kind dependency-change


Client Truststore Corruption in a HA All-in- one APIM 3.2.0 Setup

Description
In APIM 3.2.0, when client certificates are added through the publisher for an API with mutual SSL enabled, the client truststore becomes corrupted if the client truststore is shared between gateway nodes. (In this case,  HA all-in-one setup, and the client truststore is shared between two all-in-one nodes.)
Steps to Reproduce
1.) Setup two all-in-one nodes in HA configuration with the client truststore (security directory) shared between them.
2.) Create and publish an API with mutual SSL enabled and add a few client certificates.
3.) Conduct load tests using the attached JMeter script to update the APIs using the [1] Publisher REST API. The load test involved concurrently updating the API through both APIM nodes using the REST API [1].
NFS.zip
[1] https://apim.docs.wso2.com/en/3.2.0/develop/product-apis/publisher-apis/publisher-v1/publisher-v1/#tag/APIs/paths/~1apis~1{apiId}/put
Affected Component
APIM
Version
wso2am-3.2.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Closing as per the public fix is not applicable, as 4.x.x versions are storing metadata in the DB.


Hide links already read

Hello,
I follow a lot of blogs and I would find really useful to be able to hide the links already read. That way I can "Open all links in tabs" and avoid to do it manually.
It's maybe possible to add a button to open all links "not read yet" only ...
Let me know :)
And thanks for this addon :+1:

#242 added an option to open all unread links via the context menu.

ok thanks :)
btw when can we see a new release roll out ?  What's the scheduling ?

Version 3.0 is now live

YOUHOOOOOU ! Great !
thanks !


how to get direct link url only for doodstream domain dood.to

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.10.13 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I'd like to ask .  I just want to get the direct URL link, not download the file.  is there a way to get it thx
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
root@boo-HP-Convertible-x360-11-ab1XX:~# yt-dlp https://dood.to/d/lv5pt0lqkx1e
[DoodStream] lv5pt0lqkx1e: Downloading webpage
[DoodStream] lv5pt0lqkx1e: Downloading webpage
WARNING: Extractor failed to obtain "title". Creating a generic title instead
[info] lv5pt0lqkx1e: Downloading 1 format(s): 0
[download] Destination: DoodStream video #lv5pt0lqkx1e [lv5pt0lqkx1e].mp4
[download] 100% of 7.75MiB in 00:30
root@boo-HP-Convertible-x360-11-ab1XX:~# ls

this method generate link but not work for download when i copy paste di browser . file won't download in the browser
root@boo-HP-Convertible-x360-11-ab1XX:~# yt-dlp --get-url https://dood.to/d/lv5pt0lqkx1e
WARNING: Extractor failed to obtain "title". Creating a generic title instead
https://iii286.video-delivery.net/u5kj7y3at7e3sdgge5xaciqmicdrmag73n662mtuh3jb5sxfirayduntfqcq/rstlnnuekr~zqWmj7T2YT?token=wsra2wfp3avn9b77jximdr30&expiry=1699509642651

I've verified that I'm running yt-dlp version 2023.10.13 (update instructions) or later (specify commit)

No you didn't. And if you did, then you would have noticed that doodstream is blocked, since it's known to host pirated content.


RuntimeError: Expected all tensors to be on the same device, but found at least two devices

Weather Ubuntu or Windows, torch 2.1 or 2.0, encountered runtime error as below after data processed:
➜  CNN_HAR git:(main) ✗ python3 train.py
Using torch 2.1.1+cu118
Device cuda
Error at line number:  281873
Error at line number:  281874
Error at line number:  281875
^T^T

torch.Size([274658, 1, 90, 3])
  0%|                                                                                | 0/20 [00:01<?, ?it/s]
Traceback (most recent call last):
  File "/home/mintisan/Workplaces/CNN_HAR/train.py", line 73, in <module>
    trainModel(model, train_data_loader, loss, optimizer, 20)
  File "/home/mintisan/Workplaces/CNN_HAR/train.py", line 48, in trainModel
    preds = model(sequence)
  File "/home/mintisan/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/mintisan/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/mintisan/Workplaces/CNN_HAR/layers/Attention/MutliHeadAttention.py", line 41, in forward
    q, k, v = self.qkv(x)
  File "/home/mintisan/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/mintisan/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/mintisan/Workplaces/CNN_HAR/layers/Attention/QKVmatrix.py", line 27, in forward
    q = self.QMatrix(x)
  File "/home/mintisan/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/mintisan/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/mintisan/Workplaces/CNN_HAR/layers/Attention/QKVmatrix.py", line 11, in forward
    x = self.fcl(x)
  File "/home/mintisan/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/mintisan/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/mintisan/.local/lib/python3.10/site-packages/torch/nn/modules/linear.py", line 114, in forward
    return F.linear(input, self.weight, self.bias)
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat1 in method wrapper_CUDA_addmm)
➜  CNN_HAR git:(main) ✗

Got the reason:

All good?
I have done most of the work in colab, so if you need that one, I can share the notebook!

Hi,I have the same problem.Can you tell me how to fix it?I don't find the code you give.


timeTracking.daily is timeTracking.list?

The timeTracking object has all of the normal CRUD methods except list, then it has daily method, which is even described in the unit tests as "should return a list of timers" (emphasis mine).
Would it maybe make more sense to rename daily => list so that timeTracking simply has the normal CRUD methods like most other objects, instead of its own unique name for list?
P.S. You could argue that "daily" is in the URL of the operation ... but it's also in the URL of create (https://YOURACCOUNT.harvestapp.com/daily/add), but that method is called create, not (say) dailyCreate.

Proper crud paths is a good idea, though will likely postpone implementation until the future. Would likely create breaking changes and would be best planned for a new version.  Added a comment in the code for consideration at a later date.


Add Test Proxy logging to local runs

Description
Adds more logging to local Test Proxy test runs, this includes:

Checking the start recording for any errors before attempting to send further requests to Test Proxy.
Creating a local test-proxy.log in the repo root target folder (target/test-proxy/log) that captures detailed logs on what is happening in the Test Proxy to help debug error scenarios.
Including the Process error stream output if the Test Proxy fails to start within the timeout period.

All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Support for cross-repository dependencies

It would be awesome if this would work across repositories. That's actually the reason we looked into this bot.

Hey @neal247 , thank you for opening this!
Yeah, working with dependencies across repositories sounds cool. Technically, it's limited to the repositories the bot has gained access once installed!
I will take a look, to see what I can do ;)

@ahmed-taj could you clarify why it's not possible? It seems that the check here
https://github.com/ahmed-taj/dep/blob/da4aed8db829e4d3c98db282ff27c0d09eb7c40c/lib/check.js#L17
can access issues of any public repository. Or am I missing something?

Good question @laughedelic!
The app maily listens to issue events(opened,closed), when an issue is closed we check if it's a dependecy of an open PR and update that PR's state accordingly!
The only - official -  way to get issue events is through subscribing to GitHub webhooks. But you can't unless the owner of that repository installed the app and authorized access to it. In short, we won't get events when those public repository (who their owners haven't installed our little app - 99.9% of repos) issues updated.
And yes, we also run checks on a PR if new commits have been pushed to it, but that is just a double-check in case some webhooks failed to be delivered to the app due the current infrastructure limitations (free heroku plan).
I hope it's clear now :)

@ahmed-taj thanks for the explanation, I understand now where the limitation comes from: it's about event updates, not the state checks. But what if look at it from a different angle:

we also run checks on a PR if new commits have been pushed to it

So if you already check PR's status whenever it's updated, you could check any external issue-dependencies. Add a listener for any kind of PR update (comments, reviews, pushes, labels, etc.) and check dependencies states (regardless of whether they are external or not).

So if you already check PR's status whenever it's updated, you could check any external issue-dependencies. Add a listener for any kind of PR update (comments, reviews, pushes, labels, etc.) and check dependencies states (regardless of whether they are external or not). What do you think about this approach?

I dont this will work because an event will only be generated when a webhook is subscribed to.
And that will only happen when  the app is installed in the repository.
So an external dependency where the app has not been installed is impossible to handle IMO

@rsarky you don't need to install the bot on other repos to check their issues (assuming repos are public). Here's a simple example:

I have a repo laughedelic/foo where I installed this bot
now I open an issue #42 in it and write a comment: Depends on rsarky/hello-world#1 (external dependency)

What does the bot do:

listens on all issue (or pull-request) related events in my repo (in particular  laughedelic/foo#42)
I post a comment, push commits or do any other change to the issue
the bot sees that #42 depends on rsarky/hello-world#1 and checks if it's open or closed
changes the status of #42 accordingly

Notice that it doesn't need to react on events from rsarky/hello-world#1. It needs to change the status of a dependent issue, so it's enough if it reacts only on the events from it.
I agree that it's less efficient, but I'm just showing that it's possible to handle external dependencies.

So what you are proposing is instead of subscribing to events from an external repo we passively check if the external dependencies are open or closed?

@rsarky correct.

Hmmm.
I think it is a good idea although I have some questions.
How often will you poll the external repo for changes and when will you poll?

@rsarky currently the app mainly listens for pull request open/close events:
https://github.com/ahmed-taj/dep/blob/4ec93bcf2429553bc5b960ab212161bd75ad1f6f/index.js#L17-L25
If I understand @laughedelic 's proposal correctly. We will need to listen to more PR related events e.g. pull_request_review, pull_request_review_comment ..etc. in order to re-check and update PR accordingly ASAP.
Then we will need to modify our matching regex to support external repo referencing
https://github.com/ahmed-taj/dep/blob/4ec93bcf2429553bc5b960ab212161bd75ad1f6f/lib/helpers/match.js#L1
To somthing like this (not tested):
const pattern = /depend(?:s|ed)?(?:[ \t]+(?:up)?on)?[ \t]+((?:[\w-.]+\/[\w-.]+)?#\d+)/gi

By the way, technically, the app actually receives some other PR events like assigned, unassigned, labeled, unlabeled, edited,  and synchronized, but it ignores them as it weren't relevant.

How often will you poll the external repo for changes

Depends on how often that PR changes

@ahmed-taj right. I'm glad that I could explain my idea in the end.
Technically you can subscribe to all events from pull-requests: robot.on('pull_request', ...) (btw, the bot has those permissions already). Probably it's too much. I would consider at least these actions relevant to trigger update:

pull_request.opened
pull_request.edited
pull_request.reopened
pull_request.synchronize
pull_request.review_requested

So on any of the above actions we poll the external repo dependncies for their status right?
LGTM :+1:

So on any of the above actions, we poll the external repo dependencies for their status right?

@rsarky yup

We're trying to simulate updates that are triggered by an external repository by checking with whatever events we get from the current repository. I think it makes sense, if we're going to implement a hack like this, we should do it on any event that won't be recursive (if there's an event for "update a status", then we shouldn't do the check for that). And it should check all pull requests for each of those events, so that it doesn't even need to be related to the pull request in question in order to update the status for the external repository.
This is a not insignificant overhead. But I'll let @ahmed-taj decide if the trade-offs are worthwhile.

Thumbs up, that's exactly what we're looking for react-native and react-native-website.
Some pull requests in the documentation depends on pull request in the core repo and at the moment we handle this manually. I think this bot could be a great improvement in the process flow.
Additionally, if the bot could also comment in the PRs to notify us that would be great. I can submit a PR with that once the cross-repository will be available.
Keep us up-to-date.

Thank you all for sharing your thoughts, I really appreciate it :raised_hands:
@charpeni consider this real example: facebook/react-native-website#401 which depends on facebook/react-native#19627
None of these events would actually trigger an update (cc @laughedelic ):

pull_request.opened
pull_request.edited
pull_request.reopened
pull_request.synchronize
pull_request.review_requested

For the example above, I don't see any event will ever be triggered on that specific PR.
While it's possible to listen to some more events (e.g. push, issues, ...etc), the more we add the more likely the app would hit GitHub API limits (and resources limit - at least for the hosted version at https://probot-dep.now.sh).
Currently, the app listens to these events to update deps:

issues.opened
issues.reopened
pull_request.reopened
pull_request.closed
pull_request.synchronize

I don't know but, what if we only listened to push event? I can't determine if that would be enough/too much for our purpose.

@SouhaibBenFarhat was you able to find the solution for linking cross-repo PRs?

Hey everyone I hope you are doing well.
I was able to build a new GitHub action to replaces this bot.
The new action is more robust and has a few more features like customizing the keywords, label, and handling of cross-repository dependencies :tada:
Please check it out at https://github.com/z0al/dependent-issues
This bot is now deprecated and I will be archiving this repository in the upcoming days. Thanks.


Use proper SPDX license ID in bower.json

As of PureScript 0.8.5, we started requiring SPDX license identifiers in the license field of bower.json, which broke psc-publish for this package. Sorry about that. This ought to fix it.

Thanks!

Hm, I guess we should maybe update the 0.8.5 release notes to describe this change as a breaking change, since this package could previously be published with psc-publish? cc @paf31


Config ignored?

I've edited the goaccess.conf file so it has my log-format, date-format and time-format uncommented, however when I try to pipe stdin to goaccess it still complains "No time format was found on your conf file".
My conf file is located under /usr/local/etc/goaccess/ and the goaccess executable is under /usr/local/bin/

Thanks for reporting this. I believe is trying to open /usr/local/etc/goaccess.conf. This should be fixed upstream. Feel free to build from development and let me know how it goes. Thanks.

Yeah moving the conf file up to the path you suggested fixed the issue. I'll close this since it's a duplicate


Clarifying sentences.

Proposed changes
I restructured a sentence for readability.
Related issues (optional)
In response to issue https://github.com/docker/docker.github.io/issues/1621

Note: This topic no longer exists but we'll credit the participant with hackathon points for their PR anyway.


⚠ Bofrost.be has degraded performance

In 7ad4696, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1880 ms

Resolved: Bofrost.be performance has improved in 53b979b.


[42] Add ciBuildId for configuration of VRT

Codecov Report

Merging #43 (5ab1966) into master (8d342c8) will not change coverage.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##              master       #43   +/-   ##
===========================================
  Coverage     100.00%   100.00%
  Complexity        27        27
===========================================
  Files              5         5
  Lines            103       106    +3
  Branches           4         4
===========================================
+ Hits             103       106    +3

Impacted Files
Coverage Δ
Complexity Δ

...sion_tracker/sdk_java/VisualRegressionTracker.java
100.00% <100.00%> (ø)
18.00 <0.00> (ø)

Continue to review full report at Codecov.

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


collection cards on profile page

go to profile page
collections tab
images don't work
experienced on ksm, rmrk and statemine (canary, beta and production)

related #6168

looks like working now


profile and rage quit links

Tested branch locally in issues:

https://github.com/0xBootleggers/bufficorn/issues/58
https://github.com/0xBootleggers/bufficorn/issues/59


added karuulm slayer monsters to the npc health list

close #8213

Values are correct based on wiki.


DEP: signal: remove ability to import window functions from signal namespace

Reference issue

follow up to #18489
What does this implement/fix?

Removes the ability to import window functions from the main signal namespace as this has been deprecated for the last two releases and doc deprecated for ages
Additional information

Core dev approval, CI is green, diff looks solid to me.


Add support RxMenuItem and more SearchView observables

Add RxMenuItem in rxbinding-support-v4. App crashes, when regular RxMenuItem is used with support Toolbar. Exception "This is not supported, use MenuItemCompat.setOnActionExpandListener()" is thrown.
Add extra observable in RxSearchView both rxbinding and rxbinding-appcompat-v7: queryTextFocusChange, suggestionClick.

Can you break the SearchView and MenuItem changes up into two separate pull requests? I'd prefer if they were reviewed and merged separately since they are unrelated.
Also you need to regenerate the Kotlin bindings before making a commit. Run ./gradlew genK


Fixes key not found exception when working with multiple devices

See initial bug report here: https://discourse.vvvv.org/t/multiple-multitouch-screens-crashes-on-fast-touches/20683/5
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Typo finderId should probably be fingerId.

Indeed, fixed. Btw this crash also happens with just two windows. Doesn't need multiple screens like in the initial report.


add labels.yaml

- What I did
Add a file that has all of the labels of the docker repo.
Scanned it using a tool that can also manage renames/adds/deletes.
May be useful for automation by poule.
- How I did it
I used labeler scan --repo=docker/docker labels.yaml
- How to verify it
Run labeler scan --repo=docker/docker labels.yaml and git diff.
- Description for the changelog
NONE
- A picture of a cute animal (not mandatory but encouraged)

Thanks for doing this!
Ultimately we don't really see a use for having this in the repo and already have tooling for managing these types of things.
Closing since we don't want to merge this.
Thanks again! 🙇

No problem.


Tool to reconstruct prod resources based on Micheal's clique layout (Not to be checked in)

Codecov Report
Attention: 220 lines in your changes are missing coverage. Please review.

Comparison is base (e4b4954) 72.68% compared to head (0d0a66c) 72.22%.
Report is 32 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2579      +/-   ##
============================================
- Coverage     72.68%   72.22%   -0.47%
- Complexity    11304    11393      +89
============================================
  Files           801      804       +3
  Lines         64163    65003     +840
  Branches       7827     7943     +116
============================================
+ Hits          46635    46946     +311
- Misses        14973    15479     +506
- Partials       2555     2578      +23

Files
Coverage Δ

...ustermap/HelixFullAutoReconstructResourceTool.java
0.00% <0.00%> (ø)

... and 92 files with indirect coverage changes

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


Checked rows on Table do not set checkedRows

Overview of the problem
Buefy version:0.5.0
Vuejs version:2.4.2
OS/Browser: Windows 10 /Chrome 60.0.3112.90
Description
There seems to be an issue with checked rows on the Table.  After upgrading to 0.5.0 our tables with checkboxes no longer function correctly.
You can see this on the documentation page.  Clicking on the check all does not check all.  checking any row does not add it to the checkedRows array.  The clear checked button is never enabled when rows are checked.

Steps to reproduce
Go to the Table documentation page and enable checkable.   Click the checkbox on any row.
Expected behavior
Previous versions would put the checked row in the checkedRows array.
Actual behavior
The checkedRows array is empty.

Thanks for the quick fix... any idea on when the next release will happen?

Hope we have a release for this soon - can't update without this 😢


[minor] Add client and dashboard ports to ports in example configs.

Signed-off-by: Dmitri Gekhtman<EMAIL_ADDRESS>

Why are these changes needed?

These ports should be exposed by the Ray head service by default.
For now, this PR adds the container ports to the raycluster.complete and raycluster.autoscaler example files, so that the service configured for these examples exposes the relevant ports.
My main motivation right now is documenting Ray Cluster interaction methods in the Ray docs.
Related issue number

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

Issue to discuss config simplification:
https://github.com/ray-project/kuberay/issues/400


fix: Prettier not formatting .svelte files

Adds --plugin-search-dir=. param to Prettier call in package.json scripts, so that Prettier will format .svelte files as well as .ts, .js, etc.
I assume Prettier is intended to be applied to .svelte files, since prettier-plugin-svelte is installed.
Fixes #1358.
Before submitting the PR, please make sure you do the following

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts

Thanks, but I can't reproduce this — if I run npm run format in a fresh project, my .svelte files are formatted correctly. What am I missing?

That's very odd. As described in #1358 this is reproducible for me with a fresh project.
The only thing I can think of is pnpm vs npm (I used pnpm), but I can't see why it would make a difference.
I'll see if I can work it out…

As a side note, https://github.com/sveltejs/prettier-plugin-svelte#how-to-use-cli does suggest using --plugin-search-dir=. so it's not just me 🙂

I can reproduce this issue when installing dependencies with pnpm, but not when installing them with npm. With npm. npm run format also gets the .svelte files.

@Conduitry I was just writing exactly the same message 😀
So this must be to do with the different layout of node_modules used by pnpm.
It would be great if the default config supported pnpm (especially since the instructions say npm install (or pnpm install, etc). So I suppose the question is whether it is appropriate to fix (work around?) it in create-svelte as I have here, or whether it is something that should be fixed in Prettier.
I'd lean towards the former in the short term, but I guess it might be something to look at from Prettier's side too.

Ah, interesting. In that case the workaround probably makes sense, yeah


some question about the implementation  orthogonal matrix

your code

which means  || A(A.T- I ) ||   equals to  || I - AA.T || ?

That parenthesis is in the wrong spot, the subtraction should be outside the bmm.  Where is that code from?  I don't think that is in master or any recent commit of this repo.

I'm so sorry about the mistake , I got from https://github.com/yanx27/Pointnet_Pointnet2_pytorch/blob/master/models/pointnet.py ,


Remove broken function catalog links.

Addresses part of https://github.com/GoogleContainerTools/kpt/issues/1066

we need a top-level index page for all the category pages. Currently it's at the end of this page: https://googlecontainertools.github.io/kpt/guides/consumer/function/
So every time I want to find a function, I have to scroll past the user guide.


 doesn't work in neovim

so, everything else work perfectly fine. <C-h> just acts like pressing h.
bind-key    -T root   C-h              run-shell "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-h) || tmux select-pane -L"
that is the line i have in tmux. and default setting in vim.
When I'm in bare terminal, C-h does work, but not when inside tmux(even with it's default configs).
What could be the issue?

Which Vim?
Neovim?
Does :send-keys C-h from tmux work?
Search the existing issues also, sounds very similar to existing ones.

no. that didn't work.
Btw, C-h while in shell inside tmux gets me to pane on left, but only inside of neovim, C-h acts like just 'h'

@bibek22 Have you read through the summary in the readme re: noevim and Ctrl-h? I'm not certain, but my guess is you're running into that issue.

Awesome. changing the kbs description for term as suggested (here) [https://github.com/neovim/neovim/issues/2048#issuecomment-78045837] does it for me. thanks! closing.

Ot of curiosity, is this a issue in neovim? because C-h does work in just bare terminal with $TERM=rxvt-unicode-256color and when I hop into tmux, $TERM changes to Screen ... and the problem.

@bibek22
As far as I know Neovim is more affected by this, because it uses the terminfo as-is, and Vim does some workarounds.  (for me there's an issue with sudo nvim in tmux, because that uses another terminfo for TERM=tmux-256color than with my user.
Getting a "h" sounds weird though.
From the last time I've looked it seems to be likely an issue with the upstream ncurses package, which provides those terminfo files.
I've left some additional comment at https://github.com/neovim/neovim/issues/2048#issuecomment-217755170.

I just spent hours following the suggestions here and in the linked threads to no avail. Turned out that m4xshen/autoclose.nvim was somehow causing this issue. Not necessarily relevant to this thread, but maybe I can save someone from the same frustrations.


Triangle Quest 2

Solution Added to the github Repo : https://github.com/jarvismayur/Hackerrank-Problem-Solutions/blob/main/Python/Triangle Quest 2/Triangle_Quest_2.py

Docs are available here : https://github.com/jarvismayur/Hackerrank-Problem-Solutions/tree/main/Python#triangle-quest-2