Error while installation on Ubuntu 14.04

I'm trying to use this cookbook on the Ubuntu 14.04 Vagrant VM.
Using this directive:
mysql_service 'default' do
  version '5.6'
  bind_address '<IP_ADDRESS>'
  port '3306'
  initial_root_password 'mysql'
  provider Chef::Provider::MysqlServiceUpstart
  action [:create, :start]
end

But get the following issue:
==> vm: [2015-08-05T21:37:56+00:00] DEBUG: Re-raising exception: Mixlib::ShellOut::ShellCommandFailed - mysql_service[default] (devbox::_mysql line 5) had an error: Mixlib::ShellOut::ShellCommandFailed: apt_package[default :create mysql-server-5.6] (/tmp/vagrant-chef/c4315019b3b2c4d133fb769c06a935d3/cookbooks/mysql/libraries/provider_mysql_service_base.rb line 31) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
==> vm: ---- Begin output of apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu<IP_ADDRESS> ----
==> vm: STDOUT: Reading package lists...
==> vm: Building dependency tree...
==> vm: Reading state information...
==> vm: The following packages were automatically installed and are no longer required:
==> vm:   chef-zero erubis ohai ruby-diff-lcs ruby-erubis ruby-hashie ruby-highline
==> vm:   ruby-ipaddress ruby-mime-types ruby-mixlib-authentication ruby-mixlib-cli
==> vm:   ruby-mixlib-config ruby-mixlib-log ruby-mixlib-shellout ruby-net-ssh
==> vm:   ruby-net-ssh-gateway ruby-net-ssh-multi ruby-rack ruby-rest-client
==> vm:   ruby-sigar ruby-systemu ruby-yajl
==> vm: Use 'apt-get autoremove' to remove them.
==> vm: The following extra packages will be installed:
==> vm:   libaio1 libhtml-template-perl mysql-client-5.6 mysql-client-core-5.6
==> vm:   mysql-common-5.6 mysql-server-core-5.6
==> vm: Suggested packages:
==> vm:   libipc-sharedcache-perl mailx tinyca
==> vm: The following packages will be REMOVED:
==> vm:   mysql-client-5.5 mysql-client-core-5.5
==> vm: The following NEW packages will be installed:
==> vm:   libaio1 libhtml-template-perl mysql-client-5.6 mysql-client-core-5.6
==> vm:   mysql-common-5.6 mysql-server-5.6 mysql-server-core-5.6
==> vm: 0 upgraded, 7 newly installed, 2 to remove and 69 not upgraded.
==> vm: Need to get 19.9 MB of archives.
==> vm: After this operation, 121 MB of additional disk space will be used.
==> vm: Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libaio1 amd64 0.3.109-4 [6364 B]
==> vm: Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-client-core-5.6 amd64 5.6.19-0ubuntu<IP_ADDRESS> [4081 kB]
==> vm: Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-client-5.6 amd64 5.6.19-0ubuntu<IP_ADDRESS> [5526 kB]
==> vm: Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-server-core-5.6 amd64 5.6.19-0ubuntu<IP_ADDRESS> [4761 kB]
==> vm: Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-server-5.6 amd64 5.6.19-0ubuntu<IP_ADDRESS> [5452 kB]
==> vm: Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main libhtml-template-perl all 2.95-1 [65.5 kB]
==> vm: Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-common-5.6 all 5.6.19-0ubuntu<IP_ADDRESS> [15.0 kB]
==> vm: Preconfiguring packages ...
==> vm: Fetched 19.9 MB in 4min 21s (76.2 kB/s)
==> vm: (Reading database ... 105855 files and directories currently installed.)
==> vm: Removing mysql-client-5.5 (5.5.44-0ubuntu<IP_ADDRESS>) ...
==> vm: Removing mysql-client-core-5.5 (5.5.44-0ubuntu<IP_ADDRESS>) ...
==> vm: Processing triggers for man-db (<IP_ADDRESS>-1ubuntu1) ...
==> vm: Selecting previously unselected package libaio1:amd64.
==> vm: (Reading database ... 105798 files and directories currently installed.)
==> vm: Preparing to unpack .../libaio1_0.3.109-4_amd64.deb ...
==> vm: Unpacking libaio1:amd64 (0.3.109-4) ...
==> vm: Selecting previously unselected package mysql-client-core-5.6.
==> vm: Preparing to unpack .../mysql-client-core-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
==> vm: Unpacking mysql-client-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Selecting previously unselected package mysql-client-5.6.
==> vm: Preparing to unpack .../mysql-client-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
==> vm: Unpacking mysql-client-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Selecting previously unselected package mysql-server-core-5.6.
==> vm: Preparing to unpack .../mysql-server-core-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
==> vm: Unpacking mysql-server-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Selecting previously unselected package mysql-server-5.6.
==> vm: Preparing to unpack .../mysql-server-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
==> vm: Unpacking mysql-server-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Selecting previously unselected package libhtml-template-perl.
==> vm: Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...
==> vm: Unpacking libhtml-template-perl (2.95-1) ...
==> vm: Selecting previously unselected package mysql-common-5.6.
==> vm: Preparing to unpack .../mysql-common-5.6_5.6.19-0ubuntu<IP_ADDRESS>_all.deb ...
==> vm: Unpacking mysql-common-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Processing triggers for man-db (<IP_ADDRESS>-1ubuntu1) ...
==> vm: Processing triggers for ureadahead (0.100.0-16) ...
==> vm: Setting up libaio1:amd64 (0.3.109-4) ...
==> vm: Setting up mysql-client-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Setting up mysql-client-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Setting up mysql-server-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Setting up mysql-server-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Setting up libhtml-template-perl (2.95-1) ...
==> vm: Setting up mysql-common-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
==> vm: Processing triggers for ureadahead (0.100.0-16) ...
==> vm: STDERR: start: Job failed to start
==> vm: invoke-rc.d: initscript mysql, action "start" failed.
==> vm: dpkg: error processing package mysql-server-5.6 (--configure):
==> vm:  subprocess installed post-installation script returned error exit status 1
==> vm: Errors were encountered while processing:
==> vm:  mysql-server-5.6
==> vm: E: Sub-process /usr/bin/dpkg returned an error code (1)
==> vm: ---- End output of apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu<IP_ADDRESS> ----
==> vm: Ran apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu<IP_ADDRESS> returned 100
==> vm: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.1.0/lib/mixlib/shellout.rb:289:in `invalid!'
==> vm:   /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.1.0/lib/mixlib/shellout.rb:276:in `error!'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/mixin/shell_out.rb:56:in `shell_out!'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/provider/package.rb:501:in `shell_out_with_timeout!'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/provider/package/apt.rb:179:in `run_noninteractive'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/provider/package/apt.rb:145:in `install_package'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/provider/package.rb:93:in `block in action_install'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in `call'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in `add_action'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/provider.rb:175:in `converge_by'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/provider/package.rb:92:in `action_install'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/provider.rb:140:in `run_action'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource.rb:584:in `run_action'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in `run_action'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block (2 levels) in converge'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `each'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block in converge'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in `block in execute_each_resource'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in `execute_each_resource'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in `converge'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:62:in `recipe_eval_with_update_check'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:46:in `block in action'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/provider.rb:140:in `run_action'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource.rb:584:in `run_action'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in `run_action'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block (2 levels) in converge'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `each'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block in converge'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in `block in execute_each_resource'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in `execute_each_resource'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in `converge'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/client.rb:654:in `block in converge'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/client.rb:649:in `catch'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/client.rb:649:in `converge'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/client.rb:688:in `converge_and_save'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/client.rb:269:in `run'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/application.rb:270:in `block in fork_chef_client'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/application.rb:258:in `fork'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/application.rb:258:in `fork_chef_client'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/application.rb:224:in `block in run_chef_client'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:39:in `with_server_connectivity'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/application.rb:212:in `run_chef_client'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:280:in `block in interval_run_chef_client'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:269:in `loop'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:269:in `interval_run_chef_client'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:247:in `run_application'
==> vm:   /opt/chef/embedded/apps/chef/lib/chef/application.rb:60:in `run'
==> vm:   /opt/chef/embedded/apps/chef/bin/chef-solo:25:in `<top (required)>'
==> vm:   /usr/bin/chef-solo:55:in `load'
==> vm:   /usr/bin/chef-solo:55:in `<main>'
==> vm:
==> vm: Running handlers:
==> vm: [2015-08-05T21:37:56+00:00] ERROR: Running exception handlers
==> vm: Running handlers complete
==> vm: [2015-08-05T21:37:56+00:00] ERROR: Exception handlers complete
==> vm: Chef Client failed. 52 resources updated in<PHONE_NUMBER>97 seconds
==> vm: [2015-08-05T21:37:56+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> vm: [2015-08-05T21:37:56+00:00] DEBUG: Mixlib::ShellOut::ShellCommandFailed: mysql_service[default] (devbox::_mysql line 5) had an error: Mixlib::ShellOut::ShellCommandFailed: apt_package[default :create mysql-server-5.6] (/tmp/vagrant-chef/c4315019b3b2c4d133fb769c06a935d3/cookbooks/mysql/libraries/provider_mysql_service_base.rb line 31) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
==> vm: ---- Begin output of apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu<IP_ADDRESS> ----
==> vm: STDOUT: Reading package lists...
==> vm: Building dependency tree...
==> vm: Reading state information...
==> vm: The following packages were automatically installed and are no longer required:
==> vm:   chef-zero erubis ohai ruby-diff-lcs ruby-erubis ruby-hashie ruby-highline
==> vm:   ruby-ipaddress ruby-mime-types ruby-mixlib-authentication ruby-mixlib-cli
==> vm:   ruby-mixlib-config ruby-mixlib-log ruby-mixlib-shellout ruby-net-ssh
==> vm:   ruby-net-ssh-gateway ruby-net-ssh-multi ruby-rack ruby-rest-client
==> vm:   ruby-sigar ruby-systemu ruby-yajl
==> vm: Use 'apt-get autoremove' to remove them.
==> vm: The following extra packages will be installed:
==> vm:   libaio1 libhtml-template-perl mysql-client-5.6 mysql-client-core-5.6
==> vm:   mysql-common-5.6 mysql-server-core-5.6
==> vm: Suggested packages:
==> vm:   libipc-sharedcache-perl mailx tinyca
==> vm: The following packages will be REMOVED:
==> vm:   mysql-client-5.5 mysql-client-core-5.5
==> vm: The following NEW packages will be installed:
==> vm:   libaio1 libhtml-template-perl mysql-client-5.6 mysql-client-core-5.6
==> vm:   mysql-common-5.6 mysql-server-5.6 mysql-server-core-5.6
==> vm: 0 upgraded, 7 newly installed, 2 to remove and 69 not upgraded.
==> vm: Need to get 19.9 MB of archives.
==> vm: After this operation, 121 MB of additional disk space will be used.
==> vm: Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libaio1 amd64 0.3.109-4 [6364 B]
==> vm: Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-client-core-5.6 amd64 5.6.19-0ubuntu<IP_ADDRESS> [4081 kB]
==> vm: Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-client-5.6 amd64 5.6.19-0ubuntu<IP_ADDRESS> [5526 kB]
==> vm: Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-server-core-5.6 amd64 5.6.19-0ubuntu<IP_ADDRESS> [4761 kB]
==> vm: Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-server-5.6 amd64 5.6.19-0ubuntu<IP_ADDRESS> [5452 kB]
==> vm: Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main libhtml-template-perl all 2.95-1 [65.5 kB]
==> vm: Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-common-5.6 all 5.6.19-0ubuntu<IP_ADDRESS> [15.0 kB]
==> vm: Preconfiguring packages ...
==> vm: Fetched 19.9 MB in 4min 21s (76.2 kB/s)
==> vm: (Reading database ... 105855 files and directories currently installed.)
==> vm: Removing mysql-client-5.5 (5.5.44-0ubuntu<IP_ADDRESS>) ...
==> vm: Removing mysql-client-core-5.5 (5.5.44-0ubuntu<IP_ADDRESS>) ...
==> vm: Processing triggers for man-db (<IP_ADDRESS>-1ubuntu1) ...
==> vm: Selecting previously unselected package libaio1:amd64.
==> vm: (Reading database ... 105798 files and directories currently installed.)
==> vm: Preparing to unpack .../libaio1_0.3.109-4_amd64.deb ...
==> vm: Unpacking libaio1:amd64 (0.3.109-4) ...
==> vm: Selecting previously unselected package mysql-client-core-5.6.
==> vm: Preparing to unpack .../mysql-client-core-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
==> vm: Unpacking mysql-client-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Selecting previously unselected package mysql-client-5.6.
==> vm: Preparing to unpack .../mysql-client-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
==> vm: Unpacking mysql-client-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Selecting previously unselected package mysql-server-core-5.6.
==> vm: Preparing to unpack .../mysql-server-core-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
==> vm: Unpacking mysql-server-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Selecting previously unselected package mysql-server-5.6.
==> vm: Preparing to unpack .../mysql-server-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
==> vm: Unpacking mysql-server-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Selecting previously unselected package libhtml-template-perl.
==> vm: Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...
==> vm: Unpacking libhtml-template-perl (2.95-1) ...
==> vm: Selecting previously unselected package mysql-common-5.6.
==> vm: Preparing to unpack .../mysql-common-5.6_5.6.19-0ubuntu<IP_ADDRESS>_all.deb ...
==> vm: Unpacking mysql-common-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Processing triggers for man-db (<IP_ADDRESS>-1ubuntu1) ...
==> vm: Processing triggers for ureadahead (0.100.0-16) ...
==> vm: Setting up libaio1:amd64 (0.3.109-4) ...
==> vm: Setting up mysql-client-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Setting up mysql-client-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Setting up mysql-server-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Setting up mysql-server-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Setting up libhtml-template-perl (2.95-1) ...
==> vm: Setting up mysql-common-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
==> vm: Processing triggers for ureadahead (0.100.0-16) ...
==> vm: STDERR: start: Job failed to start
==> vm: invoke-rc.d: initscript mysql, action "start" failed.
==> vm: dpkg: error processing package mysql-server-5.6 (--configure):
==> vm:  subprocess installed post-installation script returned error exit status 1
==> vm: Errors were encountered while processing:
==> vm:  mysql-server-5.6
==> vm: E: Sub-process /usr/bin/dpkg returned an error code (1)
==> vm: ---- End output of apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu<IP_ADDRESS> ----
==> vm: Ran apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu<IP_ADDRESS> returned 100
==> vm: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.1.0/lib/mixlib/shellout.rb:289:in `invalid!'
==> vm: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.1.0/lib/mixlib/shellout.rb:276:in `error!'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/mixin/shell_out.rb:56:in `shell_out!'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/provider/package.rb:501:in `shell_out_with_timeout!'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/provider/package/apt.rb:179:in `run_noninteractive'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/provider/package/apt.rb:145:in `install_package'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/provider/package.rb:93:in `block in action_install'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in `call'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in `add_action'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:175:in `converge_by'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/provider/package.rb:92:in `action_install'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:140:in `run_action'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource.rb:584:in `run_action'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in `run_action'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block (2 levels) in converge'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `each'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block in converge'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in `block in execute_each_resource'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in `execute_each_resource'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in `converge'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:62:in `recipe_eval_with_update_check'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:46:in `block in action'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:140:in `run_action'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource.rb:584:in `run_action'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in `run_action'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block (2 levels) in converge'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `each'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block in converge'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in `block in execute_each_resource'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in `execute_each_resource'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in `converge'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/client.rb:654:in `block in converge'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/client.rb:649:in `catch'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/client.rb:649:in `converge'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/client.rb:688:in `converge_and_save'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/client.rb:269:in `run'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/application.rb:270:in `block in fork_chef_client'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/application.rb:258:in `fork'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/application.rb:258:in `fork_chef_client'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/application.rb:224:in `block in run_chef_client'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:39:in `with_server_connectivity'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/application.rb:212:in `run_chef_client'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:280:in `block in interval_run_chef_client'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:269:in `loop'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:269:in `interval_run_chef_client'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:247:in `run_application'
==> vm: /opt/chef/embedded/apps/chef/lib/chef/application.rb:60:in `run'
==> vm: /opt/chef/embedded/apps/chef/bin/chef-solo:25:in `<top (required)>'
==> vm: /usr/bin/chef-solo:55:in `load'
==> vm: /usr/bin/chef-solo:55:in `<main>'
==> vm: [2015-08-05T21:37:56+00:00] ERROR: mysql_service[default] (devbox::_mysql line 5) had an error: Mixlib::ShellOut::ShellCommandFailed: apt_package[default :create mysql-server-5.6] (/tmp/vagrant-chef/c4315019b3b2c4d133fb769c06a935d3/cookbooks/mysql/libraries/provider_mysql_service_base.rb line 31) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
==> vm: ---- Begin output of apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu<IP_ADDRESS> ----
==> vm: STDOUT: Reading package lists...
==> vm: Building dependency tree...
==> vm: Reading state information...
==> vm: The following packages were automatically installed and are no longer required:
==> vm:   chef-zero erubis ohai ruby-diff-lcs ruby-erubis ruby-hashie ruby-highline
==> vm:   ruby-ipaddress ruby-mime-types ruby-mixlib-authentication ruby-mixlib-cli
==> vm:   ruby-mixlib-config ruby-mixlib-log ruby-mixlib-shellout ruby-net-ssh
==> vm:   ruby-net-ssh-gateway ruby-net-ssh-multi ruby-rack ruby-rest-client
==> vm:   ruby-sigar ruby-systemu ruby-yajl
==> vm: Use 'apt-get autoremove' to remove them.
==> vm: The following extra packages will be installed:
==> vm:   libaio1 libhtml-template-perl mysql-client-5.6 mysql-client-core-5.6
==> vm:   mysql-common-5.6 mysql-server-core-5.6
==> vm: Suggested packages:
==> vm:   libipc-sharedcache-perl mailx tinyca
==> vm: The following packages will be REMOVED:
==> vm:   mysql-client-5.5 mysql-client-core-5.5
==> vm: The following NEW packages will be installed:
==> vm:   libaio1 libhtml-template-perl mysql-client-5.6 mysql-client-core-5.6
==> vm:   mysql-common-5.6 mysql-server-5.6 mysql-server-core-5.6
==> vm: 0 upgraded, 7 newly installed, 2 to remove and 69 not upgraded.
==> vm: Need to get 19.9 MB of archives.
==> vm: After this operation, 121 MB of additional disk space will be used.
==> vm: Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libaio1 amd64 0.3.109-4 [6364 B]
==> vm: Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-client-core-5.6 amd64 5.6.19-0ubuntu<IP_ADDRESS> [4081 kB]
==> vm: Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-client-5.6 amd64 5.6.19-0ubuntu<IP_ADDRESS> [5526 kB]
==> vm: Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-server-core-5.6 amd64 5.6.19-0ubuntu<IP_ADDRESS> [4761 kB]
==> vm: Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-server-5.6 amd64 5.6.19-0ubuntu<IP_ADDRESS> [5452 kB]
==> vm: Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main libhtml-template-perl all 2.95-1 [65.5 kB]
==> vm: Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mysql-common-5.6 all 5.6.19-0ubuntu<IP_ADDRESS> [15.0 kB]
==> vm: Preconfiguring packages ...
==> vm: Fetched 19.9 MB in 4min 21s (76.2 kB/s)
==> vm: (Reading database ... 105855 files and directories currently installed.)
==> vm: Removing mysql-client-5.5 (5.5.44-0ubuntu<IP_ADDRESS>) ...
==> vm: Removing mysql-client-core-5.5 (5.5.44-0ubuntu<IP_ADDRESS>) ...
==> vm: Processing triggers for man-db (<IP_ADDRESS>-1ubuntu1) ...
==> vm: Selecting previously unselected package libaio1:amd64.
==> vm: (Reading database ... 105798 files and directories currently installed.)
==> vm: Preparing to unpack .../libaio1_0.3.109-4_amd64.deb ...
==> vm: Unpacking libaio1:amd64 (0.3.109-4) ...
==> vm: Selecting previously unselected package mysql-client-core-5.6.
==> vm: Preparing to unpack .../mysql-client-core-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
==> vm: Unpacking mysql-client-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Selecting previously unselected package mysql-client-5.6.
==> vm: Preparing to unpack .../mysql-client-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
==> vm: Unpacking mysql-client-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Selecting previously unselected package mysql-server-core-5.6.
==> vm: Preparing to unpack .../mysql-server-core-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
==> vm: Unpacking mysql-server-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Selecting previously unselected package mysql-server-5.6.
==> vm: Preparing to unpack .../mysql-server-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
==> vm: Unpacking mysql-server-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Selecting previously unselected package libhtml-template-perl.
==> vm: Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...
==> vm: Unpacking libhtml-template-perl (2.95-1) ...
==> vm: Selecting previously unselected package mysql-common-5.6.
==> vm: Preparing to unpack .../mysql-common-5.6_5.6.19-0ubuntu<IP_ADDRESS>_all.deb ...
==> vm: Unpacking mysql-common-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Processing triggers for man-db (<IP_ADDRESS>-1ubuntu1) ...
==> vm: Processing triggers for ureadahead (0.100.0-16) ...
==> vm: Setting up libaio1:amd64 (0.3.109-4) ...
==> vm: Setting up mysql-client-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Setting up mysql-client-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Setting up mysql-server-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Setting up mysql-server-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Setting up libhtml-template-perl (2.95-1) ...
==> vm: Setting up mysql-common-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
==> vm: Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
==> vm: Processing triggers for ureadahead (0.100.0-16) ...
==> vm: STDERR: start: Job failed to start
==> vm: invoke-rc.d: initscript mysql, action "start" failed.
==> vm: dpkg: error processing package mysql-server-5.6 (--configure):
==> vm:  subprocess installed post-installation script returned error exit status 1
==> vm: Errors were encountered while processing:
==> vm:  mysql-server-5.6
==> vm: E: Sub-process /usr/bin/dpkg returned an error code (1)
==> vm: ---- End output of apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu<IP_ADDRESS> ----
==> vm: Ran apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu<IP_ADDRESS> returned 100
==> vm: [2015-08-05T21:37:56+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Bellow the raw command:
DEBIAN_FRONTEND=noninteractive apt-get -q -y install mysql-server-5.6=5.6.19-0ubuntu<IP_ADDRESS>
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libaio1 libdbd-mysql-perl libdbi-perl libterm-readkey-perl mysql-client-5.6
  mysql-client-core-5.6 mysql-common-5.6 mysql-server-core-5.6
Suggested packages:
  libclone-perl libmldbm-perl libnet-daemon-perl libplrpc-perl
  libsql-statement-perl mailx tinyca
The following NEW packages will be installed:
  libaio1 libdbd-mysql-perl libdbi-perl libterm-readkey-perl mysql-client-5.6
  mysql-client-core-5.6 mysql-common-5.6 mysql-server-5.6
  mysql-server-core-5.6
0 upgraded, 9 newly installed, 0 to remove and 69 not upgraded.
Need to get 0 B/20.8 MB of archives.
After this operation, 161 MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package libaio1:amd64.
(Reading database ... 104711 files and directories currently installed.)
Preparing to unpack .../libaio1_0.3.109-4_amd64.deb ...
Unpacking libaio1:amd64 (0.3.109-4) ...
Selecting previously unselected package libdbi-perl.
Preparing to unpack .../libdbi-perl_1.630-1_amd64.deb ...
Unpacking libdbi-perl (1.630-1) ...
Selecting previously unselected package libdbd-mysql-perl.
Preparing to unpack .../libdbd-mysql-perl_4.025-1_amd64.deb ...
Unpacking libdbd-mysql-perl (4.025-1) ...
Selecting previously unselected package libterm-readkey-perl.
Preparing to unpack .../libterm-readkey-perl_2.31-1_amd64.deb ...
Unpacking libterm-readkey-perl (2.31-1) ...
Selecting previously unselected package mysql-client-core-5.6.
Preparing to unpack .../mysql-client-core-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
Unpacking mysql-client-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
Selecting previously unselected package mysql-client-5.6.
Preparing to unpack .../mysql-client-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
Unpacking mysql-client-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
Selecting previously unselected package mysql-server-core-5.6.
Preparing to unpack .../mysql-server-core-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
Unpacking mysql-server-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
Selecting previously unselected package mysql-server-5.6.
Preparing to unpack .../mysql-server-5.6_5.6.19-0ubuntu<IP_ADDRESS>_amd64.deb ...
Unpacking mysql-server-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
Selecting previously unselected package mysql-common-5.6.
Preparing to unpack .../mysql-common-5.6_5.6.19-0ubuntu<IP_ADDRESS>_all.deb ...
Unpacking mysql-common-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
Processing triggers for man-db (<IP_ADDRESS>-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libaio1:amd64 (0.3.109-4) ...
Setting up libdbi-perl (1.630-1) ...
Setting up libdbd-mysql-perl (4.025-1) ...
Setting up libterm-readkey-perl (2.31-1) ...
Setting up mysql-client-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
Setting up mysql-client-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
Setting up mysql-server-core-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
Setting up mysql-server-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.6 (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up mysql-common-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Errors were encountered while processing:
 mysql-server-5.6
E: Sub-process /usr/bin/dpkg returned an error code (1)

Here some more debugging info:
$ DEBIAN_FRONTEND=noninteractive dpkg --configure -D 777 mysql-server-5.6
D000001: ensure_diversions: new, (re)loading
D000040: checking dependencies of mysql-server-5.6:amd64 (- <none>)
D000400:   checking group ...
D000400:     checking possibility  -> initscripts
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> libdbi-perl
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> lsb-base
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> mysql-client-5.6
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> mysql-server-core-5.6
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> passwd
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> perl
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> psmisc
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> debconf
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> sysv-rc
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> libaio1
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> libc6
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> libstdc++6
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> libwrap0
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> zlib1g
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> adduser
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> debconf
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> mysql-common
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000040: ok 2 msgs >><<
D000040:     checking Breaks
D000400:      checking virtbroken virtual-mysql-server
D000400:       checking breaker mysql-server-5.6:amd64 virtbroken virtual-mysql-server
Setting up mysql-server-5.6 (5.6.19-0ubuntu<IP_ADDRESS>) ...
D000002: fork/exec /var/lib/dpkg/info/mysql-server-5.6.postinst ( configure  )
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.6 (--configure):
 subprocess installed post-installation script returned error exit status 1
D000001: ensure_diversions: same, skipping
Errors were encountered while processing:
 mysql-server-5.6

And here is the strace output for the postinst script:
strace sh -x /var/lib/dpkg/info/mysql-server-5.6.postinst configure 5.6.19-0ubuntu<IP_ADDRESS>

System info:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:  Ubuntu 14.04.2 LTS
Release:  14.04
Codename: trusty

I reported this bug to MySQL here.

any news ?

@theonedemon the MySQL issue was closed: "No feedback was provided for this bug for over a month, so it is being suspended automatically"
I haven't used this cookbook since then.

I think we might close it since it is really old and nobody else was affected.


New Control 'TableView' for viewing tabular data

Hey,
I have been using your awesome framework for a while and wanted to contribute.  I have written a control for #255 .  I have reviewed the contribution guidelines and code of conduct.
I have added a new Scenario and tested it in Windows and MXLinux.

The control works with System.DataTable

I thought that would be a good way to avoid parsing CSVs as well as supporting viewing results from relational databases etc

Columns autosize based on the column widths and the widths of the visible cells
Supports horizontal and vertical scrolling including PageUp/Down/Home/End
User can configure

Maximum cell width
How to represent nulls
What character to use as a column separator (defaults to space)

Currently when you change the contents of the Table or the ColumnOffset or SelectedColumn you will also have to call Update before it will re-render.  This lets the API user drop columns or make many changes to the System.DataTable without having to respond to every one.  But it could also be confusing if the user changes the SelectedRow and doesn't see the UI immediately update.

Let me know if there are inefficiencies in the Redraw.  I noticed that the HexView (which I based this on) has a local method SetAttribute which I kept... although I'm not using it.
I'm unsure about the guidline (any guidance on how to do that would be great please):

Ensure the UICatalog demo for the new class illustrates both Absolutle Layout and Computed Layout.

Currently the control doesn't explicitly handle newlines in cell values but those seem to be replaced by spaces in DrawString anyway.

It looks good, thanks.

I'm unsure about the guidline (any guidance on how to do that would be great please):

Ensure the UICatalog demo for the new class illustrates both Absolutle Layout and Computed Layout.

See the Button Update method on how to change the Width. If it isn't null or an absolute value you must use the necessary code to change his Width and Height based on their type, unless that a control have a specific Width or Height, like the case of the Button Height is always equal to 1 where you must save the state of the LayoutStyle before changing his value and restore to the original LayoutStyle value. If a view have it's Layout Style.Computed the position and size depends on other views and changing to an absolute value causes the views stop to be anchored.

Don't forget to add documentation to the "Missing XML comment" warnings.

If you aren't use the SetAttribute you can remove because already exist a ColorScheme property in the base class View.

Thanks, now that I look again at Redraw I think I am confusing bounds and Frame.  I think all my size calculations (what columns to render where) should be done solely on Frame is that right?

Thanks, I will add comments and tidy up pointless variables. Now that I look again at Redraw I think I am confusing bounds and Frame. I think all my size calculations (what columns to render where) should be done solely on Frame is that right?

Bounds is related to the position and size of own view. Frame is related to the position and size in the screen. Only the size is equal on both. So in general it's only needed to deal with the Bounds property from 0 to Bounds.Width and 0 to Bounds.Height and the View class will deal with the convertion from view position to screen position. But there are some situations where you need to deal with the Frame property to check some positions and size against the windows size to take some actions needed.

Thanks, I will add comments and tidy up pointless variables. Now that I look again at Redraw I think I am confusing bounds and Frame. I think all my size calculations (what columns to render where) should be done solely on Frame is that right?

Bounds is related to the position and size of own view. Frame is related to the position and size in the screen. Only the size is equal on both. So in general it's only needed to deal with the Bounds property from 0 to Bounds.Width and 0 to Bounds.Height and the View class will deal with the convertion from view position to screen position. But there are some situations where you need to deal with the Frame property to check some positions and size against the windows size to take some actions needed.

Ok Cool thanks for that explanation, then I will leave it how it is for now.

I'll try to take a close look at this asap because I think it's gonna be awesome. I will see if I can re-write out-consolegridview to use this instead of the hacky way it simulates a table view today!

Hello,
Is System.Data.DataTable available on .NET Core and .NET Standard?
One thing that might be good to do with this view is to support the rendering similar to what Spectre.Console has, allowing users to set borders for example:
https://www.hanselman.com/blog/spectreconsole-lets-you-make-beautiful-console-apps-with-net-core

Hello,
Is System.Data.DataTable available on .NET Core and .NET Standard?

Hi, thanks for taking the time to look at this PR.  Yes it was in dotnet core 1.0 (Dotnet Standard 2.0 onwards)
https://docs.microsoft.com/en-us/dotnet/api/system.data.datatable?view=net-5.0#applies-to

One thing that might be good to do with this view is to support the rendering similar to what Spectre.Console has, allowing users to set borders for example:
https://www.hanselman.com/blog/spectreconsole-lets-you-make-beautiful-console-apps-with-net-core

Thanks for pointing me there they look awesome.  I have added table border lines and toggles for them in UICatalog.

Great job, thanks. Perhaps it may be implemented cells alignment.

Thanks, I have added a ColumnStyle class so that some columns can have different widths, alignment,formats  etc.

See method SetDemoTableStyles() in UICatalog for example of how to configure them.  I also added a menu item to the Scenario that clears the styles.

Wow, this is looking fantastic!
In the DoubleCol screenshot, I imagine that this can be aligned right, and that I can also specify the formatting options?

Wow, this is looking fantastic!

Thanks!

In the DoubleCol screenshot, I imagine that this can be aligned right, and that I can also specify the formatting options?

Yes, you can either specify a fixed alignment for the col:
Alignment = TextAlignment.Right,

Or you can assign alignment based on the values (e.g. negative values aligned right, positive values aligned left)
AlignmentGetter = (v)=>v is double d ? d < 0 ? TextAlignment.Right : TextAlignment.Left:
								// not a double e.g. could be DBNull.Value
								TextAlignment.Left

For formatting theres a delegate too... although that might be overkill, a simple string property Format might be better if I can work out a way to do that.
var dateFormatStyle = new ColumnStyle() {
				Alignment = TextAlignment.Right,
				RepresentationGetter = (v)=> v is DateTime d ? d.ToString("yyyy-MM-dd"):v.ToString()
};

You can also specify maximum and minimum widths for cols in the ColumnStyle class

Just wanted to say that this is great and have started used it. Appreciate the contribution! I have the class manually added to my code, looking forward to when this is merged!
Have a great day!

I have added mouse support to table view

Clicking a cell selects the cell
Mouse wheel scrolls up/down

Not sure if there is a way to tell if the Shift key is down in which case Shift Mouse Wheel could do horizontal scrolling.

Very great job, many thanks. You can see the ScrollView sample where it deals with WheeledLeft and WheeledRight flags.
It's possible to select to entire line? It will be nicer. It also be nicer on double click will edit the cell like F3 does.

FullRowSelect makes sense but would make horizontal scrolling with keyboard alone a challenge.  Currently when you move the selected cell using the arrow keys the scroll area updates when it moves off the current scroll area (like a spreadsheet does).
With full row selection though there is no horizontal 'current cell'... I guess the simplest way would be to make full row select still include a single 'active cell' sort of like this:

That's would be nice too. Thanks.

Ok have added FullRowSelect property (defaults to false).  I implemented PositionCursor so the selected cell always has the cursor in it.  This should ensure the user can tell which cell is the 'active' one within the row even when the whole row is selected.

Fantastic you are awesome. Thanks.

I have added multi selection (Shift + arrow/home/end key):

Is there a way to tell if the Shift/Ctrl key are down during mouse activities e.g. click one cell and ctrl click another.

I have added multi selection (Shift + arrow/home/end key):

Is there a way to tell if the Shift/Ctrl key are down during mouse activities e.g. click one cell and ctrl click another.

Is there a way to tell if the Shift/Ctrl key are down during mouse activities e.g. click one cell and ctrl click another.

You have to check for the MouseFlags.ButtonShift and MouseFlags.ButtonCtrl. Unfortunately in Linux doesn't not work as well as in Windows.

Is there a way to tell if the Shift/Ctrl key are down during mouse activities e.g. click one cell and ctrl click another.

You have to check for the MouseFlags.ButtonShift and MouseFlags.ButtonCtrl. Unfortunately in Linux doesn't not work as well as in Windows.

I forgot to mention that I dealed with MouseFlags.ButtonShift and MouseFlags.ButtonCtrl a long time ago in the FileDialog.cs at the MouseEvent method on DirListView class.

I forgot to mention that I dealed with MouseFlags.ButtonShift and MouseFlags.ButtonCtrl a long time ago in the FileDialog.cs at the MouseEvent method on DirListView class.

Like TreeView, I feel like we need a good collection of use-cases coded up before merging a big new control like this.
The more there are, the more confidence we all will have that something fundamental has not been missed in the design/API.
What are the current samples that have been written?

Like TreeView, I feel like we need a good collection of use-cases coded up before merging a big new control like this.
The more there are, the more confidence we all will have that something fundamental has not been missed in the design/API.
What are the current samples that have been written?

Thanks for the guidance @tig
I have added a simple CSV editor use case to the Scenarios.  Given there are entire libraries around parsing / saving CSV data I've not tried to handle newlines, escaping etc.  I'm assuming the idea is primarily demo the control and how to do common tasks with it.

I've also added an article to the docs on common use cases and how to get a DataTable for them:
https://github.com/tznind/gui.cs/blob/table-view/docfx/articles/tableview.md
Let me know if this is the right way to go and I can expand on the docs to cover common tasks, limitations etc.

Thanks for the guidance @tig
I have added a simple CSV editor use case to the Scenarios.  Given there are entire libraries around parsing / saving CSV data I've not tried to handle newlines, escaping etc.  I'm assuming the idea is primarily demo the control and how to do common tasks with it.

I've also added an article to the docs on common use cases and how to get a DataTable for them:
https://github.com/tznind/gui.cs/blob/table-view/docfx/articles/tableview.md
Let me know if this is the right way to go and I can expand on the docs to cover common tasks, limitations etc.

Impressive. Is it possible to move a column or row to another location?

Impressive. Is it possible to move a column or row to another location?

Impressive. Is it possible to move a column or row to another location?

Thanks, yes you can do most things with DataTable since it is a core class of C# - it is pretty versatile.  I've added moving rows and sorting to the example.  All these operations (sort, reorder) change the System.DataTable data directly.
The only 'view' level manipulations I've implemented so far are the Format and MaxLength etc fields in TableStyle.  You can see if you put a Format on a column it only affects the presentation layer not the value stored (so you can change the Format later on if you want).

Impressive. Is it possible to move a column or row to another location?

Thanks, yes you can do most things with DataTable since it is a core class of C# - it is pretty versatile.  I've added moving rows and sorting to the example.  All these operations (sort, reorder) change the System.DataTable data directly.
The only 'view' level manipulations I've implemented so far are the Format and MaxLength etc fields in TableStyle.  You can see if you put a Format on a column it only affects the presentation layer not the value stored (so you can change the Format later on if you want).

This is outstanding!   Thanks for this beautiful work!

This is outstanding!   Thanks for this beautiful work!

I finally got a chance to test and play with this. Thank you!!!!

Awesome stuff!

Is there a way to remove the selected style when the focus leaves the TableView  (and put it back when entering)?

Thanks for the blazing fast reply and example :)
Sorry, I probably haven't used the right words: what I'd like is that, when losing focus, the currently selected cell becomes normal (without the highlight), without altering the rest of the table.

Good point.  I have a prototype fix in #1776  please can you write this as a new issue so that it is easier to find and not mixed in with this old PR?


Release Google.Cloud.Dialogflow.V2 version 4.3.0

Changes in this release:
New features

Include conversation dataset name to be created with dataset creation metadata (commit 293e1ff)

Documentation improvements

Clarify SuggestionFeature enums which are specific to chat agents (commit 293e1ff)

Created release for Google.Cloud.Dialogflow.V2-4.3.0


Request: Implement deptry / pip-check-reqs

deptry and pip-check-reqs are similar tools.
They check whether there are unused or missing dependencies.
Use cases include:

My code works but I rely on a transitive dependency, and that could bite me in the future
My tests pass, but one of my dependencies is specified as a test dependency
I am wasting time/space installing a dependency which I do not need

My uninformed guess/hope is that with uv, astral-sh now has the tooling to understand the project's requirements, and with existing ruff rules, there is an understanding of the project's imports.
Context: I took over responsibility for pip-check-reqs a few years ago as a user of the project as it was breaking.

Hi! Thanks for the issue :)
We are indeed very interested in the idea of leveraging uv for linting. I'm not sure if it'll happen soon though.

I think the main challenges here aren't technical, but more-so that it requires deeper coupling to Python, since we need to know the sys.path in order to look for installed packages (at least for some of these rules, and to resolve the issue around something being imported as something_else). That also means we need to be running within a virtual environment, or have a path to a .venv provided by the user (like in Pyright).

I think for the third point you could use ast to get all the imports and compare them to dependencies from pyproject.toml. I am not sure if ruff can do something like this natively?


Operations limits

Limits
The main goal is to create an additional barrier for illicit activities and at the same time not to impair ability for regular users. Since the main feature to distinguish illicit transaction right now is the amount, it's seems reasonable to set following restictions:

A single operation ( deposit or withdrawal ) cannot exceed A
A single address must not deposit more than B during a single period of 24 hours
Overall sum of all of the deposits during a single period of 24 hours must not exceed C
Overall amount of tokens in the Pool must not exceed D

Implementation

Add a mutable daily quota value to the Pool state and constructor
Add a map of all the addresses that have transacted that day and additional counters for overall deposits and
When a user performs a transaction check that

map entry doesn't exist or contains enough quota
this operation doesn't result in any excess in cumulative metrics (all daily deposits, pool overall value)

Process transaction
Reduce the quota

Addressed in b8a7dd789fe3da1ae26a6db6981d4cab472f59fe and 5126f80d733423db734712311d9bc2451ab53396, closing the issue


Pachyderm Shell: clear screen command

What is the goal / desired outcome?

If there is a way to accomplish this today via workaround, what does that require?
Close the Pachyderm Shell and start a new one.
(Optional) What is your proposal for a feature to solve this?
implement a 'clear' command that clears the screen.

Hi @RaananHadar
CTRL + L should clear the screen for you.
This seems like a reasonable request. For now, I'll mark this as a general improvement for pachctl shell should the team work on improving it further.
See also #3150

Oh, didn't know that! I think that a quick fix would be to add this to the docs in the meanwhile.

@RaananHadar No worries! I don't think we should add this to the docs as this is a standard feature of most shells, and not something that we support. I'll keep this issue open though as a way of tracking this idea for the future!

Its interesting to note that i've been using a shell forever and didn't know about ctrl+L and I am betting that many others don't. Keyboard shortcuts in shells aren't commonly discussed. In short, if its a trivial addition to Pachyderm shell I would add a clear command, mention ctrl+L it in the docs or at least make this issue easily discoverable :smiley:
If you are willing to consider the docs option, i'll write a PR :smile:

Thanks @RaananHadar. If you'd like to add to the doc, please submit your PR and tag @echohack and @nadegepepin for review! Also link your PR to this issue so we can close it properly when everything is merged!


Problem during installation of Digilent Boards in Arduino Studio

I want to modify the OpenScopeMZ firmware, and so followed the instructions in README.md.
However I have got no further than step 2, because an error occurs when the tools are being downloaded from AWS.
When I access the corresponding page through my browser the error message is as follows:
<Error> NoSuchKey <Message>The specified key does not exist.</Message> <Key>Software/Digilent_Core/xc32-tools/1.43</Key> <RequestId>26300E2565E7A2C4</RequestId> <HostId> x/UmKN0/KiuFEWfzDS7lcN6IKNVKMm3ENH3G0tmJe/EcusNOy8cm+uUETCYSGmGHTwZ/XJKe0ww= </HostId> </Error>
Perhaps your AWS credentials are out-of-date?

Hey BluDotz, I just tested this and it works for me.  Can you post on the Digilent Forums so we can help troubleshoot this.
Thanks!

WILCO

On 26 Jun 2017, at 17:47, Sam Kristoff<EMAIL_ADDRESS>wrote:
Hey BluDotz, I just tested this and it works for me. Can you post on the Digilent Forums https://forum.digilentinc.com/forum/30-waveforms-live-and-openscope-mz/ so we can help troubleshoot this.
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Digilent/openscope-mz/issues/3#issuecomment-311116382, or mute the thread https://github.com/notifications/unsubscribe-auth/AHjMs2mG8DmXJ4wBASX7ytpDBT-eXZiOks5sH-CsgaJpZM4OFH9Z.

Conversation moved here.

Resolved by deleting the Digilent files in : /Users//Library/Arduino15/staging/packages and using Arduino 1.6.9.
I have 4 files after a clean install that start with the following prefixes
chipKIT*
Digilent*
xc32*
Close and re-open the Arduino IDE after deleting files.


Various fixes for install_yamls_setup

Issues solved include:
- Image pull rate limiting resulted in download issues with docker.io
- clouds.yaml was missing verify: False
- Instead of deploying operators individually, which proved to be
problematic, it now uses openstack operator and patches the CSV so
octavia operator can run locally
- kubefwd was needed in order to make connection between local operator and services in the cluster

/hold wip

/status in-progress

/hold cancel


Add template

What type of PR is this?

[x] Enhancement (new features, refinement)
[x] Add tests

What this PR does / why we need it:
Which issue(s) this PR fixes:

Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1ba502a). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #4   +/-   ##
=========================================
  Coverage          ?   81.81%
=========================================
  Files             ?        9
  Lines             ?       44
  Branches          ?        0
=========================================
  Hits              ?       36
  Misses            ?        8
  Partials          ?        0

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 1ba502a...2b4e426. Read the comment docs.


Fix BrowserHttpClientAdapter canceled hangs

New Pull Request Checklist

[ ] I have read the Documentation
[ ] I have searched for a similar pull request in the project and found none
[ ] I have updated this branch with the latest develop to avoid conflicts (via merge from master or rebase)
[ ] I have added the required tests to prove the fix/feature I am adding
[ ] I have updated the documentation (if necessary)
[ ] I have run the tests and they pass

This merge request fixes / refers to the following issues: ...
Pull Request Description
could check case https://github.com/morlay/roundtripper/runs/4862938300?check_suite_focus=true
When using BrowserHttpClientAdapter cancel hangs until timeout. DefaultHttpClientAdapter work well.
00:39 +4: test/basic_test.dart: cancel
00:40 +4: test/basic_test.dart: cancel
00:41 +4: test/basic_test.dart: cancel
00:42 +4: test/basic_test.dart: cancel
00:43 +4: test/basic_test.dart: cancel
00:44 +4: test/basic_test.dart: cancel
00:45 +4: test/basic_test.dart: cancel
00:46 +4: test/basic_test.dart: cancel
00:46 +4 -1: test/basic_test.dart: cancel [E]
  TimeoutException after 0:00:30.000000: Test timed out after 30 seconds. See https://pub.dev/packages/test#timeouts
  package:test_api                                 Invoker._handleError.<fn>
  org-dartlang-sdk:///lib/async/zone.dart 1420:46  StaticClosure._rootRun
  org-dartlang-sdk:///lib/async/zone.dart 1327:34  _CustomZone.run
  package:test_api                                 Invoker.heartbeat.<fn>.<fn>
  org-dartlang-sdk:///lib/async/zone.dart 1428:12  StaticClosure._rootRun
  org-dartlang-sdk:///lib/async/zone.dart 1327:34  _CustomZone.run

When patch the code in this PR, everything fine.

@kuhnroyal
It could be run with dart test --platform=chrome for web.
not need to add more testing.
may just consider to enable it in ci
like https://github.com/dart-lang/http/blob/master/.github/workflows/test-package.yml#L63

@kuhnroyal
I upgrade test option testOn to disable some tests for vm only
then CI could be run vm & chrome both

Thank you, nice work!


206 Partial Content handling

Hi,
I'm using 206 responses when my API for performance reasons needs to return only the first X elements.
Generated code for 206 currently throws an exception containing the response as a string.
What do you think about either proposal :
1/ Throw the generic exception instead with the deserialized partial response.
2/ Return a named tuple (or a class) with the result and a bool indicating if it is partial or not.
The option n°2 has the advantage of not using exceptions for a standard/known code path but the first one would avoid breaking change if the exception where to contain both string and deserialized response.

Very disappointed to see proposals like this being completely ignored for so long. I'll never understand the desire to throw first and ask questions later. When receiving an HTTP response, we can reason about the status code. We do not need to throw an Exception if it's not 200.
An ideal solution either be outputting a tuple or wrapping the DTO with HttpResult<T>. The interfaces can even be built to accept optional arguments for expected non-200 status codes that won't throw an Exception to maintain compatibility.

Hi @RicoSuter,
Any thoughts on that issue ?


toolchain build how-to

Do you have any documentation (or a bash script) showing how you build the toolchain? I'd like to build my own toolchain for crosscompiling from Mac (I mean a toolchain for building my apps, not the whole toltec tree).
Thanks!

You can take a look at the workflow files, that would show you what it does.

Sorry I didn't reply before, @Eeems ...for the moment I discarded building my own toolchains, because I needed to be able to compile soon, so I'm using the Docker images that rmkit generates.
I'm closing this issue for the moment. Thanks a lot!!

Oh, if you just needed prebuilt images to work with, they are also available for the toltec toolchains.

Yes, I know, but my original plan was to build them myself. Then time constraints changed the plan 😄


Auto Balance

Requirements and Constraints:

3-5 seconds max routine (this includes driving up the ramp)
No prolonged oscillation when balancing
Polycarb must be tested before merging
Should continuously balance even after engaging

IT HAS BEEN MERGED! good job guys :)) 🐝


New classpath management system in launchers might break

Compiler version
main (https://github.com/scala/scala3/commit/f2829c3fab28cc6ab47a5627abda855884476572)
Issue example
https://github.com/scala/scala3/pull/20631 changes the management of the classpath for the scaladoc.bat and scalac.bat commands. With this new structure, the length of the classpath is now much bigger than what is was previously and even reaching some of the limits set by windows : https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/command-line-string-limitation
Discovered while debugging an workflow run in https://github.com/scala/scala3/pull/20547
Expectation
We should reduce the length of the classpath variable to have enough margin to append other options and to avoid malfunctions

the technique is ultimately the same as before, just the number of entries grew in scaladocs classpath

Yes, this issue tackles the fact that now we have /maven2/.../file.jar instead of /lib/file.jar, therefore increasing the number of characters and reaching the limit set by Windows


Create SSH key in default location so -i flag isn't needed

Note: if this gets accepted, the lab steps with ssh -i will need to be updated

Thanks!


Design

Design fixes

updating old bootstrap to version 3.3
including font-awesome
re-classing
css optimisations (css code)
optimisation for This person is also your list administrator.
Pass dates can be selected
Translation select not showing on mobile
First page 3 easy steps fix in blok

done for now


Test naming changed from 1.8 to 1.9 for floats

I had this test:
@RunWith(TestParameterInjector.class)
...

@Test
public void testLightStateOnDevice(
	@TestParameter({"45", "0", "-3", "-6", "-9", "-12", "-15", "-18", "-21"}) float angle,
	@TestParameter Preset preset
) {

I'm using it for screenshot test recording, so the test names between previous and next versions has to match (otherwise hard to compare screenshots :). When updating from TPI 1.8 to 1.9 my PR failed:
java.lang.AssertionError: File src/test/snapshots/images/net.twisterrob.sun.android.logic_SunAngleWidgetViewScreenshotTest_testLightStateOnDevice[45.0,Nice_Preview].png does not exist

when inspecting the golden values on master (1.8) I found:
net.twisterrob.sun.android.logic_SunAngleWidgetViewScreenshotTest_testLightStateOnDevice[45,Nice_Preview].png

Since the only thing changed in the PR was the TPI version number, it's very likely that this had an unintended behavior change:
https://github.com/google/TestParameterInjector/commit/e390bab7bf4c621e54ae7f814ebd405e49d60829#diff-f0f3c84fc90c4da3bd5e1267e7b74d5774029389e86dfe1bba895740b8b886d0R142

Hi!
Thanks for letting me know.
The behavior you are seeing surprises me, because we have a unit test since 2020-08-05 that tests that
    @Test
    public void withFloat(@TestParameter({"1.2", "2"}) float param) {
      testNameToParameterMap.put(testName.getMethodName(), param);
    }

gets the test name
"withFloat[param=2.0]"

which seems to match your use case.
(I can't link to the test because it is removed when exporting to Github due to a dependency on textproto parsing)
I suspect this may be a combination of a change in TestParameterInjector and your JVM being different (e.g. Anroid vs openJDK).

Hmm, scrap that. Even before this library was open sourced, we had a unit test that ran on an Android emulator that checks that @TestParameter({"1.2", "2"}) float param) gives "withFloat[param=2.0]".
Since May 2022, we extended this test with multiple Android versions, starting at SDK version 15.
So that's probably not it either.

it's very likely that this had an unintended behavior change:
https://github.com/google/TestParameterInjector/commit/e390bab7bf4c621e54ae7f814ebd405e49d60829#diff-f0f3c84fc90c4da3bd5e1267e7b74d5774029389e86dfe1bba895740b8b886d0R142

(just reading this now)
It feels like it can't be a coincidence, I agree.
In your case, since parameter names are not present and the value is not an array, it should change value() to valueAsString(), which in turn becomes String.valueOf(value());.
So then String.valueOf(value()) should give a different result as MessageFormat.format("{0}", value()).
From the documentation of MessageFormat, it seems like it uses something like NumberFormat.getInstance(getLocale()).format(argument) to format the float. That could explain why you are seeing a different result than the Google test infrastructure.
If that's the case, I'd argue this is actually an improvement because it makes the result independent of the locale.

Ok, I'd say fair evaluation, nice! :)
Would you mind adding a hint in the changelog as this is a "breaking" behavior change (depending on usage of course).

Oh, btw my execution is on JVM, not Android devices. Paparazzi is amazing tech!

Would you mind adding a hint in the changelog as this is a "breaking" behavior change (depending on usage of course).

Done in https://github.com/google/TestParameterInjector/commit/cd1575831b100667e8ee68d4408587c8cab5d1db


ERRORS when running velocyto: ERROR - This is an older version of cellranger, cannot check if the output are ready, make sure of this yourself! ERROR - Can not locate the barcodes.tsv file!

Good afternoon Velocyto team, I know many users run into this issue, but I could not fix it by what was offered in the community.
I am running velocyto in conda environment recommended by 10X genomics.
My Cell Ranger output directory consists of the following files:

**- analysis (untared and ungziped folder)

filtered_feature_bc_matrix (untared and ungziped folder)
barcodes.tsv (ungiziped)
features.tsv
filtered_feature_bc_matrix.h5
molecule_info.h5
possorted_genome_bam.bam
raw_feature_bc_matrix.h5
web_summary.html**

I am running the following command: velocyto run10x /home/agera4/RNAvelocityHCI003GM/outs /home/agera4/genes.gtf
This is the errors I am getting:
2023-03-24 15:01:38,904 - ERROR - This is an older version of cellranger, cannot check if the output are ready, make sure of this yourself
2023-03-24 15:01:38,905 - ERROR - Can not locate the barcodes.tsv file!
Traceback (most recent call last):
File "/home/agera4/.conda/envs/tutorial/bin/velocyto", line 11, in
sys.exit(cli())
File "/home/agera4/.conda/envs/tutorial/lib/python3.6/site-packages/click/core.py", line 1128, in call
return self.main(*args, **kwargs)
File "/home/agera4/.conda/envs/tutorial/lib/python3.6/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/home/agera4/.conda/envs/tutorial/lib/python3.6/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/agera4/.conda/envs/tutorial/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/agera4/.conda/envs/tutorial/lib/python3.6/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/agera4/.conda/envs/tutorial/lib/python3.6/site-packages/velocyto/commands/run10x.py", line 91, in run10x
bcfile = bcmatches[0]
IndexError: list index out of range
What should I do to fix it?

Hi AsyaTiho,
I had similar issue. I was using the data provided by 10x Genomics tutorial.
https://www.10xgenomics.com/resources/analysis-guides/trajectory-analysis-using-10x-Genomics-single-cell-gene-expression-data
Command:
velocyto run10x /scratch/s167561/trajectory_analysis/ /scratch/s167561/reference/10X_references/refdata-gex-GRCh38-2020-A/genes/genes.gtf
Have you figured out how to fix it?
Thanks,
Yan
Error information:
2023-04-25 14:06:49,230 - ERROR - This is an older version of cellranger, cannot check if the output are ready, make sure of this yourself
2023-04-25 14:06:49,230 - ERROR - Can not locate the barcodes.tsv file!
Traceback (most recent call last):
File "/home/s167561/mambaforge/envs/trajectory/bin/velocyto", line 11, in
sys.exit(cli())
File "/home/s167561/mambaforge/envs/trajectory/lib/python3.6/site-packages/click/core.py", line 1128, in call
return self.main(*args, **kwargs)
File "/home/s167561/mambaforge/envs/trajectory/lib/python3.6/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/home/s167561/mambaforge/envs/trajectory/lib/python3.6/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/s167561/mambaforge/envs/trajectory/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/s167561/mambaforge/envs/trajectory/lib/python3.6/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/s167561/mambaforge/envs/trajectory/lib/python3.6/site-packages/velocyto/commands/run10x.py", line 91, in run10x
bcfile = bcmatches[0]
IndexError: list index out of range
/var/spool/slurmd/job01033/slurm_script: line 25: calculate_duration: command not found

From the tutorial you should run velocyto as follows:
repeat_masker="/path/to/grch38_rmsk.gtf"
reference_genes_gtf="/path/to/refdata-gex-GRCh38-2020-A/genes/genes.gtf"
input_10x="$1"
echo ${input_10x}
velocyto run10x -m "$repeat_masker" "$input_10x"  "$reference_genes_gtf"

Your input_10x should be pointing to directory where 10x dumps all of the files (outs and logs etc).
BC matrix will be read using the following lines. Because it checks the outs in that directory if you give the outs as it was suggested. It adds path/outs again which cannot find the output.
    bcmatches = glob.glob(os.path.join(samplefolder, os.path.normcase("outs/filtered_gene_bc_matrices/*/barcodes.tsv")))
    if len(bcmatches) == 0:
        bcmatches = glob.glob(os.path.join(samplefolder, os.path.normcase("outs/filtered_feature_bc_matrix/barcodes.tsv.gz")))
    if len(bcmatches) == 0:
        logging.error("Can not locate the barcodes.tsv file!")
    bcfile = bcmatches[0]

in your case this is /home/agera4/RNAvelocityHCI003GM


Failed to persist state to backend when I use S3 as backend!??

System Information
Linux distribution
 Ubuntu 22.04
Terraform version
v1.7.3

Provider and libvirt versions
v0.7.6

Issue Description:
During the execution of a Terraform apply operation aimed at setting up a VyOS VM, we encountered an error related to saving the Terraform state to the S3 backend. The process was unable to persist a state snapshot, leading to a failure in saving the state. This issue occurred immediately after successfully creating the libvirt_domain.vyos_vm resource. Further investigation revealed an EOF error from the provider and a subsequent failure to upload the state to S3 due to the request stream not being seekable. As a result, Terraform suggested using terraform state push errored.tfstate to recover from this error.
Error Details:

Initial Error: State storage *remote.State declined to persist a state snapshot.
Provider EOF Error: Received EOF, stopping recv loop; error reading from server: EOF.
Libvirt Provider Debug Info: Cleaning up connection for URI: qemu+ssh://kvmuser@[IP]/system?sshauth=privkey.
S3 Upload Attempt: Backend-s3 attempted to upload remote state to customer-terraform-states bucket with path Customer-v1/kvm/vyos/NLD.tfstate.
S3 Upload Error: Failed to upload state: operation error S3: PutObject, failed to rewind transport stream for retry, request stream is not seekable.
Recovery Suggestion: To retry writing this state, use the command: terraform state push errored.tfstate.

Steps to Reproduce:
Run Terraform apply for the configuration targeting the creation of a VyOS VM in a KVM environment with S3 as the backend for state storage.
Observe the error during the state saving process to the S3 backend.
Expected Outcome:
Terraform should successfully save the state to the S3 backend without encountering stream-related errors.
Actual Outcome:
Terraform failed to save the state to the S3 backend due to a non-seekable stream error during the PutObject operation.
The funny thing is that sometimes it works sometimes it does not. I always delete the state in S3 to start fresh
Detailed Log Output:
2024-02-14T21:53:34.084Z [DEBUG] State storage *remote.State declined to persist a state snapshot
2024-02-14T21:53:34.085Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-02-14T21:53:34.085Z [INFO]  provider.terraform-provider-libvirt_v0.7.6: 2024/02/14 21:53:34 [DEBUG] cleaning up connection for URI: qemu+ssh://kvmuser@<IP_ADDRESS>/system?sshauth=privkey: timestamp=2024-02-14T21:53:34.085Z
libvirt_domain.vyos_vm: Creation complete after 5s [id=5d0618c2-4aaa-4cc3-8ffd-9b58e6e50431]
2024-02-14T21:53:34.236Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/dmacvicar/libvirt/0.7.6/linux_amd64/terraform-provider-libvirt_v0.7.6 pid=3004
2024-02-14T21:53:34.236Z [DEBUG] provider: plugin exited
2024-02-14T21:53:34.236Z [DEBUG] states/remote: state read serial is: 1; serial is: 1
2024-02-14T21:53:34.236Z [DEBUG] states/remote: state read lineage is: 79cc23e2-4445-09ae-30d5-7b83bccb0af7; lineage is: 79cc23e2-4445-09ae-30d5-7b83bccb0af7
2024-02-14T21:53:34.238Z [INFO]  backend-s3: Uploading remote state: tf_backend.operation=Put tf_backend.req_id=d066bb77-3978-c982-afa7-ca82e6a90fb3 tf_backend.s3.bucket=customer-terraform-states tf_backend.s3.path=Customer-v1/kvm/vyos/NLD.tfstate
2024-02-14T21:53:34.238Z [DEBUG] backend-s3: HTTP Request Sent: aws.region=*** aws.s3.bucket=customer-terraform-states aws.s3.key=Customer-v1/kvm/vyos/NLD.tfstate rpc.method=PutObject rpc.service=S3 rpc.system=aws-api tf_aws.sdk=aws-sdk-go-v2 tf_aws.signing_region="" tf_backend.operation=Put tf_backend.req_id=d066bb77-3978-c982-afa7-ca82e6a90fb3 tf_backend.s3.bucket=customer-terraform-states tf_backend.s3.path=Customer-v1/kvm/vyos/NLD.tfstate http.request.header.x_amz_sdk_checksum_algorithm=SHA256 http.request.header.x_amz_trailer=x-amz-checksum-sha256 http.request.header.x_amz_server_side_encryption=AES256 http.request.header.amz_sdk_invocation_id=650dea4c-c1cc-4b28-b0ca-2747557a1cf4 http.user_agent="APN/1.0 HashiCorp/1.0 Terraform/1.7.3 (+https://www.terraform.io) aws-sdk-go-v2/1.24.0 os/linux lang/go#1.21.5 md/GOOS#linux md/GOARCH#amd64 api/s3#1.47.5 ft/s3-transfer" http.request.header.authorization="AWS4-HMAC-SHA256 Credential=AKIA************EE3C/20240214/***/s3/aws4_request, SignedHeaders=accept-encoding;amz-sdk-invocation-id;content-encoding;content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-decoded-content-length;x-amz-sdk-checksum-algorithm;x-amz-server-side-encryption;x-amz-trailer, Signature=*****" http.request.header.amz_sdk_request="attempt=1; max=5" http.request.header.x_amz_content_sha256=STREAMING-UNSIGNED-PAYLOAD-TRAILER net.peer.name=customer-terraform-states.s3.***.amazonaws.com http.request.body="[Redacted: 37.8 KB (38,736 bytes), Type: application/json]" http.request.header.accept_encoding=identity http.url=https://customer-terraform-states.s3.***.amazonaws.com/Customer-v1/kvm/vyos/NLD.tfstate?x-id=PutObject http.request_content_length=38736 http.request.header.x_amz_decoded_content_length=38655 http.request.header.x_amz_date=20240214T215334Z http.request.header.content_type=application/json http.request.header.content_encoding=aws-chunked http.method=PUT
╷
│ Error: Failed to save state
│
│ Error saving state: failed to upload state: operation error S3: PutObject,
│ failed to rewind transport stream for retry, request stream is not seekable
╵
╷
│ Error: Failed to persist state to backend
│
│ The error shown above has prevented Terraform from writing the updated
│ state to the configured backend. To allow for recovery, the state has been
│ written to the file "errored.tfstate" in the current working directory.
│
│ Running "terraform apply" again at this point will create a forked state,
│ making it harder to recover.
│
│ To retry writing this state, use the following command:
│     terraform state push errored.tfstate
│
╵
Error: Process completed with exit code 1.

Hi, I think this is issue with Terraform itself and has nothing to do with this provider. Please close this issue.


[d3d9] Fallout New Vegas, Fallout 3 has missing polygons every frame on Z1 Extreme APUs

In both Fallout New Vegas and Fallout 3, the ground and the interior of buildings will have a seemingly random amount of polygons either removed or have their textures replaced with solid colors (usually black, but I've seen pink and yellow occasionally as well). This issue seems to resolve itself nearly entirely if Anisotropic Filtering was disabled in the game's launcher.
I was not able to reproduce this issue on other RDNA3 hardware (RX 7900XT), only the Z1 Extreme. It's possible this also happens on other Phoenix APUs.
Software information
I tested both Fallout New Vegas and Fallout 3, both on Ultra settings & 1080p. The log file provided below is from Fallout New Vegas.
System information

GPU: Radeon 780M ([AMD/ATI] Phoenix1 [1002:15bf]) (GFX1103_R1)
Driver: RADV, Mesa 23.1.3
Wine version: Proton 8-2
DXVK version: 2.1

Apitrace file(s)
I was unable to take a trace as I did not have access to Windows on this device and attempting to use WineD3D resulted in the game crashing immediately.
Log files
steam-22380.log

Hi there and they you for the issue 👋
If it doesn't reproduce on other rdna3 hardware then it's possible it could be a driver issue. These games in general run pretty well except for some at times hard to reproduce graphical problems that are game bugs.
Can you share a video or screenshot of the issue?

I was unable to take a trace as I did not have access to Windows on this device and attempting to use WineD3D resulted in the game crashing immediately.

Making a apitrace with dxvk is fine for this kind of issue if that is possible.
Also have you checked proton experimental to see if it's still present with newer dxvk? I don't believe it will change anything but would be nice with a quick check.

I was also able to reproduce this issue on the AMD z1 extreme.
Here is a short video of the issue in fallout 3:
https://github.com/doitsujin/dxvk/assets/35882868/3403c7dc-fc41-4424-9ec3-0b68ff82aaec
You can see the ground flickering.

I was also able to reproduce this issue on the AMD z1 extreme.
Here is a short video of the issue in fallout 3:
fo.mp4
You can see the ground flickering.

Can confirm that this is the same issue I'm having in Fallout New Vegas. It occurs in both games.

Yes a mesa issue would be the way

For reference, the Mesa issue: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9318


Feature Request: Save last position

Is it possible to implement a setting, so the retroflow launcher remember last position where a game was started and start at this position next launch.
Example:  you are at position 22 and start that game. Now you close this game and start again RetroFlow Launcher.
Normaly it will start again at position 1, but it would be nice to start at 22.

Hi, you can change the startup category to recently played in the settings menu. When the app starts, the first game you see will be the one you played last.

Hello Jimbo,
I know this category, but it’s not what I mean.
my request would help, if you have a big library of games and you want to test the games, then you have to start always from the beginning to scroll.

Okay, makes sense.
I don't think it's something I'd like to add, it's come up before.
It may be in an upcoming version of HexFlow custom.


[FEATURE] send a notification when a user leaves a chat

Description
Send a browser notification when one of the user leaves the chat, there's already a pop-up when that happens, but if a user isn't on that page then the user can miss it.
https://github.com/Dun-sin/Whisper/blob/4b12bf53561e7c2e5f8188c40c1a7d10eba11978/client/src/components/BuddyMatcher.jsx#L91-L106
Screenshots
No response
Additional information
No response
👀 Have you checked if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read and understood the rules in the Contributing Guidelines

Are you willing to work on this issue ?
None

Hi, @Dun-sin  I want to solve this issue

Hi, @Dun-sin I want to solve this issue

okay, can you tell me how you would solve it?

Hey @Dun-sin,  I have gone through the issues. In my opinion following issues #305 , #306 , #307 , #308 and #309 can be solved if we Create a notification class as a utility that will use the Notification web Api and in each place we want to send notifications we can create an object which will accept different options like the message you we want to send, etc.
I can implement this by the first of October. So can you assign this to me ?

Hey @Dun-sin, I have gone through the issues. In my opinion following issues #305 , #306 , #307 , #308 and #309 can be solved if we Create a notification class as a utility that will use the Notification web Api and in each place we want to send notifications we can create an object which will accept different options like the message you we want to send, etc. I can implement this by the first of October. So can you assign this to me ?

no, thanks for wanting to contribute tho, you can check other issues

hi @shreyashnalawade1 still interested in this?

Hi there, I looked into it i wold like to solve this please assign it to me

Hi there, I looked into it i would like to solve this please assign it to me @Dun-sin

how did you look into it?

@Dun-sin  I looked into the issue and there exist some solutions like

Creating a Web Push API for broadcasting the message
Another solution is checking the tab which is active, using this if our tab gets activated our notification will also gets activated
I will try to look which solution matches with the codebase and is robust and lightweight

@Dun-sin I looked into the issue and there exist some solutions like
1. Creating a Web Push API for broadcasting the message

2. Another solution is checking the tab which is active, using this if our tab gets activated our notification will also gets activated

I will try to look which solution matches with the codebase and is robust and lightweight

we already have notification implemented, either way i can't assign this to you, will do so if @shreyashnalawade1 doesn't respond in one week

hey @Dun-sin can you assign me this issue too?

@SiddharthaKR the other dude didn't reply in a week and a week is up, are you still interested in this?

Hello @Dun-sin i am currently working on different issue, you can assign someone else this issue.
Thank you

Hi Dunsin,
I will love to tag along the person that will be working in this issue if that is ok by them. I am interested in learning how this works

Hi Dunsin,
I will love to tag along the person that will be working in this issue if that is ok by them. I am interested in learning how this works

Well that's all up to them

hey @Dun-sin if not is picking up this task please assign me this. I have already worked on this and like to learn more about the functionality of the notification API.

hey @Dun-sin if not one is picking up this task please assign me this. I have already worked on this and like to learn more about the functionality of the notification API.

will rather give this to someone else


Unable to open collection after updating intellij

IntelliJ IDEA 2019.1 (Ultimate Edition)
Build #IU-191.6183.87, built on March 27, 2019
JRE: 1.8.0_202-release-1483-b39 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.4

+1

+1

Same here:
PyCharm 2019.1.1 (Community Edition)
Build #PC-191.6605.12, built on April 3, 2019
JRE: 11.0.2+9-b159.34 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6

+1

Hi, same with DataGrip. 2019.1. on MacOS 10.14.4.
After downgrading DataGrip it works.
Thanks a lot for the plugin!

+1
PyCharm 2019.1.1 (Professional Edition)
Build #PY-191.6605.12, built on April 3, 2019
JRE: 11.0.2+9-b159.34 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 7 6.1

+1

my team currently working on fix this problem and release a new plugin version

+1

https://plugins.jetbrains.com/plugin/12242-mongo-2-0

+1

https://plugins.jetbrains.com/plugin/12242-mongo-2-0

Unable to download:
The plugin update is pending JetBrains approval

Why is this released as a new plugin and not just updating the old/current one?

0.12.2 is available on the Plugin repository and seems to work (see #269).
Sorry for the delay :)


Runtime type information for objects crossing the Rust–Python boundary

Thank you for contributing to pyo3!
Please consider adding the following to your pull request:

[x] an entry in CHANGELOG.md
docs to all new functions and / or detail in the guide Documentation will be added when the whole inspect module will be done
[x] tests for all new or changed functions

First step towards https://github.com/PyO3/pyo3/issues/2454.
The goal of this PR is to provide runtime information about Python types for any object that is transferred to/from Python.
Example usage:
println!("a: {}", <(bool, usize, Vec<HashMap<String, u32>>)>::type_input());

a: Tuple[bool, int, Sequence[Mapping[str, int]]]

This PR introduces two new methods:

FromPyObject::type_input: the Python type when the object appears as a parameter to a Rust function,
IntoPy::type_output: the Python type when the object appears as a return value of a Rust function.

Both methods are implemented for the most important Rust types (primitives like usize, collections like HashMap).
The default implementation is to return Any (which is the recommended type when the exact type is missing, and avoids this PR being a breaking change).
In the future, this will allow the inspection module to generate code calling type_input and type_output to delay the Python type generation until runtime, which is required because macros are executed before the Rust compiler resolves the types.
Future work:

Implementing these methods for all other objects (PyDict, hashbrown tables,...); this is fairly easy and may be done on a case-by-case basis when more precise information is needed
Automatically generating the precise type information as part of #[pyclass]

You'll need to rebase on main to make CI work (because of https://github.com/PyO3/pyo3/pull/2489 ) :)

@mejrs it's rebased :)

Fixed cargo fmt and cargo clippy

👍 looks like you were thinking along the same lines for a first step as me with this PR! Nice work!
So I guess the only question here is whether type_input should be used for downcast errors as suggested in #2454? I think I'd like to confirm that use case works before we introduce new public APIs.
Similarly I wonder if users can already use these to include function signatures in docstrings? Might need some macro support. One to think about, can probably implement this in a separate PR if we want it.
Just for completeness, do other use cases for these beyond the introspection API come to mind? I'm sure users will always surprise us 😊

Also probably obvious from my other comments, though just wanted to add I'd prefer we merge this after 0.17 is released so that we allow ourselves time to iterate on this further once needed after merge.

Just for completeness, do other use cases for these beyond the introspection API come to mind? I'm sure users will always surprise us blush

Well, this PR itself is just the building block of "what is the actual Python type of this type as seen from Python". I expect that this can be used for hundreds of different things :sweat:. Indeed, debugging/error information seems like a good use case.

So I guess the only question here is whether type_input should be used for downcast errors as suggested in #2454? I think I'd like to confirm that use case works before we introduce new public APIs.

'should' is your decision, but it definitely sounds like it 'could'. I don't think it should be a part of this PR though.

I'd prefer we merge this after 0.17 is released so that we allow ourselves time to iterate on this further if needed after merge.

Do you have an estimate on when that will be? I'm a bit tight on schedule and there's a lot of things to do until .pyi generation is a thing :)

Tracking preparation for 0.17 at https://github.com/PyO3/pyo3/issues/2493 - TBH at the moment I'm working on getting those pieces complete whenever I can. I'd like it to be at most a week or two, though it depends how much time I can manage to free up to make progress.

Fixed rustdoc & conflicts, rebased on current main.

I'm not sure I understand why test fails. What should I do to fix it?

I'm not sure I understand why test fails. What should I do to fix it?

Run TRYBUILD=overwrite cargo test to update ui tests output, see https://github.com/dtolnay/trybuild#workflow

@CLOVIS-AI sorry for the long delay with this caused by the 0.17 release. I'm now able to widen bandwidth again, I propose let's merge this and then we can continue iterating on the stub generation? I think this PR is good as-is, just needs a rebase :)

Updated the expected test output & rebased.

Thanks! With apologies will need one final rebase as #2587 has conflicted on the CHANGELOG. (Really need to find some time to work on #2337 soon.)
Also the coverage job is reporting that a lot of new implementations are not covered by tests, it would be much appreciated if we could add a few more. I find it's much better to add coverage at the same time as new APIs wherever possible rather than hope it gets covered later 😄

The rebase is done. I do not have the enough time on my hands at the moment to increase the code coverage.
I'm not familiar with GitHub's UI for code coverage so I have some trouble reading it, but it seems to me like it is complaining about all the one-liner functions that simply return a TypeInfo instance? It's not possible for a bug to hide there (they are just Rust structure instanciations).

Understood. Given that I'm the source of the delay that caused you to lose your availability, seems reasonable to me to proceed to merge in that case.


Getting error _expo.SecureStore.removeItemAsync is not a function

This seems to occur when I install via:
yarn add redux-persist-expo-securestore

It looks like it was changed in the source, but maybe that wasn't updated in npm? Thanks!

That's odd. The error is showing that it's Expo's fault, can you provide a full error log and reproducable code sample?

Yeah, the error is below from the simulator, you can make it happen by calling persistor.purge().
It's worth noting that if you look at the library's index.js in node_modules, you'll see it's calling removeItemAsync, but if you look at the source code in master, it calls deleteItemAsync, which is consistent with the Expo docs. Additionally, in node_modules it says the version of the library is 1.0.0, but master here is 0.1.0. Looks like the repo has diverged from what's distributed in NPM.

All you need to do to see the erroneous code is to initialize a node package and install the library, then look in node_modules and you'll see it's messed. Alternatively look at what's tagged as 1.0.0 in this repo and it's wrong too.

Yeah there's definitely something funky going on. I'll take a look soon.

It appears as though a new version was published. Does this mean this issue is resolved?

This should be fixed once https://github.com/Cretezy/redux-persist-expo-securestore/pull/8 is merge

I've just published v2.0.0 with #8. Please test again and open if is it still broken


Error adding DateOffsets to datetime64

What happened:
UFuncTypeError: ufunc 'add' cannot use operands with types dtype('<M8[ns]') and dtype('O') when adding DateOffset to datetime64
What you expected to happen:
An offset adjusted column, matching the pandas behavior.
Minimal Complete Verifiable Example:
import dask.dataframe as dd
import pandas as pd

base = pd.Series([1,2,3], dtype="datetime64[ns]")
offsets = pd.Series([pd.offsets.DateOffset(years=o) for o in range(3)])

base+offsets

# results in:
# 0   1970-01-01 00:00:00.000000001
# 1   1971-01-01 00:00:00.000000002
# 2   1972-01-01 00:00:00.000000003
# dtype: datetime64[ns]

dask_base = dd.from_pandas(base, npartitions=1)
dask_offsets = dd.from_pandas(offsets, npartitions=1)

# Triggers error
dask_base + dask_offsets

Anything else we need to know?:
I'm not entirely sure if this is supposed to be supported, but I didn't see anything in the docs so I figured I'd confirm the expected behavior. The dtype of offsets is indeed object, but I guess pandas handles this internally?
Environment:

Dask version: 2.30.0
Python version: 3.8.5
Operating System: Ubuntu 18.04
Install method (conda, pip, source): conda

I feel like this is missing some context. Is this the description you intended to put on the dask issue tracker @gerrymanoim?

Err - whoops - sorry! Mistaken copy/paste here. Will find the repo that I originally had here.

@jsignell - Apologies - fixed the issue text now.

Oh that is an interesting bug! It is kind of tough becuase I can't think of a way to pass a meta into the function, which would be the easiest way to workaround the issue. There are a couple other things going on though. One is that the default non_empty _meta for objects is a string. And the other is that even if you set the _meta on dask_offsets it is ignored. I'll open a PR to mull over some ideas.

I was trying to figure out how to override the meta guessing as well (or some other reasonable workaround), but couldn't figure out if there was a reasonable way to do that. Thanks for confirming.

There is still a lingering question of if from_pandas should have a meta kwarg. At the moment it tries to deduce it from the data which seems good, but it is being coerced to an empty dd.Series, so the only metadata that it retains is the dtype. In this case the dtype is object, which is super uninformative. It'd be better to just let the meta be .head() or something, but I am probably missing some subteleties about why it's desirable to use dask collections for metas rather than pandas.


Find by ObjectId

Could not find by ObjectId. Code:
from bson.objectid import ObjectId

x = collection.find()
i = list(x)[0]['_id']

y = collection.find({'_id': ObjectId(i)})
print(list(y))

I see that database in mdb format has "_id": {"$oid": "id"} and I tried to find id in string with: {"_id.$oid": "string id"} but anyway, it would not work. Any suggestions? Thanks!

Hi @rewiaca ,

I see that database in mdb format has "_id": {"$oid": "id"} ..

That should be JSON serialized format which used for saving document in disk, not how the document looks in database.
Back to the main issue.
I think this is a bug. If you change to import ObjectId class from montydb.types.bson_, you should find the doc.
from montydb import MontyClient
from montydb.types.bson_ import ObjectId

client = MontyClient(":memory:")
collection = client["test"]["col"]

x = collection.find()
i = list(x)[0]['_id']

y = collection.find({'_id': ObjectId(i)})
print(list(y))

@davidlatwe, thanks!
from montydb.types.objectid import ObjectId
Worked for me.


"Incorrect ROM file ; No valid ROMs were provided"

[X] I have checked the known issues and searched Github to ensure this issue has not already been reported.
[x] This is not a feature request, I know those belong on Discord/Github Discussions.

Description of the bug:
It simply doesn't recognize my game ROM and tell me it's an invalid one while it perfectly plays on emulators.
Can you reproduce? If so please list the steps:

Install the .appimage
Copy the game ROM
Run the .appimage
See the bug

Screenshots or videos:
https://i.imgur.com/TjYTY4I.png
System Information:

OS: Arch Linux kernel 6.9.3-arch1-1
GFX Backend: OpenGL
Game Version: 1.1
Rom Version: Majora's Mask (PAL, France)

Hi!
2Ship2Harkinian only supports NTSC-U 1.0 or GC ROMs at the moment, so this isn't a bug.

Argh. I hope it'll be soon available for PAL ROMs.