Incorrect value of "finish_reason" when streaming

What is the issue?
When streaming using OpenAI server, the "finish_reason" is an empty which is incorrect. It should be one of the values from OpenAI, or null.
data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" Hello"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" there"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"!"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" I"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"'"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"m"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" B"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"olt"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"AI"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":","},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" your"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" helpful"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" assistant"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" How"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" can"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" I"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" help"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" you"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" today"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"?"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" Let"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" me"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" know"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" if"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" you"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" have"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" any"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" questions"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427619,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" or"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" tasks"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" you"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" need"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" assistance"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" with"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" I"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"'"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"ll"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" do"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" my"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" best"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" to"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" provide"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" you"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" with"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" accurate"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" tim"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"ely"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" information"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"."},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" Go"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" ahead"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" and"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" give"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" me"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" a"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" try"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"!"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":" "},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427620,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"😊"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427621,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":"💡"},"finish_reason":""}]}

data: {"id":"chatcmpl-693","object":"chat.completion.chunk","created":1715427621,"model":"mistral:latest","system_fingerprint":"fp_ollama","choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":"stop"}]}

data: [DONE]

I think this was the source of the issue though I might be wrong:
https://github.com/ollama/ollama/commit/cfa84b8470837ecb418d1668858fe06c35c01d34#diff-e09be2f542df58a8abd41a5061837090a6b630a5f16f491b0e7a61e9dc429679
OS
macOS
GPU
Apple
CPU
Apple
Ollama version
0.1.36

I think we can restore the valid response payload with something like that :
FinishReason: func(reason string) *string {
	if len(reason) > 0 {
		return &reason
	}
	return nil
}(r.DoneReason),

@ziggornif thanks for the suggestion!


Supervisor cleanups

Testing plan: Untested.

This lgtm; feel free to merge once you're happy with testing via deploying it on systems.

Does this change helps in resolving the supervisor and nginx restart issues in #18740?

I'm not sure I follow, in that PR, what the supervisor issues are.  It looks like a previous version would have done a reinstall of supervisor, but that's not what the current version of that PR does.  Can you explain more about the issue you were running into there?

The issue with the upgrade check is the puppet changes when applied are unable to reload/refresh supervisor and nginx.
Error: /Stage[main]/Zulip::Supervisor/Exec[supervisor-restart]: Failed to call refresh: '/etc/init.d/supervisor restart' returned 2 instead of one of [0]
Error: /Stage[main]/Zulip::Supervisor/Exec[supervisor-restart]: '/etc/init.d/supervisor restart' returned 2 instead of one of [0]

I am not really sure why is it happening and trying to get the log details if possible from GH actions.

@ligmitz I would not expect this to have any effect on that error.

I'm test-deploying this on chat.zulip.org.

Merged, since this seems to have worked as normal in that deployment.


Unable to run it as root

[root@panel ~]# composer global require bramus/mixed-content-scan:~2.5
Changed current directory to /root/.composer
Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing vanilla/garden-cli (v1.6.1)
    Downloading: 100%

  - Installing bramus/ansi-php (3.0.1)
    Downloading: 100%

  - Installing bramus/monolog-colored-line-formatter (2.0.3)
    Downloading: 100%

  - Installing psr/log (1.0.2)
    Downloading: 100%

  - Installing monolog/monolog (1.22.0)
    Downloading: 100%

  - Installing bramus/mixed-content-scan (2.5)
    Downloading: 100%

monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
Writing lock file
Generating autoload files
[root@panel ~]# mixed-content-scan https://www.riesen-printmedia.ch/
-bash: mixed-content-scan: command not found
[root@panel ~]#

Hi @highacid,
I'm gonna need some more info to debug this …

What is the value of your $PATH env variable? It should contain ~/.composer/vendor/bin.
What are the contents of said folder? It should contain mixed-conten-scan (symlinked to ../bramus/mixed-content-scan/bin/mixed-content-scan).

Regards,
Bramus.

Give me a few days, I am out from office now, I will gather more information and reply.

I have the same issue.
Where do I find that $PATH variable?
The only think in that folder is a file called "mixed-content-scan".
Thanks.

@biffwebsterjr
At the terminal, type echo $PATH. That will output it the value for $PATH.
The file mixed-content-scan you see is the file to execute. It should be executable. If it's not, chmod it to be so. If it is, you can run mixed-content-scan by typing its name, along with its options.

I get:
/opt/subversion/bin/:/usr/local/mysql/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

In that case there seems to be a problem with your composer installation. The $PATH should contain ~/.composer/vendor/bin.
You can fix this by adding the following to your ~/.bash_profile:
export PATH=$HOME/.composer/vendor/bin:$PATH

(Sidenote: closing this one as it's not a pure mixed-content-scan issue)


Update PHPDoc of addFilter and addFilterToCollection

WHY
BEFORE - What was wrong? What was happening before this PR?
The PHPDoc for the argument $values coming from the methods addFilter() and addFilterToCollection() didn't handle the string type. The methods are located in \App\Library\CrudPanel\Traits\Filters.php.
AFTER - What is happening after this PR?
I add the string type in the PHPDoc for these 2 methods.
HOW
How did you achieve that, in technical terms?
I used PHPStan in my project and it threw an error when I call the addFilter() method with a string for the argument $values. A string is required for this argument when using the filter Select2_Ajax.
Is it a breaking change?
No.
How can we test the before & after?
You can use PHPStan like me, or just use a string for this argument and see that nothing is broken with my changes.

You're right - we do need to support string there, for the select2_ajax filter. Merged, thanks @Diegslapasteque . Will be tagged on Monday.
Cheers!


res.type is available for HEAD but not for GET.

On a HEAD request, the response has a res.type set as res.headers['content-type'].
On a GET request however, res.type is not available but res.headers['content-type'] is.
I think for intuitive re-use of functions that can work with the response of either a HEAD or a GET request, both response objects should be similar where possible. I.e. the type attribute should be available on both responses. (Or neither).
Using superagent 2.3.0.

Please test with 4.0.0
npm i superagent@next

PR welcome with failing test if still an issue


yts plugin doesn't support quality

Expected behaviour:
Movies on YTS plugin to be accepted according to quality
Actual behaviour:
Results for YTS always rejected
Config:
  movies_search:
    imdb_lookup: yes
    discover:
      what:
        - movie_list: movies
      from:
        - yts: yes
        - piratebay: yes
        - rarbg:
            category: x264 1080p
      release_estimations: ignore
    torrent_alive: 10
    quality: 1080p+ webrip+
    list_match:
      from:
        - movie_list: movies
    deluge: yes

Log:

(click to expand)
2019-12-25 12:55:11 DEBUG    manager                       Figuring out config load paths
2019-12-25 12:55:11 DEBUG    manager                       Found config: /home/tux/flexget/config.yml
2019-12-25 12:55:11 DEBUG    manager                       Config file /home/tux/flexget/config.yml selected
2019-12-25 12:55:11 DEBUG    manager                       sys.defaultencoding: utf-8
2019-12-25 12:55:11 DEBUG    manager                       sys.getfilesystemencoding: utf-8
2019-12-25 12:55:11 DEBUG    manager                       flexget detected io encoding: utf-8
2019-12-25 12:55:11 DEBUG    manager                       os.path.supports_unicode_filenames: False
2019-12-25 12:55:11 DEBUG    plugin                        Trying to load plugins from: ['/home/tux/flexget/plugins', '/home/tux/flexget/lib/python3.6/site-packages/flexget/plugins']
2019-12-25 12:55:11 DEBUG    plugin                        Plugin `memusage` requires plugin `ext lib `guppy`` to load.
2019-12-25 12:55:12 DEBUG    plugin                        Trying to load components from: ['/home/tux/flexget/components', '/home/tux/flexget/lib/python3.6/site-packages/flexget/components']
2019-12-25 12:55:13 DEBUG    plugin                        Plugins took 1.18 seconds to load. 300 plugins in registry.
2019-12-25 12:55:13 DEBUG    manager                       Connecting to: sqlite:////home/tux/flexget/db-config.sqlite
2019-12-25 12:55:13 DEBUG    manager                       config_name: config
2019-12-25 12:55:13 DEBUG    manager                       config_base: /home/tux/flexget
2019-12-25 12:55:13 DEBUG    manager                       New config data loaded.
2019-12-25 12:55:13 DEBUG    schema                        current flexget version already exist in db 3.0.23
2019-12-25 12:55:13 DEBUG    parsing                       setting default movie parser to internal. (options: {'internal': <flexget.components.parsing.parsers.parser_internal.ParserInternal object at 0x7f078ada73c8>, 'guessit': <flexget.components.parsing.parsers.parser_guessit.ParserGuessit object at 0x7f078ada7438>})
2019-12-25 12:55:13 DEBUG    parsing                       setting default series parser to internal. (options: {'internal': <flexget.components.parsing.parsers.parser_internal.ParserInternal object at 0x7f078ada73c8>, 'guessit': <flexget.components.parsing.parsers.parser_guessit.ParserGuessit object at 0x7f078ada7438>})
2019-12-25 12:55:13 DEBUG    cron_env                      Encoding utf-8 stored
2019-12-25 12:55:13 DEBUG    util.simple_persistence                 setting key terminal_encoding value 'utf-8'
2019-12-25 12:55:13 DEBUG    task_queue                    task queue shutdown requested
2019-12-25 12:55:13 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2019-12-25 12:55:13 INFO     ipc.rpyc                      server started on [<IP_ADDRESS>]:36391
2019-12-25 12:55:13 DEBUG    task          movies_search   executing movies_search
2019-12-25 12:55:13 DEBUG    remember_rej  movies_search   Task config has changed since last run, purging remembered entries.
2019-12-25 12:55:13 VERBOSE  discover      movies_search   Discovering 7 titles ...
2019-12-25 12:55:13 INFO     discover      movies_search   Ignoring interval because of --discover-now
2019-12-25 12:55:13 VERBOSE  discover      movies_search   Searching for `Bombshell (2019)` with plugin `yts` (1 of 7)
2019-12-25 12:55:13 DEBUG    yts           movies_search   requesting: https://yts.am/api/v2/list_movies.json?query_term=Bombshell%20%282019%29
2019-12-25 12:55:13 DEBUG    utils.requests movies_search   GETing URL https://yts.am/api/v2/list_movies.json?query_term=Bombshell%20%282019%29 with args () and kwargs {'allow_redirects': True, 'timeout': 30}
2019-12-25 12:55:14 DEBUG    yts           movies_search   invalid return structure from YTS
2019-12-25 12:55:14 DEBUG    yts           movies_search   Search got 0 results
2019-12-25 12:55:14 DEBUG    discover      movies_search   No results from yts
2019-12-25 12:55:14 VERBOSE  discover      movies_search   No search results for `Bombshell (2019)`
2019-12-25 12:55:14 VERBOSE  discover      movies_search   Searching for `Knives Out (2019)` with plugin `yts` (2 of 7)
2019-12-25 12:55:14 DEBUG    yts           movies_search   requesting: https://yts.am/api/v2/list_movies.json?query_term=Knives%20Out%20%282019%29
2019-12-25 12:55:14 DEBUG    utils.requests movies_search   GETing URL https://yts.am/api/v2/list_movies.json?query_term=Knives%20Out%20%282019%29 with args () and kwargs {'allow_redirects': True, 'timeout': 30}
2019-12-25 12:55:15 DEBUG    yts           movies_search   Search got 0 results
2019-12-25 12:55:15 DEBUG    discover      movies_search   No results from yts
2019-12-25 12:55:15 VERBOSE  discover      movies_search   No search results for `Knives Out (2019)`
2019-12-25 12:55:15 VERBOSE  discover      movies_search   Searching for `Frozen II (2019)` with plugin `yts` (3 of 7)
2019-12-25 12:55:15 DEBUG    yts           movies_search   requesting: https://yts.am/api/v2/list_movies.json?query_term=Frozen%20II%20%282019%29
2019-12-25 12:55:15 DEBUG    utils.requests movies_search   GETing URL https://yts.am/api/v2/list_movies.json?query_term=Frozen%20II%20%282019%29 with args () and kwargs {'allow_redirects': True, 'timeout': 30}
2019-12-25 12:55:16 DEBUG    yts           movies_search   Search got 0 results
2019-12-25 12:55:16 DEBUG    discover      movies_search   No results from yts
2019-12-25 12:55:16 VERBOSE  discover      movies_search   No search results for `Frozen II (2019)`
2019-12-25 12:55:16 VERBOSE  discover      movies_search   Searching for `Maleficent: Mistress of Evil (2019)` with plugin `yts` (4 of 7)
2019-12-25 12:55:16 DEBUG    yts           movies_search   requesting: https://yts.am/api/v2/list_movies.json?query_term=Maleficent%3A%20Mistress%20of%20Evil%20%282019%29
2019-12-25 12:55:16 DEBUG    utils.requests movies_search   GETing URL https://yts.am/api/v2/list_movies.json?query_term=Maleficent%3A%20Mistress%20of%20Evil%20%282019%29 with args () and kwargs {'allow_redirects': True, 'timeout': 30}
2019-12-25 12:55:16 DEBUG    yts           movies_search   Search got 0 results
2019-12-25 12:55:16 DEBUG    discover      movies_search   No results from yts
2019-12-25 12:55:16 VERBOSE  discover      movies_search   No search results for `Maleficent: Mistress of Evil (2019)`
2019-12-25 12:55:16 VERBOSE  discover      movies_search   Searching for `Doctor Sleep (2019)` with plugin `yts` (5 of 7)
2019-12-25 12:55:16 DEBUG    yts           movies_search   requesting: https://yts.am/api/v2/list_movies.json?query_term=Doctor%20Sleep%20%282019%29
2019-12-25 12:55:16 DEBUG    utils.requests movies_search   GETing URL https://yts.am/api/v2/list_movies.json?query_term=Doctor%20Sleep%20%282019%29 with args () and kwargs {'allow_redirects': True, 'timeout': 30}
2019-12-25 12:55:17 DEBUG    yts           movies_search   Search got 0 results
2019-12-25 12:55:17 DEBUG    discover      movies_search   No results from yts
2019-12-25 12:55:17 VERBOSE  discover      movies_search   No search results for `Doctor Sleep (2019)`
2019-12-25 12:55:17 VERBOSE  discover      movies_search   Searching for `Spies in Disguise (2019)` with plugin `yts` (6 of 7)
2019-12-25 12:55:17 DEBUG    yts           movies_search   requesting: https://yts.am/api/v2/list_movies.json?query_term=Spies%20in%20Disguise%20%282019%29
2019-12-25 12:55:17 DEBUG    utils.requests movies_search   GETing URL https://yts.am/api/v2/list_movies.json?query_term=Spies%20in%20Disguise%20%282019%29 with args () and kwargs {'allow_redirects': True, 'timeout': 30}
2019-12-25 12:55:18 DEBUG    yts           movies_search   Search got 0 results
2019-12-25 12:55:18 DEBUG    discover      movies_search   No results from yts
2019-12-25 12:55:18 VERBOSE  discover      movies_search   No search results for `Spies in Disguise (2019)`
2019-12-25 12:55:18 VERBOSE  discover      movies_search   Searching for `Abigail (2019)` with plugin `yts` (7 of 7)
2019-12-25 12:55:18 DEBUG    yts           movies_search   requesting: https://yts.am/api/v2/list_movies.json?query_term=Abigail%20%282019%29
2019-12-25 12:55:18 DEBUG    utils.requests movies_search   GETing URL https://yts.am/api/v2/list_movies.json?query_term=Abigail%20%282019%29 with args () and kwargs {'allow_redirects': True, 'timeout': 30}
2019-12-25 12:55:19 DEBUG    yts           movies_search   Search got 2 results
2019-12-25 12:55:19 DEBUG    discover      movies_search   Discovered 2 entries from yts
2019-12-25 12:55:19 DEBUG    backlog       movies_search   0 entries purged from backlog
2019-12-25 12:55:19 VERBOSE  details       movies_search   Produced 2 entries.
2019-12-25 12:55:19 DEBUG    metainfo_quality movies_search   Quality is already set to 720p for Abigail, but has not been instantiated properly.
2019-12-25 12:55:19 DEBUG    metainfo_quality movies_search   Quality is already set to 1080p for Abigail, but has not been instantiated properly.
2019-12-25 12:55:19 VERBOSE  task          movies_search   REJECTED: `Abigail` by quality plugin because 720p does not match quality requirement [<Requirements(1080p+ webrip+)>]
2019-12-25 12:55:19 VERBOSE  task          movies_search   REJECTED: `Abigail` by quality plugin because 1080p does not match quality requirement [<Requirements(1080p+ webrip+)>]
2019-12-25 12:55:19 DEBUG    urlrewriter   movies_search   Checking 0 entries
2019-12-25 12:55:19 VERBOSE  details       movies_search   Summary - Accepted: 0 (Rejected: 2 Undecided: 0 Failed: 0)
2019-12-25 12:55:19 DEBUG    util.simple_persistence movies_search   Flushing simple persistence for task movies_search to db.
2019-12-25 12:55:19 DEBUG    task_queue                    task queue shut down
2019-12-25 12:55:19 INFO     ipc.rpyc                      listener closed
2019-12-25 12:55:19 DEBUG    util.simple_persistence                 Flushing simple persistence for task None to db.
2019-12-25 12:55:19 INFO     ipc.rpyc                      server has terminated
2019-12-25 12:55:20 DEBUG    manager                       Shutting down
2019-12-25 12:55:20 DEBUG    manager                       Removed /home/tux/flexget/.config-lock

Additional information:

FlexGet version: 3.0.23
Python version: 3.6.9
Installation method: pip
Using daemon (yes/no): no
OS and version: Ubuntu 18.04.2 LTS (Bionic Beaver)

Unrelated to the actual solution for this bug
Didn't even know there was a plugin for it, I just use their rss instead.
      from:
-       - yts: yes
+       - search_rss: https://yts.lt/rss/{{search_term}}/1080p/all/0


GraphQL?

Is there a comfortable way to test GraphQL endpoints?

Hi, not at all. Only regular http requests and assertions for http header and json body are available currently, plus websocket support.

Do you think there might be in the future?

Personally I don't have any plans on that. However probably this would be an eligible feature. I guess we could implement an alternative request builder for graphql and reuse existing payload matches.

@gavv May i pick this up ?  I'll start with submitting a short design proposal on the request builder.

@gavv I've looked into this a bit.
We could use https://github.com/shurcooL/graphql, that will provide with the means of typed graphql queries and mutations in the form of go structs. An example of a query with constant arguments:
var q struct {
	Human struct {
		Name   graphql.String
		Height graphql.Float `graphql:"height(unit: METER)"`
	} `graphql:"human(id: \"1000\")"`
}

In addition, we could provide with a WithGraphQLQuery, a WithGraphQLMutation and a chained WithVariables, should there be variable arguments. An example of a query with variable arguments:
var q struct {
	Human struct {
		Name   graphql.String
		Height graphql.Float `graphql:"height(unit: $unit)"`
	} `graphql:"human(id: $id)"`
}

and the respective values:
variables := map[string]interface{}{
	"id":   graphql.ID(id),
	"unit": starwars.LengthUnit("METER"),
}

I don't see any need for additions in the assessment part, as the GraphQL queries return JSON. Overall it looks like a low-hanging fruit and I can have something ready in my fork in a few days. Please let me know if the above make sense to you.

@gavv Did you have the chance to look into my suggestion above ?


Making nuiClass property of UIView IBInspectable

This amend adds an nuiClass attribute in the Attribute Inspector on all UIViews in Interface Builder.
This simplifies setting nuiClass runtime attributes on UIViews when using NUI in Storyboards and XIBs.

Please have a look at the build failures under Xcode 6.
IBInspectable isn't recognized in this version.
It would be nice if you could define a macro that sets IBInspectable on Xcode 7 and higher and does nothing on lower versions.

IBInspectable was introduced with Xcode 6, so it should be ok. Looking at the build logs, the error seems to come from an issue with Ruby versions when installing CocoaPods:
ERROR:  Error installing cocoapods:
activesupport requires Ruby version >= 2.2.2.

Sorry for not looking into this more thoroughly earlier. The change looks good to me.
I'm currently on vacation. I'll look into the build failure next week.


[Bug Report] Symlink is not recognized again

WHAT
(Write what you need)
afx does not read symlink again.
The cause of the bug exists in between v0.1.21 and v0.1.22. (see https://github.com/b4b4r07/afx/compare/v0.1.21...v0.1.22)
My current afx.yaml is here.

[ERROR]: failed to initialize afx: /home/hibiki/dotfiles/config/afx/afx.yaml: failed to read config: [23:9] unknown field "directory"
  20 |       - koron/cmigemo
  21 |     command:
  22 |       build:
> 23 |         directory: nkf-2.1.5
               ^
  24 |         steps:
  25 |           - make
  26 |           - make install prefix=~/.local
  27 |

v0.1.22

$ AFX_LOG_LEVEL=debug afx install
2022/06/12 12:02:53 [INFO] afx version: 0.1.22
2022/06/12 12:02:53 [INFO] Go runtime version: go1.16.1
2022/06/12 12:02:53 [INFO] Build tag/SHA: v0.1.22/4b34e4c
2022/06/12 12:02:53 [INFO] CLI args: []string{"/home/hibiki/.local/share/aquaproj-aqua/pkgs/github_release/github.com/b4b4r07/afx/v0.1.22/afx_linux_arm64.tar.gz/afx", "install"}
2022/06/12 12:02:53 [WARN] /home/hibiki/.config/afx: found but cannot be loaded. yaml is only allowed
2022/06/12 12:02:53 [DEBUG] (goroutine): checking new updates...
2022/06/12 12:02:53 [DEBUG] mkdir /home/hibiki/.afx
2022/06/12 12:02:53 [DEBUG] mkdir /home/hibiki/bin
2022/06/12 12:02:53 [INFO] state additions: (0) []string(nil)
2022/06/12 12:02:53 [INFO] state deletions: (0) []string(nil)
2022/06/12 12:02:53 [INFO] state changes: (0) []string(nil)
2022/06/12 12:02:53 [INFO] state unchanges: (0) []string{...skip...}
No packages to install
2022/06/12 12:02:53 [DEBUG] checking updates on afx repo...
2022/06/12 12:02:53 [INFO] root command execution finished

WHY
(Write the background of this issue)

@b4b4r07 Is there any update on this?


Fix DBInstance constraints in order to allow the creation of RDS read-only replicas

Based on (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-sourcedbinstanceidentifier) BackupRetentionPeriod, DBName, MasterUsername, MasterUserPassword, PreferredBackupWindow, MultiAZ and DBSnapshotIdentifier can't be present when SourceDBInstanceIdentifier is specified.
Although CloudFormation validator doesn't fail, manual tests have proven that DBSubnetGroupName can't be present if SourceDBInstanceIdentifier is specified.
I've successfully deployed several read-replicas using this code.

Awesome...thanks.


Resize desktop add to team dropdown

Go from this:

To this:

The fix was to remove a hardcoded width of 270 from the dropdown component's styling. I'm unsure if this will affect anything else, though, so please let me know if you know where the 270 came from.

Ok! I think we're using the Dropdown component in 5 places across the app:

When selecting a team to assign a team git repo to
When a user is selecting one of multiple accounts when logging in
When a user is adjusting another user's permissions on a team by adding them via the teams pane by username
When a user is adjusting another user's permissions on a team by adding them via the teams pane by email
When a user is adjusting another user's permissions on a team by adding them via the people pane

3 was the page that got the bug initially reported, but I think it's fair to say 4 and 5 are also instances of the same bug. Currently, they look like this (in order of 3, 4, 5):

This fix will cause them to look like:

Note that there are some margin and wording differences between 3 and 4; I'd like to file a separate ticket to deal with those inconsistencies.
Technically, this fix turned out to be a little more complicated than I originally thought. The line I changed in my first commit was the crux of the issue, but merely adding a style prop to the affected Dropdowns caused an error due to the width of 270px being set in the ButtonBox component as opposed to the parent Box component that was receiving the style prop. The solution was to move the default 270 up, then override it if a different width is given. The ButtonBox is then set to the same width as Box.

@keybase/react-hackers

In mobile, we use the Dropdown component a little less than on desktop; of the 5 uses I mentioned above, only 2, 3, and 5 exist in mobile. Here are how they look currently (in order):

Of these three, I think only 3 is excessively long on mobile? Here's how it'll look with the mobile fixes:

@cecileboucheron you ok with this short term. i know we have a different design ultimately but this is likely better than what we have now

LGTM


[CELEBORN-1444] Introduce worker decommission metrics

What changes were proposed in this pull request?
Introduce worker decommission metrics
Why are the changes needed?
In a production environment, due to certain hardware or environmental reasons, our script will automatically decommission the node. At this time, we need to distinguish between graceful shutdown nodes and decommissioned nodes.
If we distinguish shutdown worker and decommission worker metrics, we can achieve better operation and maintenance.
Does this PR introduce any user-facing change?
Yes.
How was this patch tested?
Existing UTs.

@SteNicholas  @AngersZhuuuu  Can you help review?

Seems flaky test.

@AngersZhuuuu  @RexXiong  @SteNicholas  Can you help review?

@leixm, please update the title and description of this pull request including the introduced REST API.

@SteNicholas  Can you help review?

cc @SteNicholas @RexXiong


Force JNI initialization when IOUringEventLoopGroup is loaded

Motivation:
We need to ensure we force the JNI initialization when the
IOUringEventLoopGroup is loaded. Otherwise things will fail if we didnt
do it outself.
Modifications:
Call IOUring to force JNI init.
Result:
Fixes https://github.com/netty/netty-incubator-transport-io_uring/issues/47

/cc @1Jo1


"FindDomNode warning with react strict mode when" using showMonthDropdown and showYearDropdown

I get this error "FindDomNode warning with react strict mode" when using showMonthDropdown and showYearDropdown
To Reproduce:

install version '4.16.0'
set showMonthDropdown option
Open datepicker and click on the month dropdown

Desktop:

OS: Windows 10
Browser: chrome 116
React version: 18.2.0
Date picker version: 4.16.0

Any updates on this?
Seems to be related to onclickoutside component based on this: https://stackoverflow.com/questions/71989683/finddomnode-is-deprecated-in-strictmode-using-react-datepicker-with-react-hook

Facing same issue

Have you updated to the latest version?

I tried, but with version 6.3.0 I get error
./node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.mjs
Can't import the named export 'startOfWeek' from non EcmaScript module (only default export is available)
so I downgraded to version 4.0.0

Still happening (v6.9.0):
chunk-UJBO7CMO.js?v=d7dedde6:521 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of YearDropdownOptions2 which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node     at div     at YearDropdownOptions2 (http://<IP_ADDRESS>:3000/zoobenthos/node_modules/.vite/deps/react-datepicker.js?v=d7dedde6:6261:5)     at onClickOutside (http://<IP_ADDRESS>:3000/zoobenthos/node_modules/.vite/deps/react-datepicker.js?v=d7dedde6:4074:26)     at div     at YearDropdown2 (http://<IP_ADDRESS>:3000/zoobenthos/node_modules/.vite/deps/react-datepicker.js?v=d7dedde6:6360:5)     at div     at div     at div     at div     at CalendarContainer (http://<IP_ADDRESS>:3000/zoobenthos/node_modules/.vite/deps/react-datepicker.js?v=d7dedde6:8245:36)     at div     at Calendar2 (http://<IP_ADDRESS>:3000/zoobenthos/node_modules/.vite/deps/react-datepicker.js?v=d7dedde6:8265:5)     at onClickOutside (http://<IP_ADDRESS>:3000/zoobenthos/node_modules/.vite/deps/react-datepicker.js?v=d7dedde6:4074:26)     at div     at div     at TabLoop2 (http://<IP_ADDRESS>:3000/zoobenthos/node_modules/.vite/deps/react-datepicker.js?v=d7dedde6:9022:5)     at PopperComponent2 (http://<IP_ADDRESS>:3000/zoobenthos/node_modules/.vite/deps/react-datepicker.js?v=d7dedde6:9095:5)     at WithFloating2 (http://<IP_ADDRESS>:3000/zoobenthos/node_modules/.vite/deps/react-datepicker.js?v=d7dedde6:9070:30)     at DatePicker2 (http://<IP_ADDRESS>:3000/zoobenthos/node_modules/.vite/deps/react-datepicker.js?v=d7dedde6:9164:5)

This is happening because of https://github.com/Pomax/react-onclickoutside/issues/369

There may be alternative packages that could solve the same use case which may be better maintained. Feel free to open a PR. cc @yuki0410-dev @balajis-qb

https://github.com/Hacker0x01/react-datepicker/issues/4605


luci-app-statistics: Missing collectd module dependencies in downloads.openwrt.org package list

Steps to reproduce:

Install package luci-app-statistics on a fresh instance of OpenWrt 23.05.x from the OpenWrt repo (https://downloads.openwrt.org/releases/23.05.x/packages/<arch>/luci, which points to https://downloads.openwrt.org/releases/packages-23.05/<arch>/luci).
Go to [LuCI > Statistics > Setup > Network plugins], enable and configure the Conntrack and DNS plugins. Save & Apply changes.

Actual behavior:
Watch the logs (logread) and see that collectd repeatedly fails to start due to the absence of the dns and conntrack modules:
<timestamp> daemon.err collectd[<num>]: configfile: stat (/etc/collectd/conf.d/*.conf) failed: No such file or directory
<timestamp> daemon.err collectd[<num>]: plugin_load: Could not find plugin "conntrack" in /usr/lib/collectd
<timestamp> daemon.err collectd[<num>]: plugin_load: plugin "cpu" successfully loaded.
<timestamp> daemon.err collectd[<num>]: plugin_load: Could not find plugin "dns" in /usr/lib/collectd
<timestamp> daemon.err collectd[<num>]: There is configuration for the `dns' plugin, but the plugin isn't loaded. Please check your configuration.
<timestamp> daemon.err collectd[<num>]: plugin_load: plugin "interface" successfully loaded.
<timestamp> daemon.err collectd[<num>]: plugin_load: plugin "load" successfully loaded.
<timestamp> daemon.err collectd[<num>]: plugin_load: plugin "memory" successfully loaded.
<timestamp> daemon.err collectd[<num>]: plugin_load: plugin "rrdtool" successfully loaded.
<timestamp> daemon.err collectd[<num>]: Error: Parsing the config file failed!

To fix this, the missing modules must be manually installed via the packages collectd-mod-conntrack and collectd-mod-dns.
Expected behavior:
The LuCI app should work as configured immediately after installing just the luci-app-statistics package; collectd should start successfully without any additional configuration.
Proposed fix
The packages collectd-mod-conntrack and collectd-mod-dns should be added as dependencies of luci-app-statistics, just like other necessary collectd modules currently are (namely: rrdtool, iwinfo, cpu, memory, interface, network).
Additional Information:
OpenWrt version information from system /etc/openwrt_release:
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='23.05.4'
DISTRIB_REVISION='r24012-d8dd03c46f'
DISTRIB_TARGET='lantiq/xway'
DISTRIB_ARCH='mips_24kc'
DISTRIB_DESCRIPTION='OpenWrt 23.05.4 r24012-d8dd03c46f'
DISTRIB_TAINTS=''

Did you upgrade with existing config file? I am guessing it is failing because you installed and configured these in the past. I get the same myself (for different mods). I think what we could use is the UI showing which ones are missing/preventing it from starting. I dont think we can add the dependencies for everybody.

Completely fresh install (my device was running out of RAM during sysupgrade, so I had to re-flash from stock). I don't remember if I had to manually install these when I was on 23.05.2 (which is what I upgraded from), but I expect so seeing as the package lists are one and the same.
Given that the LuCI app's features explicitly depend on the presence of these modules in order to function correctly, what would be the rationale for not including them?

There are dozens of possible collectd modules, which each may have X MB of dependencies. So, having somebody to accidentally turn on the one optional stat in LuCI stats config should not cause major installations.
So, WONTFIX.

@hnyman Only certain modules are required by the LuCI app, not all of them. Why are some of these required modules listed as dependencies of luci-app-statistics, but not others?

Those are the (small) dependencies for the default plugin selection.

As I mentioned, we could add to the luci app that it will show what dependencies to install instead of a user having to look in the log file (which I always end up doing after an upgrade)


Is it possible to get confirmation that GROBID is calling CrossRef properly (and politely)?

Hi, I am performing TEI extraction with reference consolidation via CrossRef with dockerized GROBID, also adding my email address as in https://github.com/kermitt2/grobid/issues/634.
From the GROBID response or logs, is it possible somehow to:

Verify that the mailto value in grobid-home/config/grobid.properties has been correctly received by CrossRef?

If CrossRef is unreachable somehow (e.g. network failure, or CrossRef being momentarily down), it seems that GROBID will give me a 200 OK anyway, and info about the consolidation error is not given in the output TEI. Am I wrong on this? If that's the case, is there way to detect consolidation failure, aside watching in the logs for things like
INFO  [2020-09-08 03:22:20,456] org.grobid.core.utilities.Consolidation: Consolidation service returns error (-1)

Thanks!

Hi @kermitt2, is there any workaround/suggestion you have to check if consolidation is happening (my point 2 above)? That would do for me until this issue is closed :) thanks!


Failed to Load DSO: /usr/local/unimrcp/plugin/umsgovivacesr.so: undefined symbol: def_log_source

Hi ALL,
I am facing the issue while loading the govivace plugin kindly help me
2020-02-19 16:25:16:343563 [INFO] Load Plugin [GoVivace-SR-1 [/usr/local/unimrcp/plugin/umsgovivacesr.so]
2020-02-19 16:25:16:345433 [WARN] Failed to Load DSO: /usr/local/unimrcp/plugin/umsgovivacesr.so: undefined symbol: def_log_source

The response is posted here.


SQLite driver support for CLOBs and BLOBs

Dear all, first of all thanks a lot for your efforts in the development of this driver.
I need to use it in a system in which it is mandatory to provide support for CLOBs and BLOBs data types.
I was wondering if you have any plans for supporting them and eventually what are the timescales.
Thanks a lot in advance,
Andrea

+1

AFAIK this should work.  Can you provide a unit test which demonstrates what you think may be missing?


Fix broken storybook link

Describe your changes here.
Closes # (type the issue number after # if applicable; otherwise remove this line)
Screenshots
Please provide before/after screenshots for any visual changes
Merge checklist

[ ] Added/updated tests
[ ] Added/updated documentation
[ ] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

Hi 👋🏼 Thanks for bringing this to our attention. This PR should take care of all broken links

Closing this as fixed in https://github.com/primer/react/pull/2507 and https://github.com/primer/react/pull/2531


Aggregation not working with MongoDB

I am using Kundera with MongoDB here is example
& I am trying to give Query
String minQuery = "Select min(p.price) from Product p";
Query query = em.createQuery(minQuery);
Double output = query.getResultList().get(0);
I am getting error
Product cannot be casted to Double
what is I am missing ??

Hi @rockingA
Have you added <property name="kundera.indexer.class" value="com.impetus.client.es.index.ESIndexer"/> property in your persistence.xml and @IndexCollection(columns = { @com.impetus.kundera.index.Index(name = "price") }) on Product entity?
-Dev

Hi @devender-yadav ,
Thanks for your reply, I am facing 2 issues

while selecting specific attributes in JPQL Query, it should return Object[]
TypedQuery<Object[]> query = entityManager.createQuery(queryString, Object[].class)

But this returns Actual Object which is Product.

I am dynamically creating two types of queries, Aggregate Query & select query with specific attributes

@Override
public Object getTransactionAggregationOverDateRange(AggregateStrategy aggregationStrategy, String aggregateOn, String whereClause, Map<String, Object> valuesMap, Date startDate, Date endDate, String tenantId, EntityManager entityManager) {
Double transactions=0.0;
    String queryString = "SELECT " + aggregationStrategy.getFunctionName() + "(e." + aggregateOn + ") FROM Transaction e WHERE e.transactionDate between :startDate and :endDate";
    if (null != whereClause) {
        queryString += " and " + whereClause;
    }
    System.out.println("<MyLOGS : " + queryString);
    Query query = entityManager.createQuery(queryString).setParameter("startDate", startDate).setParameter("endDate", endDate);
    for (Map.Entry<String, Object> dataEntry: valuesMap.entrySet()) {
        System.out.println("<MyLOGS : [DATA_FROM_MAP] => (" + dataEntry.getKey() + ", " + dataEntry.getValue() + ")");
        query.setParameter(dataEntry.getKey(), dataEntry.getValue());
    }

    Object queryResult = query.getSingleResult();
    if (null != queryResult) {
        if (queryResult instanceof Long) {
            transactions = ((Long)queryResult).doubleValue();
        } else if (queryResult instanceof Float) {
            transactions = ((Float)queryResult).doubleValue();
        } else {
            transactions = (double) queryResult;
        }
    }
    return transactions;
}

@Override
public Object[] getTransactiontByAdhocCriteria(String selectClause, String whereClause, Map<String, Object> valuesMap, Date startDate, Date endDate, String tenantId, EntityManager entityManager) {
    String queryString = "SELECT " + selectClause + " FROM Transaction e WHERE e.transactionDate between :startDate and :endDate";
    if (null != whereClause && whereClause.length() > 0) {
        queryString += " and " + whereClause;
    }
    System.out.println("<MyLOGS : " + queryString);
    TypedQuery<Object[]> query = entityManager.createQuery(queryString, Object[].class).setParameter("startDate", startDate).setParameter("endDate", endDate);
    for (Map.Entry<String, Object> dataEntry: valuesMap.entrySet()) {
        System.out.println("<MyLOGS : [DATA_FROM_MAP] => (" + dataEntry.getKey() + ", " + dataEntry.getValue() + ")");
        query.setParameter(dataEntry.getKey(), dataEntry.getValue());
    }
    return query.getResultList().get(0);
}

Both of above works in normal MySQL JPA. It doesn't work in Kundera-Hbase, Kundera-Cassandra, Kundera-MongoDB
In my case I can use any NoSQL DB which supports same JPA implementation

Hi @rockingA,
Aggregation in Kundera is supported in 2 ways:

Using native query
Using Elasticsearch as indexer

If you know how to write a query in NoSQL database, you can go with the 1st option.
For example, in cassandra:
String qry = "Select max(\"AGE\") from \"PERSONCASSANDRA\"";
Query q = entityManager.createNativeQuery(qry);
List persons = q.getResultList();

If you want to use JPQL, go with the 2nd option. You need to add kundera-elastic-search dependency in your project.
<dependency>
    <groupId>com.impetus.kundera.client</groupId>
    <artifactId>kundera-elastic-search</artifactId>
    <version>3.7</version>
</dependency>

Yes, you have to Index every column on which you want to perform aggregation.
Also, as I mentioned above:
Add <property name="kundera.indexer.class" value="com.impetus.client.es.index.ESIndexer"/> property in your persistence.xml and @IndexCollection(columns = { @com.impetus.kundera.index.Index(name = "price") }) on the entity.
-Dev

Hi @devender-yadav ,
Thanks for your reply.
Can you suggest me with JPA based (without writing native query or Using ES) implementation of Mongo / CASSANDRA where Aggregation & selective search is possible

Hi @rockingA,
Without writing native query or Using ES  it's not possible to perform aggregation using Kundera.
-Dev

Hi @devender-yadav ,
Is there any JPA implementations (Other than Kundera) that supports my use-case

Hi @rockingA,
I am not very much aware of other JPA implementors. You can search for Spring Data, Hibernate OGM, etc. (I have not tried these tools myself).
-Dev


Bucklespring Model M sounds

https://github.com/zevv/bucklespring

Marking as good first issue, see #95 & #18 for how to add new sounds.

But these would be great to have by default

I'm not sure about making them default but it is definitely a good idea to have them as a preset!


unrecognized arguments: --cluster

Snakemake version

V8.1.0
Describe the bug

The snakemake installed by Conda cannot submit tasks to the cluster for running using the --cluster parameter.
Logs

Minimal example

snakemake  -j 1000 -s workflow/Snakefile  --use-conda --cluster-config config/cluster.json --cluster "bsub -q normal -o {cluster.output} -e {cluster.error} -n {threads}"
Additional context

There are major chances made since v8. See migration guide. Specifically, the table from that page include how --cluster in < v8 should now be changed to --executor <some params> for >= v8.0. v8 also introduced the plugin system so you'll have to install certain executor plugin separately. I haven't updated to v8, so take above with a grain of salt.
If you'd just like to use something developed for snakemake < v8 without changing how you run the workflow, I think limiting your snakemake version to <8.0 should work.

May I ask how to specify the cluster configuration file? No substitute parameters for --cluster-config after v8.0 were found in migration guide.

Sorry, can't be more helpful. I personally haven't been able to learn about the new system.
For usage questions I think you might get more help on stackoverflow. You could also check if someone has asked about similar questions: https://stackoverflow.com/questions/tagged/snakemake

May I ask how to specify the cluster configuration file? No substitute parameters for --cluster-config after v8.0 were found in migration guide. In addition, the snakemake document (Cluster execution) needs to be updated.

This would be much appreciated. The migration document doesn't seem informative enough to make the transition smooth.

For the people, like me, that end up here searching for solutions after dusting off old Snakemake pipelines, I think this it what you are looking for: https://snakemake.readthedocs.io/en/stable/getting_started/migration.html#id6
Cluster configuration is not supported anymore it says here: https://snakemake.readthedocs.io/en/stable/snakefiles/configuration.html#cluster-configuration-not-supported-anymore (there is a link to more info on Profiles but that is a circular link). I found this information regarding Profiles: https://github.com/snakemake-profiles/doc


Watchdog updates

I went ahead an implemented all traits currently available for the Watchdog Timer from embedded-hal. I initially did this for samd11/samd21 devices, but have since ported the changes to the samd51/same54 as well. I have tested and confirmed functionality on a samd21.
The previous implementation had enumerated the timeout values in milliseconds, but this is not quite correct. The timeout values are actually in clock cycles according to the various datasheets, so I have updated the enumerations to reflect such. I'm not crazy about the current naming for the enum values, but it's not the worst also.
I also worked on improving HAL parity by copying the reset_cause and serial_number functions over to the samd11/samd21, as they were low-hanging fruit. These were tested and confirmed working as well.
Just as a note, this PR introduces breaking API changes.
As usual if you'd like any additional changes made just let me know. I think we could probably pull this all into the common/ module as well, there are only a handful of lines that would require feature gating, so let me know if you'd like that done.

Looks great thanks!


Resource model changes the order of properties

Think about this case:
"experiment": {
  "type": "object",
  "description": "Model that represents a Experiment resource.",
  "allOf": [
    {
      "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource"
    }
  ],
  "properties": {
    "systemData": {
      "description": "The system metadata of the experiment resource.",
      "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
      "readOnly": true
    },
    "identity": {
      "description": "The identity of the experiment resource.",
      "$ref": "./common.json#/definitions/resourceIdentity"
    },
    "properties": {
      "description": "The properties of the experiment resource.",
      "x-ms-client-flatten": true,
      "$ref": "#/definitions/experimentProperties"
    }
  },
  "required": [
    "properties"
  ]
}

identity is in front of properties.
Transform it into TypeSpec:
model Experiment
  is Azure.ResourceManager.TrackedResource<ExperimentProperties, false> {
  ...ResourceNameParameter<
    Resource = Experiment,
    KeyName = "experimentName",
    SegmentName = "experiments",
    NamePattern = "^[^<>%&:?#/\\\\]+$"
  >;
  ...Azure.ResourceManager.ManagedServiceIdentityProperty;
}

identity goes after properties.
Change the order of properties is breaking change in .net SDK.
Though we might somehow do customization to mitigate,

It looks so common. We don't want to do so many customizations.
If there is a new property added in XXXProperties (in this case, customer does add a new property to ExperimentProperties), it would be a disaster to mitigate.
Further, if identity is type of string, experimentProperties contains xxx: string. the order changes from (string identity, string xxx) to (string xxx, string identity). There is no solution to customize.

If the order of properties is a critical issue, then the template is not required for this scenario:
model Experiment extends Core.TrackedResource {
  ...ResourceNameParameter<
    Resource = Experiment,
    KeyName = "experimentName",
    SegmentName = "experiments",
    NamePattern = "^[^<>%&:?#/\\\\]+$"
  >;
 properties?: ExperimentProperties;
  ...Azure.ResourceManager.ManagedServiceIdentityProperty;
}

Using a template is not required.

@markcowl After making this change, I am getting the following error:
No @armResource registration found for type Experiment
Also, which core library is this TrackedResource model in? I was able to find it in Azure.ResourceManager.Foundations but not Azure.Core.

More specifically for this case, you should do
/**
 * Model that represents a Experiment resource.
 */
@Azure.ResourceManager.Private.armResourceInternal(ExperimentProperties)
@includeInapplicableMetadataInPayload(false)
model Experiment extends Foundations.TrackedResource {
  ...ResourceNameParameter<
    Resource = Experiment,
    KeyName = "experimentName",
    SegmentName = "experiments",
    NamePattern = "^[^<>%&:?#/\\\\]+$"
  >;
  ...Azure.ResourceManager.ManagedServiceIdentityProperty;

  @doc("The resource-specific properties for this resource.")
  @Azure.ResourceManager.Private.conditionalClientFlatten
  @Azure.ResourceManager.Private.armResourcePropertiesOptionality(false)
  properties?: ExperimentProperties;
}

Then suppress all the warnings because of the private decorators.


Creating a top-level testing node.

Moving Fundamentals/Testing to Testing/Unit Testing
Creating placeholder for Integration Testing
@danroth27

:shipit:


Chain setup in CLI are not injected in hardhat config network

Chain activated and with valid RPC url + private key or mnemonic should be injected in hardhat config network

This has been included in #19


Purging/trimming old log lines

Is your feature request related to a problem? Please describe.
When you have a long-running application, the controls will eventually fill up with information - there is currently no feature that allows to keep a maximum of n lines, rows, etc..
Describe the solution you'd like
It would be nice to have an auto-purge feature that keeps the memory footprint under control (i.e., a maximum number of rows in a grid, or lines/bytes in a textbox).
Describe alternatives you've considered
The alternative is manipulating the inner object directly, which at least in the case of your grid, requires accessing a private field.

I think it will be nice to have this functionality i ll make code changes soon :)


Fix: OOB - Handling of minor versions

Signed-off-by: Shaanjot Gill<EMAIL_ADDRESS>
resolve #1917
Fixes the following error:

File "/home/indy/.venv/lib/python3.6/site-packages/aries_cloudagent/utils/classloader.py", line 97, in load_class
   |     if "." in class_name:
   | TypeError: argument of type 'NoneType' is not iterable

Working on adding minor changes for adding OOB 1.1 and a mechanism for ACA-Py to respond with the same supported version, basically, handshake-reuse-accepted 1.1 for handshake-reuse 1.1 and handshake-reuse-accepted 1.0 for handshake-reuse 1.0.

@swcurran As discussed, the problem reports [version-with-degraded-features, fields-ignored-due-to-version-mismatch] as specified in RFC0003 have been implemented but commented out.

@WadeBarnes -- looks like the SonarCloud config is processing test code again.  Could you please take a look at that?
Do we need to be concerned about the 4 relevant code smells?  The complexity of the version checking code (I assume that is just the way it is) and the raising of the exceptions.  All good with those?
The unused variables in the test code and the commented out code are fine/intended, I'm sure.
Thanks

I believe CircleCI test failing is related to their ongoing security situation.

@WadeBarnes --- is there a way other than pushing another commit to trigger a re-execution of Circle/CI when things like this happen?  I hadn't heard about the Circle/CI issues -- any update on that?  Should we take the plunge here and switch to another tool?


Encoding record with 1 field doesn't work

record Config where
  constructor MkConfig
  test: String

Encoding MkConfig "test1" produces the string "test1" instead of the object {"test" : "test1"}

This is expected behavior as it reflects the representation of such a record at runtime. However, I think this should be customizable via JSON.Option.Options. I'll look into it.

Hi @raders ! With the latest version of idris2-json, you can set unwrapRecords to False to get the most verbose expansion of the record, and set sum to UntaggedValue so that you only keep the "value" (which is the pair you want).
module Main

import Hedgehog
import JSON.Derive

%language ElabReflection

record Config where
  constructor MkConfig
  test: String

%runElab derive "Config" [Show,Eq,(customToJSON $ {sum:=UntaggedValue, unwrapRecords:=False} defaultOptions),(customFromJSON $ {sum:=UntaggedValue, unwrapRecords:=False} defaultOptions)]

main : IO ()
main = test . pure $ MkGroup "Maelstrom" [("#22", property $ encode (MkConfig "test1") ===  #"{"test":"test1"}"#)]

Looks good. Thank you!

I'm closing this as it seems this is now resolved.


mysql adapter

overview
implement a mysql adapter using knex template
tasks

[ ] add model choice
[ ] add model choice dependencies
[ ] add model templates
[ ] test that it works

closed by #61


Video orientation changes to horizontal after transcoding

After transcoding the video orientation changes to horizontal. Even when the original video is in vertical/portrait mode.

I have the same question,can someone answer this?

Check the RotateEffect!

I commented the line below in class VideoFormatAndroid
https://github.com/INDExOS/media-for-mobile/blob/master/android/src/main/java/org/m4m/android/VideoFormatAndroid.java#L49
It seems to solve the rotation problem for Android 5.0 and above whereas the
Problem persist for lower versions such as 4.3 and 4.4 for camera recorded videos

Is there a way the rotateEffect could be use to resolve this???

I solved this by doing the following.
When loading the Uri I get the rotation of the image like so:
MediaFileInfo mediaFileInfo = new org.m4m.MediaFileInfo(new AndroidMediaObjectFactory(context)); mediaFileInfo.setUri(videoUri); mRotation = mediaFileInfo.getRotation();
Then when configuring the video encoder I apply the rotation if necessary
if(mRotation != 0) {             mMediaComposer.addVideoEffect(new VideoEffect(mRotation, mFactory.getEglUtil()));         }

Rotation effect doesn't make video vertical. The picture is vertical but the video is horizontal with black spaces on the right and left.


Convert style1 to patternfly in chargeback

Parent issue: #3139
Convert style1 tables into patternfly in chargeback views
Before:

After:

Before:

After:

@epwinchell can you read this please?

@dclarizio Looks good


arr_macro_impl should include a LICENSE file

The terms of Apache require that a LICENSE file be included with distributions of source. Can you add a LICENSE under the impl/ folder and push a new version to crates.io?
(please and thank you :smile: )

Thanks for pointing this out. It has been corrected in version 0.1.1.


tomcat-redisson session expiration for active session on another server

Expected behavior
When a session is present on multiple tomcat servers, it should not expire and be removed from redis until the last accessed time in redis is old enough to be considered expired
Actual behavior
the last accessed time in memory on each server is checked, and if any of them are old enough, the session is deleted from redis
Steps to reproduce or test case
So we've run into a different issue around expiring sessions.
The scenario where we ran into this problem was with readMode=Redis and broadcast mode off, but it may exist with it on also.
user interacts with server 1
network partition/round robin loadbalancing makes a the next request to server 2 for a short period of time
user interacts with server 1 again (partition over or dynamic load balancing)
user's in memory session on server 2 will expire prior to their actual session expiration since the last access time in memory on server2 is older than server1 or in redis itself.
server 2 expires the session which triggers a delete call, removing the session from redis, even if they were still active on server 1
our tests, which have diverged a little from master looks along the lines of:
// Session starts on server 1
    write(server1, "test", "1");
    // Access session from server 2
    read(server2, "test", "1");
    // Access session from server 1
    read(server1, "test", "1");

    // Local sessions were created on both servers
    Assert.assertEquals(2, TestHttpSessionListener.CREATED_INVOCATION_COUNTER.get());

    // Keep session alive past timeout interval on server 1 only
    for (int i=0; i < 25; i++) {
      Thread.sleep(3_000);
      read(server1, "test", "1");
    }

    // Local sessions were not allowed to expire on any servers since session was still active in redis
    Assert.assertEquals(0, TestHttpSessionListener.DESTROYED_INVOCATION_COUNTER.get());

    // Idle past the timeout so the sessions all actually expire
    Thread.sleep(75_000);

    // Local sessions were expired and were destroyed
    Assert.assertEquals(2, TestHttpSessionListener.DESTROYED_INVOCATION_COUNTER.get());

    // Access session from server 1 after timeout...attribute is gone
    read(server1, "test", "null");

we patched this by overriding
RedissonSession.isValid
@Override
  public boolean isValid() {

    if (!this.isValid) {
      return false;
    }

    if (this.expiring) {
      return true;
    }

    if (ACTIVITY_CHECK && accessCount.get() > 0) {
      return true;
    }

    if (maxInactiveInterval > 0) {
      if (isSessionTimeout()) {
        LOG.log(Level.FINE,"Possible timeout detected for session {0} last access time = {1}", new Object[]{id, lastAccessedTime});
        try {
          // If we timeout with the local lastAccessTime, resynch the local metadata from redis and check again
          reloadSessionMetadata();
          LOG.log(Level.FINE,"Reloaded session metadata from redis for session {0} last access time = {1}", new Object[]{id, lastAccessedTime});
          if (isSessionTimeout()) {
            LOG.log(Level.FINE,"Session {0} has timed out", id);
            expire(true);
          } else {
            LOG.log(Level.FINE,"Session {0} is still active in redis", id);
          }
        } catch (Exception e) {
          LOG.log(Level.FINE,"Unable to reload session metadata from redis for session {0} to validate access time...cancelling timeout", id);
        }
      }
    }

    return this.isValid;
  }

  private void reloadSessionMetadata() {
    load(((RedissonSessionManager)getManager()).getMap(id).getAll(RedissonSession.ATTRS));
  }

so before we expire any session, we make sure that the last accessed time is accurate.
Redis version
Redisson version
3.14.4
Redisson configuration
readMode=REDIS
updateMode=AFTER_REQUEST

Fixed. Thanks for report! for Tomcat 8+ getIdleTimeInternal() should be overridden instead since it used in different Tomcat classes.


Your webhook for orders/create failing to return a successful response.

There is webhook error when I try to upload my app to the Shopify store
I don't want this webhook so I comment those code but still getting an error like this

@JDSHINDE can your webserver user write to storage/framework/cache and storage/framework/sessions and storage/framework/views and all subdirectories?
What error code do you get? a 500?

@darrynten I see my api_scopes have read orders permission in Shopify-app.php but I didn't use webhooks for create/order, is that problem related with this issue?
'api_scopes' => env('SHOPIFY_API_SCOPES', 'read_products, read_orders ,read_script_tags, write_script_tags')

@JDSHINDE can your webserver user write to storage/framework/cache and storage/framework/sessions and storage/framework/views and all subdirectories in those 3 folders?
What error code do you get? a 500?

yes, my webserver writes in these folders. I see more files in that folders

Whats in your config for shopify-app.php

@JDSHINDE what response is your webserver sending, specifically, which response code? Can you paste from /var/log/apache/access.log or similar?

@ohmybrew as i mentioned above there is only
'api_scopes' => env('SHOPIFY_API_SCOPES', 'read_products, read_orders ,read_script_tags, write_script_tags')
and i only disabled my order/create webhooks.

@darrynten i just check my laravel log file and here is some response like
[2018-07-25 11:48:25] local.ERROR: Class 'OhMyBrew\ShopifyApp\ShopifyAppProvider' not found {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Class 'OhMyBrew\ShopifyApp\ShopifyAppProvider' not found at /home/190178.cloudwaysapps.com/qqfgfwmnbh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:208)
[stacktrace]
#0 /home/190178.cloudwaysapps.com/qqfgfwmnbh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(144): Illuminate\Foundation\ProviderRepository->createProvider('OhMyBrew\\Shopif...')
#1 /home/190178.cloudwaysapps.com/qqfgfwmnbh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(61): Illuminate\Foundation\ProviderRepository->compileManifest(Array)
#2 /home/190178.cloudwaysapps.com/qqfgfwmnbh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(561): Illuminate\Foundation\ProviderRepository->load(Array)
#3 /home/190178.cloudwaysapps.com/qqfgfwmnbh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\Foundation\Application->registerConfiguredProviders()
#4 /home/190178.cloudwaysapps.com/qqfgfwmnbh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(213): Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap(Object(Illuminate\Foundation\Application))
#5 /home/190178.cloudwaysapps.com/qqfgfwmnbh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(162): Illuminate\Foundation\Application->bootstrapWith(Array)
#6 /home/190178.cloudwaysapps.com/qqfgfwmnbh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(146): Illuminate\Foundation\Http\Kernel->bootstrap()
#7 /home/190178.cloudwaysapps.com/qqfgfwmnbh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#8 /home/190178.cloudwaysapps.com/qqfgfwmnbh/public_html/public/index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#9 {main}
"}

Have you done a composer dump-autoload?

@darrynten i did but not work. can you explain me why this webhook sending request because i already comment this webhook in my shopify-app.php config and also i didn't send any API scope which is related to that webhook.

What information have you configured in your .env file (only relevant information, do not post the entire file as it is sensitive).
If you have configured scopes in the .env file (or any other env options) it will always override any hardcoded scopes in your config file.
Also try removing the vendor folder completely and doing a fresh composer install and restart your web server.

Closing for now, please reopen if issue remains.


Having trouble getting packages installed for plugins to use

I have a plugin that uses the package msgraph-sdk. The plugin works fine when this dependency is removed and output hardcoded.
I am running taskweaver with this syntax:
python -m taskweaver -p ./project/

To try and get the package installed I have added msgraph-sdk to the requirements.txt file and rebuilt the docker image:
powershell build_executor.ps1
During the build I know this package is being installed from the logs, but when I run taskweaver it is not installed because the plug fails to load, and asking taskweaver if it is installed returns that it is not.
What is the correct way to get a package installed for a plugin to reference?
Environment Information (please complete the following information):

OS: Windows
Python Version: 3.10
LLM that you're using: GPT-3.5

Ahh OK, it's because the command python -m taskweaver -p ./project/  is re-downloading the image and overwriting the latest.
So it seems the best practice is to run the rebuilt docker image directly?

OK, for the next person that has this problem. The help directions to pip install something are not useful, because the command line python -m taskweaver -p ./project/ seems to always use the default docker image, even if you rebuild the ces image.
So to get around this I had to build the taskweaver-all-in-one image, but since on windows had to first convert the line endings to LF from CRLF in the entrypoint.sh file in the all_in_one_container folder before building it.
Summarized:

Convert line endings to LF from CRLF in TaskWeaver\docker\all_in_one_container\entrypoint.sh
Build docker image using TaskWeaver\scripts\build_all_in_one.ps1
Run the docker image per the commands documented well here


ActionLibrary: cache ActionInfo lists offline

ActionLibrary already caches its own data, but DialogueRunner forces a refresh anyway. All I need to do here is stop DialoguRunner from calling refresh if we're not in editor. https://docs.godotengine.org/en/stable/tutorials/plugins/running_code_in_the_editor.html


Responsiveness problem with the carousel

If you navigate back the carousel (no_wrap has to be false) the click event on the carousel item is being prevented. It happens becausethe center parameter is negative and it is being subtracted from here:
 var diff =  (center%count) - clickedIndex; //This is in the carousel's click function

this results in a negative diff (not equal 0) which causes the click event to be canceled. I managed to fix it by changing the line referenced above to:
var diff = Math.abs(center % count < 0?center % count + count:center%count) - clickedIndex;

I don't have time to setup a developing environment and submit a pull request addressing this issue, that's why i post it here

I'm not sure exactly what bug you are talking about. There are multiple places where diff is calculated and it is crucial in some places where it should be negative.
From trying to reproduce this issue I did find a bug where when you clicked on an indicator it would also trigger the click event. I've stopped propagating the event so this did fix some issues with indicators if this is the issue you are talking about. Fixed in ec8226b.
If you are experiencing a different issue can you try describing it in more detail or providing a codepen to help reproduce it.

Well, maybe my explanation wasn't clear enough. What you need to do to reproduce the bug is:

Setup a non-fullwitdh carousel that's wrapping around
After it loads click any of the items on the left side of the first item
The carousel will scroll through to that item and every click event on that item will be prevented (event.preventDefault)

I can't seem to reproduce this. What browser / OS are you using?

Windows 7 and Google Chrome. Maybe it's caused by what I put in as the carousel items. I used the cards that reveal more content from your library

I can record me reproducing the bug, but only with my phone so the quality won't be perfect

Can you post a codepen recreating the carousel?

Sure, I just dont have a URL to link it there

Nvm, I found it on your page

There you go. If you click on the image on the left the card wont go up. Put if you go to the  right and do a full circle the same exact image will now respond showing the card info.

Any updates about this issue?

I can reproduce the issue (Mac OSX 10.11.6 with Chrome v55.0.2883.95)

I have the same issue on Mac OSX 10.11.6 with Chrome v56.0.2924.87 (64-bit), Firefox Developer 53.0a2 (2017-02-09) (64-bit), Safari Version 10.0.3 (116<IP_ADDRESS>.1).

Is anyone able to reproduce this on the new versions? It works for me (Windows 10 Chrome, Firefox)

@NonameSLdev also is working here in chrome, linux

Closed due inactivity, feel free to reopen it if it is still necessary.


LastExitCode Check Reports Failure When Install Was Actually Successful

I think this is because $LASTEXITCODE is actually $null and not 0:

Will submit a PR to check for $null or 0.

Glad I could help with a PR. :)


Integrate Lighthouse CI

Description
Lighthouse is an open-source, automated tool for improving the quality of web pages. You can run it against any web page, public or requiring authentication. It has audits for performance, accessibility, progressive web apps, SEO, and more.
Lighthouse CI is a suite of tools that make continuously running, saving, retrieving, and asserting against Lighthouse results as easy as possible.

Reference: https://github.com/GoogleChrome/lighthouse-ci

@oleg-nenashev Can I work on this?

@christian-kreuzberger-dtx I have updated the description.

I am definitely interested in having this reporting for the website. Not 100% sure about having it as a part of the CI flow, but I see no problem with trying it out

stale


"Realistic" blood powered "Hydraulic" "Limbs" for Arachnids

About the PR

This PR makes it so when arachnids lose blood, it impacts their overall speed.
Why / Balance

Arachnids lack enough downsides, and are currently just an upgrade to humans. This should help resolve that.
Technical details

Adds a simple "SlowdownOnBloodlossSystem" and "SlowdownOnBloodlossComponent". Should be predicted, although I'm not sure. This shouldn't break too much overall I think.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

https://github.com/space-wizards/space-station-14/assets/85175107/4dce28ef-bd83-4db0-8d0a-81fb2b148f14
Breaking changes

Changelog

:cl: PixelTK

add: Arachnids will now slow down when they've lost enough blood.

This is pretty much damage slowdowns which we've had in the past and the lack of prediction makes it feel pretty bad and sluggish to play so I don't think this is a good idea.

This is pretty much damage slowdowns which we've had in the past

This I don't really have a counter to. I guess in some ways yeah it is but there's a few differences here and there. Then again I'm not sure if those differences matter all too much.

i'm not really sure this is a meaningful change that will actually affect balance. Bloodloss is kinda just a thing that exists: it really isn't super important and arachnids don't have particularly interesting interactions with it (i.e. delimbing). Arachnids already have a ton of random powers and numbers tweaks, and I'd like to just see a more unified design rather than tacking on additional balancing levers.


Does this really work ?

I guess not I get all the way to choose option and press either 1or 2 and it says ighack.sh: line 128: cd: /root/ighack/main: No such file or directory
bash: manual.sh: No such file or directory
then I go back and press 6 and enter and it deletes the 6..


Issues

We got some feedback from folks this weekend.
Here are the issues.
From Melissa iOS (two emails)
"I have some feedback to provide about my application using experience:
At 120 on Sunday, showing no trolleys being tracked."
and
"I have some feedback to provide about my application using experience:
It appears trolley 2 has been stopped at heritage green for an hour. Not sure if it is broken down or a glitch in the tracking."
And one from Will (iOS)
"I have some feedback to provide about my application using experience:
Standing at river and main/Augusta and watching the icons move and trolley has not passed us. "

Re "Standing at river and main/Augusta and watching the icons move and trolley has not passed us"
The ghostly trolley icon passing by might be similar to the the hyperspeed we've seen at startup.    I have managed to reproduce the condition locally with the following steps:

Beacon running
Enable a firewall to the server.
Now the Beacon "Log" screen stops updating, but the GPS continues to acquire data at the previous rate.   Server requests take one to several minutes to time out because of the firewall.   This is the same condition as would be seen locally if the mobile Internet connection was not working.
Open the firewall.
All the queued location requests suddenly come through at once.   Locally, each request completes in about 150 mSec.   This can be seen in the time stamps on the screen capture.

The good news is that now it should be possible to fix this by detecting and avoid queued reports
.   The bad news is that it means that the mobile Internet connection is not as reliable as it should be.

I got a chance to see one of the problems on the trolley that is running (the other driver had a family emergency, and it's not running tonight).
I watched it as it started OK in the Greenlink lot, but by some point during the first route pass it had stopped transmitting.    I jumped on at the County Square parking lot and we looked at it.   It took a bit of fiddling because I don't know which are the home / back functions on that tablet.  By the time we got the trolley app up, it was streaming numbers very quickly on the log screen,  then quickly slowed to normal speed.   They were all in the coordinates of the County Square, so I'm not sure if it was Hiper-speed in the app or not.   It appeared that our activity had unfrozen something - but it's not clear whether it was the Internet connectivity that was unfrozen or some app function.  This was on Trolley 6 which we had cleared out all previously memorized WiFi hotspots.

I didn't check the Internet/Wifi first to confirm that it was already working, but my feeling is that it's not likely that our tablet functions could have caused the Internet connection to awaken.  The Internet was working well by the time I checked.
John (the driver) will run a test tomorrow during LunchLink in which he turns on the tablet only, but not bring up the icon.   If someone later tells him to check the tablet, he'll bring up the Trolley from the shortcut and see if that is enough to correct the problem.
Previously after being asked to check the tablet, John has brought up the program via the Trolley icon and that has corrected the problem.

During lunchlink, the system worked with no glitches.   So with the same driver turning it on but getting different results, there is an inconsistency somewhere.
The pursuit of a mobile device with integrated Internet with self-startup appears to be our best bet now for a reliable solution.

:clap:


Fix #195: add versioning to layouts

This PR fixes #195.
What is missing?

[x] UI to adjust version when saving
[x] display Version/Date in UI after loading
[x] some tests

As we are now using the SavedLayout class in the UI (where its not actually "saved" as such) - does it make sense to rename it to something like LayoutFile?

Be aware if we gone change such, the old save files may not be loaded again....
Or, if you build in a "backwards compatible load"... then i say yeah change it

The actual structure of the file will not change - just the name we assign to the structure - it should load just fine. As we're already moving to a different file format this release, it really wouldn't be much of a jump even if we did want to change the format. We could keep the LayoutFileVersion the same as it is right now.

Yeah i noticed... mixed up something else .... sorry

The version of a layout (if present) is displayed in the title of the app and can be changed in the corresponding section at the right.
If an entered value is not valid the value is not changed.

It would be really nice if version was rendered when exporting canvas to png. Below the statistics?

This feels a bit out of scope for this PR and is tracked as issue #332.


kp2-hibp can't connect to hibp site in mono

Attempting to check for breaches in mono fails silently (as most errors in keepass seem to), showing an eternal attempt to connect to server with no visible signs of even a connection attempt through either netstat or wireshark. Checking based on site/service shows the bar just striping eternally and checking based on username shows an empty progress bar. In both cases the cancel button is unusable, but the checking window can be closed just fine. No other plugins show signs of having any issue with connections.

Keepass 2.38, kp2-hibp <IP_ADDRESS> (mono dll version), mono <IP_ADDRESS>

Closing this issue, I caused my own problem. Apparently in testing various plugin bugs, I forgot to restore Newtonsoft.Json.dll to my plugin directory. After putting it back, everything works fine.


US6050 - Feature/merge kares thread safety

@sfgeorge

Looks great, thank you :+1:
@ajayanty Can you merge this for us?

This has been merged into cloudvox:develop-dialogtech


Linux mint 18 64-bit  installation issue, With latest git code issue in code:debuild -uc -us

I have followed all the steps in https://github.com/texane/stlink/blob/master/doc/compiling.md
installed all the required dependencies. please guide me how to compile  it fails after debuild -uc -us
Output:
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package libstlink
dpkg-buildpackage: source version 1.2.1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Andrew 'Necromant' Andrianov<EMAIL_ADDRESS> dpkg-source --before-build stlink
dpkg-buildpackage: host architecture amd64
dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 9)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc failed

Hi @vallab I have edited your content of the issue. If you read the error message correctly you need to install debhelper (https://packages.debian.org/jessie/debhelper).
It should be added to the documentation (for debian based distros).

Thanks xor-gate it compiled

Great, I need to add this to the documentation before v1.3.0 (reopening so I dont forget).


fix readme

@edunogodz: Do you wanna reopen this pull request and add your name to contributors list?


Enhancement: add option to read input and output files from argv

...to use it on iOS via Pyto

OK. Note there are already arguments than can be supplied - to do things like setting variables. So I’d need a syntax synopsis.

maybe this can be solved in Pyto if I master the Pipes in Python without the subprocess module

Do you want to do this one? If so please create a branch to work on.

Yep sure.
It seems not so complex. Only hacked not tested "jet" :wink:
for work in progress see https://github.com/42sol-ey/mdepre main branch

That fork seems to have disappeared.

Looking at this again I could imagine -i inputFile and -o outputFile extensions to arguments. Wouldn't be hard to do.


[hotfix] fix flink-sql-parser compile error

What is the purpose of the change
Fix the flink-sql-parser compile error, before this patch, the CRON build throws error:
Could not find goal 'regex-property' in plugin org.codehaus.mojo:build-helper-maven-plugin:1.5 among available goals reserve-network-port, parse-version, maven-version, add-test-resource, add-test-source, add-resource, attach-artifact, add-source, remove-project-artifact
with environment:
compile - scala 2.12
JDK: openjdk8 Java
PROFILE="-Dhadoop.version=2.8.3 -Pinclude-kinesis -Dinclude_hadoop_aws -Dscala-2.12"
Brief change log

remove plugin org.codehaus.mojo:build-helper-maven-plugin

Verifying this change
no tests
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no

@KurtYoung @danny0405 Can you give me an explanation on what the issue was and how this fixes it?

@KurtYoung @danny0405 Can you give me an explanation on what the issue was and how this fixes it?

@zentol It is because the regex-property goal is not configured in the original build-helper-maven-plugin, this goal is only used in the CRON build.
While i recheck the plugins and found that this plugin can be removed now, because we already have javacc-maven-plugin.


The memory macros require a direct link to ogc_sys we should instead point the to $crate::ffi

This would require the memory macros to be feature gated behind ffi.

No we just use cfg-if and not pub export instead pub crate it

Closed with #35


dangerous relocation: call0: call target out of range: system_get_flash_size_map

Instead of compiling the source files every time, I  built a static library for the esp_mqtt. A try to link the library with a user_main function stops at a point with a message
gcc version 4.8.2 (GCC)  ./lib/libesp_mqtt.a(rfinit.o): In functionuser_rf_cal_sector_set':
rfinit.c:(.text+0x5): dangerous relocation: call0: call target out of range: system_get_flash_size_map
Do I have to select different bin file to link to or what ?
`

A couple things:

There is already the means for compiling this repo as a library (though not documented in the readme, i don't blame you for you not knowing about it). You can simply call the esp makefile with target "lib". see this commit 8cf1063d8054268a4720c0d9005fef15a9645a6d
Secondly, it would be good to see more of your compile/linker steps. Specifically your final linker command... possibly makefile snippet

I never had a problem in building the static library. Above message occurred  when I tried linking the lib to an application. But the problem is gone (somehow). Thanks


Add support for MySQL tracker store

I'm gonna close this one in preference to #1061, as these two will probably be quite similar


SSL Certificate Verification Fails For Remote RPC

Using version v3.0.0, SSL certificate verification fails with a base error of ERR_TLS_CERT_ALTNAME_INVALID. This is caused by the default TLS checking code in node trying to verify the hostname on the cert. The chia code itself ignores these checks. From some searching around, adding checkServerIdentity: () => undefined as one of the options for the https rpc agent disables hostname checking

Thanks for reporting.

adding checkServerIdentity: () => undefined as one of the options for the https rpc agent disables hostname checking

Did you actually confirm this?
Skipping server hostname check seems to be insecure, and sounds like the cert/key you used were wrong.
Are you sure that cert/key you used valid?

yes, I have confirmed this in the v1.2.11 chia code for both servers and clients that they use. Yes, the certificates that I used were valid :)

I've submitted a PR for this as its standard with the core Chia clients to skip hostname checking. #22

The PR has been merged. Thank you!

I'll release v3.0.1-beta in several days. Please test that version whether it resolves your problem. Thank you for patience!

I've just release<EMAIL_ADDRESS>Could you install it  by npm i<EMAIL_ADDRESS>or yarn add<EMAIL_ADDRESS>and check whether it works?
Please note that I added the option to control whether to skip hostname check or not.
const agent = new RPCAgent({service: "full_node", skip_hostname_verification: true});

Read more here: https://github.com/Chia-Mine/chia-agent/blob/v3.0.1/src/rpc/README.md
Thank you.


bpf: lxc: don't clear CB_POLICY prior to local delivery

CB_POLICY aliases with CB_CLUSTER_ID_INGRESS, which already gets set when delivering via tail-call in l3_local_delivery(). On the other hand when delivering via stack, the to-container program doesn't trust any of the skb->cb[] content and already clears it at program entry.
Therefore it's safe to remove these helper calls.

/test


Fix warnings

This is looking great @ldyken53 , I pulled this in to the repo to make some modifications/continuations to it: https://github.com/Twinklebear/webgpu-bcmc/tree/ldyken53-main . I added some final fixes for the LRU cache to copy out the available slot info to a separate buffer that we need for the scan or stream compaction and it looks like we're almost there (with just the compute block vertices left).
I added you as a collaborator to this repo so we can just continue working off that branch, it'll be a bit easier with us both working on the code.