chef-apt-docker/recipes/default.rb fails. "requesting key 0EBFCD88 from hkp server pgp.mit.edu. no valid OpenPGP data found."

Cookbook version
2.0.2
Chef-client version
12.21.1
Platform Details
Ubuntu 14.04.5 LTS
Scenario:
Executing chef-client
Result:
================================================================================
      Error executing action `run` on resource 'execute[install-key 9DC858229FC7DD38854AE2D88D81803C0EBFCD88]'
      ================================================================================

      Mixlib::ShellOut::ShellCommandFailed
      ------------------------------------
      Expected process to exit with [0], but received '2'
      ---- Begin output of apt-key adv --recv --keyserver hkp://pgp.mit.edu:80 9DC858229FC7DD38854AE2D88D81803C0EBFCD88 ----
      STDOUT: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.EOGa5nTr3K --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv --keyserver hkp://pgp.mit.edu:80 9DC858229FC7DD38854AE2D88D81803C0EBFCD88
      gpgkeys: key 9DC858229FC7DD38854AE2D88D81803C0EBFCD88 can't be retrieved
      STDERR: gpg: requesting key 0EBFCD88 from hkp server pgp.mit.edu
      gpg: no valid OpenPGP data found.
      gpg: Total number processed: 0
      ---- End output of apt-key adv --recv --keyserver hkp://pgp.mit.edu:80 9DC858229FC7DD38854AE2D88D81803C0EBFCD88 ----
      Ran apt-key adv --recv --keyserver hkp://pgp.mit.edu:80 9DC858229FC7DD38854AE2D88D81803C0EBFCD88 returned 2

      Resource Declaration:
      ---------------------
      # In /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.1/lib/chef/provider/apt_repository.rb

      199:         declare_resource(:execute, "install-key #{key}") do
      200:           command cmd
      201:           sensitive new_resource.sensitive
      202:           not_if do
      203:             present = extract_fingerprints_from_cmd("apt-key finger").any? do |fp|
      204:               fp.end_with? key.upcase
      205:             end
      206:             present && key_is_valid?("apt-key list", key.upcase)
      207:           end
      208:           notifies :run, "execute[apt-cache gencaches]", :immediately
      209:         end
      210:

Seems the key server was down for a very short time, disregard.

This is occurring again. Same error. I believe the key server is intermittently inaccessible.

This was caused by /etc/apt/trusted.gpg having fouled up keys.
I followed this askubuntu page

mv /etc/apt/trusted.gpg /someplacesafe/trusted.gpg.bak
apt-key update

Reopening this YET again. I noticed this is affecting all nodes using this cookbook about every 3 hours (chef-client runs every 15 minutes). Is anyone else experiencing this?
---- Begin output of apt-key adv --recv --keyserver hkp://pgp.mit.edu:80 9DC858229FC7DD38854AE2D88D81803C0EBFCD88 ----
STDOUT: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.JbVCPrdRwY --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv --keyserver hkp://pgp.mit.edu:80 9DC858229FC7DD38854AE2D88D81803C0EBFCD88
gpgkeys: key 9DC858229FC7DD38854AE2D88D81803C0EBFCD88 can't be retrieved
STDERR: gpg: requesting key 0EBFCD88 from hkp server pgp.mit.edu
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
---- End output of apt-key adv --recv --keyserver hkp://pgp.mit.edu:80 9DC858229FC7DD38854AE2D88D81803C0EBFCD88 ----
Ran apt-key adv --recv --keyserver hkp://pgp.mit.edu:80 9DC858229FC7DD38854AE2D88D81803C0EBFCD88 returned 2

Created a wrapper cookbook with the following attributes (to override)
default['chef-apt-docker']['docker-stable']['keyserver'] = 'keyserver.ubuntu.com'
default['chef-apt-docker']['docker-stable']['key'] = '58118E89F3A912897C070ADBF76221572C52609D'

Works initially. Will see how it does long term.

We have this exact issue, and it is brutual

Creating a wrapper cookbook with the above attributes solved this problem for me.

This is a bug of chef-client (core) version 12 which is only fixed in chef 13, see  https://github.com/chef/chef/issues/6294

Closing this out as Chef 12 is no longer supported


Compile through, but can not run.

Compile through, but can not run.
No reason found.

What error messages did the Xcode console give?


Transcript hash prepare1.2

This is to fix issue https://github.com/DMTF/libspdm/issues/134 - prepare for 1.2 script.

Looks good to me.


Icons doesn't appear

Icons do not appear on my application. They appear only in the tool and the functions that is activated
Using Windows 11

Which version are you using?

Which version are you using?

Using the 1.0.0 version on Releases.
Tried the newest build generated by the Actions and works the same

👀

Try to delete the three files in the "\runtimes\win-x64\native" folder in the program directory while the program is running. See if they can be deleted successfully?

All can't?

Yes, tried with one at time and none of them can be deleted with TuneLab running

Try to delete the entire software directory while the software is running. If it cannot be deleted, skip it and tell me what is in the final folder.

Here

Found the error and it's kinda silly?
I've changed the decimal symbol and digit agroupment and it worked
on my county, decimal is comma and digit agroupment is dot
changing the decimal to dot and digit agrouptment to comma make it work

What an incredible problem and I'm glad you have solved it.
But does changing this setting have a big impact on your other work?

Fortunately, no. There is no impact on other applications.
But I was looking up on the internet and looks like there is a lot of countries that uses the same numeric configuration as mine. Hope you can find a solution without the need to change the Region configuration

Like 000,000.00 And 000.000,00?

Like 000,000.00 And 000.000,00?

yes
my region is
000.000,00

We have already tried to solve this problem in the latest version 1.1.0. Can you test it?

We have already tried to solve this problem in the latest version 1.1.0. Can you test it?

It's working, thank you!

I'm glad your issue has been resolved!🎉
If there are no new issues on this issue at the moment, you can close this issue.😉✅
Thank you very much!


[AIRFLOW-2800] Remove low-hanging linting errors

Make sure you have checked all steps below.
JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-XXX
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a JIRA issue.

I am willing to create a JIRA issue, but this is just a code quality fix PR and that seems excessive
Description

[ x ] Here are some details about my PR, including screenshots of any UI changes:

This PR reduces flake8 airflow from 466 to 266 errors mostly through resolving of

E226
W291

as well as some E501 (line too long) where it did not risk reducing readability
Tests

[ x ] My PR adds the following unit tests OR does not need testing for this extremely good reason:
Only fixes flake8 errors

Commits

[ x ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ x ] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[ ] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

It does not pass as there are other linting errors on some of the files I touched that I was not comfortable changing at this time.

This is failing due to existing linting errors on files I touched. It still results in a reduction of linting errors by over 40%. (200 resolved errors).

Thanks @andscoop.
Can you adhere to the commit guidelines and create a ticket? I know this feels a bit unnecessary, but it is for keeping track of the changes for the releases. Cheers

@Fokko issue created and commit updated

Thanks @andscoop the test still fails on a few Flake8 violations, mind picking up these as well?
Running flake8 on the diff in the range f3b6b60c..aba6120b (1 commit(s)):
--------------------------------------------------------------------------------
airflow/jobs.py:1095:21: E128 continuation line under-indented for visual indent
                    DR.execution_date == TI.execution_date))
                    ^
airflow/jobs.py:1268:30: E711 comparison to None should be 'if cond is None:'
                or_(TI.state == None, TI.state.in_(acceptable_states))
                             ^
airflow/www/validators.py:49:33: E131 continuation line unaligned for hanging indent
                                or self.fieldname,
                                ^
airflow/www/validators.py:49:33: W503 line break before binary operator
                                or self.fieldname,
                                ^
ERROR: InvocationError for command '/home/travis/build/apache/incubator-airflow/scripts/ci/flake8_diff.sh' (exited with code 1)

@andscoop do you mind rebasing? Thanks for taking this up. Once rebased, I can merge.

@r39132 done - thanks

Cool. Running flake8 airflow | wc -l on master and this PR branch, I see a decrease from 458 down to 235!
Thanks for making these changes.


update codeowners for the 3scale plugin

Hey, I just made a Pull Request!
Added @04kash and @AndrienkoAleksandr as code owners for the 3scale plugin.
:heavy_check_mark: Checklist

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

@vinzscam based on this comment: https://github.com/backstage/community/issues/166#issuecomment-2441086979, I think this PR is good to merge


close the io.ReadCloser from storage driver

hey @Mark3K thanks for the PR, can you please make sure you add DC as per guidelines

hey @Mark3K thanks for the PR, can you please make sure you add DC as per guidelines

hi @Mark3K, thanks for the PR, and this should be backported to v2.7 as well.
Can you please revise the DCO? And you probably need te rebase the code as CI has changed to gitaction.
This PR can resolve the Garbage Collection failure at NFS v3
Before removing the manifest data, garbage collecter will read the content of its blob. But the reader will not close after reading, which leads to a thread is holding the data file for a while.
NFS v3 uses the "delete on last close", and there is no way for a file to be deleted but remain is use by an application. NFS generates a hidden file '.nfsXXXXX' which is known as 'silly rename' to index the file remains in use. So the garbage collectioner will fail by removing the blob directory as the '.nfsXXXXX' file is in there.

@Mark3K can you help to revise this PR? Then we can merge it into master.

@wy65701436 sorry for the delay


Refactor the orquesta st2kv function

Fix the orquesta st2kv to return empty string and null values correctly and allow st2kv function to return a supplied default value for nonexistent key. Closes #4678

@Kami TBH, the keyvalue/datastore utils/services are very inconsistent.  Most of our services modules are just functions.  But the keyvalue service have separate classes in them.  And then we have datastore service which is confusing.  The functions in the keyvalue util should probably be in the service module.  They would be more consistent with functions of other services.  And then low level DB query should return error when record not found.  The utils/service can abstract that and decide whether to throw exception.


User can cancel while drain agent action is running

This fix makes drain action cancellable. It also introduces
CancellableScript interface and its implementation for drain and
parallel scripts.
Small change in fake_cmd_runner was made to propely test parallel async
execution of scripts.
[#106642152] (https://www.pivotaltracker.com/story/show/106642152)
Signed-off-by: Yulia Gaponenko<EMAIL_ADDRESS>

Sorry to bump an old PR but this modified bosh-utils' fake_cmd_runner directly in bosh-agent instead of in that repo. I just synced bosh-utils with the latest changes and luckily the ConcreteScript tests failed and was able to trace it back. We should be more careful about this in the future.


Thanks for the submission. Gauging by the 👍 s this is a popular fix. This repository didn't previously have a CLA, so I've now set up the cla-assistant bot. Could you resubmit your PR please so that it asks you to review the CLA?


fix:fit binary-exponent.cpp to guidelines

Description of Change
FIX: added checking for negative exponents to both functions. Removed user interaction and replaced with tests function.
CHORE: added author, reformatted function documentation, added descriptions of what is happening in each algo and adhered to other repo standards
Checklist

[x] Added description of change
[x] Added file name matches File name guidelines
[x] Added tests and example, test must pass
[x] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[x] Relevant documentation/comments is changed or added
[x] PR title follows semantic commit guidelines
[x] I acknowledge that all my contributions will be made under the project's license.

Notes:  Should we keep formatting text like \f$O(\log(n))\f$ in the comments or should they be removed?
Additionally i cant seem to get clang-tidy to work on my system, this code will need a once over with it

We use \f$ to render latex math equations they are necessary and imo should be required as they make the equations professional and presentable for more details check out doxygen's documentation on  latex equations

part of #2456

just one conversation to resolve and you are good to go!

Will be merging in a few days if there are no objections. Ping me in case I forget.

@Panquesito7


Review use of await using and ensure that it is synchronization context agnostic

Summary
In order to ensure that the library is as performant and well-behaved as possible for those using it, the library must ensure that it is following best practices and is  agnostic to the synchronization context.   To this end, all instances where an asynchronous operation is awaited should make use of ConfigureAwait(false).
Within the codebase, there are some instances which consume an IAsyncDisposable making use of the await using syntax introduced in C# 8.   In order to ensure that these instances are configured to ignore the synchronization context, it is not possible to just append ConfigureAwait(false) to the statement.   Instead, one of the following patterns should be applied:
var instance = new SomeDisposableType();
await using var instanceAwaitable = instance.ConfigureAwait(false);

instance.DoThings();

var instance = new SomeDisposableType();

await using (instance.ConfigureAwait(false))
{
      instance.Dothings();
}

Scope of Work

Identify areas within the codebase that make use if IAsyncDisposable types which do not adhere to one of the patterns which allows ConfigureAwait(false) to be applied.

Adjust those occurrences identified to ensure that ConfigureAwait(false) is properly invoked.

Success Criteria

The refactoring and enhancements detailed by the scope have been completed; all uses of IAsyncDisposable types properly ignore the synchronization context.

The tests necessary for its validation have been created or adjusted and pass reliably.

The existing test suite continues to produce deterministic results and pass reliably.

References

Using ConfigureAwait in "await using" declaration

Btw, this is handled by our analyzers (with braces or without)


tornado<6

Codecov Report

Merging #2837 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #2837   +/-   ##
=======================================
  Coverage   95.35%   95.35%
=======================================
  Files          73       73
  Lines       13771    13771
=======================================
  Hits        13131    13131
  Misses        640      640

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 930de70...e5b4a3f. Read the comment docs.


Sync develop with main

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
734

Relevant Lines:
864

💛  - Coveralls


微信小程序上传离线日志失败

Describe the bug

Steps to reproduce
No response
System Info
uniapp MP

Logs
No response
Validations

[X] Read the FAQ.
[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

已解决，初始化添加启用ssl参数 enableSSL


Add individual lora block weights on merges?

Your tool is the only one that I actually manage to merge flux loras! Thank you very much.
Recently I've been able to mess around with lora flux blocks within forge with https://github.com/nihedon/sd-webui-lora-block-weight/tree/support_flux and the quality I've manage to get after block analysis is impressive. And Comfy have a lot of nodes for that as well.
Any plans to add Flux Lora Block Weights?
Thanks!

Well I'm trying it with ChatGPT help if anyone wants to try the code as well, here it is: https://github.com/diodiogod/Flux-Block-Weight-Remerger


Error 500 on repository creation

Here is the dump of the issue:
==> /home/redmine/redmine/log/production.log <==
Started POST "/projects/projects/SOME_PROJECT/repositories" for <IP_ADDRESS> at 2015-07-22 17:18:36 +0200
Processing by RepositoriesController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"THE_TOKEN_WAS HERE", "repository_scm"=>"Xitolite", "repository"=>{"is_default"=>"0", "identifier"=>"resources-atlas", "path_encoding"=>"", "create_readme"=>"false", "enable_git_annex"=>"false"}, "commit"=>"Create", "project_id"=>"hazelrun"}
  Current user: USER (id=4)
Redirected to https://SOMEWHERE/projects/projects/SOME_PROJECT/settings/repositories
Completed 500 Internal Server Error in 75.0ms

NameError (undefined local variable or method `urls_order' for #<RepositoryGitExtra:0x00000004b81b28>):
  vendor/bundle/ruby/2.1.0/gems/activemodel-3.2.21/lib/active_model/attribute_methods.rb:407:in `method_missing'
  vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/attribute_methods.rb:149:in `method_missing'
  plugins/redmine_git_hosting/app/models/repository_git_extra.rb:62:in `validate_urls_order'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:484:in `_run__963226245483040833__validate__3050149140606523152__callbacks'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_validate_callbacks'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks'
  vendor/bundle/ruby/2.1.0/gems/activemodel-3.2.21/lib/active_model/validations.rb:228:in `run_validations!'
  vendor/bundle/ruby/2.1.0/gems/activemodel-3.2.21/lib/active_model/validations/callbacks.rb:53:in `block in run_validations!'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:403:in `_run__963226245483040833__validation__3050149140606523152__callbacks'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_validation_callbacks'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks'
  vendor/bundle/ruby/2.1.0/gems/activemodel-3.2.21/lib/active_model/validations/callbacks.rb:53:in `run_validations!'
  vendor/bundle/ruby/2.1.0/gems/activemodel-3.2.21/lib/active_model/validations.rb:195:in `valid?'
  vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/validations.rb:69:in `valid?'
  vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/validations.rb:77:in `perform_validations'
  vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/validations.rb:56:in `save!'
  vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
  vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/transactions.rb:264:in `block in save!'
  vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
  vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
  vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/transactions.rb:208:in `transaction'
  vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
  vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/transactions.rb:264:in `save!'
  plugins/redmine_git_hosting/app/use_cases/create_repository.rb:25:in `set_repository_extra'
  plugins/redmine_git_hosting/app/use_cases/create_repository.rb:15:in `call'
  plugins/redmine_git_hosting/lib/redmine_git_hosting/patches/repositories_controller_patch.rb:89:in `call_use_cases'
  plugins/redmine_git_hosting/lib/redmine_git_hosting/patches/repositories_controller_patch.rb:46:in `create_with_git_hosting'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/abstract_controller/base.rb:167:in `process_action'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal/rendering.rb:10:in `process_action'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:502:in `_run__1315261990588421714__process_action__3004538257381801549__callbacks'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/abstract_controller/callbacks.rb:17:in `process_action'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal/rescue.rb:29:in `process_action'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/notifications.rb:123:in `block in instrument'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/notifications.rb:123:in `instrument'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
  vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/abstract_controller/base.rb:121:in `process'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/abstract_controller/rendering.rb:45:in `process'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal.rb:203:in `dispatch'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal.rb:246:in `block in action'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:73:in `call'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:36:in `call'
  vendor/bundle/ruby/2.1.0/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
  vendor/bundle/ruby/2.1.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
  vendor/bundle/ruby/2.1.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:608:in `call'
  vendor/bundle/ruby/2.1.0/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in `call'
  vendor/bundle/ruby/2.1.0/gems/request_store-1.0.5/lib/request_store/middleware.rb:9:in `call'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
  vendor/bundle/ruby/2.1.0/gems/rack-1.4.7/lib/rack/etag.rb:23:in `call'
  vendor/bundle/ruby/2.1.0/gems/rack-1.4.7/lib/rack/conditionalget.rb:35:in `call'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/head.rb:14:in `call'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/flash.rb:242:in `call'
  vendor/bundle/ruby/2.1.0/gems/rack-1.4.7/lib/rack/session/abstract/id.rb:210:in `context'
  vendor/bundle/ruby/2.1.0/gems/rack-1.4.7/lib/rack/session/abstract/id.rb:205:in `call'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/cookies.rb:341:in `call'
  vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/query_cache.rb:64:in `call'
  vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `_run__4317816985707177999__call__3050149140606523152__callbacks'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  vendor/bundle/ruby/2.1.0/gems/railties-3.2.21/lib/rails/rack/logger.rb:32:in `call_app'
  vendor/bundle/ruby/2.1.0/gems/railties-3.2.21/lib/rails/rack/logger.rb:16:in `block in call'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/tagged_logging.rb:22:in `tagged'
  vendor/bundle/ruby/2.1.0/gems/railties-3.2.21/lib/rails/rack/logger.rb:16:in `call'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/request_id.rb:22:in `call'
  vendor/bundle/ruby/2.1.0/gems/rack-1.4.7/lib/rack/methodoverride.rb:21:in `call'
  vendor/bundle/ruby/2.1.0/gems/rack-1.4.7/lib/rack/runtime.rb:17:in `call'
  vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  vendor/bundle/ruby/2.1.0/gems/rack-1.4.7/lib/rack/lock.rb:15:in `call'
  vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/static.rb:83:in `call'
  vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
  vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in `pass'
  vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in `invalidate'
  vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in `call!'
  vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
  vendor/bundle/ruby/2.1.0/gems/railties-3.2.21/lib/rails/engine.rb:484:in `call'
  vendor/bundle/ruby/2.1.0/gems/railties-3.2.21/lib/rails/application.rb:231:in `call'
  vendor/bundle/ruby/2.1.0/gems/railties-3.2.21/lib/rails/railtie/configurable.rb:30:in `method_missing'
  /usr/local/rvm/gems/ruby-2.1.5/gems/passenger-5.0.1/lib/phusion_passenger/rack/thread_handler_extension.rb:85:in `process_request'
  /usr/local/rvm/gems/ruby-2.1.5/gems/passenger-5.0.1/lib/phusion_passenger/request_handler/thread_handler.rb:155:in `accept_and_process_next_request'
  /usr/local/rvm/gems/ruby-2.1.5/gems/passenger-5.0.1/lib/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'
  /usr/local/rvm/gems/ruby-2.1.5/gems/passenger-5.0.1/lib/phusion_passenger/request_handler.rb:414:in `block (3 levels) in start_threads'
  /usr/local/rvm/gems/ruby-2.1.5/gems/passenger-5.0.1/lib/phusion_passenger/utils.rb:111:in `block in create_thread_and_abort_on_exception'

My environment:
Environment:
  Redmine version                2.6.2.stable.14045
  Ruby version                   2.1.5-p273 (2014-11-13) [x86_64-linux]
  Rails version                  3.2.21
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.6.17
  Git                            <IP_ADDRESS>
  Filesystem
  Xitolite                       <IP_ADDRESS>
Redmine plugins:
  advanced_roadmap_v2            2.4.2
  clipboard_image_paste          1.10
  issue_id                       0.0.1b
  redmine_better_gantt_chart     0.9.0
  redmine_bootstrap_kit          0.2.3
  redmine_dashboard              2.5.0
  redmine_didyoumean             1.2.0
  redmine_favourite_projects     0.7
  redmine_git_hosting            1.1.1
  redmine_graphs                 0.1.0
  redmine_ics_export             3.0.1.dev
  redmine_issue_checklist        2.0.7
  redmine_jenkins                1.0.1
  redmine_mention_plugin         0.0.2
  redmine_monitoring_controlling 0.1.1
  redmine_mylyn_connector        2.8.2.stable
  redmine_plugin_views_revisions 0.0.1
  redmine_sidekiq                2.1.0
  redmine_tags                   2.1.0
  sidebar_hide                   0.0.7

Hi,
Can you verify that your migrations have completed successfully?  Given the error, it sounds like a column is missing from your repository_git_extra table.
You can run migrations by running the following command within your redmine installation directory:
bundle exec rake redmine:plugins:migrate RAILS_ENV=production NAME=redmine_git_hosting

Hi @clee231 !
This was exactly the issue. for some reason I forgot to migrate this one plugin during my upgrade process last month.
I delete the repos which are corrupted directly from the DB this way the site is back to normal.
Thank you!

@clee231 : Thank you!


RadioListTile inconsistent behaviour during deselection

Summary
RadioListTile can be selected by tapping the title or radio control widget. It can be deselected (by changing the groupValue to null in onChanged callback) only by tapping the title. Tapping the radio control widget when it is selected does not trigger the callback.
The onChanged callback in the Radio class is not called when the radio is being deselected.
Callback handler implementation from the Radio class:
void _handleChanged(bool selected) {
  if (selected)
    widget.onChanged(widget.value);
}

Is it desired behaviour not to call onChanged when the value changes to false?
That seems counterintuitive to me and it causes inconsistency with how onChanged callback works in RadioListTile class.
Steps to Reproduce

Small app to reproduce the issue:
import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(
    home: MyPage(),
  ));
}

class MyPage extends StatefulWidget {
  @override
  _MyPageState createState() => _MyPageState();
}

class _MyPageState extends State<MyPage> {
  List<int> values = [1, 2, 3];
  int selectedValue;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ListView.builder(
        itemCount: values.length,
        itemBuilder: (BuildContext context, int index) => RadioListTile(
              onChanged: _onChanged,
              value: values[index],
              groupValue: selectedValue,
              title: Text(values[index].toString()),
            ),
      ),
    );
  }

  _onChanged(int value) {
    setState(() {
      selectedValue = value == selectedValue ? null : value;
    });
  }
}

Tap on one of the values to select it
Tap on the radio control - the value is not deselected
Tap on the title - the value is deselected

Flutter doctor
[✓] Flutter (Channel beta, v1.3.8, on Mac OS X 10.14.3 18D109, locale en-GB)
    • Flutter version 1.3.8 at /Users/gtrochimiuk/flutter
    • Framework revision e5b1ed7a7f (4 weeks ago), 2019-03-06 14:23:37 -0800
    • Engine revision f4951df193
    • Dart version 2.2.1 (build 2.2.1-dev.0.0 571ea80e11)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/gtrochimiuk/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.1

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 33.4.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

• No issues found!

I agree that this is an inconsistency. I'll look into a fix that prevents tapping a selected TileList to deselect the Radio, since that is more consistent with how Radio buttons should operate

I appreciate you taking the time to fix this issue. Unfortunately the way you fixed the inconsistency is basically the opposite of what I hoped for.
In my use case users are filling a questionnaire inside the application. One of the possible types of questions is what we call "single choice question", in which users select one option from a set of possible answers. If answer for that question is not required I want to allow users to uncheck the option they selected.
In my understanding the most natural way to implement this behaviour is to use radio buttons - which I can't do if my callback is not called.
I believe that it would be a better solution to change the Radio class to call the onChanged callback regardless of whether the radio was selected or deselected.
If you decide that this use case is not valid for radio buttons, then I propose to rename the callback from onChanged to something like onChecked or onSelected, since onChanged implies that it will be called on every state change, not only when the state changes to checked.

Thank you for the feedback, I really appreciate the thought you put in explaining your situation. I currently see two different points to be made based on your suggestions:
Allowing deselecting radio buttons on tap
Originally, I was in the same boat as you as well and was thinking that it would be a better solution to just allow the radios to be deselected on tap, since that would be the more flexible approach.
After doing some digging into why radio buttons are typically implemented the way they are (aka not allowing you to deselect), the justification for my choice was to have RadioListTile behave consistently with how it's typically seen elsewhere to not cause any potential confusion to users. Here is an example of a Stack Overflow thread that I looked at.
Updating the name of the onChanged parameter to onChecked/onSelected
I agree that this would be a much more intuitive name for the parameter, since its name implies that it will be called on when the state changes to checked. I see two possibilities here:

Keep onChanged. This causes the least amount of pain for Flutter developers, since it would only cause a breaking change to users with your use case
Switch to onSelected/onChecked. This would cause a breaking change for every existing developer using the RadioListTile, since their parameter name would have to be updated in their codebase.

Currently, I'm of the opinion that:

We should not allow deselecting of radio buttons when tapped to ensure consistency with other ecosystems like the web.
We should keep the parameter name to onChanged to prevent massive breakage, but include some clear, concise documentation to clarify this behavior.

I'll spend some time thinking more about this before sending out a breaking change announcement and implementing this change, but definitely please share more thoughts and concerns you may have about this.

Thank you for explaining your thought process.
It never occurred to me that users expect not being able to deselect a radio button. Personally I am not a fan of keeping standards that limit flexibility, but I can understand that you want radio buttons behaviour to be inline with how they behave in other systems. This is not that big of a deal for my application, I can always create an "AlmostRadio" widget :)
Regarding changing the name of the onChanged parameter I agree that it is not worth it to force all developers to update their code for this, but an update to the documentation is most welcome.

Sounds good! Once again, thank you for the feedback. I'll be creating another issue to track updating the docs for a clearer onChanged description, since it seems that Radio does not highlight this behavior either.

But When I set many RadioListTile in Row ,then ,anything visible.However,Column is OK


Support pybind11 2.0 for Debian packaging

Do not merge!
This only impacts detail namespace API.
cc @ghisvail

I get the following build error:
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:27:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from /home/gvaillan/debian/packages/xtensor-python/include/xtensor-python/pycontainer.hpp:27,
                 from /home/gvaillan/debian/packages/xtensor-python/include/xtensor-python/pyarray.hpp:18,
                 from /home/gvaillan/debian/packages/xtensor-python/test/main.cpp:14:
/home/gvaillan/debian/packages/xtensor-python/test/main.cpp: In function ‘int main(int, char**)’:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1532:144: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
 #define import_array() {if (_import_array() < 0) {PyErr_Print(); PyErr_SetString(PyExc_ImportError, "numpy.core.multiarray failed to import"); return NUMPY_IMPORT_ARRAY_RETVAL; } }
                                                                                ^
/home/gvaillan/debian/packages/xtensor-python/test/main.cpp:23:5: note: in expansion of macro ‘import_array’
     import_array()
     ^~~~~~~~~~~~

OK, this seems to be Python 2 specific. PR coming with python 2 CI

Can I control which Python version gets prioritized? Right now I am doing a local build so both python-numpy and python3-numpy are installed.

You can set the -D PYTHON_EXECUTABLE=path/to/python.

I confirm the issue is Python 2 specific, I can successfully build and test with #59 + #66 with Python 3.

Weird, I get a segfault in the test in the Debian builder:
[==========] Running 32 tests from 3 test cases.
[----------] Global test environment set-up.
[----------] 14 tests from pyarray
[ RUN      ] pyarray.initializer_constructor
[       OK ] pyarray.initializer_constructor (1 ms)
[ RUN      ] pyarray.shaped_constructor
[       OK ] pyarray.shaped_constructor (0 ms)
[ RUN      ] pyarray.strided_constructor
[       OK ] pyarray.strided_constructor (0 ms)
[ RUN      ] pyarray.valued_constructor
[       OK ] pyarray.valued_constructor (0 ms)
[ RUN      ] pyarray.strided_valued_constructor
[       OK ] pyarray.strided_valued_constructor (0 ms)
[ RUN      ] pyarray.copy_semantic
[       OK ] pyarray.copy_semantic (0 ms)
[ RUN      ] pyarray.move_semantic
[       OK ] pyarray.move_semantic (0 ms)
[ RUN      ] pyarray.reshape
[       OK ] pyarray.reshape (0 ms)
[ RUN      ] pyarray.access
[       OK ] pyarray.access (0 ms)
[ RUN      ] pyarray.indexed_access
[       OK ] pyarray.indexed_access (0 ms)
[ RUN      ] pyarray.broadcast_shape
[       OK ] pyarray.broadcast_shape (0 ms)
[ RUN      ] pyarray.iterator
[       OK ] pyarray.iterator (0 ms)
[ RUN      ] pyarray.initializer_list
[       OK ] pyarray.initializer_list (0 ms)
[ RUN      ] pyarray.zerod
[       OK ] pyarray.zerod (0 ms)
[----------] 14 tests from pyarray (1 ms total)

[----------] 14 tests from pytensor
[ RUN      ] pytensor.initializer_constructor
[       OK ] pytensor.initializer_constructor (0 ms)
[ RUN      ] pytensor.shaped_constructor
[       OK ] pytensor.shaped_constructor (0 ms)
[ RUN      ] pytensor.strided_constructor
[       OK ] pytensor.strided_constructor (0 ms)
[ RUN      ] pytensor.valued_constructor
[       OK ] pytensor.valued_constructor (0 ms)
[ RUN      ] pytensor.strided_valued_constructor
[       OK ] pytensor.strided_valued_constructor (0 ms)
[ RUN      ] pytensor.copy_semantic
[       OK ] pytensor.copy_semantic (0 ms)
[ RUN      ] pytensor.move_semantic
[       OK ] pytensor.move_semantic (0 ms)
[ RUN      ] pytensor.reshape
[       OK ] pytensor.reshape (0 ms)
[ RUN      ] pytensor.transpose
[       OK ] pytensor.transpose (0 ms)
[ RUN      ] pytensor.access
[       OK ] pytensor.access (0 ms)
[ RUN      ] pytensor.indexed_access
[       OK ] pytensor.indexed_access (0 ms)
[ RUN      ] pytensor.broadcast_shape
[       OK ] pytensor.broadcast_shape (0 ms)
[ RUN      ] pytensor.iterator
[       OK ] pytensor.iterator (0 ms)
[ RUN      ] pytensor.zerod
[       OK ] pytensor.zerod (0 ms)
[----------] 14 tests from pytensor (0 ms total)

[----------] 4 tests from pyvectorize
[ RUN      ] pyvectorize.function
[       OK ] pyvectorize.function (0 ms)
[ RUN      ] pyvectorize.lambda
[       OK ] pyvectorize.lambda (0 ms)
[ RUN      ] pyvectorize.complex
Segmentation fault

PR for import_array https://github.com/QuantStack/xtensor-python/pull/67

To be honest, I am a bit frustrated by the fragility of the numpy C API. The same issue came up in tensorflow and a bunch of other projects apparently.

It is weird though because it tests fine when I compile and test manually. Could it have something to do with the compile flags injected by Debian during the build?

We have seen issues with the pybind11 tuples, but not easily reproducible with a simple minimal example.

Compilation:
[ 87%] Building CXX object test/CMakeFiles/test_xtensor_python.dir/test_pyvectorize.cpp.o
[ 87%] Building CXX object test/CMakeFiles/test_xtensor_python.dir/test_pyarray.cpp.o
[ 87%] Building CXX object test/CMakeFiles/test_xtensor_python.dir/test_pytensor.cpp.o
[ 93%] Building CXX object test/CMakeFiles/test_xtensor_python.dir/main.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/c++    -I/<<PKGBUILDDIR>>/include -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.5m -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/googletest-src/googletest/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -march=native -Wunused-parameter -Wextra -Wreorder -Wconversion -std=c++14 -O3 -DNDEBUG   -o CMakeFiles/test_xtensor_python.dir/test_pytensor.cpp.o -c /<<PKGBUILDDIR>>/test/test_pytensor.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/c++    -I/<<PKGBUILDDIR>>/include -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.5m -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/googletest-src/googletest/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -march=native -Wunused-parameter -Wextra -Wreorder -Wconversion -std=c++14 -O3 -DNDEBUG   -o CMakeFiles/test_xtensor_python.dir/main.cpp.o -c /<<PKGBUILDDIR>>/test/main.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/c++    -I/<<PKGBUILDDIR>>/include -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.5m -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/googletest-src/googletest/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -march=native -Wunused-parameter -Wextra -Wreorder -Wconversion -std=c++14 -O3 -DNDEBUG   -o CMakeFiles/test_xtensor_python.dir/test_pyarray.cpp.o -c /<<PKGBUILDDIR>>/test/test_pyarray.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/c++    -I/<<PKGBUILDDIR>>/include -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.5m -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/googletest-src/googletest/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -march=native -Wunused-parameter -Wextra -Wreorder -Wconversion -std=c++14 -O3 -DNDEBUG   -o CMakeFiles/test_xtensor_python.dir/test_pyvectorize.cpp.o -c /<<PKGBUILDDIR>>/test/test_pyvectorize.cpp
/<<PKGBUILDDIR>>/test/main.cpp: In function 'int main(int, char**)':
/<<PKGBUILDDIR>>/test/main.cpp:23:5: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
     import_array()
     ^~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/test/test_pyarray.cpp:9:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/googletest-src/googletest/include/gtest/gtest.h: In instantiation of 'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int]':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/googletest-src/googletest/include/gtest/gtest.h:1421:23:   required from 'static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int; bool lhs_is_null_literal = false]'
/<<PKGBUILDDIR>>/test/test_pyarray.cpp:27:9:   required from here
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/googletest-src/googletest/include/gtest/gtest.h:1392:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (lhs == rhs) {
       ~~~~^~~~~~
In file included from /<<PKGBUILDDIR>>/test/test_pytensor.cpp:9:0:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/googletest-src/googletest/include/gtest/gtest.h: In instantiation of 'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int]':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/googletest-src/googletest/include/gtest/gtest.h:1421:23:   required from 'static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int; bool lhs_is_null_literal = false]'
/<<PKGBUILDDIR>>/test/test_pytensor.cpp:26:9:   required from here
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/googletest-src/googletest/include/gtest/gtest.h:1392:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (lhs == rhs) {
       ~~~~^~~~~~
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/googletest-src/googletest/include/gtest/gtest.h: In instantiation of 'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = long int]':
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/googletest-src/googletest/include/gtest/gtest.h:1421:23:   required from 'static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = long int; bool lhs_is_null_literal = false]'
/<<PKGBUILDDIR>>/test/test_common.hpp:156:9:   required from 'void xt::compare_shape(V&, const R&) [with V = xt::pytensor<int, 3ul>; R = xt::row_major_result<std::array<long int, 3ul> >]'
/<<PKGBUILDDIR>>/test/test_pytensor.cpp:37:33:   required from here
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/googletest-src/googletest/include/gtest/gtest.h:1392:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

Linkage:
[100%] Linking CXX executable test_xtensor_python
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_xtensor_python.dir/link.txt --verbose=1
/usr/bin/c++   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -march=native -Wunused-parameter -Wextra -Wreorder -Wconversion -std=c++14 -O3 -DNDEBUG  -Wl,-z,relro CMakeFiles/test_xtensor_python.dir/main.cpp.o CMakeFiles/test_xtensor_python.dir/test_pyarray.cpp.o CMakeFiles/test_xtensor_python.dir/test_pytensor.cpp.o CMakeFiles/test_xtensor_python.dir/test_pyvectorize.cpp.o  -o test_xtensor_python -rdynamic googletest-build/googlemock/gtest/libgtest_main.a googletest-build/googlemock/gtest/libgtest.a -lpthread -lpython3.5m

Closing since this has been packaged for debian.


[ast] update doc

Signed-off-by: Ziv Hershman<EMAIL_ADDRESS>

@msfschaffner @tjaychen
I don't have a away to run Hugo, so can you take a quick look at the format before merging this?

Thanks @zi-v, I am looking at this right now.
Note that you will have to change the executable bits for the following files (chmod -x <files>) to fix CI:
##[error]One or more files have the executable bit set when they shouldn't.
./hw/top_earlgrey/ip/ast/doc/_index.md
./hw/top_earlgrey/ip/ast/doc/media/image1.png

@msfschaffner thanks for the good comments. I reloaded the file. Please take a look.

Thanks Ziv. This looks good from my end - but it looks like this creates conflicts with the master branch now. You will have to rebase this onto master before we can move this in.

@msfschaffner I rebased it


Need a Unity Catalog version of this page

This page shows many steps not recommended for a Unity Catalog workspace. If we could create a UC version of this page and cross-link the two at the top, it would provide customers with a greatly simplified workflow that is easier to maintain. Key points of a UC version of this page:

Create a Managed Identity in Azure, rather than an Application.
Register MI with a Databricks Service Principal via the account console or workspace admin console (these tabs are enabled via UC)
Set UC permissions for this Databricks Service Principal (USE on catalog/schema, SELECT/MODIFY on tables, READ FILES on external locations if required, etc.)
I don't believe the PAT token is needed for anything.
No need to show any of the Key Vault, Secret Scope, or Cluster OAuth settings since access to data will be via the UC Storage Credential (also a Managed Identity) associated with the UC External Location where the data resides.

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

ID: ae18d575-4a87-7079-c16d-23259c5b8d5e
Version Independent ID: 4d4e97dd-444d-a5df-e77a-0d0cc594f08f
Content: Tutorial: Run a job with an Azure service principal - Azure Databricks
Content Source: databricks/tutorials/run-jobs-with-service-principals.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@JimThorstad
Thanks for your feedback! We will investigate and update as appropriate.

@jaseidman
Could you please review add comments on this, update as appropriate.

I've opened a Jira to add a new article to the Databricks docs based on this request. Feel free to close this ticket.

Hi @jaseidman
Thank you for your response.

Hi @JimThorstad
@jaseidman is one of our contributors. Raised for the new article update, so the document will be updated as soon as you requested.
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@JimThorstad
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Add missing features for existing routes

Note: This PR is needed in order to get https://github.com/ManageIQ/manageiq-ui-classic/pull/7740 green

   container_project_topology GET              /container_project_topology(.:format)                                                            container_project_topology#index
                              POST             /container_project_topology/report_data(/:id)(.:format)                                          container_project_topology#report_data
                              GET              /container_project_topology/show(/:id)(.:format)                                                 container_project_topology#show
                              GET              /container_project_topology/data(/:id)(.:format)                                                 container_project_topology#data
                              GET              /ems_block_storage/edit(/:id)(.:format)                                                          ems_block_storage#edit
                              GET              /ems_block_storage/new(/:id)(.:format)                                                           ems_block_storage#new
                              POST             /ems_block_storage/new(/:id)(.:format)                                                           ems_block_storage#new
                              GET              /pxe/tagging_edit(/:id)(.:format)                                                                pxe#tagging_edit
                              POST             /pxe/tagging_edit(/:id)(.:format)                                                                pxe#tagging_edit
        new_ems_block_storage GET              /ems_block_storage/new(.:format)                                                                 ems_block_storage#new

Note, the UI backend code tries to assert_privelege on the correct feature
identifier but fails to find it, causing non-admin users to incorrectly not be
authorized to perform that action.

@Fryguy if we want to backport https://github.com/ManageIQ/manageiq-ui-classic/pull/7740, I think we need to backport this and add a migration.  What do you think?

Since these are all new, I don't think we need a schema migration.

Backported to lasker in commit 93e8505759ec2d60805656f78bd75fd709a02f6a.
commit 93e8505759ec2d60805656f78bd75fd709a02f6a
Author: Jason Frey<EMAIL_ADDRESS>Date:   Wed May 19 15:56:59 2021 -0400

    Merge pull request #21222 from jrafanie/add_missing_feature_for_existing_routes

    Add missing features for existing routes

    (cherry picked from commit bba7d8f19b15f31e5107e2d549f362beb5235afe)


ibisdoc.xsd does not support BatchFileTransformerPipe

Describe the bug
The Frank!Framework offers a pipe BatchFileTransformerPipe. This pipe contains special tags, for example <manager> and <flow>. These are not recognized by ibisdoc.xsd. Therefore you see XSD violations when you use the BatchFileTransformerPipe as intended.
Category

Frank Framework

To Reproduce
Steps to reproduce the behavior:

Configure Visual Studio Code or Eclipse to support checking against ibisdoc.xsd.

Download ibisdoc.xsd

As a brother of ibisdoc.xsd, write ConfigurationDestinations.xml and give it the following contents:
<Module
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="./ibisdoc.xsd">
    <Adapter name="adapterGetDestinations">
        <Receiver name="receiverGetDestinations">
            <DirectoryListener
                name="listenerDestinationsDirectory"
                root="${work}"
                inputFolder="input"
                inProcessFolder="processing"
                processedFolder="processed"
                errorFolder="error"
                createFolders="false"/>
        </Receiver>
        <Pipeline firstPipe="pipeParseCSV">
            <BatchFileTransformerPipe
                name="pipeParseCSV">
                <manager>
                    <flow>
                    </flow>
                </manager>
                <Forward name="success" path="EXIT"/>
            </BatchFileTransformerPipe>
            <Exit path="EXIT" state="success" code="200"/>
        </Pipeline>
    </Adapter>
</Module>

You will an XSD violation for <manager>.

Expected behavior
You should be able to use this pipe without violations of ibisdoc.xsd.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:

Visual Studio Code
ibisdoc.xsd from April 16 2020 or April 15 2020.

Additional context
Add any other context about the problem here. (f.e. ladybug report / test adapter with larva test)

PR #613 did not solve this issue, because it is not related to the lookup table.
Instead, the generation of the ibisdoc.xsd should be modified to incorporate the above structure.

outdated, please retest against new xsd, if persist please create issue for frankdoc


Is there anyway to programically quit application?

Once we do manager.start() is there anyway that the application can shut itself down without having to manually do Ctrl-C 2 times?

Not at the moment. The manager is a Thread instance which doesn't have a mechanism to stop it.
Internally, it calls to loop_forever. Adding the mechanism that you mention could be done through either:

loop_start & loop_stop (but this means changing the Thread "hierarchy" in some way)
loop (calling it repeatedly and checking for some stop condition).

I think it is a good improvement to include, but I won't be able to work on it for a while now. I am open to PR though :shrug: You can always add some kill mechanism as a workaround, or issuing a exit (which I believe should forcefully terminate the already started threads... I think).

I got it to work by calling manager.client.disconnect() which stops the client loop, and causes manager to stop.


Truncation should have reserved keyword

Summary:
Truncating probability distributions is a key feature of the language and it deserves a(n) (informative) keyword. The current notation using the unprotected symbol T is confusing, especially as T can and is also used as a variable name.
Description:
Using ~ notation, a distribution can be truncated (presuming it has cdf's implemented) using the notation T[--bounds go here--]. I believe this is confusing as someone new to the language may have no idea what T means. This is made worse by the fact that T is not protected and that we also use it as a variable name in our examples.
Reproducible Steps:
The following is a valid Stan program:
model {
  real T[1,1] = {{42.0}};
  1 ~ normal(0, 1) T[1, T[1,1]];
  print(T[1,1]);
}

I find that confusing.
Current Output:
No complaints from the parser.
Expected Output:
I propose to deprecate the notation T and replace it with the more informative truncate and to make that a protected keyword. In the proposed, notation, the above example would be written
model {
  real T[1,1] = {{42.0}};
  1 ~ normal(0, 1) truncate[1, T[1,1]];
  print(T[1,1]);
}

and any attempt to name a variable truncate would lead to a syntax error.
Current Version:
v2.18.0

This is coming from the BUGS language. So for people coming from that ground are all good with this.
(I don't mind changing as you suggest, just as an FYI)

Ah, thanks for clarifying! Still, the question then is whether we'd want to keep T as a keyword, in which case we should not allow variables to have the name T, I think, or whether we should replace it with something more informative.

I'm against making T a reserved keyword because I (and other people) have reams of Stan code for time-series models that use T as the max time index... it would be a breaking change for a lot of code.

As @sakrejda says, we can't really afford ot make T a reserved word.
If T[, ] gets replaced with something else, we'll need to implement in Stan 2 and deprecate the existing ersion for Stan 3.    At least I'd very much like to go down that route with backward-compatibility breaking eatures.
There was a lengthy debate initially about [ , ] vs. ( , ) because of openness.  The int types make it subtle as do the numerical underflow/overflow leading to boundary values even when the pure math function never produces boundary values for finite input.

How would you feel about using the keyword trunc instead of T? Currently, that's a Math library function that does the same thing as floor as far as I can tell. Any idea why we have both?

Any idea why we have both?

Yes, trunc is a holdover from BUGS whereas floor is a C++ standard library function.
I think changing T to trunc wouldn't be worth the hassle of breaking backward compatibility (presumably we'd deprecate T and then remove it for Stan 3).  But this is a good thing to discuss at a meeting.  If there's a strong wave of support, I won't try to hold it back.

Closing this. If we still want to address this, please open a stanc3 issue, though since this was carried over to stanc3 there is no more issue here?


only three issuesevent action type

On the api documentation page, https://developer.github.com/v3/activity/events/types/#issuesevent, it says the payload.action type for issues event can be one of "assigned", "unassigned", "labeled", "unlabeled", "opened", "edited", "milestoned", "demilestoned", "closed", or "reopened". But when we look at the past few years data, this value is only one of the three 'open', 'closed' and 'reopened'.  Are the other action types not captured by the GHArchive? Thanks a lot!

Someone else flagged this to me too recently. Looks like the Events API may be surfacing a subset of issue transitions.. @annafil could you sanity check on your end?

Yes, that's correct @igrigorik.
This is a limitation on the API side, not GHArchive. While the documentation for the API says these events are surfaced, they are not available in the /events endpoint that GHArchive reads from -- only through webhooks. Will ask for this to be clarified in the docs :)

@annafil would it be possible to ask in reverse, and add those events to the API? I've heard a few requests for this now.. :)

If it helps, even though the /events stream doesn't include these types of events by default, they are currently available in a slightly different form  from the API :)
Each issue event has a unique API URI, and contains the additional issue activity types above. As far as I can see historical information is still available for those events: e.g. this event from the very active ails/rails circa 2011 that also includes the 'assigned' event: https://api.github.com/repos/rails/rails/issues/411/events. It should therefore be possible to reconstruct activity for issues of particular interest if the repo and issue have not been deleted.
@igrigorik We could consider updating the crawler to fetch these related events whenever it encounters an issue, to attempt to preserve the historical data around issues better, but I defer to you on whether this is in scope for Archive :)

Thank you both for your help!

@igrigorik We could consider updating the crawler to fetch these related events whenever it encounters an issue, to attempt to preserve the historical data around issues better, but I defer to you on whether this is in scope for Archive :)

How would you see that working? Trigger the extra fetch when an issue is "closed" to backfill? A couple of gotchas that come to mind

Presumably issues can be updated even after they're updated, right? We would still miss data.
Today the activity is logged into the archive when it is detected, so the fetched data would be "misaligned" with the rest, and backfilling into old gzip archives and BQ tables would add a ton of complexity.
We're already up against the API limit. More fetches might make us lose more activity data.

Similarly, it seems like for pull request events, only 'opened', 'closed', and 'reopened' are captured, not others such as 'assigned', 'unassigned', is it also expected?

@igrigorik Very good point about backfilling to the gzip archives and the added complexity. I agree with you that the API limit is a concern, and a big blocker to grabbing more of this data in some systematic way. I suspect one of the reasons these additional events are not available through the /events endpoint is because they're relatively higher in volume than open/closed/reopened events and would make it harder to keep up with the feed.
@bluecoco good question! I would expect a consistent set of events to be put out for both PRs and Issues, so this seems right to me.


⚠ Processors has degraded performance

In c5ebbbe, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 133 ms

Resolved: Processors performance has improved in 9db1c28.


texworks: Add version 0.6.6

It's a latex editor.
Homepage: https://www.tug.org/texworks/

It seems the user is not around anymore


Low validation accuracy of CIFAR

I ran the script to train the model on CIFAR10  and also the  L0 attack on the trained model.
However,  the validation accuracy achieved by the script  is very low. It is not reasonable to perform adversarial attacks on such low accuracy model.

Well, responding a year late is better than not. In the chance you see this: what accuracy do you get? I think I got ~80% accuracy on this.

Well, responding a year late is better than not. In the chance you see this: what accuracy do you get? I think I got ~80% accuracy on this.

thx


loading js9 needs to work without using linux commands

uname command isn't called from js9, could you check if your .bash_profile or .bashrc files are sourcing bash tools which calls uname  implictly?

resolved


finish the tests will pod, folder, file functionality

Hey team! Please add your planning poker estimate with ZenHub @tomicvladan @tfius @nugaon


Register Java Toolchain

Description
Any rule which uses java_common should register java toolchain_type.
Fixes: https://github.com/bazelbuild/rules_scala/issues/1507

Hi @meteorcloudy here is new release with this change https://github.com/bazelbuild/rules_scala/releases/tag/v6.1.0

@simuons Thanks!


Android Deprecated API

Note: C:\src\flutter.pub-cache\hosted\pub.dartlang.org\device_apps-1.2.0\android\src\main\java\fr\g123k\deviceapps\DeviceAppsPlugin.java uses or overrides a deprecated API.
Please can you fix it?
Thank you!

This is just a warning, not an issue.


Add randomness state and parameter string in HelloWorld service

Proposed changes

Add randomness state in HelloWorld service.
Add parameter to read the "Hello World" string from skill, agent and service configuration files.
Added tests to cover the changes.

Documentation:

Updated Hello World demo accordingly
Updated Create service with existing agent accordingly.
Minor updates on related files for consistency.
If any other major updates on documentation are identified, they will be updated in an upcoming PR.

Fixes
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce? (A breaking change is a fix or feature that would cause existing functionality and APIs to not work as expected.)
Put an x in the box that applies

[ ] Non-breaking fix (non-breaking change which fixes an issue)
[ ] Breaking fix (breaking change which fixes an issue)
[x] Non-breaking feature (non-breaking change which adds functionality)
[ ] Breaking feature (breaking change which adds functionality)
[ ] Refactor (non-breaking change which changes implementation)
[ ] Messy (mixture of the above - requires explanation!)

Checklist
Put an x in the boxes that apply.

[ ] I have read the CONTRIBUTING doc
[ ] I am making a pull request against the main branch (left side). Also you should start your branch off our main.
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have locally run services that could be impacted and they do not present failures derived from my changes

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

An issue has been opened to address outstanding minor improvements
https://github.com/valory-xyz/open-autonomy/issues/1544


GeoAI_2021_unit_04_EX_Create Masks

R is unable the find the "AllEqual" function/command in the above created "remove_files" function. I looked on the internet if this is a potential typo or I forgot to load one of the packages but I could not find the "AllEqual" function and the "all.equal" argument by base R doesnot work.

@seegerkonstantin  ALLEqual is a function of the package greenbrown . So pls try to reinstall the package  and try greenbrown::AllEqual

I have the same error in applying the remove_files function. Then I updated my R version, but it doesn`t helped. Error message:  Error in loadNamespace(x) : es gibt kein Paket namens ‘greenbrown’ . I tried to install the package greenbrown from source with install.packages("greenbrown", repos="http://R-Forge.R-project.org"), but the same error occurs. I also tried to  download a *.tar file with an older version of the greenbrown package as described here...not helped. Any other idea how it can be fixed?

@FloFranz I solved this problem by installing greenbrown with the following command: "install.packages("greenbrown", repos="http://R-Forge.R-project.org")" as described on this side https://greenbrown.r-forge.r-project.org/install.php .

@seegerkonstantin Confusing! I first had to install bfast, phenopix and Kendall. Then it also worked to install greenbrown as mentioned above.

@seegerkonstantin  sorry for confusing. It is often helpful to have a look in the Description file of the package.There you find the dependencies in this case Imports: Kendall, bfast, phenopix, quantreg, parallel, plyr

I manually installed all the other required packages for greenbrown individually (this worked) but I still stumble upon this error when I install greenbrown afterwards with the mentioned method above:
"Warning in install.packages :
Abhängigkeit ‘SDMTools’ nicht verfügbar
installiere auch Abhängigkeit ‘phenopix’
installiere Quellpakete ‘phenopix’, ‘greenbrown’
trying URL 'http://R-Forge.R-project.org/src/contrib/phenopix_2.3.tar.gz'
Content type 'application/x-gzip' length 6144234 bytes (5.9 MB)
downloaded 5.9 MB
trying URL 'http://R-Forge.R-project.org/src/contrib/greenbrown_2.5.0.tar.gz'
Content type 'application/x-gzip' length 328785 bytes (321 KB)
downloaded 321 KB
ERROR: dependency 'SDMTools' is not available for package 'phenopix'

removing 'D:/R-4.1.2/library/phenopix'
Warning in install.packages :
installation of package ‘phenopix’ had non-zero exit status
ERROR: dependency 'phenopix' is not available for package 'greenbrown'
removing 'D:/R-4.1.2/library/greenbrown'
Warning in install.packages :
installation of package ‘greenbrown’ had non-zero exit status

The downloaded source packages are in
‘C:\Users\sedab\AppData\Local\Temp\RtmpYjuvty\downloaded_packages’"
P.S.: I also have the latest R version on my system (4.1.2.) I also installed "phenopix" prior to greenbrown and it worked but when I tried to install greenbrown afterwards, (with and without "dependencies = TRUE") it's not working and there seems to be some troubles with phenopix and ‘SDMTools’. But I can't install ‘SDMTools’ because it's telling me it's not running on my R version, even though I have the latest version available:

install.packages("SDMTools")
Warning in install.packages :
package ‘SDMTools’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

As far as I see it you need to install the requested packages as you tried.

SDMTools'
phenopix
However  you were not able to install SDMTools  for your R version. So what you can try next is:

install it from source
install.packages("SDMTools",,"http://rforge.net/",type="source")
download the package and install it manually local via the MEnu in Rstudio

@gisma Unfortunately, both methods are still not working:
Installation from source:
"> install.packages("SDMTools",,"http://rforge.net/",type="source")
trying URL 'http://rforge.net/src/contrib/SDMTools_1.1-221.tar.gz'
Content type 'application/octet-stream' length 60580 bytes (59 KB)
downloaded 59 KB

installing source package 'SDMTools' ...
** using staged installation
** libs

*** arch - i386
Warnung in system(cmd) 'make' not found
ERROR: compilation failed for package 'SDMTools'

removing 'D:/R-4.1.2/library/SDMTools'
Warning in install.packages :
installation of package ‘SDMTools’ had non-zero exit status

Manual installation via menu:
"> install.packages("C:/Users/sedab/Downloads/SDMTools_1.1-221.tar.gz", repos = NULL, type = "source", lib="D:/R-4.1.2/library")

installing source package 'SDMTools' ...
** using staged installation
** libs

*** arch - i386
Warnung in system(cmd) 'make' not found
ERROR: compilation failed for package 'SDMTools'

removing 'D:/R-4.1.2/library/SDMTools'
Warning in install.packages :
installation of package ‘C:/Users/sedab/Downloads/SDMTools_1.1-221.tar.gz’ had non-zero exit status"

@gisma I think the problem is that I have to follow this Rtools step right at the end ("Putting Rtools on the PATH):
https://cran.r-project.org/bin/windows/Rtools/
because "make" is missing. Is there a way I can do this on my external hard drive rather than my internal hard drive?

@SedaBekar

start the System Control Panel applet (Start - Settings - Control Panel - System)
select the Advanced tab
choose Environment Variables
at System Variables, select Path, then click Edit and add the path to Rtools e.g. D:\RTools

@SedaBekar this is fine - pretty good solution ! It would be the best du put it in your setup script or in the .Renviron file of the project.

@gisma
I cannot install greenbrown. It says there were non-zero exit status. Is there a further way to install this package apart from install.packages and tar?

@gisma I have tried to follow the way of Florian Franz, but I had still to install stucchange manually to be able to install greenbrown.

pleasse follow the above instructions. I have no other hints.

@gisma Now another problem occurred when I tried to set the extent of the raster image. It says is.image_collection is not true. Why? And how can I change this?

Again pls Upload your complete and actual Scripts to a repo . Otherwise can not answer your questions.

@gisma

#ex create masks
require(envimaR)
source(file.path(envimaR::alternativeEnvi(root_folder = "C:/Users/jomue/edu/geoAI",

                                      alt_env_id = "COMPUTERNAME",

                                      alt_env_value = "PCRZP",

                                      alt_env_root_folder = "F:/BEN/edu/geoAI"),

             "src/000-rspatial-setup.R"))

variable alt_env_id is NOT defined
'COMPUTERNAME' is set by defaultvariable alt_env_value is NOT defined
'PCRZP' is set by defaultvariable alt_env_root_folder is NOT defined
'F:/BEN/edu' is set by defaultvariable root_folder is NOT defined by calling script... 'root_folder' is set as rootDIR
variable  path_prefix is NOT defined by calling script...
'path_' is set as default
variable fcts_folder is NOT defined by calling script...
'src/functions/' is set as default

read data
ras <- raster::stack(file.path(envrmt$path_data, "/marburg_dop.tif"))
subset to three channels
ras <- subset(ras, c("red", "green", "blue"))
download and crop the OSM building data to the extent of the raster data
buildings = opq(bbox = "marburg de") %>%

add_osm_feature(key = "building") %>%
osmdata_sf()

buildings = buildings$osm_polygons
buildings = sf::st_transform(buildings, crs(ras))
ras_extent <- extent(ras)
Error in extent(ras) : is.image_collection(x) ist nicht TRUE

Here my setup script:
#------------------------------------------------------------------------------
basic rspatial course setup script
Type: script
Name: 000-rspatial-setup.R
Author: Chris Reudenbach<EMAIL_ADDRESS>Description:  create/read project folder structure and returns pathes as list
load all necessary packages
sources all functions in a defined function folder
Dependencies: devtools::install_github("envima/envimaR")
Output: list containing the folder strings as shortcuts
Copyright: Reudenbach/Nauss 2015-2021, GPL (>= 3)
Details: Please note that the queries on standard arguments have been set for
pragmatic reasons for a typical course setting. Of course, it is
intended to assign the arguments directly in the createEnvi function
Date: 2021-12-12
#------------------------------------------------------------------------------
require(envimaR)
1 - source files
#-----------------
source(file.path(envimaR::alternativeEnvi(root_folder = "C:/Users/jomue/edu/geoAI",
alt_env_id = "COMPUTERNAME",
alt_env_value = "PCRZP",
alt_env_root_folder = "F:/BEN/edu/geoAI"),
"src/geoAI_setup.R"))
rspatial packages
packagesToLoad = c("rgdal","png","tensorflow","keras","reticulate","osmdata","greenbrown","rsample","tfdatasets","purrr","magick","rprojroot","sen2r","patchwork","ggplot2","rpart","rpart.plot","rasterVis", "forcats","e1071","mapview", "mapedit", "tmap", "raster", "terra", "stars", "gdalcubes", "sf","dplyr","tidyverse","RStoolbox",
"randomForest", "ranger", "e1071", "caret", "link2GI","gdalUtils","raster","exactextractr", "doParallel", "CAST","ranger")
mandantory folder structure
projectDirList   = c("data/",
"data/modelling/",
"data/modelling/model_training_data/",
"data/modelling/model_training_data/dop/",
"data/modelling/model_training_data/bui/",
"data/modelling/models/",
"data/modelling/prediction/",
"data/modelling/validation/",
"data/modelling/model_testing_data/",
"data/modelling/model_testing_data/dop/",
"data/modelling/model_testing_data/bui/",
"docs/",
"run/",
"tmp",
"src/",
"src/functions/"
)
append additional packages if defined by calling script
if (exists("appendProjectDirList") && appendProjectDirList[[1]] != "")
{
projectDirList = append(projectDirList,appendProjectDirList)
}
if (exists("appendpackagesToLoad") && appendpackagesToLoad[[1]] != "")
{
packagesToLoad = append(packagesToLoad,appendpackagesToLoad)
}
Now create/read root direcory, folder structure and load packages
NOTE root_folder MUST be defined in calling script
if (!exists("root_folder")) {
message("variable root_folder is NOT defined by calling script...\ 'root_folder' is set as rootDIR")
root_folder=rootDIR
}
if (!exists("alt_env_id")) {
message("variable alt_env_id is NOT defined by calling script...\n 'COMPUTERNAME' is set as default\n")
alt_env_id = "COMPUTERNAME"
}
if (!exists("alt_env_value")) {
message("variable alt_env_value is NOT defined by calling script...\n 'PCRZP' is set as default\n")
alt_env_value = "PCRZP"
}
if (!exists("alt_env_root_folder")) {
message("variable alt_env_root_folder is NOT defined by calling script...\n 'F:/BEN/edu' is set as default\n")
alt_env_root_folder = "F:/BEN/edu"
}
if (!exists("path_prefix")) {
message("variable  path_prefix is NOT defined by calling script...\n 'path_' is set as default\n")
path_prefix =  "path_"
}
root_folder = envimaR::alternativeEnvi(root_folder = root_folder,
alt_env_id = alt_env_id,
alt_env_value = alt_env_value,
alt_env_root_folder = alt_env_root_folder)
if (!exists("fcts_folder")) {
message("variable fcts_folder is NOT defined by calling script...\n 'src/functions/' is set as default\n")
fcts_folder =  paste0(root_folder,"/src/functions/")
}
append additional folders if defined by calling script
if (exists("appendProjectDirList") && appendProjectDirList[[1]] != "")
{
projectDirList = append(projectDirList,appendProjectDirList)
}
call central function
envrmt = envimaR::createEnvi(root_folder = root_folder,
folders = projectDirList,
fcts_folder = fcts_folder,
path_prefix = path_prefix,
libs = packagesToLoad,
setup_script = "000-rspatial-setup.R",
source_functions = TRUE,
alt_env_id = alt_env_id,
alt_env_value = alt_env_value,
alt_env_root_folder = alt_env_root_folder)
set temp path to speed up raster package operations
raster::rasterOptions(tmpdir = envrmt$path_tmp)
suppres gdal warnings
rgdal::set_thin_PROJ6_warnings(TRUE)
define some color palettes
mvTop = mapview::mapviewPalette("mapviewTopoColors")
mvSpec = mapview::mapviewPalette("mapviewSpectralColors")
mvVec =	 mapview::mapviewPalette("mapviewVectorColors")
mvRas =	 mapview::mapviewPalette("mapviewRasterColors")

Die to possible dependencies in your functions and also due to a convenience etc. I rather orefer a complete GitHub repository.

gh repo clone Muenchj4/geoAI

In this repository you can find the scripts. I am still trying to follow up the dependencies.

I have now tried to print the extent of the raster file mannualy like this:
"ras_extent <- c(xmin=480000,xmax=484000,ymin=5626000,ymax=5628000)"
But than I wanted to crop the extent like this:
" e_test <- c(xmin=483000,xmax=484000, ymin=5626000, ymax=5628000)
e_train <- c(xmin=480000, xmax=483000, ymin=5626000, ymax=5628000)
marburg_mask_train <- crop(rasterized_vector, e_train)"
The message occured:
"Error in crop(rasterized_vector, e_train) : is.cube(cube) ist nicht TRUE"
The same error occurred printing the cube of rasterized vector manually like this:
"marburg_mask_train <- crop(cube=c(xmin=480000,xmax=484000,ymin=5626000,ymax=5628000), extent=e_train)"
Error in crop(cube = c(xmin = 480000, xmax = 484000, ymin = 5626000, ymax = 5628000),  :
is.cube(cube) ist nicht TRUE
Is there another way to crop the rasterized vector? Or is there a way to tackle this problem from the beginning?

I will Check IT asap

Have an Look at the Setup File .probably you will find some predefined extents . In Addition Check the crs are they identical?

In the setup file I cannot find any predefined extent. I have tried to use proj4string instead of crs, but I still gets the message is.cube is not TRUE. What could be the reason?

@Muenchj4 the above script starting with #ex create masks is not included in this repository.

@gisma now I have included the script in the it is runned until the error message occurs.

@gisma Have you allready chequed my scripts? Can you imagine why the extent function does not work in my script?

@gisma Do you know why rasterized_vector has no content:

mapview(rasterized_vector)
Error in res[i] <- readBin(x@file@con, what = dtype, n = 1, size = dsize,  :
replacement has length zero
In addition: Warning message:
In rasterCheckSize(x, maxpixels = maxpixels) :
maximum number of pixels for Raster* viewing is 5e+05 ;
the supplied Raster* has 2e+08
... decreasing Raster* resolution to 5e+05 pixels
to view full resolution set 'maxpixels =  2e+08 '

png::writePNG(
        terra::as.array(subs),
        target = file.path(path, paste0(targetname, i, ".png"))
      )

Die Funktion in dem lapply- Loop am Ende der subset_ds Funktion erstellt Falschfarbenkomposite der DOP´s.


FancyZones: Shortcuts for Layouts Not Changing Layout

Microsoft PowerToys version
v0.47.0 (worked fine until v0.46.0, seems to be a regression)
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce

Define multiple layouts in FancyZones editor and assign shortcuts per layout
Close editor
Use layout shortcuts to switch layouts

✔ Expected Behavior
Layouts switch according to used shortcuts
❌ Actual Behavior
Current layout is re-applied, no matter the shortcut used to switch to different layouts. Switching layouts is only possible via the layout editor.
Other Software
No response

I can confirm that. Since the latest update (0.47.0) the shortcut to quickly switch the layouts using the "Win+Ctrl+Atl" key combination no longer works :( and basically now this great tool is unusable for me. Would be great if you can please fix it. Thanks!

Today, my Windows machine was updated and now the shortcuts work again (still on PowerToys v0.47.0). According to my update history, it should have been the 2021-09 Cumulative Update Preview for .NET Framework (KB5005539).

v0.47.0 here, same behaviour. Shortcuts (win+ctrl+alt+number) do not work and re-apply current layout. Only possible way to change layout is to open layout editor and double click the layout you want to apply

Shipped with 0.47.1


Fix #2305 - Use UTXO rather than PublicKey in slot_sigs

This was raised during review, and the fix is rather simple.
While doing so, I identified a bug, where a restart will lead to some AA being empty, and thanks to the new checks in the BitMask, it got caught.

I've extracted the bug fix in another PR. Please review #2317 first so that I can rebase (and simplify) this one.


Update ko_KR.csv

Changing to another site

Hi @seohbgo ,
This repo automatically pull from https://crowdin.com/project/magento-2/
that why you should contribute to https://crowdin.com/project/magento-2/


I don't receive a notification when creating an API

When creating an API key I do not receive a notification on SDA
I use a proxy both in the account and when using my account

Hello, there is the bug when you open the popup by double click on an account (I've fixed it in #18, but is does not merged yet)
Try to click on this button, as I remember it works.


fix(split-view): add overlay to body while dragging to prevent context loss

PR Checklist
Please check if your PR fulfills the following requirements:

Tests for the changes have been added: Y
Docs have been added / updated: N
Does this PR introduce a breaking change? N
I have linked any related GitHub issues to be closed when this PR is merged? N/A

Describe the new behavior?
Added a transparent viewport-sized div above other body content while dragging a split view panel's handle to prevent other contexts like iframes from interfering with listeners added to the document body while the pointer is over them. After dragging has stopped the div is removed. This also has the benefit of more easily maintaining a cursor style while dragging and preventing potentially destructive style mutations to the body by setting cursor styles to the div instead.
Fixes #221

Some tests are inexplicably failing. One is due to the use of remove() instead of removeChild().


Update Makefile with latest changes

https://github.com/symfony/recipes/commit/058d5079e52a3c2026ffc8b4ea3416c910ba6a4f
https://github.com/symfony/recipes/commit/b5720314d7a3a34bf0bcbe9fc762af3330ca8915
https://github.com/symfony/recipes/commit/e1701402303ea99f016b4a0afedf37728f78f397

Thanks Yonel.


Remove a few uses of fully qualified names that rely on a DMD bug

These fully-qualified names are not really exposed in the current scope but are accessible due to bug dlang/dmd#12215.

Except for the abs one, I don't understand why all the others are bugs. You are allowed to use the fully qualified name for an imported symbol.

Not when it's a selective import.
https://dlang.org/spec/module.html#selective_imports
Check yourself: https://run.dlang.io/is/Lh649f

Wow! I'm learning something new every day. This will definitely require a deprecation cycle.

Delete the commented line and this is good to go.


B3 Submission

Measured times and chain lenghts are written "B3 submission feedback.txt" file

confirmed:B3

confirmed:B3

Form Submitted
26.04.2022 - 01:30  UTC+3


[DNM until 2.6.4] Switch kube-controller-manager and kube-scheduler to using secure ports for v2prov probe

https://github.com/rancher/rancher/issues/35683

Ready for review

@snasovich 1.22 provisioning will not work without this

@Oats87 , for k3s only or RKE2 as well?

Neither RKE2 nor K3S provisioning will work in 1.22 without this. I think this needs to go in 2.6.3

@Oats87 @thedadams , thank you for the clarifications. I'll get get back to you on this.
Meanwhile, how close are we to getting this to "mergeable" state? I see last Donnie's comments and it looks like none of them require big changes.

Depending on Chris' response, I feel good about getting this in soon.

Alright, moved back to 2.6.3 based on the info received. Let's try to get it merged asap.
@kinarashah , would appreciate if you could review it soon. Thank you.

@Oats87 Thanks for the comments! Much better!


Add single marker on mouse click

I saw you add a nice example for adding marker on mouse click events. You used a markers object and push new marker positions by every click to it. I need to add just one marker to my map by click. It means if the user click again after showing a marker, the previous marker disappears and a new marker comes to map. How can I do this?

That should be easy, you on need to clear the "markers" array and mantain only one marker inside it. When the click event is received, clean the array and add the item.


How to evaluate the base models?

Great work! I want to know how to evaluate the base models, more specifically, how to edit the arguments in the current folder configs/ ? Is it enough to just set all the use_chat_template to False? And no need to edit other args like shots ? It would be very nice to provide the task-specific configs on evaluation of the base models mentioned by your paper.
Thanks a lot :).

Thanks for the kind words! The only thing that you need to do for evaluating base models is to set use_chat_template to False. You don't need to make any other changes!

Thanks for the kind words! The only thing that you need to do for evaluating base models is to set use_chat_template to False. You don't need to make any other changes!

Get it, thanks for your quick reply.


[QoI] Handle coercions involving ImplicitlyUnwrappedOptional as 'from' type

Add a case to ExprRewriter.coerceToType which tries to look through
ImplicitlyUnwrappedOptional and apply 'to-value' transformation
before coercing to required 'to' type.
Resolves: rdar://problem/28023899.

/cc @rudkx @DougGregor

LGTM!
@swift-ci please smoke test and merge

@DougGregor Thanks! I noticed that @swift-ci doesn't work when you write something else in the same comment...

https://ci.swift.org/job/swift-PR-smoke-merge/1152/
All tests are passed. merging


Update pce_tutorial.md

Added missing code environment delimiters

Codecov Report

Merging #43 into master will increase coverage by 2.75%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
+ Coverage   71.11%   73.87%   +2.75%
==========================================
  Files          16       16
  Lines         786      869      +83
==========================================
+ Hits          559      642      +83
  Misses        227      227

Impacted Files
Coverage Δ

src/tensor.jl
100.00% <0.00%> (ø)

src/auxfuns.jl
100.00% <0.00%> (ø)

src/typesTensor.jl
100.00% <0.00%> (ø)

src/multi_indices.jl
100.00% <0.00%> (ø)

src/stieltjes.jl
98.75% <0.00%> (+0.06%)
:arrow_up:

src/quadrature_rules.jl
99.00% <0.00%> (+0.08%)
:arrow_up:

src/scalar_product.jl
98.11% <0.00%> (+0.19%)
:arrow_up:

src/typesMeasures.jl
93.75% <0.00%> (+0.89%)
:arrow_up:

src/show.jl
21.33% <0.00%> (+1.06%)
:arrow_up:

src/recurrence_coefficients_monic.jl
90.00% <0.00%> (+1.26%)
:arrow_up:

... and 5 more

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 d0091cc...103c112. Read the comment docs.

thx @adriangrupp


4.19 Fails To Compile

Please update this, I would love to use the microtransactions feature.

I dont think that particular feature is implemented yet, no references are in the actual code


Create an updated "Understanding Application transformation scenario" video

The current "Understanding Application transformation scenario" video is based on the App Nav tech preview from early 2019. The video needs to be re-created with updated screen captures based on IBM Application Navigator 2.0, and the link on README.md "Understanding Application transformation scenario" needs to be updated to reference the new video.

Latest video is based on Application Navigator running on Openshift.


Genesis runes

If I understood from the podcast correctly, you will be pre-inscribing 10 runes as you don't want people to decide what the first 10 runes are but rather want them to be the tokens you name right? also you say they will come into existence at a specific blockheight, what's that blockheight going to be?

also you say they will come into existence at a specific blockheight, what's that blockheight going to be?

These first 10 runes, are they going to be free mints or minted 100% by Casey and then distributed?


Does EaselJS using WebGL premultiply twice?

Hello, when I'm using StageGL withpremultiply: true to avoid visual halo effects my textures become A LOT darker.
As I can see EaselJS uses this in canvas.getContext("webgl", options)
and in gl.pixelStorei(gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL, this._premultiply)
When I comment last one out premultiply works fine (no halo effects) and textures become just a bit darker. It seems like EaselJS premultiplying alpha twice.
I am very new to WebGL. Sorry if I'm asking something obvious.

We've done some deep diving on this topic and there's definitely room for improvement in the current build. If you wanted to try https://github.com/DavidHGillen/EaselJS/tree/BlendModes to see if we've resolved all your issues with premultiplied alpha I wouldn't have any complaints. The option has been removed from the constructor but I believe we've corrected the behavior to what's expected for most if not all content, thus removing the need for it. Excuse any untidiness, the code is still under development.

This fix my problem, hope it will be in build soon.

All tests point to this being completely fixed in the latest builds. Closing the issue.


Do not hide tags from Following (subscriptions)

Fixes flarum/core#1232
Changes proposed in this pull request:

Do not hide discussions with hidden tag if SubscriptionGambit is used

Note: No error is thrown if flarum/flarum-ext-subscriptions is not enabled

Reviewers should focus on:

Maybe we need a way to let extensions extend the list of gambits to ignore

Screenshot

Confirmed

[ ] Frontend changes: tested on a local Flarum installation.
[x] Backend changes: tests are green (run php vendor/bin/phpunit).

Maybe we could just say if any gambit is used then the tag shouldn't be hidden

@tobscure Hm, good idea, that way there's no need for extensions to add their own.


Error in Arguments section

In the Arguments section, you have "other_geometry Is another geometry instance in addition to the instance on which *STSymDistance() *is being invoked." That should be STSymDifference().

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

ID: 00236ad3-0321-19b3-c975-ca4ab3326e29
Version Independent ID: 37e3bcd4-7ed7-88ec-42d2-acc87a4ec562
Content: STSymDifference (geometry Data Type) - SQL Server
Content Source: docs/t-sql/spatial-geometry/stsymdifference-geometry-data-type.md
Product: sql
Technology: t-sql
GitHub Login: @MladjoA
Microsoft Alias: mlandzic

Thanks for reporting @wyattroberts. PR with the fix is on its way.

@wyattroberts I reviewed the content and the sentence is as you stated without correction:
Arguments
other_geometry
Is another geometry instance in addition to the instance on which STSymDifference() is being invoked.       STSymDifference() is what is shown

@wyattroberts thank you for contacting Microsoft if you have any other content-related questions please don't hesitate to contact Microsoft again.

#please-close


Prevent ever getting events based on own SSDP messages

This PR https://github.com/thaliproject/Thali_CordovaPlugin/pull/680 fixes the typical case where we want to avoid getting events from ourself when USN changes. However, in the code review, it was discussed that there might be edge cases where the implemented check isn't enough and one might get a peer unavailability change based on a byebye message originating from the peer itself (this isn't critical since the upper layers needs to handle this case anyways).
This issue is about implementing a bullet-proof logic to detect own SSDP messages.

Specifically what we were thinking is that in the case of SSDP we get a location header. Even if we change our USN (the unique ID) the location header stays the same unless we call stop advertising. So an easy fix could be to just check if we get a notification that contains an unrecognized USN (read: old) but with our current location. Then we can just automatically filter it out.

@chapko  I believe you fixed this in thaliproject/Thali_CordovaPlugin#1103. If you agree then please close this issue.

@chapko?

Yes it is fixed, but I wouldn't call it bullet-proof. It just stores several recently used peer identifiers and ignores all incoming SSDP messages containing this ids. However it stores only limited number of own identifiers (I set it to 10 in thaliConfig) so if you manage to stop and start advertising 10 times before you get your own notification from the 1st stop, then it will be detected as if it is another peer. It is unlikely to happen in the real world scenario and hardly can be abused, so I'm just closing this issue.