Unable to start kafka-manager

Hi,
after building package I've unzipped the generated file, setup into application.conf the list of Zookeeper nodes and than started but this error happen.
Can you please help me on fixing
[root@server08 kafka-manager-<IP_ADDRESS>]# bin/kafka-manager -Dconfig.file=/usr/local/kafka_manager/kafka-manager-<IP_ADDRESS>/config/application.conf -Dhttp.port=8287
03:56:15,676 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
03:56:15,677 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
03:56:15,677 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/usr/local/kafka_manager/kafka-manager-<IP_ADDRESS>/conf/logback.xml]
03:56:15,768 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
03:56:15,769 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word coloredLevel with class [play.api.Logger$ColoredLevel]
03:56:15,769 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
03:56:15,774 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
03:56:15,797 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
03:56:15,841 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@18:27 - no applicable action for [totalSizeCap], current ElementPath  is [[configuration][appender][rollingPolicy][totalSizeCap]]
03:56:15,845 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
03:56:15,846 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern application.home_IS_UNDEFINED/logs/application.%d{yyyy-MM-dd}.log for the active file
03:56:15,849 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern 'application.home_IS_UNDEFINED/logs/application.%d{yyyy-MM-dd}.log'.
03:56:15,849 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
03:56:15,852 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Thu Sep 15 03:51:15 EDT 2016
03:56:15,854 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: application.home_IS_UNDEFINED/logs/application.log
03:56:15,854 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [application.home_IS_UNDEFINED/logs/application.log]
03:56:15,855 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
03:56:15,856 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
03:56:15,857 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
03:56:15,858 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender]
03:56:15,860 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [ASYNCFILE]
03:56:15,860 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to ch.qos.logback.classic.AsyncAppender[ASYNCFILE]
03:56:15,860 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNCFILE] - Attaching appender named [FILE] to AsyncAppender.
03:56:15,860 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNCFILE] - Setting discardingThreshold to 51
03:56:15,860 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender]
03:56:15,861 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [ASYNCSTDOUT]
03:56:15,861 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to ch.qos.logback.classic.AsyncAppender[ASYNCSTDOUT]
03:56:15,861 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNCSTDOUT] - Attaching appender named [STDOUT] to AsyncAppender.
03:56:15,861 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNCSTDOUT] - Setting discardingThreshold to 51
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [play] to INFO
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [application] to INFO
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [kafka.manager] to INFO
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebean.config.PropertyMapLoader] to OFF
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebeaninternal.server.core.XmlConfigLoader] to OFF
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebeaninternal.server.lib.BackgroundThread] to OFF
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.gargoylesoftware.htmlunit.javascript] to OFF
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.zookeeper] to INFO
03:56:15,862 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN
03:56:15,862 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [ASYNCFILE] to Logger[ROOT]
03:56:15,862 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [ASYNCSTDOUT] to Logger[ROOT]
03:56:15,862 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
03:56:15,862 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@c86b9e3 - Registering current configuration as safe fallback point

03:56:15,676 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
03:56:15,677 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
03:56:15,677 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/usr/local/kafka_manager/kafka-manager-<IP_ADDRESS>/conf/logback.xml]
03:56:15,768 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
03:56:15,769 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word coloredLevel with class [play.api.Logger$ColoredLevel]
03:56:15,769 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
03:56:15,774 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
03:56:15,797 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
03:56:15,841 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@18:27 - no applicable action for [totalSizeCap], current ElementPath  is [[configuration][appender][rollingPolicy][totalSizeCap]]
03:56:15,845 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
03:56:15,846 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern application.home_IS_UNDEFINED/logs/application.%d{yyyy-MM-dd}.log for the active file
03:56:15,849 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern 'application.home_IS_UNDEFINED/logs/application.%d{yyyy-MM-dd}.log'.
03:56:15,849 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
03:56:15,852 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Thu Sep 15 03:51:15 EDT 2016
03:56:15,854 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: application.home_IS_UNDEFINED/logs/application.log
03:56:15,854 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [application.home_IS_UNDEFINED/logs/application.log]
03:56:15,855 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
03:56:15,856 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
03:56:15,857 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
03:56:15,858 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender]
03:56:15,860 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [ASYNCFILE]
03:56:15,860 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to ch.qos.logback.classic.AsyncAppender[ASYNCFILE]
03:56:15,860 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNCFILE] - Attaching appender named [FILE] to AsyncAppender.
03:56:15,860 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNCFILE] - Setting discardingThreshold to 51
03:56:15,860 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender]
03:56:15,861 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [ASYNCSTDOUT]
03:56:15,861 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to ch.qos.logback.classic.AsyncAppender[ASYNCSTDOUT]
03:56:15,861 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNCSTDOUT] - Attaching appender named [STDOUT] to AsyncAppender.
03:56:15,861 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNCSTDOUT] - Setting discardingThreshold to 51
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [play] to INFO
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [application] to INFO
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [kafka.manager] to INFO
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebean.config.PropertyMapLoader] to OFF
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebeaninternal.server.core.XmlConfigLoader] to OFF
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebeaninternal.server.lib.BackgroundThread] to OFF
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.gargoylesoftware.htmlunit.javascript] to OFF
03:56:15,861 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.zookeeper] to INFO
03:56:15,862 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN
03:56:15,862 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [ASYNCFILE] to Logger[ROOT]
03:56:15,862 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [ASYNCSTDOUT] to Logger[ROOT]
03:56:15,862 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
03:56:15,862 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@c86b9e3 - Registering current configuration as safe fallback point
03:56:15,881 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNCFILE] - Worker thread will flush remaining events before exiting.
03:56:15,881 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNCFILE] - Queue flush finished successfully within timeout.
03:56:15,881 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNCSTDOUT] - Worker thread will flush remaining events before exiting.
03:56:15,881 |-INFO in ch.qos.logback.classic.AsyncAppender[ASYNCSTDOUT] - Queue flush finished successfully within timeout.
03:56:15,884 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
03:56:15,884 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word coloredLevel with class [play.api.Logger$ColoredLevel]
03:56:15,884 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
03:56:15,884 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
03:56:15,885 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
03:56:15,886 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@14:21 - no applicable action for [totalSizeCap], current ElementPath  is [[configuration][appender][rollingPolicy][totalSizeCap]]
03:56:15,888 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
03:56:15,888 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern /usr/local/kafka_manager/kafka-manager-<IP_ADDRESS>/logs/application.%d{yyyy-MM-dd}.log for the active file
03:56:15,889 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern '/usr/local/kafka_manager/kafka-manager-<IP_ADDRESS>/logs/application.%d{yyyy-MM-dd}.log'.
03:56:15,889 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
03:56:15,889 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Thu Sep 15 03:51:16 EDT 2016
03:56:15,889 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: /usr/local/kafka_manager/kafka-manager-<IP_ADDRESS>/logs/application.log
03:56:15,889 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [/usr/local/kafka_manager/kafka-manager-<IP_ADDRESS>/logs/application.log]
03:56:15,890 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [play] to INFO
03:56:15,890 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [application] to DEBUG
03:56:15,890 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebean.config.PropertyMapLoader] to OFF
03:56:15,890 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebeaninternal.server.core.XmlConfigLoader] to OFF
03:56:15,890 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebeaninternal.server.lib.BackgroundThread] to OFF
03:56:15,890 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.gargoylesoftware.htmlunit.javascript] to OFF
03:56:15,890 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.zookeeper] to INFO
03:56:15,890 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [akka] to INFO
03:56:15,890 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [kafka] to INFO
03:56:15,890 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
03:56:15,890 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]
03:56:15,890 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
03:56:15,890 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@76f2bbc1 - Registering current configuration as safe fallback point

Oops, cannot start the server.
com.google.inject.ProvisionException: Unable to provision, see the following errors:

1) Could not find a suitable constructor in controllers.Application. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  at controllers.Application.class(Application.scala:16)
  while locating controllers.Application
    for parameter 1 at router.Routes.<init>(Routes.scala:63)
  while locating router.Routes
  while locating play.api.inject.RoutesProvider
  while locating play.api.routing.Router

2) Could not find a suitable constructor in controllers.Cluster. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  at controllers.Cluster.class(Cluster.scala:28)
  while locating controllers.Cluster
    for parameter 2 at router.Routes.<init>(Routes.scala:63)
  while locating router.Routes
  while locating play.api.inject.RoutesProvider
  while locating play.api.routing.Router

3) Could not find a suitable constructor in controllers.Consumer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  at controllers.Consumer.class(Consumer.scala:16)
  while locating controllers.Consumer
    for parameter 5 at router.Routes.<init>(Routes.scala:63)
  while locating router.Routes
  while locating play.api.inject.RoutesProvider
  while locating play.api.routing.Router

4) Could not find a suitable constructor in controllers.Logkafka. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  at controllers.Logkafka.class(Logkafka.scala:33)
  while locating controllers.Logkafka
    for parameter 4 at router.Routes.<init>(Routes.scala:63)
  while locating router.Routes
  while locating play.api.inject.RoutesProvider
  while locating play.api.routing.Router

5) Could not find a suitable constructor in controllers.PreferredReplicaElection. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  at controllers.PreferredReplicaElection.class(PreferredReplicaElection.scala:26)
  while locating controllers.PreferredReplicaElection
    for parameter 6 at router.Routes.<init>(Routes.scala:63)
  while locating router.Routes
  while locating play.api.inject.RoutesProvider
  while locating play.api.routing.Router

6) Could not find a suitable constructor in controllers.ReassignPartitions. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  at controllers.ReassignPartitions.class(ReassignPartitions.scala:28)
  while locating controllers.ReassignPartitions
    for parameter 7 at router.Routes.<init>(Routes.scala:63)
  while locating router.Routes
  while locating play.api.inject.RoutesProvider
  while locating play.api.routing.Router

7) Could not find a suitable constructor in controllers.Topic. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  at controllers.Topic.class(Topic.scala:34)
  while locating controllers.Topic
    for parameter 3 at router.Routes.<init>(Routes.scala:63)
  while locating router.Routes
  while locating play.api.inject.RoutesProvider
  while locating play.api.routing.Router

8) Could not find a suitable constructor in controllers.api.KafkaStateCheck. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  at controllers.api.KafkaStateCheck.class(KafkaStateCheck.scala:19)
  while locating controllers.api.KafkaStateCheck
    for parameter 8 at router.Routes.<init>(Routes.scala:63)
  while locating router.Routes
  while locating play.api.inject.RoutesProvider
  while locating play.api.routing.Router

8 errors
        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025)
        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
        at play.api.inject.guice.GuiceInjector.instanceOf(GuiceInjectorBuilder.scala:321)
        at play.api.inject.guice.GuiceInjector.instanceOf(GuiceInjectorBuilder.scala:316)
        at play.api.Application$class.routes(Application.scala:112)
        at play.api.DefaultApplication.routes(Application.scala:241)
        at play.api.Play$$anonfun$start$1.apply$mcV$sp(Play.scala:90)
        at play.api.Play$$anonfun$start$1.apply(Play.scala:87)
        at play.api.Play$$anonfun$start$1.apply(Play.scala:87)
        at play.utils.Threads$.withContextClassLoader(Threads.scala:21)
        at play.api.Play$.start(Play.scala:87)
        at play.core.server.ProdServerStart$.start(ProdServerStart.scala:54)
        at play.core.server.ProdServerStart$.main(ProdServerStart.scala:27)
        at play.core.server.ProdServerStart.main(ProdServerStart.scala)

Thanks
Maurizio

Same issue. Other than timestamps I get exactly the same output as the log entered by Maurizio.

Okay, I solved my problem.  The readme says to start the application as follows:
bin/kafka-manager -Dconfig.file=/path/to/application.conf -Dhttp.port=8080
I did that with an application.conf file that only specified the kafka-manager.zkhosts property. I thought that was the only thing I needed to change and that I'd take the defaults for the rest.
That did not work. I got the error messages indicated above.
I fixed it by updating the default config file (conf/application.conf) with my kafka-manager.zkhosts values. and then starting the application this way:
bin/kafka-manager
The application started and all the "Could not find a suitable constructor" messages went away.
But there was still a problem. My logs wound up in a directory called "application.home_IS_UNDEFINED".
I tried adding a "application.home" property to the application.conf file but that did not work.
So I tried starting the server this way:
bin/kafka-manager -Dapplication.home=.
That worked. The server started and the logs directory got created in the application's root directory.

after bin\kafka-manager
i'm getting
The system cannot find the file C:\Users\USER1\Desktop\kafka-manager-<IP_ADDRESS>\bin\..\KAFKA_MANAGER_config.txt.

I am also getting the exact error like system can \KAFKA_MANAGER_config.txt does not exist

Same issue

Same issue

Same issue

any solution for this issue ?


insertCursorAtEndOfEachLineSelected does not work with multiple selections

VSCode Version: Code - Insiders 1.8.0-insider (c425cd159bd389844e9400be801675f54f2443c7, 2016-12-06T16:53:46.634Z)
OS Version: Darwin x64 15.6.0

It seems to only work on the primary selection.

Implemented via #17698


newlog: fix file naming for logs

Revert the file naming inside devUpload and keepSentQueue directories to the original format dev.log.<timestamp>.gz to keep the compatibility with previous versions of the newlogd.
This is necessary e.g. in cases when EVE goes through an unsuccessful update and has to fallback to a version before the new naming convention. This way the logic inside newlogd, loguploader and edge-view can still understand the log files inside /persist/newlog and not throw an error.

But could we add some logic on top to avoid fatals with log formats in the future? For example, not ending up with a log.Fatal because of invalid log names, or maybe some cleanup logic to remove problematic files on request? I’m not sure where exactly this would fit, but just an idea...

Yes, but please lets do that as a separate PR.
 So I want master to be usable again first.


Enabled test to verify DRILL-4715

Hi Rahul,
I have enabled a test to verify DRILL-4715, please review and merge. I will share link to clean pre-commit run.
Thanks,
Khurram

LGTM +1

Thanks Rahul.


Amazing feedback

Hi Artur, I really liked the game, but not the ending.
Although it was difficult for me to solve the puzzles and complete the game.
I would definitely like to talk to you over this.
Please feel free to ping on
<EMAIL_ADDRESS>

Hi Artur, I really liked the game, but not the ending.

Thanks! I wanted to add a good ending as well but never had enough time to complete it. :(

Although it was difficult for me to solve the puzzles and complete the game.

I admit, the last puzzle is kinda out of place.

So are you thinking to work on it for the ending part?

It’s something I wanted to achieve years ago when I actively worked on the game. Unfortunately, I didn’t have enough time in the end. Today, assuming I’d have enough time to work on the game (and I don’t!), I’d rewrite it from scratch for better overall quality (graphics, more polished gameplay, less bugs).

Sounds good !


cmd/go: document that go run supports dir/pkg

Francesc Campoy (@campoy) in his talk mentions that Go 1.12 now supports running go run on directories and packages. But I didn't find any mentions of it in tip release notes. Maybe it should be added there?

https://golang.org/doc/go1.11#run?
Also see:
$ go1 version
go version go1.11.5 linux/amd64
$ go1 help run
usage: go run [build flags] [-exec xprog] package [arguments...]

Run compiles and runs the named main Go package.
Typically the package is specified as a list of .go source files,
but it may also be an import path, file system path, or pattern
matching a single known package, as in 'go run .' or 'go run my/cmd'.

[...]

Oh. My bad!


Ability to open current preview in split

Hey @rmagatti, awesome plugin, I love it. Thanks a lot for your time in developing it.
Sometimes I maybe previewing something and I want to "zoom in". It would be nice to do something like v and have the buffer registered in my tab line.
Additionally, as noted with the positioning bug, yes the popup go all over the place. However, it might be worth it to take  vscode/preview popup approach and let them stack under each other.
Any ways thanks again

Hey @tami5 sorry about the delay, I think your suggestion is good. That said I think it's also already possible. I'll show you a few examples in a bit and you can let me know if that's not the case

Ability to open current preview in split

You can use regular window movement bindings like <C-w>L to get the floating window to become a normal split.
https://user-images.githubusercontent.com/2881382/123523144-19faf580-d67f-11eb-861e-e5b42394d33e.mp4

Additionally, as noted with the positioning bug, yes the popup go all over the place. However, it might be worth it to take vscode/preview popup approach and let them stack under each other.

The positioning is very deliberate with this plugin, where the floats do actually stack not directly under an existing floag position but under the cursor so one can easily track where they triggered the preview window from.

I've also been using this patch from @andrew-pa for a few days now and the positioning has been fixed for me since.
https://github.com/neovim/neovim/pull/14770

thanks @rmagatti . Hopefully that patch will be merged soon. Also, is there any way to identify the goto-preview buffer, I want to attach mappings to it.

@tami5 You can use the post_open_hook like this to set keybindings.

😍 😍 😍 😍 😍  amazing @rmagatti I don't know that existed. Honestly, great design

Here is an example with the vertical split
require("goto-preview").setup({
  post_open_hook = function(buffer, _)
    vim.api.nvim_buf_set_keymap(buffer, "n", "<C-V>", "<C-W>L", { noremap = true })
  end,
})

Here is an example with the vertical and horizontal split
require("goto-preview").setup({
  post_open_hook = function(buffer, _)
    -- Vert split/Move to right
    vim.api.nvim_buf_set_keymap(buffer, "n", "v", "<C-W>L", { noremap = true })
    -- Split down/move to bottom
    vim.api.nvim_buf_set_keymap(buffer, "n", "s", "<C-W>J", { noremap = true })
  end,
})


Upgrade to Eclypsium 2.0.0

The latest version of the eclypsium driver/scanner pair is 2.0.0, bringing many enhancements over our current version.    This PR upgrades these components.

[ ] Changelog updated

@mmlb it's already there:
USMC02XV80LJHD2 :: tinkerbell/osie/eclypsium-2.0 ‹eclypsium-2.0› » git lfs ls-files | grep ecl 130 ↵
4bb5cfe3c6 * docker/lfs/eclypsiumapp-2.0.0.deb

USMC02XV80LJHD2 :: tinkerbell/osie/eclypsium-2.0 ‹eclypsium-2.0› » git lfs ls-files | grep ecl 130 ↵
4bb5cfe3c6 * docker/lfs/eclypsiumapp-2.0.0.deb

@splaspood thats the .deb, but the installer/alpine/eclypsiumdriver-alpine-2.0.0.tgz is not in LFS.


Use commons-logging for all stream apps

As a developer, I'd like to refactor to adapt to commons-logging (instead of slf4j) as the logging package for all the apps, so it is consistent across the board.
Acceptance:
All stream apps use commons-logging as the logging package

This is referring to the API used for logging, even if the underlying library is SLF4J. Since the library is actually SLF4J we can standardize any way we want, but we should avoid having a mix of APIs in our application. With SCSt we've aligned with Boot on the use of the Commons Logging API.


NumberFormat.compact(): Extra effort required to use maximumFractionDigits family of properties.

I was looking for a way to get the following results using NumberFormat.compact():
Input    Output
1        1
12       12
123      123
1234     1K
12345    12K
123456   123K
1234567  1M
etc...

In other words, the output should only show whole numbers before the suffix. This is possible to achieve, but it requires a little extra configuration:
final formatter = NumberFormat.compact()
  ..maximumFractionDigits = 0
  ..significantDigitsInUse = false;

Without the line, ..significantDigitsInUse = false, each of the numbers above 100 will be displayed with 3 significant digits (12.3K, 1.23M, etc). This happens because:

_CompactNumberFormat sets significantDigits to 3 in its constructor.
The setter for significantDigits always sets significantDigitsInUse to true, regardless of the value assigned.
When significantDigitsInUse is true, NumberFormat ignores the value of maximumFractionDigits.

Achieving the formatting that I want required me to discover the undocumented significantDigitsInUse flag and modify its value, but there should have been a more straightforward way.
Both solutions I have in mind involve changing the behavior of the significantDigitsInUse flag. I propose that it should either:

Be flipped back to false whenever one of the minimumFractionDigits family of fields is modified. With this approach, the most recent modification would win.
Be a getter, returning true whenever significantDigits is non-null. With this approach, documentation should be added to significantDigits which mentions that it will override minimumFractionDigits and others.

We are likely to switch compact number formatting to pass through to JS Intl or to ICU/native libraries, which should result in better behavior but likely less ability to customize.


editing components from a nodejs runtime is broken

When selecting "Open" from the circle-menu of a component, I get the orange header bar with the spinner and the label "loading". The developer console shows lots of "WebSocket is already in CLOSING or CLOSED state." with different backtraces. I got ~ 130 such messages.
After I dismiss the header bar, the runtime is disconnected.

 On first attempt at loading a subgraph I still get the orange 'Loading...' header bar that hangs. Eventually I get the following error in the browser console:
WebSocket connection to 'wss://api.flowhub.io/primus/?_primuscb=1425952125910-1' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED

However, now if I refresh, the subgraph I was attempting to load is visible, and then navigating back and even opening other subgraphs and components seems to work fine.
Component loading does work better, but not on first load (for my setup).

@ryedin, did this ever work? Maybe better file this as a new bug (and reference this one if you want). I think it is a separate issue.

@ensonic before your PR here https://github.com/noflo/noflo-ui/pull/457, component loading never worked for me against my nodejs runtime. Now it does, but I have to refresh the page after attempting to open a component, so seemed related.
new issue opened here: https://github.com/noflo/noflo-ui/issues/459


Architecture for mixing multiple Waves

Hi, I recently discovered this library, I haven't really used a synthesizer before so it was exciting to write some code and have sounds generated from my speakers :) I'm also impressed by the "DSL" you created while avoiding macros, nice work!
I'm working on a small project at the moment where among other audio generators, I want to be able to load up and play samples from WAV files at arbitrary times, having them "overlap" and mix together, up to some max amount of concurrent plays.
I think this is similar to the issue of playing sound effects in a video game where a particular action generates the sound, and if you repeat that action quickly you hear the sound multiple times, perhaps getting louder or higher pitched as the many similar samples overlap.
Here's an example of what I'm going for.
At first I thought I could use the WavePlayer audio node and create them on the fly as new sound effect "requests" come in, but I wasn't sure about how to clean up the node when the sound sample is done so I figured that would eventually blow up memory usage. As far as I can tell, there isn't a way to determine when a WavePlayer is done producing samples if you don't loop it.
My next thought was to create and destroy Nets as these requests come and go, but that also doesn't seem like the right path.
Finally, I'm thinking of creating my own struct and implementing AudioNode for it. The struct could hold however many Waves I want in an arbitrary sized vector, and the tick function would iterate through each one and grab the next sample. I could then also detect when the sounds are done because I'd have access to the state that controls where in the sound we are.
To request a new sound to be played, I would (ab)use the Setting associated type and the listen() function to send it new sound requests over time. My main hesitation here is that AudioNode doesn't feel like something I should be implementing myself, especially with the const ID: u64 I have to specify.
Am I on the right path here, or is this straying outside the intended usage of fundsp?
Thanks!

This is a job for Sequencer

Oh wow, I completely missed this in the docs! Looks like it's still a work in progress but this seems like the most proper way to handle what I'm trying to do. Thanks for the response :)


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 447

Questions ?
Please refer to the Backport tool documentation


did not match C++ signature:

Describe the bug
Dear expert,
I have met this error, thanks very much.
To Reproduce
Steps to reproduce the behavior:

Running the RL in carla.
See error
Traceback (most recent call last):
File "train_leftturn.py", line 262, in
train_leftturn_task()
File "train_leftturn.py", line 88, in train_leftturn_task
observation = env.reset()
File "/home/hu/dong/01github/Prioritized-Human-in-the-loop-End-to-end-Autonomous-Driving/env_leftturn.py", line 168, in reset
self.agent.set_destination((120, 330, spawn_point_ego.location.z))
File "/home/hu/carla/PythonAPI/carla/agents/navigation/basic_agent.py", line 159, in set_destination
end_waypoint = self._map.get_waypoint(end_location)
Boost.Python.ArgumentError: Python argument types in
Map.get_waypoint(Map, tuple)
did not match C++ signature:
get_waypoint(carla::client::Map {lvalue}, carla::geom::Location location, bool project_to_road=True, int lane_type=carla.libcarla.LaneType.Driving)

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Ubuntu 20.04]
CARLA Version [e.g. CARLA 0.9.14]
Python version [e.g. 3.7]
UE Version [e.g. 4.26]

Additional context
Add any other context about the problem here.

Hi have you solved it?


docs(ngIf): Minor spelling change

Line 45: Change 'falsy' to 'false
AngularJS is in LTS mode
We are no longer accepting changes that are not critical bug fixes into this project.
See https://blog.angular.io/stable-angularjs-and-long-term-support-7e077635ee9c for more detail.

Does this PR fix a regression since 1.7.0, a security flaw, or a problem caused by a new browser version?

What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change?
Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[ ] Fix/Feature: Docs have been added/updated
[ ] Fix/Feature: Tests have been added; existing tests pass

Other information:

Thx for taking the time to submit a pull request. In this case, falsy is not a typo (and it has a slightly different meaning).


Graph Data Base Implementation

I'll use agdb to try to implement a data base for our backend.

Graph is looked like this:


Build and install sample application on raspberry with yocto

I'm trying to build and install a sample flutter application (flutter-samples-simplistic-calculator) to a raspberry pi3 using yocto.
The goal would be to display this application to a small LCD screen using the DRM flutter backend.
The following features are enabled: DISTRO_FEATURES:append = "wayland opengl "
And the sample application is added to the image: IMAGE_INSTALL += "flutter-samples-simplistic-calculator"
I've managed to build the image and deploy it to the board.
However, there is no executable installed for the calculator sample application.
In /usr/share/flutter/flutter-samples-simplistic-calculator/3.19.1/release, the assets are correctly deployed in data, and the libraries (libapp.so and libflutter_engine.so) in lib.

Ok, I've found out that:

The libapp.so file is in fact a dart AOT bundle (that could be run with dartaotruntime for example)
To launch the app from the files generated by the flutter-samples-simplistic-calculator bitbake recipe, a backend recipe must also be installed (for example IMAGE_INSTALL += "flutter-drm-gbm-backend"). The app then needs to be launched from the backend (for example /usr/bin/flutter-drm-backend --bundle=/sur/share/flutter/flutter-samples-simplistic-calculator/3.19.1/release). Some examples exists in the flutter-embedded-linux repository here.


changset version does not work when pnpm workspace alias is used

Affected Packages

cli

Problem
In a monorepo using pnpm workspaces, I can reference and alias another package like this:
package.json
  "dependencies": {
    "@blupp/my-aliased-package": "workspace:@blupp/my-package@*",
  },

Documentation for this feature: https://pnpm.io/workspaces#referencing-workspace-packages-through-aliases
When running pnpm changeset version I'll get an error though:

TypeError: Invalid comparator: @blupp/my-package@

I can provide a reproduction, but I guess it's pretty straightforward to reproduce.

Proposed solution

Quick update: A workaround for this issue apparently is, to modify the package resolution with a .pnpmfile.cjs instead of using aliases: https://pnpm.io/pnpmfile
Example:
function readPackage(pkg, context) {
  if(pkg.name === '@blupp/package-usage') {
    pkg.dependencies = {
      ...pkg.dependencies,
      "@blupp/my-aliased-package": "workspace:@blupp/my-package@*",
    }
  }

  return pkg
}

module.exports = {
  hooks: {
    readPackage
  }
}


Pairwise Swap in Linked List

Is your feature request related to a problem? Please describe.
Pairwise Swap (Linked List)
Describe the solution you'd like
It is implemented using Linked List in C Language.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

@Amit366 @Ayush7614
Kindly assign me this issue.

I want to add C++ code for this. Please assign me.


Request to add Band-split RNN model!

This model is the SOTA model to split vocals on MUSDB18. In my daily use case, vocal separation is most commonly used.
Here are some inference projects.
https://paperswithcode.com/paper/music-source-separation-with-band-split-rnn#code

PRs are of course welcome!

Have you actually tried any of the code you linked to? eg. https://github.com/amanteur/BandSplitRNN-Pytorch

Here is colab test script i created, you can easily try it with your own audio!
https://colab.research.google.com/github/piwawa/BandSplitRNN-PyTorch/blob/main/BandSplitRNN_colab.ipynb
The test results are good for me.
https://github.com/piwawa/BandSplitRNN-PyTorch/tree/main/example


WIP: New DataOps NiFi Sentiment Analysis and Face Recognition solution idea.

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

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

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

@EdPrice-MSFT - If you accept these changes, the commits will need to be moved to the private repo for review and automated checks. Let us know if you'd like us to help with that by sending email to the PR Review team's alias.

@ShannonLeavitt - Yes, that would be great. Done. Thanks!

@EdPrice-MSFT - I'm preparing to move the commits to the private repo now.

I'm reopening this PR so that @Katie-Novotny can add a few more commits.

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

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

@Katie-Novotny - Are we okay removing this PR? Do we have it covered the private repo?
Thanks!

I followed up with Katie and team. This PR is no longer needed.


dom.GetDocument() returns node id -32000?

What versions are you running?

$ go list -m github.com/chromedp/chromedp
github.com/chromedp/chromedp v0.5.2
$ google-chrome --version
Google Chrome 78.0.3904.108
$ go version
go version go1.12.5 darwin/amd64

What did you do? Include clear steps.
Searching on Github with lots of results:
package main

import (
  "context"
  "fmt"
  "github.com/chromedp/cdproto/dom"
  "github.com/chromedp/chromedp"
)

func main() {
  ctx, cancel :=
    chromedp.NewContext(context.Background())
  defer cancel()

  sel := `//input[@name="q"]`
  tasks := chromedp.Tasks{
    chromedp.Navigate(
      "https://github.com/search"),
    chromedp.WaitVisible(sel),
    chromedp.SendKeys(sel, "linux\n"),
    chromedp.WaitReady("body", chromedp.ByQuery),
    chromedp.ActionFunc(
      func(ctx context.Context) error {
        node, err := dom.GetDocument().Do(ctx)
        if err != nil {
          panic(err)
        }
        res, err := dom.GetOuterHTML().
          WithNodeID(node.NodeID).Do(ctx)
        if err != nil {
          panic(err)
        }
        fmt.Printf("html=%s\n", res)
        return nil
      }),
  }
  err := chromedp.Run(ctx, tasks)
  if err != nil {
    panic(err)
  }
}

What did you expect to see?
Raw HTML dump of the result page.
What did you see instead?
The code above throws an error on a negative node, could there be a 16/32 bit int limitation being triggered somewhere?
panic: Could not find node with given id (-32000)

goroutine 1 [running]:
main.main.func1(0x1588080, 0xc0002b8030, 0x0, 0x0)
	github.go:33 +0x1c2
github.com/chromedp/chromedp.ActionFunc.Do(0x1504350, 0x1588080, 0xc0002b8030, 0x0, 0x0)
	go/pkg/mod/github.com/chromedp/chromedp@v0.5.2/chromedp.go:383 +0x3a
github.com/chromedp/chromedp.Tasks.Do(0xc00015a050, 0x5, 0x5, 0x1588080, 0xc0002b8030, 0x100d8b8, 0x30)
	go/pkg/mod/github.com/chromedp/chromedp@v0.5.2/chromedp.go:393 +0x72
github.com/chromedp/chromedp.Tasks.Do(0xc0000fbf78, 0x1, 0x1, 0x1588080, 0xc0002b8030, 0xc0001361b0, 0x1588080)
	go/pkg/mod/github.com/chromedp/chromedp@v0.5.2/chromedp.go:393 +0x72
github.com/chromedp/chromedp.Run(0x1588080, 0xc000170720, 0xc0000fbf78, 0x1, 0x1, 0x1581fa0, 0xc000030180)
	go/pkg/mod/github.com/chromedp/chromedp@v0.5.2/chromedp.go:229 +0x146
main.main()
	github.go:39 +0x444

Thanks for the report. This is great, because the same bug was reported in https://github.com/chromedp/chromedp/issues/338, but we didn't have a way to reproduce the bug. I can definitely reproduce it here.

After some debugging, I've figured out what's going on - you have a data race.
Here is the timeline for this to happen:

You navigate to the search page, enter the word, and enter the newline, which triggers a navigation to the results page at some point in the future
This asynchronous navigation sends a bunch of events, such as "hey, I've navigated to a new document"
You wait for body to be ready; this happens instantly after, so most of the times, it finishes instantly too, as it matches the body in the initial page, not the results page. No further events need to be processed.
You grab the document root of the original page, which is also near instant
To obtain the result from 4, we must process its result from a recent event, thus most likely processing the result from 1-2, and changing what the current document is.
You do a query with the node ID from 4 (the original document), but we're now on the new document, and the node ID is invalid (node IDs are unique across documents)

It makes sense that nearly 100% of the time on a fast connection, you hit this error.
SendKeys can't possibly know if it should trigger a navigation, and thus wait for it to complete. This is similar to a click; sometimes the actual decision to navigate is up to javascript.
So the bug, technically, is in your code. Though I admit that the situation is confusing, the error is useless, and we could be offering better APIs and docs here.
You can replace your WaitReady call with the following, which is exactly what chromedp.Navigate does to wait for a navigation to finish:
chromedp.ActionFunc(func(ctx context.Context) error {
        ch := make(chan struct{})
        lctx, cancel := context.WithCancel(ctx)
        chromedp.ListenTarget(lctx, func(ev interface{}) {
                if _, ok := ev.(*page.EventLoadEventFired); ok {
                        cancel()
                        close(ch)
                }
        })
        select {
        case <-ch:
                return nil
        case <-ctx.Done():
                return ctx.Err()
        }
}),

With this, the program works for me nearly 100% of the time.
I should note that this would still be racy, because if the SendKeys above somehow finishes immediately, or the ActionFunc above takes a long time to start, the program could deadlock forever. But I should also note that running the ActionFunc in parallel with SendKeys is also racy, if the page was just finishing a load when you reach both actions - as ActionFunc could finish with that previous load instead of the load from the SendKeys running next to it.
In any case - the chunk of code above is a reasonable solution for you right now. I've been reluctant to add API for it, because I haven't found a way that isn't racy (see above). Puppeteer has an extremely similar API at https://github.com/puppeteer/puppeteer/blob/master/docs/api.md#pagewaitfornavigationoptions, which you're supposed to use with Promise.All. So they go with the second option of the ones I show above. I'm not sure why they haven't run into races.

Lots of good findings, thanks for that! Guess I had assumed that the two calls in the sequence
node, err := dom.GetDocument().Do(ctx)
dom.GetOuterHTML().WithNodeID(node.NodeID).Do(ctx)

were running on the client, but looks like they're two separate calls sent to the browser, which might have changed content in between. Maybe I'm doing something overly complicated here, all I wanted is to retrieve the entire raw HTML displayed by the browser at a given point in time -- is there an easier way to get that, and in just one (non-racy) call, preferably?

For future travelers:
Avoid using dom.GetDocument() in your code.  This one is not supposed to be called directly. See #762.
See mvdan's comment above for how to get HTML. If you have a use case that has to use dom.GetDocument(), please file a new issue, and let's see what can we do.
Closing now.

I think the following code can avoid the race condition (assuming the current page has been loaded).
func WaitForLoadEvent(ctx context.Context) chromedp.Action {
	ch := make(chan struct{})

	lctx, cancel := context.WithCancel(ctx)
	go chromedp.ListenTarget(lctx, func(ev interface{}) {
		if _, ok := ev.(*page.EventLoadEventFired); ok {
			cancel()
			close(ch)
		}
	})

	return chromedp.ActionFunc(func(ctx context.Context) error {
		select {
		case <-ch:
			return nil
		case <-ctx.Done():
			return ctx.Err()
		}
	})
}

func main() {
	// ...
	tasks := chromedp.Tasks{
		// ...
		WaitForLoadEvent(ctx),
		// ...
	}
	// ...


[MM-23082] get a default key if not pre-stablished

Before submitting, please confirm you've

[ ] read and understood our Contributing Guidelines
[ ] completed Mattermost Contributor Agreement
[x] executed npm run lint:js for proper code formatting

Please provide the following information:
Summary
when having multiple servers pre-configured via GPO or buildConfig, sometimes no server is chosen as the first one, ending in a blank page.
Issue link
MM-23082
Test Cases

on windows, add 2 or more servers with GPO, start the app, first server should be chosen
on osx/linux build the app with buildConfig.js having 2 or more servers setup and no order field, first server should be chosen.

seems to be a problem on master, but since #1246 addresses the same issue and doesn't have the problem (provides the expected order) I'm dropping this one in favour of the other.


Added PNG/Matplotlib-based LaTeX pane

Accepts LaTeX strings and objects with _repr_latex_, such as IPython.display.Latex:
import panel as pn
from panel import pane
from IPython.display import Latex
pn.Row(pane.LaTeX(r'$\frac{x}{y^2}$'), Latex(r'$\frac{x}{y^2}$'))

Uses Matplotlib to render to a PNG and Pillow to crop it and make it transparent.  Could also consider using MathJax to create true (non-image) equations, but that would require a custom Bokeh model to get the JavaScript required.

Codecov Report

Merging #90 into master will increase coverage by <.01%.
The diff coverage is 91.8%.

@@            Coverage Diff            @@
##           master     #90      +/-   ##
=========================================
+ Coverage   91.69%   91.7%   +<.01%
=========================================
  Files          23      23
  Lines        3674    3735      +61
=========================================
+ Hits         3369    3425      +56
- Misses        305     310       +5

Impacted Files
Coverage Δ

setup.py
0% <ø> (ø)
:arrow_up:

panel/tests/test_panes.py
98.66% <100%> (+0.05%)
:arrow_up:

panel/pane.py
82.47% <90%> (+0.95%)
:arrow_up:

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 1547390...a6dfcce. Read the comment docs.


server should handle nonascii text

if we add some non-ascii text in test_post_parse() the encoding isn't right. see lines 57-59 in test_server.py
        req = requests.post(http_server + "/parse", json={"q": u"hello ńöñàśçií"})
        expected = [{"entities": {}, "confidence": None, "intent": "greet", "_text": "hello ńöñàśçií"}]
       assert req.status_code == 200 and req.json() == expected

this fails

should be fixed! We were not decoding properly the request that was coming from the client (both in /parse GET and POST); now it should be OK.
At the same time I have found some minor issues with the emulators, in the way entities were handled.

cool I created a PR #46 - any commits you push to the unicode-server branch will automatically update the PR


fix readme cdn

Did it in another PR/develop pushed. PR was failing (commit message) and multiple commits sent that are not from the PR. weird

thx for noticing it!


Feature/refactor for translations

@codiebeulaine please add a description for this PR, I am still confused about what it actually does


Style spec additions

Added support for

fill-extrusion-vertical-gradient
symbol-z-order

Also updated @mapbox/mapbox-gl-style-spec to v13.3.0
Demo link: https://1105-84182601-gh.circle-artifacts.com/0/artifacts/build/index.html

Looks good!
Here is a suitable area to play around with fill-extrusion-vertical-gradient, layer building-3d:
https://1105-84182601-gh.circle-artifacts.com/0/artifacts/build/index.html?style=https://maputnik.github.io/osm-liberty/style.json#16.17/40.715811/-74.009684/17.6/60


Switch to using Files.createTempFile

According to the Javadoc for File.createTempFile:
The Files.createTempFile method provides an alternative method to create an empty file in the temporary-file directory. Files created by that method may have more restrictive access permissions to files created by this method and so may be more suited to security-sensitive applications.

Thanks, I committed your changes into 1.* and 2.* .


click events not replaying

Hi,
I'm having trouble replaying events. I am only getting mouse movement playback. The other mouse events are not being replayed (mousedown, mouseup, clicks).
I've checked using eventlisteners for key and mouse events, and the mouse down/up/click are not triggering. The keyboard events are being caught by the listener.
Have there been any breaking changes with browser updates? or am I doing something wrong?
I'm just running a basic example trying to replay edits to a form.
I'm using: react (^18.2.0), chrome (106.0.5249.91), firefox (105.0.1), osx (10.15.7).
Any help would be appreciated. Thank you!
This is my code for launching the replay. I've just followed the basic guide.
    var hist = Gideon.getInstance().getHistoryRecords();
    var myForm = document.getElementById("myform") as HTMLFormElement;

    Gideon.getInstance().replay(
      document.querySelector(".App"),
      hist[0],
      () => myForm.reset()
    );

Thank you for the report! I will have a look at the issue next week and check if there were any breaking changes in new browser versions.


More maintainers

I am open to add more maintainers to this project (github & crates.io rights) that want to have the latest bindings so that it doesn't depend on a single person.
Ping @BeastLe9enD, @oisyn and @gents83 as you recently contributed new bindings/changes to meshopt

Considering the fact that the crate on Github was last updated over a year ago (and November 2019 on crates.io), I think the is the best way to go. I would like to help as a maintainer!

Same here!

Have you tried reaching out to gwihlidal to see if he was maybe interested in handing over the crates.io rights at least?

good point, maybe we could try asking him on twitter (I think Github issues is not the best way to reach him)

You're right, I didn't think of that!

I'll send him a message on twitter

In the meantime, I have added you both to crates.io too :+1:

@UriopassHave you received an answer so far?

No answers :/

Hey all,
Sorry I've been busy, but I'm definitely up for getting help maintaining this crate! I can add you all to this repo and also crates.io
I've been hoping to find some time again to resume crate dev, but getting your help will be awesome.
Thank you,
Graham

I can add you all to this repo and also crates.io

That would be great! Thank you

Hi. I'm using meshopt in Bevy for meshlet generation. Currently, I'm using my own fork of meshopt that exposes some non-public fields and implements DecodePosition for an array of floats. In the future, I'm also going to need Traverse Research's fork that exposes simplifying meshes while locking edges (included in my branch atm, although I don't currently use it).
A prerequisite to being able to merge my code into Bevy is depending on a crates.io published crate, instead of a git fork. Would you be interested in merging my (small commits), and possibly Traverse Research's additional API, and then publishing a new crates.io release of meshopt2?

Absolutely open to that, these same like good API changes!


Protocol Gas Data: Enable future dates for Expiration Date

Open up the Expiration Date calendar for Protocol Gas Data so users are able to pick dates in the future
PGD Section is applicable for the following Test Types:

Linearity Summary Data
RATA
Appendix E
Unit Default

Users shall be able to pick a date in the future, and save them

Protocol Gas Future Date - Line

Protocol Gas Future Date - Rata

Protocol Gas Future Date - Appendix E

Protocol Gas Future Date - Unit Default

Updates made


uninstalling removed all my files in /var/www/html

This command in remove.sh is a no-no:
sudo rm /var/www/*
The uninstaller is supposed to remove ONLY the stuff you installed... the remove.sh actually removed all my /var/www/html files,
Also saving jpg's in the /dev/ is a no-no. I am rather furious.

The remove script attempts to move the media folder to ~/media before completely cleaning the web install folder.
I don't understand the reference to saving jpgs in /dev/. The /dev/shm/mjpeg folder is used to hold the jpeg stream to support the preview but these are temporary files stored there as it is a memory folder and therefore does not cause flash wear.
It is always a good idea to back up important items.

/dev is only for devices, not for storing temporal items. This is a pretty basic one. Consider using pipes.
As for backing up important items... this is not necessary as long as the app is well behaved, this is the first time I see so many bad practices together, so please don't blame the user. if you don't want to fix it at least document it quite clearly that you are going to erase full directories.

This software is open source and is free. You can choose to use it or not. We welcome polite comments or pull requests to make improvements to the software. Likewise the documentation wiki on elinux can be modified by anybody.
/dev is indeed for devices. One of those is shm which is a shared memory device intended for passing data efficiently and that it is what is being used for here. http://www.cyberciti.biz/tips/what-is-devshm-and-its-practical-usage.html


PMP_unit.vhd exception generation

The PMP_unit code for exception generation looks like this:
load_afe_P <= '1' when readWrite = '0' and pmpcfg(0)='0' and address_hit_int = '1' else
'0';
storeAMO_afe_P <= '1' when readWrite = '1' and pmpcfg(1)='0' and address_hit_int = '1' else
'0';
instruction_afe_P <= '1' when instruction = '1' and pmpcfg(2) = '0' and address_hit_int = '1' else
'0';
so it is possible to generate multiple exceptions at once. The PMP_checker.drawio file on the other hands suggests that only one exception can be raised. This would result in the instruction_afe_P exception only beeing raised if the read/write access would be allowed but no instruction access is allowed to the region.
It seems like the spec musst be modified since the code in PMP_unit.vhd makes more sense. Otherwise possible instruction_afes could not be found because they are hidden by an overlying load or storeAMO afe.

Modified block-diagramm in Implementation folder on google drive.


propagate entity spec to EntityNode

Signed-off-by: Long Zhang<EMAIL_ADDRESS>Propagate Entity Spec to EntityNode for Graph Customization
Thanks to the work mentioned in https://github.com/backstage/backstage/issues/10569, we are able to render custom nodes in a catalog graph view. In our specific case, we would like to have the entity type information in each graph node. However, such information is maintained in entity.spec which is not passed to an EntityNode.
This PR adds entity spec information to EntityNode so that in a renderNode method developers can access node.spec.
ps: This is my first PR to the backstage project. Please guide me if I need to update documentation or add some tests for this change. Thanks :)
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Thanks for reviewing and merging my PR! @benjdlambert


Add script that removes .DS_Store files recursively

Refers #5

@jfstn Can you also add a README entry for the same? Thanks.

On it!

Done!

Thanks man!


Add endpoint for contact-form

I have an issue with this PR. Explanations:
:ok: The Garcon example serves the myapp/index.html and processes the contact-form as well:
https://github.com/teal-finance/garcon/blob/main/examples/high-level/main.go#L86
// Static website files
ws := garcon.NewStaticWebServer("examples/www", g.ErrWriter)
r.Get("/favicon.ico", ws.ServeFile("favicon.ico", "image/x-icon"))
r.With(c.Set).Get("/myapp", ws.ServeFile("myapp/index.html", "text/html; charset=utf-8"))
r.With(c.Set).Get("/myapp/", ws.ServeFile("myapp/index.html", "text/html; charset=utf-8"))
r.With(c.Chk).Get("/myapp/js/*", ws.ServeDir("text/javascript; charset=utf-8"))
r.With(c.Chk).Get("/myapp/css/*", ws.ServeDir("text/css; charset=utf-8"))
r.With(c.Chk).Get("/myapp/images/*", ws.ServeImages())

// Contact-form
wf := garcon.NewContactForm(addr, "", g.ErrWriter)
r.With(c.Set).Post("/myapp", wf.NotifyWebForm())

You can test it with:
cd garcon
go run ./examples/high-level

😿 But the Rainbow server does not serve the index.html:
https://github.com/teal-finance/rainbow/blob/webform/cmd/server/main.go#L82
// Static website: set the cookie only when visiting index.html
ws := garcon.NewStaticWebServer(*wwwDir, g.ErrWriter)
r.Get("/favicon.ico", ws.ServeFile("favicon.ico", "image/x-icon"))
r.Get("/favicon.png", ws.ServeFile("favicon.png", "image/png"))
r.Get("/preview.jpg", ws.ServeFile("preview.jpg", "image/jpeg"))
r.With(c.Chk).Get("/js/*", ws.ServeDir("text/javascript; charset=utf-8"))
r.With(c.Chk).Get("/assets/*", ws.ServeAssets())
// NotFound catches index.html and other Vue sub-folders
r.With(c.Set).NotFound(ws.ServeFile("index.html", "text/html; charset=utf-8"))

// Send contact-form to Mattermost
cf := garcon.NewContactForm("/", *form, g.ErrWriter)
r.With(c.Chk).Post("/", cf.NotifyWebForm())

You can test it with:
cd rainbow
git switch webform
git pull
go run ./cmd/server

The previous snippet works well if you replace NotFound by Get("/",, but we need to add as well all the sub folders/pages managed by index.html (Single-page application).
Another workaround is to replace Post("/" by Post("//", but not sure it will always work…
It looks like a bug in https://github.com/go-chi/chi
or more probably a mistake on my side, but what?

The issue has been reported to Chi project: https://github.com/go-chi/chi/issues/738


Constant-time square root and division

This is the implementation from #277, rebased and with most of the review comments addressed.
The ones I didn't address are:

[ ] still a bit confused about constant-time division, left comments
[ ] mismatch between paper and implementation?
[ ] testing improvement suggestion

This was already getting a bit hard to rebase, so if we can get it over the finish line before it becomes too stale that seems good.
cc @HastD

A test for U192 (to check a non-power-of-2 bit size) can be, for example:
x =<PHONE_NUMBER>84061584202147902974795492358573409165975616061
r =<PHONE_NUMBER>8950586156071689761
where x = (r + 1)^2 - 583

This also uses up the maximum number of iterations

@fjarri pushed up the U192 and U256 edge cases tests you suggested in 927ebaf
Wasn't sure if you were suggesting translating the Python example into Rust as well.

No, the Python code is just to document what I was using for cross-checking. I'm approving this, you can merge, and then I'll make a separate PR for the items from https://github.com/RustCrypto/crypto-bigint/pull/376#issuecomment-1837272800


feedback on Learn Css Variables By Building A City Skyline

Describe the Issue
this project assumes you haven't worked with Flexbox yet hence it just givesyou the code without it being a real challenge/test.
Affected Page
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-variables-by-building-a-city-skyline
Your code
none

Expected behavior
just to be given directions about what to do (as per usual) without giving you all the lines of code.
Screenshots

System

Device: Zenbook
OS: Linux Mint 20.3
Browser: Brave
Version: v1.43.93

Additional context
No response

I'm guessing that these instructions were written at a time when the flexbox project came after this skyline project. Since campers should have already gone through that flexbox project, I think we can change this. We could just make the instructions for this step a little less explicit. Here's one example:
"Center the parts of your building by turning the .bb1 element into a flexbox parent. Use the flex-direction and align-items properties to center the children.
Or we could possibly split it up into three steps:

"Turn your .bb1 element into a flexbox parent so you can center the parts of the building."
-hint: You should give .bb1 a display of flex
Set the flex-direction so the building items are in a column layout.
-hint: Your .bb1 should have a flex-direction property
-hint: You should give .bb1 a flex-direction of column
Center the items horizontally using a flex property
-hint: Your .bb1 should have an align-items property
-hint: You should give .bb1 an align-items property of center

yeah, i think the three steps are cool.
they also sound less explicit than the first one you wrote which i think it's more effective.
i prefer when given directions without the actual code i need to use so i can try and fail and try again until i guess. 😸

@lucyferu that would be awesome if you can!

can i work on this

@Avijit-1352
An issue with the https://github.com/freeCodeCamp/freeCodeCamp/labels/help wanted or https://github.com/freeCodeCamp/freeCodeCamp/labels/first timers only label is open for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors.
If you would like to contribute, and have not read the contributors docs, please do so here: https://contribute.freecodecamp.org/#/
If you have any issues with contributing, be sure to join us on the contributors channel, or on the contributors sub-forum

I would suggest to

Center the parts of your building by turning the .bb1 element into a flexbox parent. Use the flex-direction and align-items properties to center the children.

I like this, it feels much less handholding, considering flexbox was alredy introduced earlier.

@lucyferu that would be awesome if you can!

there are the steps in which flexbox is mentioned (and assumed not to been known) :
13; 20; 32; 66; 71; 102.

Step 13 has already a PR dedicated
The others also will need to be changed to not spoon feed flexbox. The hints can probably stay the same, the instructions will need to be less "use thie exact property with this exact value" and more "use flexbox for this purpose"
I wonder if we can expand the scope of this issue or open a new one...
Thank you @lucyferu for the report on the steps that have this issue

reopening for the other steps

hiii, ieahleen can you please explain the issue,

reopening for the other steps

hiii,
can you please explain the issue to me

The steps 20; 32; 66; 71; 102 speak of flexbox as if the learner has never learned it before, the steps need to be changed so that instead of giving exactly what to write in the css, the step description should instruct to use flexbox for the goal of the step, describing the goal, not the property/value pair to use.

@denquinlan We typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue.
Issues labelled with help wanted or first timers only are open for contributions.
Please make sure you read our guidelines for contributing. We prioritize contributors following the instructions in our guide. Join us in our chat room or the forum if you need help contributing - our community will be happy to assist you.

Thanks for reporting this @lucyferu, and thank you again for your help everyone.
I took a closer look at the history for the steps mentioned here (13, 20, 32, 66, 71, and 102), and it seems like we can close this.
Steps 13, 20, 71, and 102 all had descriptions with the issue originally mentioned in the OP, and have all been fixed. Now they all assume that the learner has some knowledge of Flexbox from the previous Photo Gallery project.
Steps 32 and 66 don't need to be fixed. Those steps mention Flexbox or a Flexbox related property, but don't have the same issue where Flexbox is treated as a new concept.


[Request] Drag and drop between two recyclerviews

The default implementation is based primarily on views, so I believe it would be a good fit for this adapter. Perhaps this could be a toggle for AbstractIItem?

@AllanWang I don't think this needs any adjustments in the FastAdapter as you can just add it to your project or items.

I got things to work so I'll just make a comment here for future users.
My implementation didn't involve two recyclerviews as I expected. That implementation would involve drag and drop beyond what FastAdapter contains. To implement something similar to the gif below and to quick tiles in the system ui, you only need on recycler, and optionally have a divider set to span the entire width. That way, one container may have gaps.
To properly showcase movements in grids, I needed notifyDataSetChanged. Just specifying the two indices had improper animations, and using a range didn't seem to work either.

Full code is here, to refer to scaling up on drag.


The drop-down menu is not working properly

like this kind of menu, when I click it, it will hidden behind the father menu.

This happens in Firefox as well.

Steps:
With Bookmark menu bar enabled
Add a folder with a few Book marks
Open the folder and rightclick on a book mark.

I've had similar issues for a while, especially in Firefox. I've had to set several apps to manage=off to work around it, such as Finder.

Should be fixed in latest version.


Non-linear ad (overlay) is at 50% opacity when re-opened

Hi,
there is a bug, when re-opening a closed overlay on mobile/desktop.

Starting video (don't move the mouse cursor out of the player!)
Non-linear ad pops-up
Wait until the non-linear ad disappears
Re-open the overlay ad clicking on the little arrow in the middle of the player
The non-linear ad pops up - the only problem is that it has 50% opacity

Could you help fixing that bug? Thank you,
Christian

Hello @kchris78 ,
Thank you for sharing this issue. I am having some difficulty understanding how to reproduce the issue.
Is it reproducible with the IMA sample non-linear ad?
If not, you can privately share an ad tag by emailing me here<EMAIL_ADDRESS>Could you also share a screen recording of the issue, to help me understand how to reproduce it?
Thank you,
Jackson
IMA SDK team


Move common SLURM_envs to container env vars.

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Move common SLURM_ envs to container env vars on kjobctl.
Which issue(s) this PR fixes:

Prepare #3269
Special notes for your reviewer:
We have many variables that are the same in each container, so there's no need to generate them in the init container. Instead of that we can set it as a container env vars on builder.
Does this PR introduce a user-facing change?

NONE

I'm afraid this will make the already big slurm job/pod definition significantly bigger. Is why is it needed?

I'm afraid this will make the already big slurm job/pod definition significantly bigger. Is why is it needed?

We discussed on the previous weekly meeting to create init container on go. Before that trying to optimize init script.

Another approach I also can see to get it from configmap.

Configmap sounds ok.

In another way we need to create a lot of flags for go slurm-init to send all of this values.
@mimowo @trasc WDYT?

I don't think that loading the env vars from a = separated file is such a big challenge in a go app (split by \n then by =). So, at least for now, we should not add an extra config map just for this.

/close
In the case where we are using the current ConfigMap, it will be addressed in https://github.com/kubernetes-sigs/kueue/pull/3293.


Cross compiling the code does not work yet

Vaibhav tried to cross compile our code. He failed badly:
vajain21@vajain21  ~/source/genwqe-user   master  make CROSS=powerpc64le-unknown-linux-gnu-
make[1]: Entering directory '/home/vajain21/source/genwqe-user/lib'
[CC] libzHW.o
[CC] libzHW.o
[CC] inflate.o
[CC] inflate.o
[CC] deflate.o
[CC] deflate.o
[LD] __libzHW.o
powerpc64le-unknown-linux-gnu-ld: unrecognised emulation mode: elf_x86_64
Supported emulations: elf64lppc elf32lppc elf32lppclinux elf32lppcsim
Makefile:77: recipe for target '__libzHW.o' failed
make[1]: *** [__libzHW.o] Error 1
make[1]: Leaving directory '/home/vajain21/source/genwqe-user/lib'
Makefile:97: recipe for target 'lib' failed
make: *** [lib] Error 1
I tried to repro this and failed even before:
[haverkam@oc7383187364 genwqe-user]$ make CROSS=/usr/local/gcc-4.8.0-nolibc/powerpc64-linux/bin/powerpc64-linux-
make[1]: Entering directory `/home/haverkam/GenWQE/genwqe-git/genwqe-user/lib'
[CC]	libzHW.o
In file included from libzHW.c:23:0:
/usr/local/gcc-4.8.0-nolibc/powerpc64-linux/lib/gcc/powerpc64-linux/4.8.0/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
include_next <stdint.h>
                      ^

compilation terminated.
make[1]: *** [libzHW.o] Fehler 1
make[1]: Leaving directory `/home/haverkam/GenWQE/genwqe-git/genwqe-user/lib'
make: *** [lib] Fehler 1

We would need libcxl too.

I was able to cross compile genwqe over my self built cross tool chain using below command:
$ make CROSS= PLATFORM=ppc64le
For me cross-tool-prefix = powerpc64le-unknown-linux-gnu- . This tool chain was built using crosstools-ng (http://crosstool-ng.org/).
Similar make command can be used for building libcxl.
~ Vaibhav

How does libcxl behave in this case?


add policyset plugin

Signed-off-by: Tsu Phin Hee<EMAIL_ADDRESS>

/lgtm

@nathanweatherly please approve the review for this pr to merge.


💡 [Feature] -  postLogout-callback

Summary
Allow for defining a function that runs after the user logout, but before redirect.
Basic Example
nil
Drawbacks
nil
Unresolved questions
No response
Implementation PR
No response
Reference Issues
#156

I'm not convinced we actually need this "postLogout". Since it's never called automatically, the app developer can always run some custom code before calling the "logOut" function them self.


Ant missing

I followed the steps and got this error:
Error: Failed to run "ant -version", make sure you have ant installed and added to your PATH.
at /kamrik/build/platforms/android/cordova/lib/check_reqs.js:43:27

I noticed "ant" is a NPM module so I installed it: "sudo npm install -g ant", but I get this warning
pm WARN engine<EMAIL_ADDRESS>wanted: {"node":"~0.8.0"} (current: {"node":"0.10.33","npm":"1.4.28"})

<EMAIL_ADDRESS>/usr/local/lib/node_modules/ant
So Ant doesn't get installed because my Node version is too high, therefore I keep getting the first error above.
Does your Template only work with  {"node":"~0.8.0"} ?

Hi Antonio,
The error is because cordova failed to find the Ant builder. Ant is not an npm package it's the Apache ant build system for java. You need to make sure you can run ant -version from the command line. Some version of Ant may be included with the Android SDK (not sure), but I use an independently installed version on my Mac.
This might be useful if you are on Mac as well.
http://superuser.com/questions/610157/how-do-i-install-ant-on-os-x-mavericks
On linux just do something like apt-get install ant


"Raw" (e.g. "No-role") mode to simply call GPT as-is without a specific role or system message.

Added a -r, --raw option to use the LLM as-is without a specific role or system message.
Raw mode increases flexibility by enabling responses similar to those obtained directly through the LLM's API.
Discussion: #551

You can create a custom role that's empty:
{"name": "empty", "role": ""}

Unfortunately whether or not it uses markdown is dependent on the role description, so if you want that use this:
{"name": "empty", "role": "APPLY MARKDOWN"}

Then you can do
sgpt --role empty

@jeanlucthumm thanks! Your suggestion would do the job but feels to me more like a workaround, and specifying --role empty to me would feel less organic than sgpt -r ....
I acknowledge that it's a style thing, though.


Q? How to find out from python library if we run Hydrogen or Jupyter notebook/JupyterLab?

How to find out from python library if we run Hydrogen or Jupyter notebook/JupyterLab?

https://stackoverflow.com/questions/5376837/how-can-i-do-an-if-run-from-ipython-test-in-python
https://stackoverflow.com/questions/15411967/how-can-i-check-if-code-is-executed-in-the-ipython-notebook

This doesn't help at all. I still cannot tell apart Hydrogen/nteract vs
Jupyter/JupyterLab.
I guess I used bad wording.

That's not possible. The only thing you can know from Python is if you're in 1) Python terminal, 2) IPython Terminal, 3) Jupyter. Since there can be any frontend for Jupyter, and since there can be multiple frontends connected to the same Python kernel at the same time, it's impossible to pass that information to Python.

Thanks for feedback. The only difference I found is that Hydrogen adds Atom
folder to the $PATH and nteract adds it's folder to the $PATH. When Jupyter
and Jupyter Lab do not do this. But I guess it's not very reliable...

Why do you want to know this?

For a convenience wrapper for matplotlib dynamic plots as they are not
supported in nteract/Hydrogen. So the wrapper switched to Qt5 when on
nteract.


Canonical tag is removed when checking remove  tags

I have just noticed on two of my test sites that the canonical tag is missing from the source code.
I think you should consider adding a warning next to that option regarding this as it might create a significant impact on websites, or add an option to leave some tags in place.
I'm using the latest version which is: 6.6.5

I came across this issue myself the other week and developed a fix.  I've submitted it for review, so hopefully it will make it into the next release.

@Cybergo-at, thanks to the fix from @markdicker this is now resolved in the develop branch here and will go out with version 7 release soon. Closing here

Hey @leonstafford , there is still no fix live for this. When is "soon"?

Hi, @leonstafford I am also facing the same issue.

Could you please tell me a way to get Canonical tags back after processing?
Thanks :)


gcloud._helpers._compute_engine_id should return a str (Python 3)

I stumbled upon this while deploying my app for the first time on GKE/GCE.
I had to explicitly specify project when creating a client: gcloud.datastore.Client(project="my-project"), otherwise I just got an gcloud.exceptions.ServiceUnavailable: 503 Backend Error.
First I thought the problem would be that autodetecting the project-id didn't work, but gcloud.datastore.Client(credentials=credentials, project=project) returns my project-id, be it as bytes instead of str.
I quickly verified that using bytes as a project-id does not work, i.e. gcloud.datastore.Client(project=b"my-project") resulted in that neat 503 Backend Error.

Moved over to gcloud-python.


fix(compiler): Support nullable fields in joins on same table

Fixes second issue reported in https://github.com/kyleconroy/sqlc/issues/1247


Update readme with info about the future of this project

Or maybe we wait on mentioning the toolkit repo for now until we figure out whether that's the long term plan?


[JOSS] Functionality documentation: More verbose docstrings needed

Hi @FabianPlum ! 'm nearly finished with the checks, but I've noticed the codebase could greatly benefit from more descriptive docstrings and some reformatting. To enhance consistency and readability, I recommend choosing a single docstring style—either Numpy, Google, or PEP257—that you feel best suits your project.
For implementing these improvements, ruff can be a good tool.
You can configure ruff to enforce your chosen docstring style and other linting rules by creating a pyproject.toml file with the necessary settings.
When you run ruff check ., it will automatically apply these configurations.
For more detailed instructions on setting up and using ruff, please see: https://pypi.org/project/ruff/0.0.221/.

Hi @FabianPlum ! I just checked the current version now. Looks great!

Thanks so much for your feedback and the super useful suggestions!

No problem! Glad that I was able to help and I also had a lot of fun trying out your tool. :)


Split up API endpoints using fastapi routers

ref: https://fastapi.tiangolo.com/tutorial/bigger-applications/

FTR: I'm already on it and did most of it locally, I'm just waiting for #2


failing kubernetes auth with oidc and azure apps and authorization with a specified Security Group

I'm trying to set up SSO between our (regular, not AKS) kubernetes clusters and Azure AD. Currently trying with kubectl binary installed on my computer.
It works when no groups are involved, but we want to filter by security group (accounts on AAD are synced from our onprem Active Directory), no kube RBAC involved.
Setup is inspired by https://medium.com/@olemarkus/using-azure-ad-to-authenticate-to-kubernetes-eb143d3cce10 and https://docs.microsoft.com/fr-fr/azure/aks/azure-ad-integration :

web app for kube api server configured to expose its API (add scope etc...) with app ID : abc123

native app for client kubectl configured with addition of api permission from the web app, with app ID : xyz456

kube api server yaml manifest , I add :

- --oidc-client-id=spn:abc123
- --oidc-issuer-url=https://sts.windows.net/OurAADTenantID

config kubectl binary :

kubectl config set-cluster test-legacy-2 --server=https://192.168.x.y:4443 --certificate-authority=/somelocation/ca.pem
kubectl config set-credentials<EMAIL_ADDRESS>--auth-provider=azure --auth-provider-arg=environment=AzurePublicCloud --auth-provider-arg=client-id=xyz456 --auth-provider-arg=tenant-id=OurAADTenantID --auth-provider-arg=apiserver-id=abc123
Also in the Azure client app manifest, had to specify :
"allowPublicClient":true,
"oauth2AllowIdTokenImplicitFlow":true
Otherwise had error "Failed to acquire a token: acquiring a new fresh token: waiting for device code authentication to complete: autorest/adal/devicetoken: Error while retrieving OAuth token: Unknown Error". Found on https://github.com/MicrosoftDocs/azure-docs/issues/10326
Issues start when trying to filter on some security group that I find in the JWT as per https://kubernetes.io/docs/reference/access-authn-authz/authentication/#openid-connect-tokens
I am receiving a format error even though the JWT Azure sends me does contain the groups in the right format (json array of strings)
Config :

In azure web app manifest to have the groups in my JWT :
"groupMembershipClaims": "SecurityGroup",

kube api server yaml manifest :
- --oidc-groups-claim=groups
- --oidc-required-claim=groups=bbc2eedf-79cd-4505-9fb4-39856ed3790e

with the string here being the GUID of my target security group.
I am receiving error: You must be logged in to the server (Unauthorized) on output of kubectl and the kube api server logs provide me this authentication.go:62] Unable to authenticate the request due to an error: [invalid bearer token, [invalid bearer token, oidc: parse claim groups: json: cannot unmarshal array into Go value of type string]]
But I don't understand why it is not happy cause when I decode the JWT I do have
"groups": [
    "00530f35-0013-4237-8947-6e3f6a7895ca",
    "bbc2eedf-79cd-4505-9fb4-39856ed3790e",
    "17dff614-fd68-4a38-906c-69561daec8b7"
  ],

which to my knowledge is a well-formatted json array of strings...

Also tried as per https://kubernetes.io/docs/reference/access-authn-authz/authentication/#openid-connect-tokens to provide kubectl config with oidc arguments based on first successful authentication with the azure app (config above), but same errors :
kubectl config set-credentials<EMAIL_ADDRESS>--auth-provider=oidc
--auth-provider-arg=idp-issuer-url=https://sts.windows.net/OurAADTenantID
--auth-provider-arg=client-id=kubernetes
--auth-provider-arg=client-secret= native app xyz456 client secret
--auth-provider-arg=refresh-token= Z Y X W V U T S R Q P O ...
--auth-provider-arg=idp-certificate-authority=/somelocation/ca.pem
--auth-provider-arg=id-token= A B C D E F G H I J K L ...

Ok so, Required claims must be a string, not an array of strings

But I found a workaround.

Don't use oidc-groups-claim and oidc-required-claim
In Azure, go to the Properties of the API server App.
Select Yes in "User assignment required"
In "Users and groups" add the specific Security Group you want to filter on
To test : Remove yourself from the Security Group
Wait for the token to expire (in my case it was 1 hour)
You can't log in anymore


Reimporting a 3D model does not get propagated to inherited scenes

Bugsquad note: This issue has been confirmed several times already. No need to confirm it further.

Godot version:
Godot Engine v3.2.1.stable.official
OS/device including version:
Arch Linux (rolling release, last updated at the time of submitting).
Issue description:
I have a 3D model imported as a scene (The format does not seem to affect, as I've tried all of them with the same behaviour. I'm using gltf2 for the reproduction example). When the model file gets modified on disk (e.g. by exporting again from a 3d modelling tool), godot reimports the asset, but changes are not shown on the inherited scene.
The chanes are only shown if I open the original scene, and then get propagated to all the scenes where this was instanced.
Steps to reproduce:
This uses the minimal reproduction project below. The project has four important resources:

cube.glb, a cube model
sphere.glb, a sphere model
mesh.glb, a copy of either mesh.glb or cube.glb
MeshInherited.tscn, an inherited version of the mesh.glb scene with no modifications, created by double-clicking mesh.glb in the FileSystem tab, selecting "New Inherited" and immediately saving.

The steps to reproduce:

Open the project in godot, and open MeshInherited.tscn. Ensure no other scenes are open.
Minimize godot and, using a file manager, delete mesh.glb and duplicate either cube.glb or sphere.glb to a new file. Rename the new copy as mesh.glb.
Go back to godot. A reimport will be triggered, but the inherited scene will show the old mesh.
Open mesh.glb (double-click in the FileSystem tab, and choose "Open Anyway"). The new mesh will be shown.
Go back to the MeshInherited.tscn tab, the mesh is updated.

Minimal reproduction project:
MeshReimportIssue.zip

Godot version:
Godot Engine 4.0.dev 4e0f31a
OS/device including version:
Windows 10
Issue description:
Also happens with animations embedded inside a .glb :
Steps to reproduce:
1- Import a mesh with an animation with 'Built-In' selected for 'Storage'
2- Create an inherited scene and try to edit the animation > You get a warning that you can't edit the animation (doesn't happen because of Issue #20467)
3- Reimport the asset with either 'Files' option selected. Note that the inherited scene notices a change because you get the (*) next to the scene name if it's open.
4- Go back to the animation player, in the existing Inherited Scene or a new one > The warning is still here and all changes don't get populated
5- Close the project and reopen it : everything works as expected

Have this problem also, serious show stopper for 3d work in Godot. Destroys the iterative workflow

@phelioz The best workaround (if we can call it that) I've found to keep an iterative workflow between my 3d app and godot is loading the gltf directly and avoid all inheritance.
To complement this, I do the following two things:

Try to configure as much as possible in the 3d app. For example, if using blender, you can configure a shader and it will get exported into a spatialmaterial in godot (only when using gltf). For collision shapes, lookup the -col and -colonly attributes.

The remaining things that can't be configured in a 3d app, can be added through code: I set up a script that loads the gltf scene and does the necessary changes on top of it when the game loads.

Of course this is still a very uncomfortable workflow, but I thought this may be useful to anyone reading the issue. It definitely improved things for me. When modelling, especially at the final stages, it is crucial to be able to see how things will look in-game.

Setzer, thanks for sharing your workaround. Just thought I'd drop a link to the official docs about the import hints (-col etc). I use them with Blender and the escn exporter.

@setzer22 Thanks for sharing :)
Already using the -col and -colonly import hint and that helps a lot in many cases. You are right in that probably a lot can be setup in code on game start. But as you say it's uncomfortable.
For example if you are not doing something procedural and are placing modular meshes together to create something bigger that looks nice it just feels very weird to do all that placement in code when we have a 3d editor. Then a simpler framework without a editor could be used instead of Godot if going that route. Which is a shame because the 3d editor is pretty nice in Godot.

this problem is critical in using engine for 3d games, I'm surprised that it has been an untouched problem for so long :( every day of doing a 3d game is a real pain

@anarchydev Please don't bump issues without contributing significant new information. Use the :+1: reaction button on the first post instead.

I can confirm I reproduced this today under Windows after building from master (f69c116fa).
Very useful scenario @setzer22, thanks for provided required assets!

After some testing and studying of underlying master code, it turns out that opening mesh.glb is not the only way to get the scene refreshed. Actually, it is the act of switching back to its scene tab that updates the displayed mesh.
To demonstrate this, create a basic 3D scene (a single root Node3D) and open it before step 1 of @setzer22 scenario. Then, at step 4, click on this scene tab instead of opening mesh.glb.
Technically speaking, switching scene tabs triggers the call chain EditorNode::load_scene => EditorNode::set_current_scene => EditorData::check_and_update_scene. This last step seems crucial.
To the contrary, when going back to Godot and reimporting (step 3), EditorNode::_resources_reimported is called (in response to a EditorFileSystem signal), which itself calls EditorNode::reload_scene. This last step could call EditorNode::load_scene, but instead returns early with the following comment: scene is not open, so at it might be instanced. We'll refresh the whole scene later.
So, many things seem in place already for this refresh scenario to work, but something fishy may take place in EditorNode::reload_scene.

My takes from the previous comment.
Should EditorNode::_resources_reimported be modified to also call EditorNode::reload_scene on MeshInherited.tscn, I reckon it would call EditorNode::load_scene and refresh it, solving this issue.
However, I am wondering about more complex "transitive refresh" scenarios: should a scene S1 instantiate a scene S2 itself instantiating a glTF-imported scene S3, and should S3 be reimported, I don't think even the "switch tab" scenario above would refresh S1. This needs some testing.
Should this be true and EditorNode::_resources_reimported be modified further to take into account "transitive refresh", the fact that there are currently two largely independent ways to detect modified resources (one signal-based: EditorNode::_resources_reimported and one "programmatic": EditorData::_find_updated_instances) may get in the way.
Indeed EditorData::_find_updated_instances would not currently detect this scenario, so EditorNode::load_scene may actually do nothing even if called on S1. Feels like there is a risk of logic duplication here.
I guess one way around this would be to add an extra, optional bool force_reload  parameter to EditorData::check_and_update_scene and its call chain to specify that EditorData::_find_updated_instances is not to be called. Not very pretty.

My takes from the previous comment.
Should EditorNode::_resources_reimported be modified to also call EditorNode::reload_scene on MeshInherited.tscn, I reckon it would call EditorNode::load_scene and refresh it, solving this issue.
However, I am wondering about more complex "transitive refresh" scenarios: should a scene S1 instantiate a scene S2 itself instantiating a glTF-imported scene S3, and should S3 be reimported, I don't think even the "switch tab" scenario above would refresh S1. This needs some testing.
Should this be true and EditorNode::_resources_reimported be modified further to take into account "transitive refresh", the fact that there are currently two largely independent ways to detect modified resources (one signal-based: EditorNode::_resources_reimported and one "programmatic": EditorData::_find_updated_instances) may get in the way.
Indeed EditorData::_find_updated_instances would not currently detect this scenario, so EditorNode::load_scene may actually do nothing even if called on S1. Feels like there is a risk of logic duplication here.
I guess one way around this would be to add an extra, optional bool force_reload  parameter to EditorData::check_and_update_scene and its call chain to specify that EditorData::_find_updated_instances is not to be called. Not very pretty.

@oparisy Interesting find :)
Did play around with it a little more now and to me it seems to only update when you create a new inherited scene from the glb mesh scene and when you have the glb mesh scene open.
Switching to tabs where the mesh is instanced in the scene tree doesn't refresh it. Neither does switching to a scene that is directly inheriting the mesh scene.
But just keeping the mesh scene open seems to update it even if you aren't looking at the mesh scene.
And also refreshed as I said when creating a new inherited scene from the mesh scene, but only refreshes it once on creation of the inherited scene and not when switching to it later.

@oparisy Interesting find :)
Did play around with it a little more now and to me it seems to only update when you create a new inherited scene from the glb mesh scene and when you have the glb mesh scene open.
Switching to tabs where the mesh is instanced in the scene tree doesn't refresh it. Neither does switching to a scene that is directly inheriting the mesh scene.
But just keeping the mesh scene open seems to update it even if you aren't looking at the mesh scene.
And also refreshed as I said when creating a new inherited scene from the mesh scene, but only refreshes it once on creation of the inherited scene and not when switching to it later.

Hi @phelioz! May I ask you on which branch/build you did those tests? I only studied a recent build of master for now.

Hi @phelioz! May I ask you on which branch/build you did those tests? I only studied a recent build of master for now.

I still have the problem @setzer22 described but I don't need to switch to the imported mesh scene to have it updated, only having it open in a inactive scene tab keeps updating it for me. So what I mean is that I don't need to switch to it or reopen it to get it refreshed in the other scenes. Just keeping the tab open keeps updating the other scenes.
But did notice it refreshes the other scenes also when you are creating a new inherited scene. For example it refreshes once you hit the "right click/New Inhertied Scene" button.
Get the same behavior in @setzer22 minimal reproduction project too.
Do you understand what I mean when it works and not for me now? :)
Right now I am running 3.2.4 beta 4 on Window 10 (10.0.18363)

I still have the problem @setzer22 described but I don't need to switch to the imported mesh scene to have it updated, only having it open in a inactive scene tab keeps updating it for me. So what I mean is that I don't need to switch to it or reopen it to get it refreshed in the other scenes. Just keeping the tab open keeps updating the other scenes.
But did notice it refreshes the other scenes also when you are creating a new inherited scene. For example it refreshes once you hit the "right click/New Inhertied Scene" button.
Get the same behavior in @setzer22 minimal reproduction project too.
Do you understand what I mean when it works and not for me now? :)
Right now I am running 3.2.4 beta 4 on Window 10 (10.0.18363)

I'm on 3.3.2 Stable and I'm noticing that scenes made with "New Inherited Scene" get updated when the model is overwritten, when I open the model (.dae) in this case it does show the changes, but none of the inherited ones do no matter what I do. The workaround of switching to the original scene doesn't propagate any of the changes, but once I hit save in it then it finally does. Needless to say this workflow is slow and it's easy to forget all the steps you need to do when you want to update something.

I hit this issue in 4.0.beta7.official. I tried with .glb and .blend assets. The best workaround for me is to create a new inherited scene after the asset is reimported and then immediately close it, as that seems to trigger updating all the existing inherited scenes.

I made a plugin that meanwhile works around this issue in Godot 3.x InstantMeshUpdate Its far from perfect but might help some..