System folders?

Need to know if to use Program\ Files or /usr/share or /usr/games/share.

It would be very helpful to have something exposing the contents of XDG_DATA_DIRS with the project suffix applied (or indeed at all).

If this includes /Applications or /Users/name/Applications on the Mac that would be super useful.

@soc I this feature something you'd want in this crate? I might be able to dedicate some free time on this

These are all related: #87 #82 #78

The readme says this

This library is intentionally focused on providing information on user-writable directories only, as there is no discernible benefit in returning a path that points to a user-level, writable directory on one operating system, but a system-level, read-only directory on another.

i.e. it seems to explicitly exclude system directories, which is unfortunate, because the name "directories" suggests it'd be all-encompasing, at least to this degree.
I'd really like a one-stop shop library I can use where I just call get_data_dir() or whatever and get the correct directory, regardless of operating environment (system service, systemd, user).

That's some misapplied philosophy.  In science, it's clear that data should lead to conclusions instead of a conclusion filtering for data, however with software it's the users/clients who write the use cases...  libraries shouldn't be written with a use case in mind, that's likewise backwards.
What this library does is return one set of directories for one OS and another set of directories for others, limiting the list of directories returned based on how the data is to be used is plainly wrong.

Sorry, I might have misinterpreted that quote... it may be the distinction is between writable and read-only directories and the "user" vs "system-level" distinction is meant to be an example rather than a qualification.
Regardless, it would be good if a maintainer could confirm a contribution in this regard would be considered, and maybe describe how the current architecture could be changed to accommodate.

Some system directories are writable /tmp, /dev/shm, /var/tmp...  I don't know what these would be anywhere other than on Linux, but if Windows wants my apps they have to write the compatibility layer.


Need to set null for sqflite database instance when close database. Otherwise it will always return the old instance.

In close() function of database.dart file, need to set null for current database before closing it like this:
Future close() async {
final db = await instance.database;
_database = null;
await db.close();
}

You can find this issue by: https://github.com/tekartik/sqflite/issues/223

@stephanmantel please help me

Hi, thanks for your interest in Floor and fr filing this issue, I shall take a look at it

thank you very much, my case is switching between different sqflite .db files, so I need to close the current before open the new one, but I got the error Unhandled Exception: DatabaseException(error database_closed) after close


feat: helper class for sending and receiving large messages

Should this be in the Component namespace as an optional addon?

I think its good to be in the main namespace so it is easy to find. Otherwise maybe the Mirage.Serialization would be better for it?


background can't connect to db and main portus failed to load command...

So, I just lost access to my registry sync with portus (fortunately we can go back to amazon) as I wanted to upgrade portus and portus-background with the 2.3 and I have new errors - I'm using a container orchestration (rancher here).
Portus image:

ActiveRecord::StatementInvalid: Mysql2::Error: Cannot delete or update a parent row: a foreign key constraint fails: DROP TABLE namespaces CASCADE
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in _query' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in block in query'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in handle_interrupt' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in query'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:317:in block in execute' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_adapter.rb:484:in block in log'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in instrument' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_adapter.rb:478:in log'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:317:in execute' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/mysql2_adapter.rb:217:in execute'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:510:in drop_table' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/schema_statements.rb:219:in create_table'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:482:in create_table' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/migration.rb:665:in block in method_missing'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/migration.rb:634:in block in say_with_time' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/migration.rb:634:in say_with_time'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/migration.rb:654:in method_missing' 21/02/2018 17:14:59/srv/Portus/db/schema.rb:55:in block in <top (required)>'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/schema.rb:41:in instance_eval' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/schema.rb:41:in define'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/schema.rb:61:in define' 21/02/2018 17:14:59/srv/Portus/db/schema.rb:14:in <top (required)>'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in load' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in block in load'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in load_dependency' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in load'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:221:in load_schema_for' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:238:in block in load_schema_current'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:278:in block in each_current_configuration' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:277:in each'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:277:in each_current_configuration' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:237:in load_schema_current'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/railties/databases.rake:237:in block (3 levels) in <top (required)>' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/railties/databases.rake:241:in block (3 levels) in <top (required)>'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/rake-12.2.1/exe/rake:27:in <top (required)>' 21/02/2018 17:14:59 21/02/2018 17:14:59Caused by: 21/02/2018 17:14:59Mysql2::Error: Cannot delete or update a parent row: a foreign key constraint fails 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in _query'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in block in query' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in handle_interrupt'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in query' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:317:in block in execute'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_adapter.rb:484:in block in log' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in instrument'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_adapter.rb:478:in log' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:317:in execute'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/mysql2_adapter.rb:217:in execute' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:510:in drop_table'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/schema_statements.rb:219:in create_table' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:482:in create_table'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/migration.rb:665:in block in method_missing' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/migration.rb:634:in block in say_with_time'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/migration.rb:634:in say_with_time' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/migration.rb:654:in method_missing'
21/02/2018 17:14:59/srv/Portus/db/schema.rb:55:in block in <top (required)>' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/schema.rb:41:in instance_eval'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/schema.rb:41:in define' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/schema.rb:61:in define'
21/02/2018 17:14:59/srv/Portus/db/schema.rb:14:in <top (required)>' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in load'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in block in load' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in load_dependency'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in load' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:221:in load_schema_for'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:238:in block in load_schema_current' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:278:in block in each_current_configuration'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:277:in each' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:277:in each_current_configuration'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/tasks/database_tasks.rb:237:in load_schema_current' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/railties/databases.rake:237:in block (3 levels) in <top (required)>'
21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/activerecord-4.2.10/lib/active_record/railties/databases.rake:241:in block (3 levels) in <top (required)>' 21/02/2018 17:14:59/srv/Portus/vendor/bundle/ruby/2.5.0/gems/rake-12.2.1/exe/rake:27:in <top (required)>'
21/02/2018 17:14:59Tasks: TOP => db:schema:load
21/02/2018 17:14:59(See full trace by running task with --trace)
21/02/2018 17:14:59bundler: failed to load command: packaging/suse/portusctl/bin/portusctl (packaging/suse/portusctl/bin/portusctl)
21/02/2018 17:14:59RuntimeError: Something went wrong while invoking: /srv/Portus/vendor/bundle/ruby/2.5.0/bin/bundler.ruby2.5 exec rake db:setup
21/02/2018 17:14:59  /srv/Portus/packaging/suse/portusctl/lib/runner.rb:12:in exec' 21/02/2018 17:14:59  /srv/Portus/packaging/suse/portusctl/lib/runner.rb:34:in block in bundler_exec'
21/02/2018 17:14:59  /srv/Portus/packaging/suse/portusctl/lib/runner.rb:30:in chdir' 21/02/2018 17:14:59  /srv/Portus/packaging/suse/portusctl/lib/runner.rb:30:in bundler_exec'
21/02/2018 17:14:59  /srv/Portus/packaging/suse/portusctl/lib/cli.rb:260:in rake' 21/02/2018 17:14:59  /srv/Portus/vendor/bundle/ruby/2.5.0/gems/thor-0.19.4/lib/thor/command.rb:27:in run'
21/02/2018 17:14:59  /srv/Portus/vendor/bundle/ruby/2.5.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in invoke_command' 21/02/2018 17:14:59  /srv/Portus/vendor/bundle/ruby/2.5.0/gems/thor-0.19.4/lib/thor.rb:369:in dispatch'
21/02/2018 17:14:59  /srv/Portus/vendor/bundle/ruby/2.5.0/gems/thor-0.19.4/lib/thor/base.rb:444:in start' 21/02/2018 17:14:59  packaging/suse/portusctl/bin/portusctl:6:in <top (required)>'
21/02/2018 17:14:59Error at setup time

Background:

21/02/2018 17:05:46[Database] Timeout reached, exiting with error. Check the logs...
21/02/2018 17:05:46Traceback (most recent call last):
21/02/2018 17:05:46	10: from bin/rails:12:in <main>' 21/02/2018 17:05:46	 9: from bin/rails:12:in require'
21/02/2018 17:05:46	 8: from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/railties-4.2.10/lib/rails/commands.rb:17:in <top (required)>' 21/02/2018 17:05:46	 7: from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:39:in run_command!'
21/02/2018 17:05:46	 6: from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:90:in runner' 21/02/2018 17:05:46	 5: from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:123:in require_command!'
21/02/2018 17:05:46	 4: from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:123:in require' 21/02/2018 17:05:46	 3: from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/railties-4.2.10/lib/rails/commands/runner.rb:60:in <top (required)>'
21/02/2018 17:05:46	 2: from /srv/Portus/vendor/bundle/ruby/2.5.0/gems/railties-4.2.10/lib/rails/commands/runner.rb:60:in load' 21/02/2018 17:05:46	 1: from /srv/Portus/bin/background.rb:8:in <top (required)>'
21/02/2018 17:05:46/srv/Portus/lib/portus/db.rb:40:in wait_until': Timeout reached for 'ready' status (Portus::DB::TimeoutReachedError) 21/02/2018 17:05:46bundler: failed to load command: packaging/suse/portusctl/bin/portusctl (packaging/suse/portusctl/bin/portusctl) 21/02/2018 17:05:46RuntimeError: Something went wrong while invoking: /srv/Portus/vendor/bundle/ruby/2.5.0/bin/bundler.ruby2.5 exec rails r /srv/Portus/bin/background.rb 21/02/2018 17:05:46  /srv/Portus/packaging/suse/portusctl/lib/runner.rb:12:in exec'
21/02/2018 17:05:46  /srv/Portus/packaging/suse/portusctl/lib/runner.rb:34:in block in bundler_exec' 21/02/2018 17:05:46  /srv/Portus/packaging/suse/portusctl/lib/runner.rb:30:in chdir'
21/02/2018 17:05:46  /srv/Portus/packaging/suse/portusctl/lib/runner.rb:30:in bundler_exec' 21/02/2018 17:05:46  /srv/Portus/packaging/suse/portusctl/lib/cli.rb:272:in exec'
21/02/2018 17:05:46  /srv/Portus/vendor/bundle/ruby/2.5.0/gems/thor-0.19.4/lib/thor/command.rb:27:in run' 21/02/2018 17:05:46  /srv/Portus/vendor/bundle/ruby/2.5.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in invoke_command'
21/02/2018 17:05:46  /srv/Portus/vendor/bundle/ruby/2.5.0/gems/thor-0.19.4/lib/thor.rb:369:in dispatch' 21/02/2018 17:05:46  /srv/Portus/vendor/bundle/ruby/2.5.0/gems/thor-0.19.4/lib/thor/base.rb:444:in start'
21/02/2018 17:05:46  packaging/suse/portusctl/bin/portusctl:6:in `<top (required)>'
21/02/2018 17:06:00[Mailer config] Host:     portus.heyolly.com:3000
21/02/2018 17:06:00[Mailer config] Protocol: https://
21/02/2018 17:06:06[Database] Not ready yet. Waiting...
21/02/2018 17:06:16[Database] Not ready yet. Waiting...

It's really interesting because I changed nothing to my config and before the portus:2.3 was working perfectly well!
But now the background seems to have "improve" and the main portus... Well, you see the logs :)
Any ideas?

You might need to trigger a manual migration. bundle exec rake db:migrate in the portus container

I'll try, but usually you can't access a non working container from an orchestration service, as it tries to restart the container

Ok, if I delete and recreate the DB there is no specific error from the main portus, except a:

Started GET "/v2/token?account=portus&scope=registry%3Acatalog%3A%2A&service=docker.company.com%3A5000" for <IP_ADDRESS> at 2018-02-21 17:22:11 +0000
21/02/2018 17:22:11Processing by Api::V2::TokensController#show as JSON
21/02/2018 17:22:11  Parameters: {"account"=>"portus", "scope"=>"registry:catalog:*", "service"=>"docker.company.com:5000"}
21/02/2018 17:22:11Completed 401 Unauthorized in 137ms (ActiveRecord: 5.8ms)

Ok, good news actually - I don't have any more errors with an empty DB. I'm trying to setup back my environment and will keep you updated

So sad, the background is back with his initial error.
Sorry in the end it's just a duplicate of a previous problem I have with the background not working #1589 .


[Coder] Filter coders should have a breadcrumb that shows Package > Class over the method name

Should be like this:

See GtMethodCoderExamples>>#elementForThisMethodCoderWithBreadcrumb for the relevant example of how to add a breadcrumb to the coder element

Relevant commit: https://github.com/feenkcom/gtoolkit-coder/commit/dfe07cd126c6162dd54ae4554befb89eb0445e3b

Coders with breadcrumbs:


Support for Laravel 7.x

@etrepat Can I please take over and maintain this package?

it trow
In Container.php line 993:

  Unresolvable dependency resolving [Parameter #1 [ <required> $customStubPath ]] in class Illuminate\Database\Migrations\MigrationCreator

on update

Well, if you are creating a new Laravel 7 project and you would like to use version 1 or 2, and Composer is preventing you from installing it, follow these simple steps:
1- Have a version of this library/package within your root directory under a directory named libraries

2- Autoload it in composer.json: exactly under "App\\": "app/", add the following line:
"Baum\\": "libraries/baum/src/"
So the final version would be:


Acceptance Tests for #39 Book a Room

User story
#39
Acceptance criteria checklist

[x] Users can book rooms for specific time intervals
[x] Users cannot book a room if it is not available at that time

Tested and accepted.


AttributeError: module 'mt940' has no attribute 'parse'

Hello,
On Python 3.9.5 I get the above error when I run one of the examples. Any hints on what I do wrong?
Kind regards

Usually it's either due to having a different library installed that uses the mt940 name, or you have a mt940.py file that is getting imported.
To see which is the case, try this:
import mt940
print(mt940)

@wolph  I am pretty sure that this is the same error that I reported...does anything is planned to fix this?

@wolph I am pretty sure that this is the same error that I reported...does anything is planned to fix this?

The error is not in the library, it's on your end so there is nothing I can do to fix it.

@wolph  it is a library that parse mt940...and if we feed it with mt940 it crashes...hard to believe it is not into the library that the bug is....sad to have to make workaround for something that is well made.

Can you share the code that you are using?
There could be something I overlooked of course but I've only ever seen
this error in case of conflicting modules or files.

I fixed it by uninstalling all mt940 related libraries and reinstalling mt940. It seems it was not related to your code, sorry for the inconvenience.


Fail to run bootstrap-benchmark of setup_commands, due to java not installed

(4/7) wget -P ~/ https://raw.githubu...
...
Setting up sbt (1.6.2) ...
Creating system group: sbt
Creating system user: sbt in sbt with sbt daemon-user and shell /bin/false
Processing triggers for man-db (2.9.1-1) ...
Cloning into 'spark-sql-perf'...
remote: Enumerating objects: 2681, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 2681 (delta 2), reused 10 (delta 0), pack-reused 2660
Receiving objects: 100% (2681/2681), 582.21 KiB | 5.65 MiB/s, done.
Resolving deltas: 100% (881/881), done.
downloading sbt launcher 1.6.2
/usr/bin/sbt: line 453: java: command not found
copying runtime jar...
mkdir: cannot create directory ‘’: No such file or directory
/usr/bin/sbt: line 460: java: command not found
/usr/bin/sbt: line 222: exec: java: not found

PR https://github.com/oap-project/cloudtik/pull/283
Continue to use bootstrap_commands which will run after all setup commands.


Bookmarks - Add binding selection init parameter

Update:
See discussion below

Original:
As an alternate to using a viewpoint, the bookmarks component can potentially take advantage of the setBookmark(_:) method on a map or scene view proxy.

Alternatively, it could be simplified by taking a binding to the selected bookmark as an initializer parameter, giving the caller flexibility to do whatever they want when the selected bookmark is updated (onChange(of selectedBookmark) { … }). I think that would be better than taking a binding to a viewpoint.

Closing; onSelectionChanged(perform:) is provided

@dfeinzimer Was there any consideration given to taking a binding to the selection? While there is the modifier that you pointed out, taking a binding to the selected bookmark would be simpler and more idiomatic in SwiftUI. Many SwiftUI-provided modifiers take a selection binding instead of providing a separate modifier to inform when the selection has changed.

Yes - I still think we should do it and I thought we had an issue for it but I'm not seeing it so I'll reopen and re-characterize this issue instead.

Some additional API considerations:
The current initializers are:
init(isPresented: Binding<Bool>, bookmarks: [Bookmark], viewpoint: Binding<Viewpoint?>?)
&
init(isPresented: Binding<Bool>, bookmarks: [Bookmark], viewpoint: Binding<Viewpoint?>?)
Would we want to add 2 new initializers:
init(isPresented: Binding<Bool>, bookmarks: [Bookmark], selection: Binding<Bookmark?>?)
&
init(isPresented: Binding<Bool>, geoModel: GeoModel, selection: Binding<Bookmark?>?)
brining us to a total of 4? 4 seems like it would be a lot to me.

The selection parameter should be non-optional because those initializers should only be used with a selection binding. In my opinion, having four initializers isn't a big deal. Several SwiftUI views have much more than four initializers.


config option to choose local cardano-node for transactions

Currently you can change the Network setting from Network.TESTNET to Network.MAINNET.
Firstly, it's not clear which "Testnet" version this if referring to. It looks like its the "legacy" (broken) testnet still being run by IOG but could (should) be the PREVIEW and/or the PREPROD network. It would be nice if you choose explicitely.
Secondly, it would be nice not to rely on a third-party API like Blockfrost for chain data but instead use your own copy from your cardano-node db. Can we add a config option to PyCardano to use a local node for its read/write transactions?

Closing this issue as the solution has been suggested.


Note non-standard behavior of view transitions for forms set to post

Description (required)
This PR adds a note about the non-standard behavior of Astro view transitions for forms with method set to post.
Related issues & labels (optional)
For Astro release: 4.0.7. See astro [#9466](PR https://github.com/withastro/astro/pull/9466).

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

Good catch! I agree this non standard behavior should be documented
Anyone can see the behavior in the console logs when submitting the forms here:
https://stackblitz.com/edit/github-fluv9b-sagjcv?file=src%2Fpages%2Findex.astro

@OliverSpeir Cool Page! 👍🏼

Anyone can see the behavior in the console logs when submitting the forms here:
https://stackblitz.com/edit/github-fluv9b-sagjcv?file=src%2Fpages%2Findex.astro

You might want to add
  <hr>
  <form method="POST" action="/form"  enctype="application/x-www-form-urlencoded">
    <button>Submit with Transitions and enctype</button>
  </form>

For future Astro release: 4.x.x. See astro [#9466](PR https://github.com/withastro/astro/pull/9466).

The "future" release is 4.0.7

I've updated the PR description to match.

Thanks, I'm going off of this:

We may have missed some in our v4 docs roundup!

@sarah11918 I think that's for exported API route handlers, not for form method verbs.

Gotcha. If it is a stylistic choice, it probably makes sense for us to converge with all caps, just for consistency and having one nice rule for contributors!


add full width utility class

This becomes useful when your element is floating. It forces it to take the full width of its parent.

I will add doc as soon as this gets approved :-)

doesn't xs-col-12 give you the same thing as this class would?

@allisonchefec It totally does! But it feels like a hack. The parent of tje element you would like to see take the full width might just a dozen pixels. Applying xs-col-12 to the element feels weird to me.
See what I'm saying?

yes i do. i dont feel strongly about this, this seems ok to add then.

Cool! We need to add it to the documentation as well.

@emilybrick @allisonchefec Awesome! I have a PR ready for the doc update. LMK how we should move forward with this. Thanks!


[#8479] Remove loadUfs command

Removed the ./bin/alluxio loadUfs command
Removed references throughout documentation (en and cn)

Fixes #8479

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/2203/
Test PASSed.


Fix deadlock caused by acquiring priorityMutex twice

This PR fixes #1181
In NetworkPolicy reconciler, uninstallOFRule() is called in two circumstances:

A NetworkPolicy rule is deleted by user, in which case it is called thru Forget().
There has been updates to the original appliedTo pods of the NetworkPolicy rules, specifically delete events. If such delete event causes a ofRule's appliedTo to become empty, that ofRule should be removed following the logic
Reconcile(), L199 --> update(), L483 --> uninstallOFRule(), L589.
The priorityMutex of a CNP Table, which prevents concurrent priority updates within a single table, should be held at the Reconcile() and Forget() function level. Before this fix, the mutex is acquired at both Reconcile() and uninstallOFRule() in the second scenario mentioned above, causing a deadlock for that specific reconciler.

UT is added to test this second scenario:
1). Create a NP ingress rule on port "http" that applied to the following pods:

"pod1", "ns1", v1beta1.NamedPort{Name: "http", Protocol: v1beta1.ProtocolTCP, Port: 80}
"pod3", "ns1", v1beta1.NamedPort{Name: "http", Protocol: v1beta1.ProtocolTCP, Port: 443}
as a result, two ofRules should be installed based on the port name resolution.

Update appliedTo group in the ingress rule to simulate pod3 deletion event.
Reconciler reconciles the rule. It should call uninstallOFRule() for the ofRule with service 443 without hitting deadlock.

Codecov Report

Merging #1186 into master will decrease coverage by 14.40%.
The diff coverage is 20.00%.

@@             Coverage Diff             @@
##           master    #1186       +/-   ##
===========================================
- Coverage   56.07%   41.66%   -14.41%
===========================================
  Files         106       74       -32
  Lines       11539    10508     -1031
===========================================
- Hits         6470     4378     -2092
- Misses       4501     5776     +1275
+ Partials      568      354      -214

Flag
Coverage Δ

#integration-tests
?

#unit-tests
41.66% <20.00%> (+0.19%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/agent/controller/networkpolicy/reconciler.go
71.55% <20.00%> (+3.62%)
:arrow_up:

pkg/ovs/openflow/default.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/agent/config/node_config.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/ovs/openflow/logs.go
12.50% <0.00%> (-87.50%)
:arrow_down:

pkg/ovs/openflow/ofctrl_group.go
0.00% <0.00%> (-76.09%)
:arrow_down:

pkg/ovs/openflow/ofctrl_bridge.go
2.34% <0.00%> (-69.90%)
:arrow_down:

pkg/ovs/ovsconfig/ovs_client.go
0.00% <0.00%> (-65.27%)
:arrow_down:

pkg/ovs/openflow/ofctrl_action.go
16.99% <0.00%> (-65.22%)
:arrow_down:

pkg/ovs/openflow/ofctrl_builder.go
16.53% <0.00%> (-55.77%)
:arrow_down:

pkg/ovs/openflow/ofctrl_packetout.go
0.00% <0.00%> (-42.86%)
:arrow_down:

... and 50 more

/test-all

/test-hw-offload

/test-conformance /test-e2e /test-networkpolicy

thanks for the detailed issue report ..

/test-conformance /test-e2e /test-networkpolicy

/test-conformance /test-e2e /test-networkpolicy


Animus Omni CLI no longer available

This link is no longer valid

Duplicate with #98

Thank you!


Remove unused dependency

Initial checklist

[x] I read the support docs
[x] I read the contributing guide
[x] I agree to follow the code of conduct
[x] I searched issues and couldn’t find anything (or linked relevant results below)
[x] If applicable, I’ve added docs and tests

Description of changes
It looks like unist-util-stringify-position isn't used anymore since https://github.com/vfile/vfile/commit/8def89808acc38258b8b00cac602aaf712c7286f as it replaces it with vfile-message, which vfile-message uses unist-util-stringify-position instead, so while this doesn't necessarily remove unist-util-stringify-position from vfile's dependency graph, it helps prevent potential different versions installed and keeps the used dependencies concise.

6.0.3, thanks!


NotImplementedError: Cannot copy out of meta tensor; no data!

Firstly, thanks to @aredden and all the contributors to this repo. Open-source work like this is so valuable. @prodialabs would love to support it any way possible.
Steps to Reproduce

Setup torch 2.4.0 with cuda 12.4 (our box has an h100)
Clone flux-fp8-api + pip install dependencies
Use huggingface-cli to download official BFL Flux Dev + VAE

huggingface-cli download black-forest-labs/FLUX.1-dev flux1-dev.safetensors
huggingface-cli download black-forest-labs/FLUX.1-dev vae/diffusion_pytorch_model.safetensors

Edit config configs/config-dev-1-RTX6000ADA.json to use ckpt_path and ae_path from downloaded BFL models
Run simple pipeline load

from flux_pipeline import FluxPipeline
pipeline = FluxPipeline.load_pipeline_from_config_path("configs/config-dev-1-RTX6000ADA.json")

       decoder.up_blocks.3.resnets.0.norm2.bias
        decoder.up_blocks.3.resnets.0.norm2.weight
        decoder.up_blocks.3.resnets.1.conv1.bias
        decoder.up_blocks.3.resnets.1.conv1.weight
        decoder.up_blocks.3.resnets.1.conv2.bias
        decoder.up_blocks.3.resnets.1.conv2.weight
        decoder.up_blocks.3.resnets.1.norm1.bias
        decoder.up_blocks.3.resnets.1.norm1.weight
        decoder.up_blocks.3.resnets.1.norm2.bias
        decoder.up_blocks.3.resnets.1.norm2.weight
        decoder.up_blocks.3.resnets.2.conv1.bias
        decoder.up_blocks.3.resnets.2.conv1.weight
        decoder.up_blocks.3.resnets.2.conv2.bias
        decoder.up_blocks.3.resnets.2.conv2.weight
        decoder.up_blocks.3.resnets.2.norm1.bias
        decoder.up_blocks.3.resnets.2.norm1.weight
        decoder.up_blocks.3.resnets.2.norm2.bias
        decoder.up_blocks.3.resnets.2.norm2.weight
Traceback (most recent call last):
  File "/root/flux-fp8-api/monty.py", line 3, in <module>
    pipeline = FluxPipeline.load_pipeline_from_config_path("configs/config-dev-1-RTX6000ADA.json")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/flux-fp8-api/flux_pipeline.py", line 665, in load_pipeline_from_config_path
    return cls.load_pipeline_from_config(config, debug=debug)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/flux-fp8-api/flux_pipeline.py", line 679, in load_pipeline_from_config
    models = load_models_from_config(config)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/flux-fp8-api/util.py", line 324, in load_models_from_config
    ae=load_autoencoder(config),
       ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/flux-fp8-api/util.py", line 282, in load_autoencoder
    ae.to(device=into_device(config.ae_device), dtype=into_dtype(config.ae_dtype))
  File "/root/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1174, in to
    return self._apply(convert)
           ^^^^^^^^^^^^^^^^^^^^
  File "/root/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 780, in _apply
    module._apply(fn)
  File "/root/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 780, in _apply
    module._apply(fn)
  File "/root/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 780, in _apply
    module._apply(fn)
  [Previous line repeated 3 more times]
  File "/root/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 805, in _apply
    param_applied = fn(param)
                    ^^^^^^^^^
  File "/root/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1167, in convert
    raise NotImplementedError(
NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.

I used the following links to get the files and had no issues:
    "https://huggingface.co/Kijai/flux-fp8/resolve/main/flux1-schnell-fp8.safetensors"
    "https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors"
    "https://huggingface.co/Kijai/flux-fp8/resolve/main/flux1-dev-fp8.safetensors"
)

I used the following links to get the files with wget and had no issues:

urls=(
    "https://huggingface.co/Kijai/flux-fp8/resolve/main/flux1-schnell-fp8.safetensors"
    "https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors"
    "https://huggingface.co/Kijai/flux-fp8/resolve/main/flux1-dev-fp8.safetensors"
)

What's the benefit of using these weights vs. the full modelfile? Just speed?

The error you were getting is the result of some state dict keys not matching. It could be because it's trying creating the guidance embed based on the config given, but the guidance embed doesn't exist for schnell, so it would remain on the "meta" device and throw that error. Also, if that's not it, diffusers weights wont work, since that's a different state dict. If you're using fp8 checkpoints from civit etc, those are quantized differently than in my repo, so you probably wont get as much precision, since I scale the weights into fp8 range rather than just directly convert to fp8. So if you want to use the "prequantized_flow" config, it wouldn't work with those, you have to save the state dict from the flow model in this repo after running at least ~30 steps so it can configure the input scales.


Double Click to Close Tab

Description
Double (left) click on a tab to close it
Who's implementing?

[ ] I'm willing to implement this feature myself

The problem
As a user with extremely large hands, I do not use the middle mouse button. Closing tabs by double-click is by far the easiest method for me.
Possible solutions
Firefox has had this feature for a long time. Microsoft Edge is in the process of adding it as well.
The following project has implemented it in the past and should provide a framework for how it can be done.
https://github.com/intika/UGChrome
This should be a feature which can be enabled by a flag and is disabled by default.
Alternatives
No response
Additional context
No response

This seems like a request better suited for upstream Chromium.

I am certainly open to it being implemented upstream. This project already has a feature for hiding the close button on tabs, and this seems similar.


Bump emblem to 0.9.3

Is it possible the build failure is due to tests running against an old version of node?


update test to use simdem command

@lachie83,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Avatar Setting

Pull request checklist

[X] All tests pass. Demo project builds and runs.
[X] I have resolved any merge conflicts.
[X] I have followed the coding style, and reviewed the contributing guidelines. Confirmation: 💪😎👊

This fixes issue #___.
What's in this pull request?

Removed empty ViewController file. Fixed issue with outgoing bubble color, Add show/hide avatars setting.

Hey @jessesquires I am trying to determine what is wrong with this I have difficulty figuring out what continuous-integration/travis-ci is reporting. What action item do you get from these results. So that I know how to proceed when this happens. Thanks for your help.

Hey @MacMeDan -- you can click "details" which takes you here:
https://travis-ci.org/jessesquires/JSQMessagesViewController/builds/141166778
You can see all the build results there. Looks like one build failed, but it's unrelated -- looks like a travis-ci timeout. Sometimes travis-ci is flaky.
Also, none of this really applies to the Swift demo which isn't under CI yet.

Ok that is what I thought and it seemed so random which one failed. Thanks for shedding some light on that I just wanted to make sure I was not crazy.


failed to load command: pod, Can't find executable pod for gem cocoapods. cocoapods

Troubleshooting

[x] I've searched discuss.bitrise.io for possible solutions.
Which version of the step is effected? 2.3
Is the issue reproducible with the latest version? YES
Does the issue happen sporadically, or every time? EVERY TIME
Is the issue reproducible locally by following our local debug guide? YES / NO / NOT APPLICABLE

Useful information

FAQ
devcenter.bitrise.io

Issue description
Trying out Bitrsise I get the following on this step
$ bundle "_2.2.27_" "exec" "pod" "--version"
bundler: failed to load command: pod (/Users/vagrant/.rbenv/versions/2.6.9/bin/pod)
/Users/vagrant/.rbenv/versions/2.6.9/lib/ruby/gems/2.6.0/gems/bundler-2.2.27/lib/bundler/rubygems_integration.rb:364:in `block in replace_bin_path': can't find executable pod for gem cocoapods. cocoapods is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)

Bitrise info

Build URL: Please share the build URL with us.
Bitrise Support enabled: YES / NO
Log:

$ bundle "_2.2.27_" "exec" "pod" "--version"
bundler: failed to load command: pod (/Users/vagrant/.rbenv/versions/2.6.9/bin/pod)
/Users/vagrant/.rbenv/versions/2.6.9/lib/ruby/gems/2.6.0/gems/bundler-2.2.27/lib/bundler/rubygems_integration.rb:364:in `block in replace_bin_path': can't find executable pod for gem cocoapods. cocoapods is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)

This was due to the project having a gemfile.lock, removing it fixed it


Wrong install location on CentOS 7

CentOS uses a diffrent binary directory then the script uses. This causes some issues.

Will be fixed in the next release. Thanks!

/usr/local/bin/serverbot is being used in the current script, since that normally should be the recommended install location for scripts such as serverbot. But since not all linux distributions have this location added to their shell, /usr/bin/serverbot is probably better/more universal. I'll have to test this first.
Also function serverbot_cron has to be changed considerably when this gets changed.

Fixed in https://github.com/nozel-org/serverbot/commit/672cabd650328137a10c76d41996242fd46c0a67. Needs testing.

Tested on Fedora 31, CentOS 7 and Debian 8. Should work now :-).


Use setTimeout instead of recursive calls in service()

This solves the issue of Maximum call stack size exceeded by putting the calls on a 0 delay timeout instead of using recursive calls.

@gdaws been using this for a month now without issues. Please consider merging :)

Cool thanks @Dadibom I'll look at merging this soon I need to get my dev environment setup again and I need to re-familiarise myself with the stompit code. It looks a reasonable solution with my current understanding.


Store project creation time

Add property Project.creationTime with type LocalDateTime similarly to Organization.dateCreated

Also we need to check if we store information about the user, who created the project (owner)


DLP updates to Transport Rule cmdlets

Removed -DlpPolicy parameter since it is depricated.
Work Item ID in the ADO: 3768407

@m-nestorovic, I'm sure that's true for Exchange Online, but I doubt it's true for Exchange Server. We need to be careful as Exchange cmdlet reference topics are single sourced for the cloud and multiple versions of Exchange Server.

@chrisda you are absolutely right. This is true only for the Exchange Online, but not for the Exchange Server.
Can you help me align this PR to present that information correctly?

@chrisda I have reviewed PR it is good to be merged.
We can merge it as soon as possible, since the rollout with this change is in progress already.


Slash support

I made a comment in review, but I also wanted to mention a failing test that you'll hit if you fix it.  Someone wrote some tests that check the exact size of the readme file and break if it ever changes.  Should be fixed by #246 when that's merged.

Currently tests are breaking due to testing against Prod, support for slashes and subscriptions have only gotten into dev/staging. Testing against dev allows tests to pass.

Codecov Report

Merging #247 into master will decrease coverage by 0.44%.
The diff coverage is 97.36%.

@@            Coverage Diff             @@
##           master     #247      +/-   ##
==========================================
- Coverage   83.42%   82.98%   -0.45%
==========================================
  Files          37       37
  Lines        1581     1610      +29
==========================================
+ Hits         1319     1336      +17
- Misses        262      274      +12

Impacted Files
Coverage Δ

hca/dss/upload_to_cloud.py
73.21% <100%> (+0.99%)
:arrow_up:

hca/dss/__init__.py
84.52% <100%> (+0.57%)
:arrow_up:

hca/version.py
100% <100%> (ø)
:arrow_up:

hca/dss/util/__init__.py
87.5% <95.23%> (+87.5%)
:arrow_up:

hca/util/compat.py
50% <0%> (-43.75%)
:arrow_down:

hca/util/pool.py
88.23% <0%> (-2.95%)
:arrow_down:

hca/util/__init__.py
88.1% <0%> (-0.97%)
:arrow_down:

hca/cli.py
71.15% <0%> (-0.97%)
:arrow_down:

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 456e2f0...a9ca3e6. Read the comment docs.

Hi @amarjandu, @hannes-ucsc had rightly stated that when downloading a bundle, it should be possible to download only the files under a given directory (or directories). I think the existing options to download --metadata-files and --data-files should work for this, given they take a shell-style pattern and perform file globbing. Does this work?
I am still working on the review, but haven't yet seen tests of this.
Thanks!

Other "interesting" (i.e. potentially problematic) cases to consider for Windows are:

download with the --dest-name parameter, and
upload with the <upload_path> parameter

Where the parameter values are locations on a different Windows drive than the current drive.
For example, users current working directory is on C:, but the parameter value is something like
D:\\mydata\myproject\mybundle
Is the necessary retention of the drive letter handled properly for both upload and download?

@mikebaumann @DailyDreaming  I did some basic testing with the python bindings to see how cases with absolute Windows paths such as D:\\User\amar\testas both a upload source and destination directory would behave, so far if used as raw strings
I believe that as long as the os can work with the directory; there should not be issues from different disk mount locations. But i do agree that we should look at some additional testing options for windows support.


Incorrect crop when using TwicPics image service

Description
After uploading some files and attaching them to a model, the crop is displayed incorrectly.
This happens when using TwicPics as imageservice. On another model, with less roles, the image crops are shown and working correctly.
Are there any undocumented rules about using multiple roles & crop params?
The cms URL to display the image in the crop edit resizes the image to 100x430, which is obviously incorrect.
https://783lf35u.twic.pics/images/833b06ad-1ca4-48ab-b1c6-4be4d2874eaa/44-photo-institut-des-croisements.jpg?twic=v1/quality=80/resize=100x430
The images that are working have resize=-x430 as parameter.
I'm using the default TwicPics config file.
Also, crops aren't saved for these images.
I already tried the refresh-crops command, but this doesn't change the behavior.
Does anybody have any suggestions on how to fix this?
Versions
Twill version:   2.8.8
Laravel version: 8.8
PHP version: 8

I now noticed that the images are showing correctly until I attach a model in a browser form field.
I already tried renaming the role, but the issue remains.


User Guide: General Management and Client Management

Update Screenshots with new GUI and do a review over each of the methods, check that they are correct.

Created a PR for this issue, do check it out!


Polymer Client-Side Validation for Free-form Inputs

This was initially a change for the old UI, but I added support in the new UI now as well. We're checking email addresses, public keys, private keys, ip addresses, and user/group keys during lookup (which can be an email address or number). I also tweated the UI slightly so that input elements have more spacing around them to allow for the error text if it should appear.

Sorry, I don't know what happened, but I didn't see this PR until now.  :(  Looks great overall, just a couple of things.

Review status: 0 of 8 files reviewed at latest revision, 1 unresolved discussion.

ufo/init.py, line 37 [r1] (raw file):
Everything looks great overall.  Just a couple of questions:
#1: Now that we are not using jinja_env.globals, do you think that this (init.py) is still the right place for these regex patterns?  How about creating a regex.py and put that in the services package?  This would also reduce the bloat here in init.py.
#2: Can we add some unit test to make sure all the patterns works as intended?

Comments from the review on Reviewable.io

Reviewed 8 of 8 files at r1, 5 of 5 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

ufo/init.py, line 37 [r1] (raw file):
Done and done. Thanks for the suggestion!

Comments from the review on Reviewable.io

Sweet!  :+1:


What is Listener (s) type?

Sorry for such an apparently ignorant question.
From the documentation page ( http://docs.spring.io/spring-kafka/docs/1.0.0.RC1/reference/htmlsingle/ ), there is an example in the With Java Configuration section that sets up a Listener.
 @Bean     public Listener listener() {         return new Listener();     }
What is Listener (s) fully qualified name?

Sorry, dumbest question ever.


Tag positions changed using Anchor

Converting from 3.1.5 to 4.0.0 all the Anchor Tag placements were off. Seemed like all the Anchor Offsets were increased by a percent, maybe AnchorUnits is not working correctly?
Code Example:
SignHere signAnchor = new SignHere
{
AnchorString = anchorMapping.Trim(),
AnchorXOffset = offsetX.ToString(),
AnchorYOffset = offsetY.ToString(),
AnchorUnits = "pixels",
AnchorIgnoreIfNotPresent = "true",
DocumentId = docID.ToString(),
RecipientId = recID.ToString()
};

I raised your question with our engineering group. Their reply:

AnchorOffset Defaults are still 0.
I would guess they are seeing a difference in a tab saved in a template that has non default offsets (ie greater than zero).
If this were off , I would expect the X/Y position to be off as well.
I assume they are moving from REST v2 to v2.1.
The description is really brief.  I don’t know if they are applying templates, creating templates vs creating envelopes, using templates or applying templates.
Generally, we trying to keep anchor tab version placement unchanged by honoring the AnchorTabVersion read_only property.

Hi Larry, let me clarify. Creating an envelope I place tags on the document using AnchorString then set the AnchorXOffset and AnchorYOffset to adjust the position based on that AnchorString. However upon upgrading the most recent version which uses REST v2.1 all the offsets were off. Seemed to be multiplied by a percent, so wondering if AnchorUnits is not being applied correctly or there's some other scaling issue.
As an example I use the following two tags to create a signature line. Matching on the signer's name and then moving the signer tag to the upper left and date signed tag to upper right. After upgrading the tags are no longer placed in the correct spots moving too far to the left and right and too far up.
SignHere signAnchor = new SignHere
{
AnchorString = "Roger  L Leatherwood",
AnchorXOffset = "-90",
AnchorYOffset = "-6",
AnchorUnits = "pixels",
AnchorIgnoreIfNotPresent = "true",
DocumentId = "1",
RecipientId = "1"
};
        DateSigned dateAnchor = new DateSigned
        {
            AnchorString = "Roger  L Leatherwood",
            AnchorXOffset = "170",
            AnchorYOffset = "-17",
            AnchorUnits = "pixels",
            AnchorIgnoreIfNotPresent = "true",
            Font = "Arial",
            FontSize = "Size9",
            DocumentId = "1",
            RecipientId = "1"
        };

How it should look:

So you're saying that to get the same effect on the document, you've needed to change the offsets as your show in your two versions of the code?
Did you turn on responsive signing or make any other change in the envelope while upgrading to  v2.1?
Thank you,
Larry

Yes all the offsets were off after upgrading from the 3.1.5 version of the sdk to 4.0.0 (v2.1 of api). And there was no real changes, only some models in 4.0.0 had different parameters i needed to account for.

Good news, DocuSign Engineering has confirmed the issue as a breaking change for updating to v2.1. I've filed TT-2616 to track the issue. I should have more news tomorrow.
Thank you again for the problem report.

Work is underway to exactly document the positioning offsets in the different situations.


new contract for goToTrace

we open jaeger ui from few places , recent activity and insights. and there are different contracts from the react app.
we need to make one contract to call from all
for example RecentActivityGoToTraceRequest has
traceId
scopeId
spanCodeObjectId
in insights goToTrace
traceId
traceName
insightType
spanCodeObjectId
we need a common message for all

@kshmidt-digma @shaykeren


API Error problem

I having a huge problem with using Google Colab. It gets me a error saying "ErrorAPI"
"APIError                                  Traceback (most recent call last)
 in <cell line: 5>()
3 # set_api_key
4
----> 5 voice = clone(
6   text="Hi! My name is Olie, nice to meet you!",
7   name="Olie",
3 frames
/usr/local/lib/python3.10/dist-packages/elevenlabs/api/base.py in request(url, method, api_key, **kwargs)
55                 raise AuthorizationError(error)
56
---> 57         raise APIError(error)
58
59     @staticmethod
APIError: Invalid API key: '<YOUR_API_KEY>'"
Can you help me fix this?

Looks like the API key you're using is invalid, please have a look at https://github.com/elevenlabs/elevenlabs-python#-api-key to get a valid API key.

Where is valid API key?


Fix client crash when use early data without psk

Summary:
ssl->handshake->ciphersuite_info could be NULL in
mbedtls_ssl_generate_early_data_keys
3583      ciphersuite_info = ssl->handshake->ciphersuite_info;
3584      cipher_info = mbedtls_cipher_info_from_type(
    ciphersuite_info->cipher );

Add null check before it is used.
Test Plan:
../programs/ssl/ssl_server2 server_addr=<IP_ADDRESS> server_port=11252 allow_sha1=1 debug_level=5 force_version=tls1_3
../programs/ssl/ssl_client2 server_addr=<IP_ADDRESS> server_port=11252 allow_sha1=1 debug_level=5 force_version=tls1_3 force_ciphersuite=TLS_AES_128_CCM_SHA256 early_data=1

Reviewers:
Subscribers:
Tasks:
Tags:

@lhuang04 Any update on this?

@lhuang04 Any update on this?

@hanno-arm , I amended original commit to return as MBEDTLS_ERR_SSL_INTERNAL_ERROR.
In early data mode, the ssl->handshake->ciphersuite_info is supposed to be set after client writes client hello msg. However there could be reasons that it is not set, one of them is there is no psk.
In ssl_client_hello_write function, we don't examine the return failure in many of the sub-routines that write extension(such as mbedtls_ssl_write_pre_shared_key_ext and mbedtls_ssl_write_early_data_ext). It makes a bit difficult to handle error case like this.
So in the 2nd commit, I added additional check in mbedtls_ssl_write_early_data_ext to make sure we don't run into such problem in the first place.

@hanno-arm , I amended original commit to return as MBEDTLS_ERR_SSL_INTERNAL_ERROR.
In early data mode, the ssl->handshake->ciphersuite_info is supposed to be set after client writes client hello msg. However there could be reasons that it is not set, one of them is there is no psk.
In ssl_client_hello_write function, we don't examine the return failure in many of the sub-routines that write extension(such as mbedtls_ssl_write_pre_shared_key_ext and mbedtls_ssl_write_early_data_ext). It makes a bit difficult to handle error case like this.
So in the 2nd commit, I added additional check in mbedtls_ssl_write_early_data_ext to make sure we don't run into such problem in the first place.

Rebased

updated the check. @hanno-arm , could you check again?


Random backgrounds do not work

The use a random background when not watching media feature does not work

Fixed 7d10af78a58541290adc3f41fc41f3d4fb9182f5


cannot show create view

Steps to reproduce the behavior (Required)
When executing show create table [view_name]
Expected behavior (Required)
[42000][1064] Unknown table 'test_table_02'
Real behavior (Required)
table info
StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()

Could you try show create view [view_name]

@imay It's normal for me to try show create view [view_name], But I can't use MySQL driver connection in superset. In MySQL, I can use show create table to view views,  Will this be compatible in the future?


Try to explain better [content] = 'content'

The other thay I was with a team trying to explain this part of the code, was not easy to understand for them.
Maybe if you know perfectly what this code is doing it is ease but if not...
Is possible that we don't understand correctly and this is the problem let me explain, here we understand that:
<ion-menu [content]="content">
</ion-menu>

<ion-nav id="nav" [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>

Can be explained as we save in content variable an ion-nav reference and we pass it to ion-menu on the input content.
Maybe somethig """"""like""""" this:
let content = get('ion-nav');
let menu = get('ion-menu');
menu.content = content;

We think that is easier to have something like that:
<ion-nav id="nav" [root]="rootPage" #nav swipeBackEnabled="false"></ion-nav>
<ion-menu [content]="nav">
</ion-menu>

Can be explained as we save in nav variable an ion-nav reference and we pass it to ion-menu on the input content.
Maybe somethig """"""like""""" this:
let nav = get('ion-nav');
let menu = get('ion-menu');
menu.content = nav;

If I'm right, maybe seems stupid but was very difficult to understand to the team, but maybe I'm wrong :S
Thanks!

Closing as this has already been updated


Issue with code highligthing

There's a issue with parts of highlighted code being pushed away to the right when there are multiple fragments on the same line.
For example in https://www.11ty.dev/docs/languages/nunjucks/#single-shortcode :

I think we should see this instead:

It looks like the issue comes from:
https://github.com/11ty/11ty-website/blob/master/_includes/components/code.css#L87-L89
.highlight-line {
	min-width: 100%;
}

I didn't make a PR to remove it, because I've not been able to verify if it is necessary elsewhere.

Yeah this is a duplicate of https://github.com/11ty/eleventy-plugin-syntaxhighlight/issues/13
The issue goes deeper! Please follow along over there for now!


Log Source keyword should accept a log level

Originally submitted to Google Code by @pekkaklarck on 14 May 2009

Would be handy to be able to use other levels than INFO sometimes. INFO is
obviously a suitable default.

Originally submitted to Google Code by @yanne on 18 Aug 2009

Fixed in r209


Added Shininess to Material Python wrapper

Signed-off-by: ahcorde<EMAIL_ADDRESS>🎉 New feature
Related to https://github.com/gazebosim/sdformat/issues/931
Summary
Added Shininess to Material Python wrapper
Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] Consider updating Python bindings (if the library has them)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

it seems like codecov can't properly identify coverage for our python bindings

it seems like codecov can't properly identify coverage for our python bindings

@AzulRadio , another one to remove from the coverage report, and ticket an issue for it to be addressed later.


Colab - doesn't support Tensorflow1.x any longer -- fail running in hierarchical_probabilistic_unet

Hi
Thanks for providing the notebook in colab for using hierarchical_probabilistic_unet. However, colab no longer supports Tensorflow1x any more and so it failed to run the notebook. Any advice for solution?
Best
Stella

You can install easily in your pc with python3.6


ARROW-14309: [Python] Extend CompressedInputStream to work with paths, strings and files

@kszucs CI looks green here. Do we include this in 6.0.0?


Signup invite code styling

@keybase/react-hackers @keybase/design
This PR also adds a form of <Input/> that we didn't have before -- there is hintText, but no floatingText when you focus, and the hintText should be centered and black10.
Zeplin:

GIF:

Looks great!
One tiny thing: the period is missing at the end of the error message. Other than that, all good for me.

@cecileboucheron Thanks, while I'm changing it maybe we should change the text -- I'll go with:
"Sorry, that's not a valid invite code."
unless someone has a better suggestion soon

:+1:

:+1:


Forwarding SSH Agent from local machine

I'm using Acquia's BLT tool which has the ability to restore my local database from an Acquia environment. In order to do this, I need to ssh from the webserver via drush to do a sql-sync. However, in order to do this, my ssh session into the webserver needs to carry my ssh agent from my host shell.
Is there a way to do ddev ssh -A like you would ssh -A to forward your ssh agent?

If you want to use your personal ssh keys within the web container, that's possible. Use ddev auth ssh to add the keys from your ~/.ssh directory and provide a passphrase, and then those keys will be usable from within the web container. You generally only have to ddev auth ssh one time per computer reboot.

Ok - I ought to RTFM. Sorry - https://ddev.readthedocs.io/en/stable/users/cli-usage/#ssh-into-containers

ddev auth ssh is actually what it sounds like you want. Give that a try.


Rather use environment variable for the include path than a static path.

For example I've installed FME not to the default location and now use an environment variable which points to the FME home.
Of course we can discuss this :wink:

I agree, thank you very much Victor!


Release 0.6.0

Update CHANGELOG for 0.6.0
Update version to 0.6.0

Closing as empty changelogs generated by release scripts


Distinct dartpad favicon from the official logo

It would be nice if the dart pad favicon would be distinguishable from the official dart logo.
When many tabs are open it's not obvious which one is the dartpad website.
Any kind of marker on top the official logo would do, perhaps a simple bullseye?

That's a good suggestion. Folks (including me) often use Dart to figure things out while reading through the docs.
I'll see if I can reach out to a design contact and get something new made.

I contacted the designer who's been helping us redesign DartPad to match the new dart.dev. He's going to knock out a new favicon at some point in the next few weeks, at which point we can get it integrated.

Ok, that's great, thanks for the afford and arranging this so quickly.

Updated the favicon to a new one (essentially a transparent-ified version of the Dart logo) supplied by our designer. It'll go out in the next release.

Was the new favicon tested with a dark theme? It doesn't look very nice to me...


Issue with install from Docker Desktop on W10

Hello,
I just tried to install the extension from Docker Desktop on Windows 10 and got the following error:
Extension was not installed. Reason: installation could not be completed due to: executing 'C:\Program Files\Docker\Docker\resources\bin\docker --context desktop-linux cp 852c44032f049272693751e8e40df58342556db00d8bd48fccb724154bdddfc3://ui C:\Users\asdf\AppData\Roaming\Docker\extensions\tmp\4283747688-ext-install\kafkasonar_kafkasonar\ui' : exit status 1: symlink ..\acorn\bin\acorn C:\Users\asdf\AppData\Roaming\Docker\extensions\tmp\4283747688-ext-install\kafkasonar_kafkasonar\ui\ui\node_modules.bin\acorn: A required privilege is not held by the client.
Thanks

Hi @wenjunche,
I believe this is an issue that crops up sometimes when using Docker Desktop on Windows 10. Can you run Docker Desktop as administrator and attempt to install the extension again?

I got the same issue even though I tried as an administrator.

我也有这个问题

你好
我刚刚尝试从 Windows 10 上的 Docker Desktop 安装扩展，但收到以下错误：
未安装扩展。原因：由于：执行'C：\Program Files\Docker\Docker\resources\bin\docker --context desktop-linux cp 852c44032f049272693751e8e40df58342556db00d8bd48fccb724154bdddfc3：//ui C：\Users\asdf\AppData\Roaming\Docker\extensions\tmp\4283747688-ext-install\kafkasonar_kafkasonar\ui' ：退出状态1：符号链接..\acorn\bin\acorn C：\Users\asdf\AppData\Roaming\Docker\extensions\tmp\4283747688-ext-install\kafkasonar_kafkasonar\ui\ui\node_modules.bin\acorn：客户端不拥有所需的权限。
谢谢

请问您解决了吗


Add documentation for injector initializer

This PR adds documentation on how to implement an initializer to inject the service in all the controllers. For me this was the major pain point updating from 3.X to 4.X, I was using the notifications everywhere and adding it manually to lots of controllers would have been a lot of work.

@cesarizu Great spot, thanks for covering an oversight on our part 🙃

:+1:


style.border doesn't appear to work and setting fg/bg on the border option itself applies globally

I've tried to style my borders in boxes and in a list using style.border.fg and style.border.bg but they don't appear to have any effect.
I can get it to work if I set it on the border option instead of the style.border option.
var box = blessed.box({
  border: {
    type: 'line',
    fg: '#ffffff',  // works
    bg: '#111111'  // works
  },
  style: {
    border: {
      fg: '#ffffff', // doesn't work
      bg: '#111111', // doesn't work
    }
  }
});

This isn't a huge deal except for the fact that modifying the border color of another element, modifies it for all elements. I created a box element and added a list element to it. When I change the list element's border color, it changes the box container element's border color as well.

Strange. Will investigate.

Hmmm, I can't seem to reproduce my issue with the border overriding other elements. I tried to narrow it down to a simple demo of the bug and the issue vanish. It has to be something in my app. However, I can reproduce the style.border fg and bg settings not having any effect at all.

I figured out the issue with the border stuff. I was using a single STYLE object and copying it via extend for each usage of style in my controls. I didn't realize that it wasn't telling it to do a deep copy.
Since border styles don't appear to work I was passing STYLE.border.fg to border.fg etc. Obviously you must set style.border.fg and style.border.bg behind the scenes when the deprecated border.fg and border.bg are used. When your code set that on my poorly copied STYLE object, it modified the original object graph rather than a copy, changing it for all my controls.
I apologize for the error.


add more demo users in backend

these demo users are only so that one can play several white cards, when logging in.
no login information needed for the additional users in the frontend

pushed to dev directly, because minor changes


I have another problem. After I converted my HTML file to a PDF file, the PDF file was garbled, and I specified UTF-8 encoding.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

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

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@Hzzhang-nlp
Sure, to generate PDFs, you'll need to install wkhtmltopdf. You can download it from here. Once installed, follow the next steps outlined in the repository. Let me know if you need any further assistance!


Add link to khmer-recipes and khmer-protocols from khmer docs.

See https://github.com/ged-lab/khmer/issues/471#issuecomment-54153065

I am working on this issue...

To clarify: some of the best documentation for khmer is on the khmer-protocols.readthedocs.org and khmer-recipes.readthedocs.org web sites.  Links to these sites (together with a brief description of the content) should be added into the khmer user documentation somewhere.
The khmer documentation is in the khmer repository under doc/, and is in reStructuredText format.

OK, that took ridiculously long -- partly because of a slew of off-line distractions -- but I may have actually made the very minor change in doc/introduction.txt that this called for.

Fixed by #870


when I run ./setup.sh got this.

./ios_error.h:67:24: error: unknown type name 'pid_t'
extern int ios_killpid(pid_t pid, int sig); // kill the current running command
^
./ios_error.h:74:8: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
extern const pthread_t ios_getLastThreadId(void);
^~~~~~
1 warning and 1 error generated.
make: *** [src/bc/lex.o] Error 1

OK . I got it .
Add this include head line to bc/ios_errors.h
#include  <sys/types.h>

That's an error while compiling bc command. I will check that out.


Linik tutorial to SLOs for LIBR 1548 course

Added that each task should be linked to SLO for the course.


chore(deps): update common-dev-assets digest to 775281a

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
ea0f594 -> 775281a

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Javascript error

Javascript error when I close the window and open it again through start menu.

Thanks for your report. Is this version 0.5.1 installed from a binary?

https://github.com/protonmail-desktop/application/releases/download/v0.5.1/protonmail-desktop-setup-0.5.1.exe
Yes, this one.

It also occurs on my W10. I will work on this


Removing Obsolete Reward Function in reward.py

Hi all,
These are the only functions in reward.py that are being used by the environments:

rewards.desired_velocity
rewards.rl_forward_progress
rewards.min_delay_unscaled
rewards.boolean_action_penalty
rewards.penalize_headway_variance

I could go ahead and remove the ones that aren't being used, but I wanted to make another suggestions. Do y'all think it'll be better to remove this file and just place the functions where they are being used? It'll make the code easier to follow and reduce the clutter in the repo. If there are multiple envs using a function, then it could go in the base class or something.
Let me know what yal think!

@mtgibson2014 thanks for doing this! From my end, the only reward I'd like to keep that is not being used by any environment is:

rewards.punish_rl_lane_changes

We used this for the multi-lane ring road experiments, which I at some point want to recreate in flow.

I'd like to keep average_velocity, min_delay, penalize_standstill, penalize_near_standstill. These are all used in my experiments, but I haven't merged the code into master yet.

great, thanks kathy! that leaves:

rewards.total_velocity
rewards.punish_small_rl_headways
rewards.punish_queues_in_lane
rewards.reward_rl_opening_headways

unless @eugenevinitsky has any objections, feel free to remove them.
also, @kjang96 can you create an issue about adding your experiments to the repo? We can add it to a later release, and if you're too busy to do it we can probably get someone to help you out with it.

@AboudyKreidieh yes, will add the issue!

@mtgibson2014 you can go ahead and delete the 4 reward functions I mentioned.

Cool! It's done and I made a PR for it.


multi-tenancy support

Hello team,
I'd like to try the kafka-connect-sap to setup an ETL pipeline to extract data from SAP HANA, while the transactional data in SAP HANA is used schema-based multi-tenancy, which means each tenant has an own schema HDI container.
is there a way to use this library to connect all the HDI containers? or how does it to support multi-tenancy in SAP infrastructure?
Best regards,
Ethan

HDI's DB-schema based multi-tenancy just gives the users to interact with tables residing in their corresponding DB schema and that is transparent to the jdbc driver's usage itself. The connection used by HDI is supposed to require TLS, so encrypt property must be set to true. (See here for the HANA JDBC connection properties https://help.sap.com/viewer/0eec0d68141541d1b07893a39944924e/LATEST/en-US/109397c2206a4ab2a5386d494f4cf75e.html). How the other TLS related properties must be set likely depends on how the broker side is configured.

Hello @elakito thanks for your prompt response. the reason I ask the question you know is because the hdi container username password is dynamically changed and managed by instance manager.
If we configure the jdbc url, username, password in the properties file, the connector won't work once the credentials changes, or we can use a technical user that can access multiple schema data...
Just would like to know if there a build-in solution to support this...

I have to think about options. One option may be to use ConfigProvider to store the credential elsewhere and trigger start and stop of the connector worker using Kafka-connect API every time when the password provisioning happens.

@zhjuncai I think one way to manage the automatic credential update is to simply restart the task. When you deploy a connector foo using the connect REST API POST /connectors , you can find its task ID using GET /connectors/foo/tasks  and  then later after the credential is changed, you can simply restart its task using `POST /connectors/foo/tasks//restart to restart the task which will load the new credential.
In other words, you can control everything using Kafka Connect REST API. Does this answer your question?

@zhjuncai I think one way to manage the automatic credential update is to simply restart the task. When you deploy a connector foo using the connect REST API POST /connectors , you can find its task ID using GET /connectors/foo/tasks  and  then later after the credential is changed, you can simply restart its task using `POST /connectors/foo/tasks//restart to restart the task which will load the new credential.
In other words, you can control everything using Kafka Connect REST API. Does this answer your question?


[SPARK-48220][PYTHON] Allow passing PyArrow Table to createDataFrame()

What changes were proposed in this pull request?

Add support for passing a PyArrow Table to createDataFrame().
Fix a timezone issue affecting toArrow().
TODO: Document in arrow_pandas.rst

Why are the changes needed?
This seems like a logical next step after the addition of a toArrow() DataFrame method in #45481.
Does this PR introduce any user-facing change?

TBD
How was this patch tested?

TBD
Was this patch authored or co-authored using generative AI tooling?
No

This makes the usage so much easier, thanks!
What will happen with the nanosecond timestamps? Truncated to milliseconds?

What will happen with the nanosecond timestamps? Truncated to milliseconds?

Yes, truncated to milliseconds for now.

I wish we had ns support in spark 4.0 as Java, parquet, arrow etc uses it natively now, but that’s certainly a different discussion and MRs :)
Thanks for the new API!

cc @zhengruifeng @ueshin @xinrong-meng FYI

This PR is too big to follow and has many unrelated changes, can we break it to multiple PRs ?

Yes I am happy to break out the non-required changes into separate PRs.

@zhengruifeng I broke out the non-required changes into separate PRs and I simplified the implementations. I think it should be easier to follow now. More than half of the added code is tests.

Here is a PDF of the Apache Arrow in PySpark user guide page rendered from this PR:
Apache Arrow in PySpark — PySpark master documentation.pdf

@zhengruifeng is there anything else I can do to help with this? Thank you

Just rebased to master

will merge once ci passes

Thanks @HyukjinKwon. After you merge I will rebase the small follow-up PR #46688 and prep it for review.

Merged to master.


java.sql.BatchUpdateException: Not a valid escape sequence

I have some java object in database, and export works fine but on import I'm getting an error:
Exception in thread "main" java.sql.BatchUpdateException: Not a valid escape sequence: {DÊû>
°²Ë?<sTXKC«Ì±0b?²7áý|!Àkn¢¾;7¥Gó?µF+?s§Âô?_nÇ¥?2Í?vsÃ¬ÃíâO*

is it a blob data?

Yes thats right

Yes thats right

the PR #16 maybe resolve this problem.
i have same problem

Will it be merged?

@FULaBUla I have tried your PR and it worked for me.

As this issue will be resolved in #16 so closing this one.

Will it be merged?

I don't know, I have waited 1 week. o(╥﹏╥)o

Hello @ypkkhatri please see this comment and respond. Thank you

Hi, sorry I'm not actually using the package anymore.


Blazoe Windows Forms sample doesn't appear to work

I follow the sample, but I'm getting errors, and when run it doesn't appear to work.
Here's what I'm getting with .NET 7 SDK installed:

If I uninstall .NET 7 SDK, then I don't get the above errors, but now I'm getting:

This doesn't appear prevent the app from compiling and running, but the net result is the same - the black screen.
VS 17.3.0 Preview 3.0 [32606.499.main].

dotnet --info
PS D:\Development\!Tests\BlazorWinFormsApp\BlazorWinFormsApp> dotnet --info
.NET SDK:
 Version:   7.0.100-preview.7.22329.1
 Commit:    4545c34392

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.22000
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\7.0.100-preview.7.22329.1\

Host:
  Version:      7.0.0-preview.6.22329.3
  Architecture: x64
  Commit:       ade0b21465

.NET SDKs installed:
  3.1.415 [C:\Program Files\dotnet\sdk]
  3.1.420 [C:\Program Files\dotnet\sdk]
  5.0.403 [C:\Program Files\dotnet\sdk]
  5.0.408 [C:\Program Files\dotnet\sdk]
  6.0.106 [C:\Program Files\dotnet\sdk]
  6.0.301 [C:\Program Files\dotnet\sdk]
  6.0.400-preview.22301.10 [C:\Program Files\dotnet\sdk]
  7.0.100-preview.7.22329.1 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.25 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.26 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.0-preview.7.22324.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.25 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.26 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.0-preview.6.22322.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.0-preview.6.22329.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.25 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.26 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 7.0.0-preview.7.22322.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
  x86   [C:\Program Files (x86)\dotnet]
    registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b0b88d48-74df-8dc4-446d-121e65b552ab
Version Independent ID: b0b88d48-74df-8dc4-446d-121e65b552ab
Content: Build a Windows Forms Blazor app
Content Source: aspnetcore/blazor/hybrid/tutorials/windows-forms.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @RussKie ... It works here, so I can't explain that behavior. Can you put the solution up in a GitHub repo so that I can take a look at it?

Bizarre :)
Here's a zip of the folder BlazorWinFormsApp.zip
Thank you

I'm unable to open ZIPs here due to security restrictions. I can only look at the app if you post it to GitHub.

You say you have VS 17.3.0 Preview 3.0. I'm only showing Preview 2 as the latest preview release ...
https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-preview#visual-studio-2022-version-173-preview-releases

That's the internal preivew

I see ... ok.

I pushed the sample to https://github.com/RussKie/BlazorWinFormsApp

I just tried it in VS 17.2.4 - same result

I'll take a look.

Rename your static assets folder from www to wwwroot.

Bah... that's embarassing 🤦♂
That worked! Thank you so much for your help.

I'm going to try this with .NET 7 installed now.

Sure thing ... glad it worked.
We'll close this as fixed, but I'd like to ping @mkArtakMSFT and @danroth27 just so they can put an 👁 on that bizarre set of VS UI complaints for that particular problem.

Confriming - with .NET 7 SDK installed the red squiggles are back, though they don't appear to have any effect on the running sample

Ok ... I think Dan and Artak will see this per my pings. If it's worth further action by the product unit, they'll take it from here, probably by opening an issue on their repo for investigation/work.

Yep. And now I know who to ping directly too :)

Well, you'd open an issue directly on their repo for product support at ...
https://github.com/dotnet/aspnetcore/issues
... and then it would be triaged in their normal workflow. It's best NOT to ping them directly. They're 🏃😅 most of the time.

The other factor here is that VS is a different team, and they take their issues via the Report a Problem gesture from within VS. That's a different workflow/group from the ASP.NET Core group. That's why it's best to let Dan/Artak look at this to see how best to handle it if they want to do anything in particular. They might say that it should be reported to the VS team and not on their repo.

Thank you. I know this drill, I'm part of the .NET team as well.

Oh, ok ... sorry about that. I didn't roll over your avatar to see the affiliation.

No worries at all :)
Thank you for your help in real time

@RussKie If you clean out the bin and obj folders and rebuild do the red squiggles go away?


[FEATURE] Verify Following and Unfollowing Works

File(s): SocialHub.sol, TraderManager.sol
Test Files Required?: Yes
What Testing Should Include:

Verify user can follow a social trader with the provided entry fee.
Verify a user is included in the list of eligible traders. Eligible traders are considered to have sufficient funds in their wallets to perform said trades that are approved by the smart contract.
Verify user can unfollow a social trader and will NOT be on the list of eligible traders.

Followers will need to be able to have the ability to follow and unfollow a social trader. The process must also be relatively cheap to do so. Verify a user can follow social traders, send an entry fee if there is one present. They must also be part of a list of eligible traders if they have approved the funds and have them. At any point, they must be able to unfollow a social trader. Social traders will still be able to perform actions on a position they were included in. Once unfollowed, they should no longer be on a new list of eligible traders.

Scrapped in favor of reestablishing the ERC677 social tokens


upgrade hcp to 4.14.5

/test test-pipeline-service-upgrade-ocp-414

/test test-pipeline-service-upgrade-ocp-414

/test test-pipeline-service-upgrade-ocp-414


crypto_secretbox_easy error

Not sure what's happening or if this is tracked yet, but I get this when running the app locally. Either right after starting, or when attempting to import a Dat.

I think @yoshuawuyts had this before too. Maybe try with a fresh set of dependencies, rm -Rf node_modules && npm cache clean && npm install.

@juliangruber tried a fresh set of deps, still seeing the same error as soon as i
either
a) import a dat
or
b) someone else tries to connect to a dat that i created from a local folder

Seems like it is something to do with a bad electron rebuild, running npm run rebuild does not fix it.

doing rm -rf ~/.electron && npm run clean && npm run rebuild && npm run bundle seemed to work for me, will work with kriesse to get this working

try also:
npm install -g electron-recompile
electron-recompile --electron=1.4.6

Have you tried clearing your cache? I ran into something similar until it
somehow went away
On Wed, Jan 18, 2017, 22:50 Kristina Schneider<EMAIL_ADDRESS>wrote:

@juliangruber https://github.com/juliangruber tried a fresh set of
deps, still seeing the same error as soon as i
either
a) import a dat
or
b) someone else tries to connect to a dat that i created from a local
folder
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/datproject/dat-desktop/issues/153#issuecomment-273612689,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWlek28KL01fioeOmQ6ziBr5lUvGMcyks5rTokTgaJpZM4LmXd4
.

yup, tried with fresh dependencies + clear cache a few times, didn't help

I updated the rebuild script in package.json -- if I run npm rebuild directly, it seems to work.
npm rebuild --runtime=electron --target=1.4.6 --disturl=https://atom.io/download/atom-shell --build-from-source

I cleared all caches on my machine and did a fresh install but still don't get that error.
The dependency in question here is sodium-prebuilt, which lives in the tree at

Which node version are you using? Can you try this: Upgrade to latest node, then do the same clean install procedure again.

Yeah, this was the exact same error I had - and then it suddenly went away;
suspect it might indeed be cache related / requires a rebuild.
On Wed, Jan 18, 2017 at 3:05 PM Julian Gruber<EMAIL_ADDRESS>wrote:

I think @yoshuawuyts https://github.com/yoshuawuyts had this before
too. Maybe try with a fresh set of dependencies, rm -Rf node_modules &&
npm cache clean && npm install.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/datproject/dat-desktop/issues/153#issuecomment-273483130,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWletrMsQiOOy6DrIZ2NVfYpler9gDiks5rThwkgaJpZM4LmXd4
.

@juliangruber I'm on v6.2.2, which version should I try?

hm very strange, that should def. be new enough. do you maybe have a chance to debug this with @yoshuawuyts?

@yoshuawuyts tried debugging this with @Kriesse today and got into this state after trying everything, seems to happen every time on her machine:

notice how i can require('sodium-prebuilt') just fine in the console, but in the bundle it fails. do you think this is related to the magic stuff you're doing with bundling node code?

@maxogden @Kriesse can you post the bundle.js somewhere so I can try running it locally?


fix(turbopath): avoid incorrect lifetime in RelativeUnixPath::new

Description
I ended up hitting a panic using this function incorrectly, we can make it safer.
Explanation of Issue
Take the following code snippet:
 let absolute = AbsoluteSystemPath::new("/").unwrap();
 let foo = String::from("foo/bar/baz");
 let bar = RelativeUnixPath::new(foo).unwrap();
 let baz = absolute.join_unix_path(bar); // panics

It panics with the following error:
unsafe precondition(s) violated: ptr::copy_nonoverlapping requires that both pointer arguments are aligned and non-null and the specified memory ranges do not overlap

The issue is with the line let bar = RelativeUnixPath::new(foo); so lets take a look at the definition of RelativeUnixPath::new:
pub fn new<'a, P: AsRef<str> + 'a>(value: P) -> Result<&'a Self, PathError> {
    let path = value.as_ref();
    /* body omitted as it isn't relevant */
    Ok(unsafe { &*(path as *const str as *const Self) })
}

Lets break down the signature, new is generic over a lifetime 'a and a type P where P must implement AsRef<str> and be valid for at least the lifetime of 'a. new then returns a Result<&'a Self> aka a reference to a RelativeUnixPath valid for at least 'a.
It's important to clarify that P: AsRef<str> + 'a means P is valid for 'a, not the &str created by as_ref().
So if we pass a String object to RelativeUnixPath::new we end up with new<'a>(value: String) -> Result<&'a Self>, but what's the 'a? There's not any lifetime that's part of String!
If we look at the Static section of Rust By Example it contains the following remark:

It's important to understand this means that any owned data always passes a 'static lifetime bound

String is owned so it passes a bound such as T: 'static or in our case P: AsRef<str> + 'static.
This means that we can currently write a function like this:
fn foo(s: String) -> &'static RelativeUnixPath {
    RelativeUnixPath::new(s).unwrap()
}

This is clearly incorrect, foo takes ownership of s, but somehow returns a 'static reference even though s is consumed in the function and will be dropped at the end
Solution
The solution is that we make sure we make sure we take a type that's a reference! e.g.
fn new<'a, P: AsRef<str> + ?Sized>(value: &'a P) -> Result<&'a Self> this prevents us from passing an owned type into the constructor and smuggling in bad lifetimes to the codebase. (?Sized is just needed because Sized is an implicit trait bound in Rust and we're opting out of it. Since we're taking a reference, we don't need to know the size of the type see the Excotically Sized Types section of the Rustonomicon for more information)
Testing Instructions
The following will no longer compiles:
#[test]
fn test_pass_in_string() {
    let absolute = AbsoluteSystemPath::new("/").unwrap();
    let foo = String::from("foo/bar/baz");
    let bar = RelativeUnixPath::new(foo).unwrap();
    let baz = absolute.join_unix_path(bar); // panics
}

Nice write-up! Looking at the other unsafe block in that file we should be ok if &self is OK and this PR fixes that.
While we are here, perhaps some proper SAFETY comments would be helpful for future people down the line. Don't have to do it everywhere but the paths lib is used by pretty much every turbo invocation
https://std-dev-guide.rust-lang.org/policy/safety-comments.html
We don't need the whole explainer some comment that the lifetime is attached to the lifetime of the owned object passed in so we can't end up with dangling pointers would be great.
Also is this code also prone to the same UB? I can't really reason with it without running it locally.
https://github.com/vercel/turborepo/blob/c03735dddc34fafb688f15264ee6f3e4691ff139/crates/turborepo-paths/src/anchored_system_path.rs#L48


Update the connected wallet when there's a wallet change event

Description
To prevent accidental mismatches between the wallet connected to the Cadastre and the address selected in the user's wallet, add listening for wallet change events and update the connected wallet accordingly.

Fixed with https://github.com/Geo-Web-Project/cadastre/pull/251


CASSANDRA-14757 Fix accessing java.nio.Bits.totalCapacity/TOTAL_CAPACITY and AtomicLong

Rather than introducing more compiler version dependent classes, why not just catch the java.lang.NoSuchFieldException if it happens and then use the other name?  This only happens once during static initialization.


Fix homebrew formula

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the helmwave/tap tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/helmwave/homebrew-tap/Formula/helmwave.rb:10

Fixed in goreleaser v0.183.0 - https://github.com/goreleaser/goreleaser/pull/2591

fixed with the last release (it used latest goreleaser)


Remove prover from Synchronizer

The Synchronizer doesn't generate proofs. Instead the UserState should accept the prover.

I think it can generate the genSealedEpochProof
https://github.com/Unirep/Unirep/pull/332
and it doesn't (and shouldn't) require a user id

Now that we don't have genSealedEpochProof i think we can take the prover out of the synchronizer.


Default to building Win32 libraries

Fix linker errors due to missing symbols by defaulting to building Win32 libraries.

I needed to change:
MFLAGS=/p:Configuration=Release /nologo /m /v:q

to:
MFLAGS=/p:Configuration=Release /p:Platform=Win32 /nologo /m /v:q

as well to get it to compile


Add missing emoji param to customMessage method

customMessage methods didn't support emoji param.

Thanks for the contribution @nitoyon


Session endpoints

refs #9865

[x] POST /session/ {username, password} create authenticated session
[x] GET /session/ return current user
[x] DELETE /session/ logout

This PR creates the adminApi auth middleware, and wires it up to the admin api routes, and also wires up the session controller routes.

@allouis testing this with the Ghost-Admin PR, trying to set up a new blog I get this when submitting the step 2 form:
INFO [2018-10-05 10:05:02] "POST /ghost/api/v2/admin/authentication/setup/" 201 543ms
express-session deprecated req.secret; provide secret option core/server/services/auth/session/middleware.js:33:27
ERROR [2018-10-05 10:05:02] "POST /ghost/api/v2/admin/session" 500 119ms

NAME: InternalServerError
MESSAGE: Cannot set property 'user_id' of undefined

level:normal

empty
empty
ERROR DETAILS:
    empty

InternalServerError: Cannot set property 'user_id' of undefined
    at new GhostError (/Users/kevinansfield/code/ghost/Ghost/core/server/lib/common/errors.js:10:26)
    at _private.prepareError (/Users/kevinansfield/code/ghost/Ghost/core/server/web/shared/middlewares/error-handler.js:42:19)
    at Layer.handle_error (/Users/kevinansfield/code/ghost/Ghost/node_modules/express/lib/router/layer.js:71:5)
    at trim_prefix (/Users/kevinansfield/code/ghost/Ghost/node_modules/express/lib/router/index.js:315:13)
    at /Users/kevinansfield/code/ghost/Ghost/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/Users/kevinansfield/code/ghost/Ghost/node_modules/express/lib/router/index.js:335:12)
    at next (/Users/kevinansfield/code/ghost/Ghost/node_modules/express/lib/router/index.js:275:10)
    at Layer.handle_error (/Users/kevinansfield/code/ghost/Ghost/node_modules/express/lib/router/layer.js:67:12)
    at trim_prefix (/Users/kevinansfield/code/ghost/Ghost/node_modules/express/lib/router/index.js:315:13)
    at /Users/kevinansfield/code/ghost/Ghost/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/Users/kevinansfield/code/ghost/Ghost/node_modules/express/lib/router/index.js:335:12)
    at next (/Users/kevinansfield/code/ghost/Ghost/node_modules/express/lib/router/index.js:275:10)
    at /Users/kevinansfield/code/ghost/Ghost/node_modules/express/lib/router/index.js:635:15
    at next (/Users/kevinansfield/code/ghost/Ghost/node_modules/express/lib/router/index.js:260:14)
    at next (/Users/kevinansfield/code/ghost/Ghost/node_modules/express/lib/router/route.js:127:14)
    at Child.apiMethod.tap.then.catch (/Users/kevinansfield/code/ghost/Ghost/core/server/api/v0.1/index.js:306:13)

TypeError: Cannot set property 'user_id' of undefined
    at /Users/kevinansfield/code/ghost/Ghost/core/server/services/auth/session/middleware.js:59:29
    at session (/Users/kevinansfield/code/ghost/Ghost/node_modules/express-session/index.js:199:7)
    at getSession (/Users/kevinansfield/code/ghost/Ghost/core/server/services/auth/session/middleware.js:48:12)
    at Object.createSession (/Users/kevinansfield/code/ghost/Ghost/core/server/services/auth/session/middleware.js:52:5)
    at Promise.resolve (/Users/kevinansfield/code/ghost/Ghost/core/server/api/v2/session.js:29:30)
    at Child.apiMethod.tap.then (/Users/kevinansfield/code/ghost/Ghost/core/server/api/v0.1/index.js:289:24)
    at Child.tryCatcher (/Users/kevinansfield/code/ghost/Ghost/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/Users/kevinansfield/code/ghost/Ghost/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/Users/kevinansfield/code/ghost/Ghost/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/Users/kevinansfield/code/ghost/Ghost/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/Users/kevinansfield/code/ghost/Ghost/node_modules/bluebird/js/release/promise.js:693:18)
    at Async._drainQueue (/Users/kevinansfield/code/ghost/Ghost/node_modules/bluebird/js/release/async.js:133:16)
    at Async._drainQueues (/Users/kevinansfield/code/ghost/Ghost/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues (/Users/kevinansfield/code/ghost/Ghost/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:794:20)
    at tryOnImmediate (timers.js:752:5)