Specific video on tv.nrk.no does not download

[x] I've verified and I assure that I'm running youtube-dl 2017.09.15
[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Bug report (encountered problems with youtube-dl)

$ youtube-dl --verbose https://tv.nrk.no/serie/skavlan/KMTE50006217/22-09-2017
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://tv.nrk.no/serie/skavlan/KMTE50006217/22-09-2017']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.09.15
[debug] Python version 2.7.10 - Darwin-16.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.3.4, ffprobe 3.3.4, rtmpdump 2.4
[debug] Proxy map: {}
[NRKTV] KMTE50006217: Downloading mediaelement JSON
[NRKTV] KMTE50006217: Downloading f4m manifest
WARNING: Unable to download f4m manifest: HTTP Error 404: Not Found
[NRKTV] KMTE50006217: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 404: Not Found
[NRKTV] KMTE50006217: Downloading f4m manifest
WARNING: Unable to download f4m manifest: HTTP Error 404: Not Found
[NRKTV] KMTE50006217: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 404: Not Found
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 776, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 434, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/nrk.py", line 79, in _real_extract
    self._sort_formats(formats)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1072, in _sort_formats
    raise ExtractorError('No video formats found')
ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Video does not download. Video plays in browser. Other videos from the same site download.

> py -3.6 .\youtube_dl\__main__.py https://tv.nrk.no/serie/skavlan/KMTE50006217/22-09-2017
[NRKTV] KMTE50006217: Downloading mediaelement JSON
[NRKTV] KMTE50006217: Downloading f4m manifest
[NRKTV] KMTE50006217: Downloading m3u8 information
[download] Downloading playlist: Skavlan 22.09.2017
[NRKTV] playlist Skavlan 22.09.2017: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 349
[download] Destination: Skavlan 22.09.2017-KMTE50006217AA.mp4
[download]   0.2% of ~1000.28MiB at  3.38MiB/s ETA 10:01
ERROR: Interrupted by user

@dstftw: Tried it again. Now it behaves slightly different. It gets a few errors, but starts downloading, then gets more errors on the fragments. Can you reproduce this?
[NRKTV] KMTE50006217: Downloading mediaelement JSON
[NRKTV] KMTE50006217: Downloading f4m manifest
WARNING: Unable to download f4m manifest: HTTP Error 404: Not Found
[NRKTV] KMTE50006217: Downloading m3u8 information
...
[download] Destination: Skavlan 22.09.2017.mp4
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 7 (attempt 1 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 7 (attempt 2 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 7 (attempt 3 of 10)...

I can reproduce the behavior from the first log that is also reproduced in browser.

Thus this is clearly server side problem.

The video works in the browser for me. The error in the screenshot usually comes when you've blocked JavaScript or IP adresses.

I can watch other geo restricted videos in browser.

@dstftw: Maybe there is a slight error with the metadata for this particular video that makes youtube-dl fail, but the browser is still able to play it.

+1


docker-compose up fails

root@viralrank:/tmp# docker-compose up
Creating tmp_postgresql_1
Creating tmp_redmine_1
Attaching to tmp_postgresql_1, tmp_redmine_1
postgresql_1 | Initializing datadir...
redmine_1    | Initializing logdir...
redmine_1    | Initializing datadir...
redmine_1    | Symlinking dotfiles...
redmine_1    | Installing configuration templates...
redmine_1    | Configuring redmine...
postgresql_1 | Initializing certdir...
postgresql_1 | Initializing logdir...
postgresql_1 | Initializing rundir...
postgresql_1 | Setting resolv ACLs...
postgresql_1 | Creating database user: redmine
postgresql_1 | Creating database: redmine_production...
postgresql_1 | ‣ Granting access to redmine user...
postgresql_1 | Starting PostgreSQL 9.4...
postgresql_1 | LOG:  database system was shut down at 2016-03-02 08:10:24 UTC
postgresql_1 | LOG:  MultiXact member wraparound protections are now enabled
postgresql_1 | LOG:  autovacuum launcher started
postgresql_1 | LOG:  database system is ready to accept connections
redmine_1    | Configuring redmine::database...
redmine_1    | Configuring redmine::unicorn...
redmine_1    | Configuring redmine::secret_token...
redmine_1    | Generating a session token...
redmine_1    | Note:
redmine_1    |   All old sessions will become invalid.
redmine_1    |   Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
redmine_1    |   SHOULD be defined if you have a load-balancing Redmine cluster.
redmine_1    | Configuring redmine::max_concurrent_ajax_uploads...
redmine_1    | Configuring redmine::sudo_mode...
redmine_1    | Configuring redmine::backups...
redmine_1    | Configuring nginx...
redmine_1    | Configuring nginx::redmine...
redmine_1    | Migrating database. Please be patient, this could take a while...
postgresql_1 | FATAL:  password authentication failed for user "redmine"
postgresql_1 | DETAIL:  Connection matched pg_hba.conf line 94: "host all all <IP_ADDRESS>/0 md5"
redmine_1    | FATAL:  password authentication failed for user "redmine"
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in initialize' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in new'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in connect' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb:242:in initialize'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb:44:in new' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb:44:in postgresql_connection'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in new_connection' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in checkout_new_connection'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in acquire_connection' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in block in checkout'
redmine_1    | /usr/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in checkout'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in block in connection' redmine_1    | /usr/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in connection' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:571:in retrieve_connection'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_handling.rb:113:in retrieve_connection' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_handling.rb:87:in connection'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/tasks/postgresql_database_tasks.rb:6:in connection' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/tasks/postgresql_database_tasks.rb:15:in create'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/tasks/database_tasks.rb:93:in create' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/tasks/database_tasks.rb:107:in block in create_current'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/tasks/database_tasks.rb:275:in block in each_current_configuration' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/tasks/database_tasks.rb:274:in each'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/tasks/database_tasks.rb:274:in each_current_configuration' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/tasks/database_tasks.rb:106:in create_current'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/railties/databases.rake:17:in block (2 levels) in <top (required)>' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:240:in call'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:240:in block in execute' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:235:in each'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:235:in execute' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:179:in block in invoke_with_call_chain'
redmine_1    | /usr/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:172:in invoke_with_call_chain'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/task.rb:165:in invoke' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:150:in invoke_task'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:106:in block (2 levels) in top_level' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:106:in each'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:106:in block in top_level' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:115:in run_with_threads'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:100:in top_level' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:78:in block in run'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:176:in standard_exception_handling' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/lib/rake/application.rb:75:in run'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/rake-10.5.0/bin/rake:33:in <top (required)>' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/bin/rake:23:in load'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/bin/rake:23:in <main>' redmine_1    | Couldn't create database for {"adapter"=>"postgresql", "encoding"=>"unicode", "database"=>"redmine_production", "host"=>"postgresql", "port"=>5432, "username"=>"redmine", "password"=>"password", "pool"=>5} postgresql_1 | FATAL:  password authentication failed for user "redmine" postgresql_1 | DETAIL:  Connection matched pg_hba.conf line 94: "host all all <IP_ADDRESS>/0 md5" redmine_1    | rake aborted! redmine_1    | PG::ConnectionBad: FATAL:  password authentication failed for user "redmine" redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in initialize'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in new' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in connect'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb:242:in initialize' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb:44:in new'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb:44:in postgresql_connection' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in new_connection'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in checkout_new_connection' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in acquire_connection'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in block in checkout' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in checkout'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in block in connection' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in connection'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:571:in retrieve_connection' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_handling.rb:113:in retrieve_connection'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/connection_handling.rb:87:in connection' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/model_schema.rb:230:in table_exists?'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/attribute_methods/primary_key.rb:97:in get_primary_key' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/attribute_methods/primary_key.rb:85:in reset_primary_key'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5/lib/active_record/attribute_methods/primary_key.rb:73:in primary_key' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/attribute_assignment.rb:15:in attributes_protected_by_default'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/protected_attributes-1.1.3/lib/active_model/mass_assignment_security.rb:337:in block in protected_attributes_configs' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/protected_attributes-1.1.3/lib/active_model/mass_assignment_security.rb:222:in yield'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/protected_attributes-1.1.3/lib/active_model/mass_assignment_security.rb:222:in protected_attributes' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/protected_attributes-1.1.3/lib/active_model/mass_assignment_security.rb:126:in block in attr_protected'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/protected_attributes-1.1.3/lib/active_model/mass_assignment_security.rb:125:in each' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/protected_attributes-1.1.3/lib/active_model/mass_assignment_security.rb:125:in attr_protected'
redmine_1    | /home/redmine/redmine/app/models/custom_field.rb:36:in <class:CustomField>' redmine_1    | /home/redmine/redmine/app/models/custom_field.rb:18:in <top (required)>'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in require' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in block in require'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in load_dependency' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in require'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:360:in require_or_load' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:494:in load_missing_constant'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:184:in const_missing' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:526:in load_missing_constant'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:184:in const_missing' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:526:in load_missing_constant'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:184:in const_missing' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:526:in load_missing_constant'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:184:in const_missing' redmine_1    | /home/redmine/redmine/lib/redmine/field_format.rb:87:in field_attributes'
redmine_1    | /home/redmine/redmine/lib/redmine/field_format.rb:90:in <class:Base>' redmine_1    | /home/redmine/redmine/lib/redmine/field_format.rb:48:in module:FieldFormat'
redmine_1    | /home/redmine/redmine/lib/redmine/field_format.rb:19:in <module:Redmine>' redmine_1    | /home/redmine/redmine/lib/redmine/field_format.rb:18:in <top (required)>'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in require' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in block in require'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in load_dependency' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in require'
redmine_1    | /home/redmine/redmine/lib/redmine.rb:38:in <top (required)>' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in require'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in block in require' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in load_dependency'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in require' redmine_1    | /home/redmine/redmine/config/initializers/30-redmine.rb:6:in <top (required)>'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in load' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in block in load'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in load_dependency' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in load'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/railties-4.2.5/lib/rails/engine.rb:652:in block in load_config_initializer' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/notifications.rb:166:in instrument'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/railties-4.2.5/lib/rails/engine.rb:651:in load_config_initializer' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/railties-4.2.5/lib/rails/engine.rb:616:in block (2 levels) in class:Engine'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/railties-4.2.5/lib/rails/engine.rb:615:in each' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/railties-4.2.5/lib/rails/engine.rb:615:in block in class:Engine'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in instance_exec' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in run'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/railties-4.2.5/lib/rails/initializable.rb:55:in block in run_initializers' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/railties-4.2.5/lib/rails/initializable.rb:44:in each'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/railties-4.2.5/lib/rails/initializable.rb:44:in tsort_each_child' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/railties-4.2.5/lib/rails/initializable.rb:54:in run_initializers'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/railties-4.2.5/lib/rails/application.rb:352:in initialize!' redmine_1    | /home/redmine/redmine/config/environment.rb:14:in <top (required)>'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in require' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in block in require'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in load_dependency' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in require'
redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/railties-4.2.5/lib/rails/application.rb:328:in require_environment!' redmine_1    | /home/redmine/redmine/vendor/bundle/ruby/2.1.0/gems/railties-4.2.5/lib/rails/application.rb:457:in block in run_tasks_blocks'
redmine_1    | Tasks: TOP => db:migrate => environment
redmine_1    | (See full trace by running task with --trace)
tmp_redmine_1 exited with code 1
how to trace about this error ? thanks.

 It's because I already manually start a postgresql using docker run with different password before.

Glad you got it resolved :+1:


Collapsible element for list of statements

In the demo console, all the statements are listed in the infobox making it sometime ridiculously huge. We would need to put the statements in a collapsible element to have a cleaner infobox.

Collapsible element for list of statements had beed added in 'nerd.new.js'.

With commit a05ccd72914c8a38b59486a7c25c12b6244d6d00, I made a bit of styling (removing padding and margin to gain space). I added a chevron icon so that it's more easy to apprehend the collapsible, but when the element is colapsed or not the icon should change as up or down - I've not added this behavior (there is an event to catch).
There is something else which is not visually nice I think, we have a red dotted border appearing when the element is active - so basically a non-meaningful border which will appear and disappear with no reason, see below:

The man issue is when viewing an annotated PDF. Opening the collapsible make the view moving to another part of the document - typically to the previous page or the next page, and we don't see anymore the page where we were, nor the infobox and its statement.

I tested with a live demo in Lisbon and I didn't find any glitches or problems.
@kermitt2 Can we close this issue?


Exact relative path

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
When I copy full relative path with or without line number at the end from console and paste to search project files it doesn't find it. Well, looks like when I tried it multiple times it work 2/10. After it started working it's in history of search so it works. But for example when I restart editor and try again. It can not find it again.
Example what I trie to open:
lib/platform/service/reports/amoi_economy_report_service.ex:674

I used Zed for this project maybe more than month every day and this file is pretty old so nothing new.
Environment
Zed: v0.91.3 (stable)
OS: macOS 13.4.1
Memory: 32 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature

after 30 minutes:

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
2023-06-27T08:57:12 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:13 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:13 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:13 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:13 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:14 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:14 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:14 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:14 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:14 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:15 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:15 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:15 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:15 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:15 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:15 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:15 [ERROR] view 166 not found when computing available actions
2023-06-27T08:57:16 [ERROR] view 166 not found when computing available actions

Hmm, this is really strange.  Hard to tell what might be happening here from afar - will keep my eye out on it.


KTOR-3420 Implement multiplatform CLI generator of Ktor projects

First version of the CLI generator.
For now it only supports windows64, mac64, linux64 and only provides 2 functions:

ktor generate <name>
-ktor run <name>

As well as debug version with a custom host:

ktor <host> generate <name>
-ktor <host> run <name>

In future some parts may be fixed/changed. Other than that more options will be added.
Note: currently on Windows the only working option that can be run from any shell is the attached script. I've checked that it works under win10 but it still requires some checks under other windows builds. Also this solution may be rewritten to some other tool in the future.

Tests for the core functionality are missing.


Add project from preview or live URL

Projects can be added from GitHub URLs and share URLs. In addition, it would be convenient if projcts could be added from preview or live URLs.

:tada: This issue has been resolved in version 5.6.0 :tada:
The release is available on:

GitHub release
v5.6.0

Your semantic-release bot :package::rocket:


sql: ensure that GRANT/REVOKE can only propagate allowed privs

PR: https://github.com/cockroachdb/cockroach/pull/45697
From release notes:

The GRANT and REVOKE statements now require that the requesting user already have the target privileges themselves. For example, GRANT SELECT ON t TO foo requires that the requesting user already have the SELECT privilege on t. [#45697][#45697] {% comment %}doc{% endcomment %}

Dup of https://github.com/cockroachdb/docs/issues/6880


UserGuide.adoc: Update UserGuide.

Coverage remained the same at 90.914% when pulling ed339adc69c77410ee1fb77d9ec21d76e53ffc19 on ZhangH795:UserGuide2 into 95f0fd6ad99b140a94854f1f4470a06ba0d003ae on CS2103AUG2017-W09-B3:master.


Create new global memo field component

The new memo field component should have validation that includes:

[x] maximum length validation
[x] rejects any memo that contains anything that resembles a private key (starts with 5 and 51 characters).
[x] can be empty - except when an exchange is specified as the to field

@dafuga can you confirm these 3 are done and close?

Yep! That's all done @aaroncox !

I'm going to go ahead and close it!


EXSWHTEC-270 - Implement test for warp any function

Add test for warp __any function

PR has been merged into develop branch via commit 04d4a8669fe25b1aaaad8c8a350d99c0ef1925c3.


Blank Audio returned in Unreal Engine 5.4

Following a Youtube video, I implemented the runtime speech recognition into my game on key press the same way the creator did
It seems to work except that no audio message is returned, it just says "You: [blank here where message should be]". Print string is also returning a value of 0.0
when enable base submix is ticked i do hear my voice back but its quite distorted, when un ticked you wouldnt know anything is happening at all because there is no sound and no string output
A few others in the comments are having the same issue, some finding solutions and yet those solutions dont work for everyone so i thought id ask here
solutions mentioned that have worked for some
1: go to your windows privacy settings and allow access for your mic
2: in the blueprints under the start capture section, experiment with changing device number to a number between 0 and 3 to ensure its capturing from the device you are using.
there are still people there who these fixes didnt work for, anyone have any more ideas?
I know i should look at the documentation but this seems a much quicker way for people to find and solve the issue and or related errors when first setting up voice recognition

What I could suggest is changing the DeviceId in StartCapture to another one. I'll probably include this info on the Troubleshooting wiki page.

i saw your troubleshoot in the dischord and so tried all the numbers but nothing worked.
the weird thing is i can hear my microphone come through when subbase or whatever is checked but its not picking up the string values which i will need for widgets, voice controlled effects and probably for speech recognition blueprints to work. im completely stumped. i can try starting again from scratch but ive already tried twice and same problem both times. there were 2 to 4 comments under your youtube tutorial who were having similar issues as me so hopefully someone figures out a solution, otherwise it seems to be working fine for most people

Can you share your logs pls?

Also, make sure the sample rate node is properly connected, like this:

Closing for now. If it's still relevant, please reopen the issue.


Sensitive value in the result

I have a use case where the resulting value is sensitive. But theres no way to mark it as such and upon destruction I see the following in the plan:
- resource "ssh_resource" "token" {
      - agent                       = false -> null
      - bastion_port                = "22" -> null
      - commands                    = [
          - "cat /some/path/to/sensitive/file/here",
        ] -> null
      - commands_after_file_changes = true -> null
      - host                        = "xx.xx.xx.xx" -> null
      - id                          = "5577006791947779410" -> null
      - port                        = "22" -> null
      - private_key                 = (sensitive value)
      - result                      = <<-EOT
<<<sensitive value in clear text here>>>
EOT -> null
      - timeout                     = "5m" -> null
      - user                        = "root" -> null
      - when                        = "create" -> null
    }

So this issue is bassically a feature proposal.
To my best knowledge, there is no way in Terraform to make value optionally sensitive. But I see two distinct takes on the resolution.

Follow (https://registry.terraform.io/providers/hashicorp/local/latest/docs) approach which implements separate local_file and local_sensitive_file. E.g. implement ssh_sensitive_resource which would behave like ssh_resource in all regards except for result property returning sensitive value.

Add sensitive (r/w, default: false) and sensitive_result (r/o, sensitive) properties to ssh_resource. If sensitive is true, then populate sensitive_result instead of result.

Later seems cleaner to me, although former follows existing pattern.
@loafoe Let me know what you like better and if you would be willing to accept pull request.

@mikluko looking at the local provider it seems they used option 2 and then decided to go for separate resources. There's probably a story behind that I'm leaning towards going with a separate sensitive resource. I'll give it a go shortly

@mikluko implemented in v2.2.0 of the provider


Adding a new rebus

Associated Issue: #
Summary of Changes

I added a new rebus

Pull Request Test Coverage Report for Build 948

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.143%

Totals

Change from base Build 937:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls

Pull Request Test Coverage Report for Build 948

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.143%

Totals

Change from base Build 937:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


raise SMB-disable threshold to > 20% of bg to catch fast carb rises

We added a safety check to avoid SMBing when delta is >10% of BG, in order to avoid overreacting to a noisy sensor, calibration jump, or other "fake" rise.  However, that threshold also prevented SMBing when it's needed most: when BG is rising fast from uncovered fast carbs.  This changes the threshold to 20%, which we've found is sufficiently high to allow SMBs when really needed.

Just been hit by the 10% limit. Agree this is needed (one or two fast carbs 😉).

Same here.  The rise didn't last terribly long, though, so I don't know how much it really matters and whether it's worth defeating a safety measure.

Given the amount of carbs I'd taken, the SMB was needed....

Yeah, this got me when I was low and ate some (ok, way too many) rescue
carbs. Spiked pretty good before SMB kicked in.
On Oct 16, 2017 2:52 PM, "Tim Street"<EMAIL_ADDRESS>wrote:

Given the amount of carbs I'd taken, the SMB was needed....
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/openaps/oref0/pull/717#issuecomment-337016661, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAQBfPo4LJL1AwX49xNkocbfZQZSXJA_ks5ss7P3gaJpZM4P52LR
.


Document publishing process

Closes #81

Oh, just seen a slight conflict with https://github.com/ably/terraform-provider-ably/pull/85 ... relating to my previous comment on this PR.

Rebased on top of the #85 , and moved the release process to CONTRIBUTING.md


Exception in <file.pv_excess_control.on_time> line 246

I have set up the blueprint according to the documentation, after running the automation I can see in the logbook that the script is triggered every 10 seconds, but nothing happens and the Appliance is not switched on although it should be based on the automation setup.
In the system log I see following error:
`This error originated from a custom integration.
Logger: custom_components.pyscript.file.pv_excess_control.on_time
Source: custom_components/pyscript/trigger.py:1268
Integration: Pyscript Python scripting (documentation, issues)
First occurred: March 1, 2024 at 23:50:21 (137 occurrences)
Last logged: 00:13:01
Exception in <file.pv_excess_control.on_time> line 246: first_item = next(iter(PvExcessControl.instances.values())) ^ RuntimeError: coroutine raised StopIteration`
Any idea what could be setup wrongly?

the setup is OK, but next() raises an exception due to no values found. I'd suggest assigning list(iter(PvExcessControl.instances.values())) to a variable, checking its length, and if it is not zero - then take the first element.

Thank you, will check that.


history/update is not executed when there are no errors in currentChat

Describe the bug
We have enabled chat history.
However, only user messages are being saved, and the assistant's responses are not being saved.
To Reproduce
Steps to reproduce the behavior:

Enable chat history.
Start the chat.

Expected behavior
Chat history is saved.
Configuration: Please provide the following

Azure OpenAI model name and version. gpt-35-turbo-16k
Is chat history enabled? Yes
Are you using data? No

Additional context
In this process, I believe that if there are no errors in currentChat, saveToDB is not being called.
https://github.com/microsoft/sample-app-aoai-chatGPT/blob/c6162b695b5997d3d63d2eb05e5adda4a6539cd8/frontend/src/pages/chat/Chat.tsx#L555-L558

I have this same issue. The tools and assistant role history are not being saved to Cosmos DB.  If I deploy a new Web App and Cosmos DB from the AI Playground, History is saved correctly.   If I use the current code against my existing web app and  Cosmos  DBs, the history isn't saved correctly.
This doesn't seem to be called at any point of the conversation.
@bp.route("/history/generate", methods=["POST"])
async def add_conversation():

I have confirmed that this will be fixed by this pull request.
#768

The changes from #768 fixed the issue for me. Great work finding the issue so quickly!


Texture.clear! only clears 1/3 of an :rgb texture

System info:
Elixir: 1.11.4
Erlang: 23.3.1
Scenic: 0.10.3
OS: macOS 11.2.3 (20D91)
Arch: M1 / aarch64

https://github.com/boydm/scenic/blob/a87e6ff35bbc0b59251b77c3af94d037b2c43753/test/utilities/texture_test.exs#L332-L339
Adding the following test to the end fails:
assert Texture.get(tex, @width - 1, @height - 1) == {4, 8, 12}

Only the top third of the texture is being cleared. I have reproduced this issue with :ga and :rgba textures too.
The problem is with: https://github.com/boydm/scenic/blob/a87e6ff35bbc0b59251b77c3af94d037b2c43753/c_src/texture.c#L371
I have tested that removing the / 3 in the line fixes the issue.

Alright! Thank you for narrowing it down to the exact line of code with the problem. It should not be hard coding the pixel size to 3 bytes.
You want to take a crack at a PR? If I do it, I'll just roll it into the work on v0.12 (which is very far along now...)

Yeah. I see it now. It was accounting for the size of the pixels twice instead of once. The issue is that line 372 then skips up by 3 pixels, so the size should be left alone.

Sure! I have done some of the work locally already to figure out the issue. I’ll submit a PR in the next day or two.

Oh man... looking through this. I see other things to fix. The whole hints thing is too complicated when it is just a clear value. Especially shouldn't be carrying it around in the data structure when it is better off as an explicit parameter.
This will probably end up in the (growing..) list of changes in v.11

I'm also rethinking the asset/cache system. Will be much cleaner. Will probably promote this texture library out of Utilities (where it feels like an afterthought - because it was??) and make it part of assets properly.


Default Alarm (v0.10) gets frozen

I have installed Alarm but after opening it get stuck on "Loading" and error console:
Uncaught SyntaxError: Got '=' expected EOF
at line 5 col 215 in alarm.app.js
...t]=function(){editAlarm(idx);};});=menu['< Back']=()=>{load();};return E.s...
^
in function "showMainMenu" called from line 7 col 14 in alarm.app.js
showMainMenu();
After trying to remove from Apploader, I get the green snackbar confirmation but the app is not removed.
If i remove manually, i can reinstall but the issue persists.
Installed apps

[{"id":"boot","version":"0.01"},
{"id":"main","version":"0.04"},
{"id":"launch","version":"0.03"},
{"id":"setting","version":"0.03"},
{"id":"multiclock","version":"0.07"},
{"id":"calc","version":"0.01"},
{"id":"widbat","version":"0.06"},
{"id":"alarm","version":"0.10"},
{"id":"pairs","version":"0.01"},
{"id":"blackjack","version":"0.02"},
"P8","2v10.364"]

Hi, I have fixed the bugs in alarm app and you should now update to version 0.101. Updating works, however, deleting apps does not seem to work so I will leave this issue open:-(

I have now fixed the app deletion problem - it needed a newer version of the core module. Hopefully this has not broken anything else so I will close this issue for now. Many thanks for raising this.

I have it an alarm set  :)
After updating i was able to open Alarm and set an alarm BUT when i clicked BACK it got frozen in "Loading" and unresponsive to long press,
So I have to reset() +long press to go back to launcher.
BTW after the reset, the console produced a :
Uncaught Error: Function "loadWidgets" not found!
at line 23 col 8 in launch.js
Bangle.loadWidgets();
^

Are you sure you have selected a default clock in settings? You can check to see if it is set in settings.json.

In "select clock" there is "MultiClock" selected.
In .json there is
[{"on":true,"hr":7.76666666666,"last":8,"rp":false,"as":true}]
bootcde.txt
¬clockApp=(require("Storage").readJSON("setting.json",1) {}).clock;
£(clockApp)clockApp=require("Storage").read(clockApp);
£(!clockApp){clockApp=require("Storage").list(/.info$/).map(file¢{®app=require("Storage").readJSON(file,1);£(appžapp.typeŠ"clock"){«app;}}).filter(x¢x).sort((a,b)¢a.sortorder-b.sortorder)[0];£(clockApp)clockApp=require("Storage").read(clockApp.src);}
£(!clockApp)clockApp=E.showMessage("No Clock Found");setWatch(()=>{Bangle.showLauncher();}, BTN1, {repeat:false,edge:"falling"});;
eval(clockApp);
¾clockApp;
BTW yesterday, this morning the alarm buzzed an hour earlier, then I checked the watch and also an hour less. I will keep undermonitoring watchtime+alarm

Try reloading boot without tokenisation - then look at .bootcde. If you type load() into the WebIde REPL the watch should run the selected clock. Your watch does not seem to be doing this so something is corrupt.

remove boot,
install boot (pretokenise apps disabled)
error installing - brown snackbar "... function p ...."
install boot (pretokenise apps disabled)
load();
=undefined
Uncaught Error: Function "loadWidgets" not found!
at line 17 col 8 in multiclock.app.js
Bangle.loadWidgets();

However, I removed boot again, install, brown snackbar, install, btn1,
load() opens the watch.
BUT pressing button1, freezes on "Loading"

That error is expected - the loader expects a show message routine so the first install is an error and the second should be fine. Loading is displayed by the screen driver and if it sticks there it means that it has not found a clock or launcher. LoadWidgets is loaded with the main app so check you have widgets.js. Also check you have uptodate firmware - 10.364. Did you erase everything and reload?

Having firmware - 10.364 and the new alarm 0.101
Every time that modify alarm settings, after clicking "<BACK" the watch gets stuck in "Loading".
Luckily this time long press works and allows to load the launcher.

Hi, I have finally been able to reproduce the fault you are are getting.It seems to be corruption of the on chip flash memory which I have been loading boot and main into. if you delete boot and main with the latest version of the app loader and reload boot (twice) and main, it should fix the problem - at least it did for me. They now get loaded into the external flash chip.

I haven't seen the error recently


feat(dark-mode): default file-based tools to be hidden and always on.

AI Description

This PR makes changes to the Assistant Web interface, updating the way tools are listed and displayed.
Summary

Removes the useDefaultFileLoaderTool hook, which was responsible for fetching and enabling the default file loader tool.
Updates the useListTools hook to filter out default agent tools from the returned list of tools.
Removes references to DEFAULT_AGENT_TOOLS and TOOL_FALLBACK_ICON constants, replacing them with dynamic values or alternative implementations.
Updates the getToolIcon function to retrieve the appropriate icon for a given tool ID.
Modifies the rendering of tool icons in various components, using the getToolIcon function or alternative approaches.
Removes the Image component import and usage in favor of the Icon component for displaying tool icons.
Removes the GoogleDriveIconSVG SVG file, which was used as an icon for Google Drive.

Details

Constants and Icons: The DEFAULT_AGENT_TOOLS constant is no longer imported or referenced in the code. Instead, the useListTools hook now filters out these default agent tools from the returned list of tools. This change ensures that only the relevant, non-default tools are included in the list. Additionally, the TOOL_FALLBACK_ICON constant is no longer imported or used directly. Instead, the getToolIcon function dynamically retrieves the appropriate icon for a given tool ID, falling back to the default icon if needed.
Tool Listing and Display: The useDefaultFileLoaderTool hook has been removed, along with its associated logic for enabling and disabling the default file loader tool. This change suggests that the default file loader tool is no longer a concern or may be handled differently. The useListTools hook has been updated to include a query function that filters out tools with names included in the DEFAULT_AGENT_TOOLS constant. This ensures that the returned list of tools does not contain any default agent tools.
Component Rendering: Various components, such as AssistantTools, DataSourceMenu, DocumentIcon, and ToolEvent, have been modified to improve the rendering of tool icons. The AssistantTools and DataSourceMenu components now include a check for the length of availableTools before rendering, providing a message when no tools are available. The getToolIcon function is used in multiple components to dynamically retrieve the appropriate icon for a given tool name or ID. The DocumentIcon component no longer accepts the toolIcon prop, relying on the icon prop or default icons based on the domain.
Icon Component: The Image component is no longer imported or used for rendering tool icons. Instead, the Icon component is used exclusively, providing a more consistent and flexible approach to icon rendering.
SVG File Removal: The GoogleDriveIconSVG SVG file has been removed, as it is no longer used for displaying the Google Drive icon.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.22%. Comparing base (4edacee) to head (cb77f65).
Report is 58 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #537      +/-   ##
==========================================
+ Coverage   81.38%   82.22%   +0.83%
==========================================
  Files         199      214      +15
  Lines        8354     9376    +1022
==========================================
+ Hits         6799     7709     +910
- Misses       1555     1667     +112

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


Interactive: using ID rather than names to represent a unique resource in AdminService

Is your feature request related to a problem? Please describe.
As title says, based on the consideration of backward compatibility, for graph-related or procedure-related interfaces, we should use ID instead of name to represent a resource.
{
  "name": "mocking_graph",
  "store_type": "mutable_csr",
  "stored_procedures": {
    "directory": "plugins"
  },
  "schema": {
    "vertex_types": [
      {
        "type_id": 0,
        "type_name": "person",
        "properties": [
          {
            "property_id": 0,
            "property_name": "id",
            "property_type": "DT_STRING"
          },
          {
            "property_id": 1,
            "property_name": "name",
            "property_type": "DT_STRING"
          },
          {
            "property_id": 2,
            "property_name": "age",
            "property_type": "DT_SIGNED_INT32"
          }
        ],
        "primary_keys": [
          [
            "id"
          ]
        ]
      }
    ],
    "edge_types": [
      {
        "type_id": 0,
        "type_name": "knows",
        "vertex_type_pair_relations": [
          {
            "source_vertex": "person",
            "destination_vertex": "person",
            "relation": "MANY_TO_MANY"
          }
        ],
        "properties": [
          {
            "property_id": 0,
            "property_name": "weight",
            "property_type": "DT_DOUBLE"
          }
        ]
      }
    ]
  }
}

/cc @longbinlai @zhanglei1949

Closed since already implemented.


Kata Containers 1.11.0

Version bump no changes

/test

1..2
ok 1 Containers with shared volume
not ok 2 initContainer with shared volume
# (in test file k8s-shared-volume.bats, line 44)
#   `kubectl exec "$pod_name" -c "$last_container" -- sh -c "$cmd"' failed
# INFO: k8s configured to use runtimeclass
# pod/initcontainer-shared-volume created
# pod/initcontainer-shared-volume condition met
# command terminated with exit code 1
# pod "initcontainer-shared-volume" deleted

/test-ubuntu

Jenkins CI was succesful but it did not report, forcing a merge
http://jenkins.katacontainers.io/job/kata-containers-proxy-ubuntu-18-04-PR/208/

The build was successful but not reported, forcing a merge

http://jenkins.katacontainers.io/job/kata-containers-agent-ubuntu-18-04-PR/653/


Add seed arguments to objects which need randomness

This uses numpy's recommendation of np.random.default_rng(seed). If this is fed None (our default), it is random each run, but it can be given an integer or an instance of the Generator class, which it just returns untouched.

Per our conversation earlier, just noting that care may need to be taken to ensure reproducibility, correctness, and non-serialization if we wind up implementing real parallelism.

Yes, just to check, the multiprocessing library will just clone a randomstate
import numpy as np
import multiprocessing
gen = np.random.default_rng(123)

def f(_):
    return gen.random()

with multiprocessing.Pool(5):
    x = p.map(f, list(range(5)))

print(x)

[0.6823518632481435,
 0.6823518632481435,
 0.6823518632481435,
 0.6823518632481435,
 0.6823518632481435]

As long as we are aware of this it is easy to work around by generating a new random object on each process which is seeded by a seed from the main RNG

care may need to be taken to ensure reproducibility, correctness, and non-serialization if we wind up implementing real parallelism.

Real parallelism is one of the main motivations for managing your own PRNGs.

it is easy to work around by generating a new random object on each process which is seeded by a seed from the main RNG

The preferred workaround when we asked about this for Stan is to use something like the linear congruential PRNG we use in Stan, which has a cheap skip operation that lets you skip over the next N random variates.  For multiple chains (parallel or not), each chain uses the same PRNG, but each subsequent chain after the first advances the PRNG by something like 10^12 draws.


optimize memory usage of kompile

Can you explain how this is supposed to work?

Agree a brief explanation would be nice. But I also want to know how much of an affect this has on memory usage?

I haven't measured memory usage exactly, but basically, my experience with Java is that the JVM doesn't necessarily mark local method variables as dead immediately after their last use in the stack frame; instead, it waits until the end of the stack frame to mark them as dead. This means that the CompiledDefinition was still considered "live" during the decision tree generation process, even though it was never used after that point. By explicitly marking the relevant references as null, it allows the garbage collector to free all that memory sooner, which means that peak memory usage of the decision tree generator is less.


Overview is not created or updated automatically

Everything works well when I cmd+shift+p and create the note overview manually.
But the note overview is not built or updated automatically. Setting set to 5 minutes and I also enabled the "update every sync" option and that doesn't work as well.
I'm on mac

The actuald displayed note is not updated during the background updates, so that no data is overwritten which is currently being entered or edited. Only if the command for updating is used, this note will be updated.

Oh cool thanks!

Created a pull request to update the readme as I assume this can be a common confusion


DSpace 7: more meaningful regex message

Is your feature request related to a problem? Please describe.
When users don't meet the regex condition on a field in submission forms, they receive a message that may not be very meaningful to them.
Example:
regex for file names:
https://github.com/DSpace/DSpace/assets/67266996/0aa8ab46-0cca-49ee-be83-3b7f52766b1c
Describe the solution you'd like
The error message should provide meaningful details.
Describe alternatives or workarounds you've considered
cf. discussion on dspace-tech on 2023-11-07/08
Additional context
https://github.com/DSpace/DSpace/issues/9177

Universität Konstanz would like to claim this. We've been having the same issue and just developed a fix for us.
We'd also provide a backport to DSpace 7.x


Feature Request: Sync last.fm likes to Google Play Music "Thumbs Up"

[x] I have checked that there are no issues with similar or the same content
The only relevant I could find were:  #1799 #1599

As for now, app sends songs, which are "thumbed up" on google play music desktop player to last.fm.
Is it possible to do the reverse -- e.g. when gpmdp starts it checks last.fm likes (loves) and syncs them with google play music "thumbs up"?

Is it possible to do the reverse -- e.g. when gpmdp starts it checks last.fm likes (loves) and syncs them with google play music "thumbs up"?

Basically, no, liking a song in GPM is done by faking interaction with the UI, to like songs you aren't listening to currently we would have to navigate to the song, play it, like it and then repeat for any song loved on last.fm.


ofType does no longer automatically infer action type in pipe

After upgrading to from 2.1.4 to 3.2.0 my epics are broken.
Before the update the ofType operator was able to infer the action type for the following operators in the pipe. It seems this no longer works.
This is the error I get after the update:

This is the matching action creator:

switchMap should be able to infer the type of the action and thus the types of the payload and meta properties.
Edit: I can also confirm that this works in 3.1.0.

Hi @eXaminator. I tried to repro the issue in CodeSandbox but I wasn't able. What is the type of action$?

I can't test it now, but it might actually be a problem with the type of my action$ observable.
It's also Observable<Action>, but in my case Action is the default type from redux, not the specific action type. I will be able to check that tomorrow when I'm back to work.
But, nevertheless, I actually think it's more correct the "old" way, because before I apply the ofType filter action$ can (and will) contain any action. So I think the behavior of 3.1.0, where ofType automatically infers the correct type based on the given action or action creator is the preferred behavior.
I forked your sandbox and updated it to match my version, which works with 3.1.0: https://codesandbox.io/s/deox141-cu3c6

:tada: This issue has been resolved in version 3.2.1 :tada:
The release is available on:

GitHub release
npm package (@next dist-tag)

Your semantic-release bot :package::rocket:

No repro works on CodeSandbox. Thank you @eXaminator for reporting this bug.

:tada: This issue has been resolved in version 3.2.1 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:

Thank YOU @thebrodmann for fixing it! :)


Reusing TensorBlock for creating a TensorMap causes segmentation fault

When I reuse the TensorBlock twice for creating a TensorMap (that happens quite easily when playing around with TensorMaps in a notebook, then my notebook crashes.
# block_1 = some Tensor definition ...
TensorMap(Labels.single(), [block_1])
TensorMap(Labels.single(), [block_1]) <--- causes segmentation fault

I think it is unrelated to the TensorBlock definition, but here the whole script
from equistore import TensorMap, TensorBlock, Labels
import numpy as np

block_1 = TensorBlock(
    values=np.random.rand(4, 2),
    samples=Labels(
        ["sample", "structure"], np.array([[0,0], [1,1], [2,2], [3,3]], dtype=np.int32)
    ),
    components=[],
    properties=Labels(["properties"], np.array([[0], [1]], dtype=np.int32)),
)
block_1.add_gradient(
    "positions",
    data=np.random.rand(7, 3, 2),
    samples=Labels(
        ["sample", "structure", "center"],
        np.array([[0, 0, 1], [0, 0, 2], [1, 1, 0], [1, 1, 1], [1, 1, 2], [2, 2, 0], [3, 3, 0]], dtype=np.int32)
    ),
    components=[Labels(["direction"], np.array([[0], [1], [2]], dtype=np.int32))],
)

TensorMap(Labels.single(), [block_1])
TensorMap(Labels.single(), [block_1])

This is somehow by design 😃. The idea being that the block is moved inside the TensorMap, and is no longer available. However, it should not segfault but instead give some clear error message.
(there is now a fix in #85, 4dd2d8e13aaa25d6c7976f2a72a26b4b91c666d6)


Raise error after failed retrieve

Description
Fail immediately after a necessary retrieve fails. Also standardized the message across the board.
The 1 weird resource that I found (but didn't update) is in the storage_system_provider. It returns after putting a log statement instead of failing, which seems very strange to me. @tmiotto or @fgbulsoni , do you know why it has this behavior? Should we fail like the other resources instead?
Issues Resolved
Fixes #220
Check List

[x] New functionality includes testing.

[x] All tests pass ($ rake test).

[x] Changes documented in the CHANGELOG.

Really weird  behavior in storage_system_provider.
We should make it fail! :x:

OK, @tmiotto , I agree about making it fail. Should I change that in this PR or a separate one? And is that a breaking change?

You can put in this one, I think it is the same issue this PR intends to fix.
Well, if you consider this PR a breaking change, so it is. But I guess it is not, it's just the correct behavior raising an exception instead throwing it on the error log.


npm packages use web worker

Describe the bug
I want to use web worker to develop a tool library in vite.
I use new URL for new Worker in npm packages.
export function getPreHashWorker(file: File) {
  const workURL = new URL('./worker/preHash.worker.ts', import.meta.url)

  return createWorkPromise<{ file: File }, { hash: string }>(workURL, { file })
}

export async function createWorkPromise<Params, Result>(workURL: URL, params: Params): Promise<Result> {
  return new Promise((resolve, reject) => {
    const worker = new Worker(workURL, {
      type: 'module',
    })
    worker.onmessage = (event) => {
      resolve(event.data)
    }
    worker.onerror = (event) => {
      reject(event)
    }
    worker.postMessage(params)
  })
}

This is my npm packages unbuild config.ts
import { defineBuildConfig } from 'unbuild'

export default defineBuildConfig({
  entries: [
    'src/index',
    {
      builder: 'mkdist',
      input: './src/utils/worker/',
      outDir: './dist/worker',
      ext: 'ts',
    },
  ],
  declaration: true,
  clean: true,
  rollup: {
    emitCJS: true,
  },
})

Reproduction
https://stackblitz.com/edit/vitejs-vite-1szu71?file=src/App.vue
Steps to reproduce
No response
System Info
System:
    OS: Windows 10 10.0.22000
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-11320H @ 3.20GHz
    Memory: 5.31 GB / 15.79 GB
  Binaries:
    Node: 18.15.0 - D:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.6.6 - D:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (113.0.1774.42)
    Internet Explorer: 11.0.22000.120
  npmPackages:
    @vitejs/plugin-vue: ^4.0.0 => 4.1.0
    vite: ^4.2.0 => 4.2.0

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Duplicate of https://github.com/vitejs/vite/issues/8427

Thanks.I can use optimizeDeps.exclude in vite.config.ts


Run cmd python -m qlib.rl.contrib.train_onpolicy --config_path exp_configs/train_opds.yml --run_backtest with error

python -m qlib.rl.contrib.train_onpolicy --config_path exp_configs/train_opds.yml --run_backtest
/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/site-packages/tianshou/env/venvs.py:66: UserWarning: You provided an environment generator that returned an OpenAI Gym environment. We strongly recommend transitioning to Gymnasium environments. Tianshou is automatically wrapping your environments in a compatibility layer, which could potentially cause issues.
warnings.warn(
Traceback (most recent call last):
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/site-packages/qlib/rl/contrib/train_onpolicy.py", line 268, in
main(config, run_training=not args.no_training, run_backtest=args.run_backtest)
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/site-packages/qlib/rl/contrib/train_onpolicy.py", line 241, in main
train_and_test(
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/site-packages/qlib/rl/contrib/train_onpolicy.py", line 159, in train_and_test
train(
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/site-packages/qlib/rl/trainer/api.py", line 63, in train
trainer.fit(vessel)
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/site-packages/qlib/rl/trainer/trainer.py", line 224, in fit
self.vessel.train(vector_env)
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/site-packages/qlib/rl/trainer/vessel.py", line 171, in train
collector = Collector(self.policy, vector_env, VectorReplayBuffer(self.buffer_size, len(vector_env)))
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/site-packages/tianshou/data/collector.py", line 80, in init
self.reset(False)
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/site-packages/tianshou/data/collector.py", line 131, in reset
self.reset_env(gym_reset_kwargs)
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/site-packages/tianshou/data/collector.py", line 147, in reset_env
obs, info = self.env.reset(**gym_reset_kwargs)
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/site-packages/qlib/rl/utils/finite_env.py", line 233, in reset
for i, o in zip(request_id, super().reset(request_id)):
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/site-packages/tianshou/env/venvs.py", line 280, in reset
assert (
AssertionError: The environment does not adhere to the Gymnasium's API.
Exception ignored in: <function DataQueue.del at 0x7fc212bf9dc0>
Traceback (most recent call last):
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/site-packages/qlib/rl/utils/data_queue.py", line 148, in del
self.cleanup()
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/site-packages/qlib/rl/utils/data_queue.py", line 101, in cleanup
self._queue.get(block=False)
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/multiprocessing/queues.py", line 111, in get
res = self._recv_bytes()
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/multiprocessing/connection.py", line 216, in recv_bytes
buf = self._recv_bytes(maxlength)
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/multiprocessing/connection.py", line 414, in _recv_bytes
buf = self._recv(4)
File "/hdd9/yanzheng/folder_to_make_space_for_home/miniconda3/envs/py38/lib/python3.8/multiprocessing/connection.py", line 383, in _recv
raise EOFError
EOFError:

Does anyone meet the same error? wanna know how to solve this, thanks.

try use this version package
tianshou==0.4.10
gym==0.26.2
gymnasium==0.29.1

try use this version package
tianshou==0.4.10 gym==0.26.2 gymnasium==0.29.1

It worked, Thx!
Btw to anyone who may concern, shimmy==1.2.1 is compatible with the mentioned settings.


Create a security policy

We don't have a security policy yet, it's a good starting point for no-code contributors.

Hey @clebsonf i would like to add this change to the src code.

Hello rexdivakar, as I haven't had any more updates from you, I'll release the issue to new contributors. If you want to work on it again, let me know so I can re-assign you.

I would like to work on this

Hey @clebsonf sorry i was away a bit, yes i'm looking on this issue pls assign me abck

Hey there! I created a discussion for us to brainstorm about security policies. Any idea is welcome, we can follow from here together in this PR https://github.com/OctobearHub/octobear.org/discussions/36

@MarcosLudgerio Would you like to participate too?

i would like to participate @clebsonf

Hi. Yes, I would like to contribue.


Infinite loop in page.rb:find_all

I initially opened an inquiry with the Capybara team thinking it was an issue there but Tom Walpale suggested that this is becuase site_prism overwrote the capybara find_all method. So, here's the problem,
page.rb from site_prism
def find_all(*find_args)
all(*find_args)
end
and matcher_proxies.rb from capybara
def all(*args)
if defined?(::RSpec::Matchers::BuiltIn::All) && args.first.respond_to?(:matches?)
::RSpec::Matchers::BuiltIn::All.new(*args)
else
find_all(*args)
end
end
This keeps falling in the else block and goes back to the find_all from site_prism page.rb. Here's a link to the discussion on Capybara group,
https://groups.google.com/forum/#!topic/ruby-capybara/VuFI7FDEp5Y

Hi @tucknats This is an issue which I've personally encountered. Essentially you're likely getting a name Collision.
One way to mitigate this is to create a custom RSpec matcher for all possibly with a slightly different name.
An SSCCE to do this would be something like this
module CustomMatchers
  def all_match(item)
    RSpec::Matchers::BuiltIn::All.new(item)
  end
end


Is there a way to use or pass the DefaultKeyspace during DbContext configuration?

Hi everyone, I'm using EFCore.Cassandra (and liking it so far) to manage initialization and migrations on a cassandra cluster, but, despite the fairly straightforward tutorial, I ran into a couple of hurdles.
The first is one of configuration, even though in the option.UseCassandra method one can set default keyspace and connection options most of the actual model configuration methods require explicitly setting the Keyspace.
For example Keyspace creation with the ForCassandraAddKeyspace, requires it explicitly and there doesn't seem to be an option to use the DefaultKeyspace provided to the UseCassandra method.
A similar occurrence happens with User Defined Types, where the schema / Keyspace has to be explicitly set.
This is an issue for me because the DbContext and the configuration are not in the same project, and I would rather not have to hardcode these settings.
Thanks in advance and I apologize if the functionality is there and I've simply missed it of course or if there's a quick workaround.

Hi,
The default keyspace can be specified only one time. Please fetch the latest changes from the branch "release/2.0.4" and run the "EFCore.Cassandra.Samples" project. The default keyspace can be passed into the "UseCassandra" method.

Ok, I can confirm that in 2.0.4 branch it works correctly. Looking forward to the release :)

The release 2.0.4 is available.


fix: the GetBlueprintPipelines pending add status filter

⚠ Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

[x] I have read through the Contributing Documentation.
[x] I have added relevant tests.
[x] I have added relevant documentation.
[ ] I will add labels to the PR, such as pr-type/bug-fix, pr-type/feature-development, etc.

Summary
fix: the GetBlueprintPipelines pending add status filter
Does this close any open issues?
related to #3594
Screenshots
Include any relevant screenshots here.
Other Information
Any other information that is important to this PR.

ci fail is not caused by this PR.


:bug: fix(bal-time): Component Bug on Edge Browser (Version 130.0.2849.80)

Current Behavior
The TimeInput component from the Baloise design system is not functioning correctly on the latest version of the Microsoft Edge browser (Version 130.0.2849.80). Users are experiencing issues where the input field gets cleared upon focus and when trying to fill in the time. After multiple attempts, it may eventually accept the input, but this is not consistent or reliable. A video demonstrating the issue is available for reference.
https://github.com/user-attachments/assets/613c6be0-c975-4ad1-86b5-ab8f78238b3b
Expected Behavior
The TimeInput should work as expected on Microsoft Edge Browsers
Steps to Reproduce

Fill in a time Value (08:15)
unfocus the field

Version
16.1.0
Browsers
Microsoft Edge
Device
Desktop
Code Reproduction URL
No response
Additional Information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Did a short analysis. Current outcome. Reproducable in Versions 130.* and 131.* with Windows (Tested with LambdaTest).
It seems like in these Versions of Edge the onInput Event of the input is not fired and therefore the change is reverted. Needs to have further investigation.

/cib

Thx for fixing this issue!


Cucumber tests metrics incorrect when there is an undefined scenario and after hooks fail

@badeball
Please refer to https://github.com/cypress-io/cypress/issues/27064 and also raised https://github.com/badeball/cypress-cucumber-preprocessor/issues/1035 for reference
Maybe the following code in /lib/registry.ts which checks for matching step definitions should not throw an error?
    if (matchingStepDefinitions.length === 0) {
      throw new MissingDefinitionError(
        `Step implementation missing for: ${text}`
      );

Checklist

[ ] I've read the FAQ.
[ ] I've read instructions for logging issues.
[ ] I'm not using<EMAIL_ADDRESS>(package name has changed and it is no longer the most recent version, see #689).

@badeball I believe this should be re-opened as the cucumber documentation has the following for scenario steps:

Undefined
When Cucumber can’t find a matching step definition, the step gets marked as undefined (yellow), and all subsequent steps in the scenario are skipped.

Failed Steps
When a step definition’s function is executed and raises an error, the step is marked as failed (red).


Stable / Master Branch

I cannot understand your branch system:
Why the earlier version of the two is for xcode 8 and swift 3 and the other who has the recently push is on the most advanced version of Swifter but not for the swift 3.. I want to build a game server with a command line OSX app with swift 3, with a database on sqlite... I think swifter is cool for that but i need help with this 2 branch, thanks

Stable branch is more important than master. It's for the official releases of Swift from Apple. Tha last changes were mainly about the stability of WebSocket . Don't worry - all will be merged to master.

Oh okay but like I said on https://github.com/httpswift/swifter/issues/168 I can't use it with package.. i use swift 3...


Updated outdated links

Updated Roslyn links to the Github repo rather than CodePlex.
Updated link to ASP.NET 5 on the .NET Foundation site.

Rebased with master.

Paging @richlander for a review?

Thanks much!


Transfer repository to carpentries-incubator

We're planning to transfer this repository to the carpentries-incubator (https://github.com/carpentries-incubator/proposals/issues/110).  Here are some pre- and post-transfer steps:

[x] Switch to relative links for all pages, images, and resources #74
[x] Add a custom 404 page
[ ] Rename the repository to ml4bio-workshop to match https://github.com/gitter-lab/ml4bio
[ ] Transfer the repository to the carpentries-incubator
[ ] Update the custom 404 page
[ ] Recreate a new repository gitter-lab/ml4bio-workshop
[ ] Add a readme, redirects, and a new 404 page to the new repository
[ ] Run a link validator on the transferred repository and fix broken links

The 404 page from The Carpentries works for some types of error but not others.

Okay https://gitter-lab.github.io/ml-bio-workshop/02-T-cellss
Broken https://gitter-lab.github.io/ml-bio-workshop/02-T-cellss/index.html

I had trouble automatically populating the repository information in the Binder link, so that will need to be corrected after transferring.  The other links have been converted to relative links and validated.

I wrote a script to add redirects for all of the original workshop pages:

https://gitter-lab.github.io/ml-bio-workshop/CODE_OF_CONDUCT.html
https://gitter-lab.github.io/ml-bio-workshop/setup.html
https://gitter-lab.github.io/ml-bio-workshop/01-introduction/index.html
https://gitter-lab.github.io/ml-bio-workshop/02-T-cells/index.html
https://gitter-lab.github.io/ml-bio-workshop/03-evaluating-model/index.html
https://gitter-lab.github.io/ml-bio-workshop/04-trees-overfitting/index.html
https://gitter-lab.github.io/ml-bio-workshop/05-logit-ann/index.html
https://gitter-lab.github.io/ml-bio-workshop/06-paper-charting/index.html
https://gitter-lab.github.io/ml-bio-workshop/07-conclusion/index.html
https://gitter-lab.github.io/ml-bio-workshop/aio/index.html
https://gitter-lab.github.io/ml-bio-workshop/reference.html
https://gitter-lab.github.io/ml-bio-workshop/acknowledgements/index.html
https://gitter-lab.github.io/ml-bio-workshop/figures/index.html
https://gitter-lab.github.io/ml-bio-workshop/full-GUI-introduction/index.html
https://gitter-lab.github.io/ml-bio-workshop/glossary/index.html
https://gitter-lab.github.io/ml-bio-workshop/guide/index.html
https://gitter-lab.github.io/ml-bio-workshop/learning-objectives/index.html
https://gitter-lab.github.io/ml-bio-workshop/LICENSE.html

These redirects will break if the page is renamed in the new repository.  However, that would happen anyway when renaming a page in the new repository.

I finished all the checklist steps.  The transferred lesson appears to be working.


cleanup code

Got some messy code and repetition, need to organize better

https://github.com/okuvshynov/cubestat/commit/cc15b45db43212d5aef494ee8c4f53fd1fd55013 and https://github.com/okuvshynov/cubestat/commit/547657be3f8c1b62f586d880353e93c93866367c


Project Refresh

Pull Request
My patch is about

[ ] :bug: Bugfix
[x] :arrow_up: Improvement
[ ] :pencil: Documentation
[ ] :heavy_check_mark: Tests
[ ] :sparkle: Feature

Checklist

[x] I accept that my PR will be distributed under the MIT license.
[ ] Test cases added for changed code if necessary.

Describe what you have changed in this PR.
Refresh + Add GHA + Explicit 3.11 support

Codecov Report

Merging #48 (ce4c7e4) into master (2a2eaf9) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #48   +/-   ##
=======================================
  Coverage   90.49%   90.50%
=======================================
  Files           8        8
  Lines        1273     1274    +1
=======================================
+ Hits         1152     1153    +1
  Misses        121      121

Impacted Files
Coverage Δ

kiss_headers/__init__.py
100.00% <100.00%> (ø)

kiss_headers/version.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Enhancement: Drag and Drop feature for the notes in the home page.

for Daren to Demo

Can I take this issue?


⚠ Bofrost.at has degraded performance

In f71df16, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2405 ms

Resolved: Bofrost.at performance has improved in b6d887e after 47 minutes.


Use explicit configMap models for providers

Currently we use configMap as implementations of ConfigurableProperties.
Define a proper configMap interface and abstract class to consolidate config usage across providers.

close with #247


v1.4.0: DataModel can't be used as a mixin because it declares a constructor

Upgraded to 1.4.0 and I'm getting this message on all models trying to use the DataModel mixin.
class Item with DataModel<Item>
What's the proper way to use the DataModel now? Should I just extend it since it now has a constructor?
class Item extends DataModel<Item>

You can check file example/lib/models/task.dart
it show now use extends instead of with
@alguintu

@alguintu Yes you need to use extends (no more need for init(...)).
I am thinking of adding a DataModelMixin<T> to 1.4.1 for those who still want to keep calling init()/don't want to use extends.
I will be starting to update the documentation today.


Train Almond failing to store new sentences

Train Almond was working fine and then suddenly started returning the following error:
Failed to store the new sentence. You might need to wait until the natural language is fully trained.
In the Chrome devtools console, it says Failed to load resource: the server responded with a status of 400 (). The network tab only shows requests for resources from fontawesome and sourcesanspro.
Will update with more information if I find any.

We discussed this on Slack, and the issue is in the actual ThingTalk code used, not in almond-cloud. Closing.


[Feature][SaveMode] Support Create Table Use Custom Column Type And Template

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
Status quo
In order to realize the automatic table creation function in SaveMode, the Sink side needs to receive the type information of the data passed from the upstream, and then build its own table
Question
Taking Clickhouse as an example, if we want to automatically create a data table, before our program reads and writes data, the corresponding data table is generated according to the upstream data structure.
The upstream type structure is:
id int,
name String,
age int

The table creation statement we expect to be executed is:
CREATE TABLE user (
     id UInt32,
     name String DEFAULT 'Unknown',
     age UInt32
) ENGINE = MergeTree()
PRIMARY KEY id

Question 1:
How do we know that the primary key is id and not name?
Question 2:
Even if we know that the primary key is id, how can we let the program know that the primary key is id, and then help us automatically create this table?
Question 3:
What if I want to use ReplacingMergeTree instead of MergeTree?
Question 4:
Where can I find out the default value?

Solution
It can be seen that if you want to get a complete and usable table creation statement, you can divide the information source into two parts. Information at the field level, and information at the table level.
Field-level information includes the field name, field type, field default value, and whether the field is a primary key. The information at the table level includes the table name, the engine type of the table, and other characteristic identifications belonging to different data sources.
So the current data structure has no way to meet our needs, we need to make some changes to the original data structure:
// The Code Segment
public class SeaTunnelRowType implements CompositeType<SeaTunnelRow> {
     private static final long serialVersionUID = 2L;

     /**
      * The field name of the {@link SeaTunnelRow}.
      */
     private final String[] fieldNames;
     /**
      * The type of the field.
      */
     private final SeaTunnelDataType<?>[] fieldTypes;
}

becomes:
// The Code Segment
public class SeaTunnelRowType implements CompositeType<SeaTunnelRow> {
     private static final long serialVersionUID = 2L;

     /**
      * The field name of the {@link SeaTunnelRow}.
      */
     private final String[] fieldNames;
     /**
      * The columns of the {@link SeaTunnelRow}.
      */
     private final SeaTunnelColumn<?>[] columns;
}

public class SeaTunnelColumn<T> implements Serializable {

     private SeaTunnelDataType<T> fieldType;

     private String fieldName;

     private boolean isPrimaryKey = false;

     private boolean isNullable = true;

     private T defaultValue;

}

Save the field information by adding the SeaTunnelColumn type, and then get the information in the Sink Connector. Now, our problems 2 and 4 are solved, and we will solve problem 1 next.
Usually, we need our Source to define the SeaTunnelRowType. Now we need to define the internal SeaTunnelColumn information while defining the SeaTunnelRowType to adapt to read the structural information of the Source. If you need to modify the SeaTunnelColumn definition of the field in the data processing process, you can use the Transform of FieldMapper to achieve it (the Transform needs to be adapted and modified).
Next, we use templates to solve problem 3.
Since different sinks have different syntax for creating tables, we take SQL as an example. Similar ElasticSearch Index creation and Hbase Table creation can also be created through this method. The template is an option. If the user does not configure it, the default template will be used to create the table, reducing the complexity of the user's configuration.
Add a template field in Sink's Config, such as:
sink {
     clickhouse {
         host = "clickhouse:8123"
         database = "default"
         table = "sink_table"
         username = "default"
         password = ""

         save_mode = "DROP_SCHEMA"
         save_mode_create_template = ```
                                         CREATE TABLE user (
                                             ${rowtype_fields}
                                         ) ENGINE = MergeTree()
                                         PRIMARY KEY ${rowtype_primary_key}
                                     ```
     }
}

In this way, our Clickhouse Sink Connector can fill rowtype_fields and rowtype_primary_key according to the obtained SeaTunnelRowType. It can be seen that the save_mode_create_template we provide is a set of standards, rather than filling in the logic of the framework layer.
By default, we can choose not to fill in save_mode_create_template, when we need to modify the engine, or modify other creation specific values, we can choose to fill in save_mode_create_template, such as modifying the engine to ReplacingMergeTree:
sink {
     clickhouse {
         host = "clickhouse:8123"
         database = "default"
         table = "sink_table"
         username = "default"
         password = ""

         save_mode = "DROP_SCHEMA"
         save_mode_create_template = ```
                                         CREATE TABLE user (
                                             ${rowtype_fields}
                                         ) ENGINE = ReplacingMergeTree()
                                         PRIMARY KEY ${rowtype_primary_key}
                                     ```
     }
}

Disadvantages
The current RowType analysis of Spark/Flink will convert the RowType processed by the engine analysis generation operator, and then generate a new SeaTunnelRowType, and the SeaTunnelRowType content will be lost. This part of the logic needs to be modified to skip the RowType generated by the engine. Directly use the SeaTunnelRowType generated inside SeaTunnel. In this case, Transform-V1 cannot be supported, but we will abandon V1 in the next version, which has no effect.
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

IMO, you can use the existing CatalogTable and TableSchema to fulfill the requirements without changing RowType.

We need to allow SeaTunnelSchema to create a CatalogTable.


Added info on tobac

Following Zhe, I have added some information on tobac (based on our README and updated roadmap). @freemansw1 @w-k-jones @fsenf feel free to check and change! Do we have any nice figure to include on that page?


disable LLVM optimization on tests with long compilation times

timings:
imagenet  226s -> 52s (timed before the model changed)
wmt 63 -> 37s

ah, that's a good flag to know!

Just a quick Q: Should we also at least sometimes be running tests with LLVM optimization? Or do we assume that JAX core sufficiently tests that?

For now LLVM passes are only disabled on tests where it is slow. You could argue both ways though. Once LLVM generates buggy code all bets are off really


Use React.Childrent.count to determine number of tabs

For https://github.com/callemall/material-ui/issues/940
Before:

After:

Thanks @rolandpoulter !


Add some benchmarks for parsing and writing RTP packets

Codecov Report
Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 74.81%. Comparing base (5acf337) to head (9d44b1c).

Files
Patch %
Lines

benches/write.rs
0.00%
8 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
- Coverage   76.33%   74.81%   -1.53%
==========================================
  Files           3        4       +1
  Lines         393      401       +8
==========================================
  Hits          300      300
- Misses         93      101       +8

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


npm warnings on install

[1/4] 🔍  Resolving packages...
warning blendid ><EMAIL_ADDRESS>🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
warning blendid > gulp-autoprefixer ><EMAIL_ADDRESS>gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning blendid > gulp-data ><EMAIL_ADDRESS>gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning blendid > gulp-sass ><EMAIL_ADDRESS>gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning blendid > gulp-sequence ><EMAIL_ADDRESS>gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning blendid > gulp-cssnano ><EMAIL_ADDRESS>gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning blendid > gulp-rev-napkin ><EMAIL_ADDRESS>gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning blendid > gulp > vinyl-fs ><EMAIL_ADDRESS>please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
warning blendid > gulp > vinyl-fs > glob-stream ><EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning blendid > gulp-nunjucks-render > through2 > xtend ><EMAIL_ADDRESS>warning blendid > gulp > vinyl-fs > glob-watcher > gaze > globule ><EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning blendid > gulp > vinyl-fs > glob-watcher > gaze > globule > glob ><EMAIL_ADDRESS>please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

Hi @avdeev thanks for reporting, and truly sorry you didn't get an acknowledgment! We really do appreciate all reports. Don't hesitate to let us know about any other problems. The Blendid team is working on our communication game¬ you won't have to wait a long time next time!
This will be fixed by #578


[bug] Cannot destructure property 'status' of '(0 , i.useSession)(...)' as it is undefined. on deploy

Is there an existing issue for this?

[X] I have searched the existing issues

RainbowKit Version
1.2.0
wagmi Version
1.4.6
Current Behavior
I use rainbowkit-siwe-next-auth in my Nextjs App router project. I get my session in layout and passing it to my provider.
On development it works fine, i get my session (or null). But when i deploy on vercel it gives a error
TypeError: Cannot destructure property 'status' of '(0 , i.useSession)(...)' as it is undefined.
    at a (2699-ba09cec10158accd.js:355:189135)
    at rb (1dd3208c-4ac3c89ac4c1c5a4.js:1:40330)
    ...

So problem with this line.
https://github.com/rainbow-me/rainbowkit/blob/bd694e8457260cd3dd1c28a2076866d2a61f1d11/packages/rainbowkit-siwe-next-auth/src/RainbowKitSiweNextAuthProvider.tsx#L34C35-L34C35
For context i use it in a monorepo.
"next-auth": "5.0.0-beta.3",
"@auth/core": "^0.18.0",
Expected Behavior
It doesn't give an error 🥺.
Idk if it Next-Auth error or what. can it return undefined or null from useSession? idk.
Steps To Reproduce
provider.tsx
export function Web3Provider({
  session,
  children,
}: PropsWithChildren<{ session: Session | null }>) {
  return (
    <WagmiConfig config={wagmiConfig}>
      <SessionProvider session={session}>
        <RainbowKitSiweNextAuthProvider>
          <RainbowKitProvider
            chains={chains}
            theme={darkTheme({
              accentColor: "#212121",
              accentColorForeground: "#c0e000",
            })}
          >
            {children}
          </RainbowKitProvider>
        </RainbowKitSiweNextAuthProvider>
      </SessionProvider>
    </WagmiConfig>
  );
}

layout.tsx
export default async function Layout(props: { children: React.ReactNode }) {
  const session = await auth();
  return (
    <html lang="en">
      <body
      >
          <Web3Provider session={session}>
            <Navbar />
            {props.children}
          </Web3Provider>
      </body>
    </html>
  );
}

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
my repo is private, i cant make it public, but i can add you to the collabs so you can get more context of my problem

i copied RainbowKitSiweNextAuthProvider code and added 'use client' on top and it works!

i copied RainbowKitSiweNextAuthProvider code and added 'use client' on top and it works!

@Mergemat Thanks for spotting this; we've amended the package to support the use client directive going forward

@Mergemat This looks like an incompatibility with the next-auth@5 API. There are a few breaking changes with v5 that we will need to address; please downgrade to v4. I've also updated the adapter package to strictly warn about this compatibility for the time being. Will close this for now, and we'll update to v5 when the API settles in the next few days/weeks.


Add wkhtmltoimage & wkhtmltopdf binary to Ubuntu image

I got wkhtmltopdf binary not found when using Snappy package. Can you guys add wkhtmltopdf and wkhtmltoimage to the Dockerfile. I think it's necessary for a lot of document processing package in PHP.

You can publish the dockerfiles and add this to your project.

In case anyone ends up here from Google, publish the Docker file and then add:
RUN apt-get update \
    && apt-get install -y xfonts-75dpi wget \
    && wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb \
    && apt install -y ./wkhtmltox_0.12.6-1.focal_amd64.deb \
    && rm ./wkhtmltox_0.12.6-1.focal_amd64.deb

More details.


building wheels with pipenv?

I'd like to be able to generate wheels for all dependencies in a Pipfile.lock while taking advantage of hash verification. Prior to 11.1.2 you could accomplish this with:
pipenv lock -r > reqs.txt
pip wheel -r reqs.txt

(#1417 was problematic for this workflow, but otherwise it worked)
In 11.1.2, hashes were removed from the requirements-style output which (afaik) means there is no way to build/download hash-verified wheels from a lock file.
The use-case is to package Python modules for offline installs or installs without compilation/development tools on the server. The wheels can be built, then distributed and installed in a minimal Python environment.

Is this functionality that you'd consider including in the project? If not, is there some way to support this workflow again?

no plans for this at this time

this sounds like a great opportunity for a pipenv-wheels tool, though.

Just in case anybody looks here for a solution, it's pretty easy (assuming the pipenv internals don't change):
from pipenv.utils import convert_deps_to_pip
with open('Pipfile.lock') as f:
    deps = json.load(f)['default']
# remove local project which wouldn't have a hash
for k, v in list(deps.items()):
    if v.get('path') == '.':
        del(deps[k])
path_to_requirements_file = convert_deps_to_pip(deps)


Add a normalized 'a'

Remove the text decoration and the blue default color

What browser does this?

@lpeil This project is to normalize the styles across browsers. Color and text decoration on links is an opinionated preference.

This is normalize, not reset.


Improve User Form States (Update on Type)

When starting this project, I used the default behavior for the form elements.  The form state does not change until you blur the input field.  This is default behavior for Blazor and to be honest worked fine for me back when starting out.  3 years into it I have grown acclimated to web development and my tastes have changed.
I looked into this and spent about a day converting.  There are about 70 uses of text controls in our solution currently.  That is a lot to test.  In the limited scenarios I did test, I spent a lot of time with state and getting the view to properly refresh.
What made me backtrack on this at the moment, however, was that there is a bad change of state currently with some of our validation controls which fire on text input blur (default behavior).  We have some validation controls that fire asynchronously and take an indeterminate amount of time along with our synchronous local validation.  For some reason, these no longer play well together and considering the risk I am going to revert my changes and get a few important ones from user profile (change username and add email which both work fine now with the new control).
Going forward we'll be mindful of this and make any new form controls update after input and not focus.  For v2 (which will most likely be a rewrite with an entire team involved 🤞), we'll have this design decision in mind from the outset.

I was able to get this in and we'll slowly move controls over to this.  Most important ones are using it and works well ATM.


Bump upbound/crossplane to the latest main

Description of your changes
Bump upbound/crossplane to latest available version from main.
I have:

[x] Read and followed Upbound's contribution process.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] ~Added backport release-x.y labels to auto-backport this PR, as appropriate.~

How has this code been tested
CI

@turkenh The helm chart was also changed in the sync.
This will be included in the next release, right?