factorio: 1.1.59 -> 1.1.61

Description of changes
Update Factorio to 1.1.61

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 181141 run on x86_64-linux 1

1 package failed to build:

factorio (factorio-experimental)

1 package built:

factorio-headless (factorio-headless-experimental)

Result of nixpkgs-review pr 181141 run on x86_64-linux 1

1 package failed to build:

factorio (factorio-experimental)

1 package built:

factorio-headless (factorio-headless-experimental)


prettier: max print witdh to 90

It's better than the default one: 80.

@Alhadis how can I find you on discord ??

I don't use Discord (or any messaging/chat applications, for that matter).

ok.. email??

It's on my profile, mate. 👍

Thank you... can you solve #53 ??


Merged First Version

Tests cannot be successfully performed due to a bug within the latest .NET version.


Run bundle update

Please select one of the following

[ ] I am removing an existing difference between facebook/react-native and microsoft/react-native-macos :thumbsup:
[ ] I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos :thumbsup:
[ ] I am making a fix / change for the macOS implementation of react-native
[x] I am making a change required for Microsoft usage of react-native

Summary
Update activesupport to resolve this ReDoS vulnerability.

Duplicate with https://github.com/microsoft/react-native-macos/pull/1666 ?

Also, I think we need to do something similar for FluentUI React Native

Duplicate with https://github.com/microsoft/react-native-macos/pull/1666 ?

Ah, so it is. I'll close this then.

Also, I think we need to do something similar for FluentUI React Native

FluentUI React Native doesn't have any Gemfiles specifically there. We may have to update 0.68-stable to account for this, but I don't think there's any direct action we can take in FluentUI React Native right now.


[FEATURE] Tab for Projects

Description
A tab on user pages for projects, such as their favourite, ones their working on at the moment, ones that they are proud of. The ability to have repo links, screenshots and hosted links as well as a description about the projects,
Screenshots
No response
Additional information
No response

@LinuxGamer That sounds like an awesome idea! Would love to discuss more regarding the UI implementation of this feature! Are you already working on this? Let me know if this issue is still waiting for confirmation or if you would like to exchange ideas!

I am not working on this. I am not sure whether the maintainers are ok with this being added yet tho.

Yes great idea 👍 this issue is a duplicate of https://github.com/EddieHubCommunity/LinkFree/issues/2835 so I will close it, we can continue the conversation over there


Add debug/diagnostic mode

Should be possible to confiugre agent for debugging/diagnostics, where it would output debug logs and internal errors to console.
Curretly we have a lot of catch {}, thse should at the very least log the error in debug mode

Solved with https://github.com/grafana/grafana-javascript-agent/pull/41


Storage base check_status returns errors instead of raising them

In health_check_storage.base.check_status in two of the if statements, the code returns an error instead of raising it. Therefore if the file contents are not equal to what is read, or if it is improperly deleted, the status of the plugin will be set to ServiceUnavailable(msg), rather than its numbered error code. The error is then raised when pretty_status attempts to to translate the ServiceUnavailable error into one of the three default messages.
Replace 'return' with 'raise' and the problem should be fixed.

I know, I already have a branch that I'm working on, where I refactored it into using raise instead of return. Thanks!

Ah, I see that now, thanks! I'm currently writing tests for the storage, cache, and database health checks to find that sort of thing if you're interested.

@mspeedy yes please!!!

Tests are all done! I initially wrote them using the django testing library in my local project, though, so I realized too late they couldn't easily transfer, since you've been using pytest. I added the necessary features to make it a django project in my repo so the tests can run, but I'm not sure how that would work in prod. Let me know what you think should be done.

@mspeedy would you mind opening up a PR? That would make reviewing and leaving notes a lot easier. I'm really excited!


Mention BenchmarkCI.displayjudgement in README

Codecov Report

Merging #47 into master will decrease coverage by 2.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
- Coverage   82.38%   80.35%   -2.04%
==========================================
  Files           2        2
  Lines         159      112      -47
==========================================
- Hits          131       90      -41
+ Misses         28       22       -6

Impacted Files
Coverage Δ

src/BenchmarkCI.jl
83.69% <0.00%> (-3.03%)
:arrow_down:

src/runtimeinfo.jl
65.00% <0.00%> (+0.48%)
:arrow_up:

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 9ca236c...c6c7a78. Read the comment docs.

Codecov Report

Merging #47 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #47   +/-   ##
=======================================
  Coverage   82.38%   82.38%
=======================================
  Files           2        2
  Lines         159      159
=======================================
  Hits          131      131
  Misses         28       28

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 9ca236c...c6c7a78. Read the comment docs.


Docker container options

Added function docker support

Standard Docker image
HTTP Trigger image
Blob Trigger image
Service Queue Trigger image

Before merging, the used Docker image must be adjusted.

We should also think about making a multi model deployment possibility here.

Multi model deployment definitely is a good idea. This is related to this issue: https://github.com/Azure/aml-deploy/issues/1

@ashishonce Can you test the deployment to Functions and provide feedback?
Should work like described here:
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-deploy-functions


Authentication issue / not clear in the README.md

I'm following the README.md to get authentication working.
I created an application on the LinkedIn Developer Console. I then exported two environment variables LINKEDIN_API_KEY LINKEDIN_API_SECRET, set to Client ID and Client Secret, respectively. When running http_api.py and opening my browser to http://localhost:8080, I was thrown away by LinkedIn with the following error : GET /code?error=invalid_scope&error_description=Your+application+has+not+been+authorized+for+the+scope+%22r_fullprofile%22. Inspired by a comment regarding another issue I managed to 'solve' the issue by changing the following in http_api.py:
--- a/examples/http_api.py
+++ b/examples/http_api.py
@@ -24,7 +24,7 @@ class LinkedInWrapper(object):
     API_KEY = environ.get('LINKEDIN_API_KEY')
     API_SECRET = environ.get('LINKEDIN_API_SECRET')
     RETURN_URL = 'http://localhost:{0}/code'.format(globals()['PORT'])
-    authentication = LinkedInAuthentication(API_KEY, API_SECRET, RETURN_URL, PERMISSIONS
+    authentication = LinkedInAuthentication(API_KEY, API_SECRET, RETURN_URL,permissions=
     application = LinkedInApplication(authentication)

I can then access my own account with  my browser, e.g. with http://localhost:8080/get_profile. So far so good. From there, 3 questions:
1/ I hope blindly changing the permission in http_api.py have no side effects?
2/ WRT OAuth 1a: I guess CONSUMER_KEY and CONSUMER_SECRET refer to LINKEDIN_API_KEY/Client ID and LINKEDIN_API_SECRET/Client secret, respectively, am I right? Then, where am I supposed to find USER_TOKEN and USER_SECRET?
3/ WRT OAuth 2: I don't need it yet, but can't help noticing another terminology - do APPLICATON_KEY/ APPLICATON_SECRET (typo, btw) also correspond to LINKEDIN_API_KEY/Client ID and LINKEDIN_API_SECRET/Client secret?
I'll be glad to help with the documentation once I get it working.

The reason is that the authorization "r_fullprofile" is only allowed under specific authorization by LinkedIn.
You need to specify the authorization you want according to the ones you have granted to your application.
However it is right and a bit confusing I will try to fix it.

My mistake, I was in the examples directory of ozgur's python-linkedin. OAuth2 is now working as expected, but the README definitely needs a refresh :)

@aurelg feel free to help, it's hard for me to see the lacks as I know pretty well the library.
Feel free to improve it and send a PR


modules for amrprediction in amr_annotation subworkflow

Added abricate and rgi for amr prediction sub workflow

Ariba is used for short reads only so not included in the sub-workflow.
hamronization modules are installed and scripted into sub-workflow (commented out). Once we find a way to capture database versions, we just need to uncomment and accept.
Res all modules work as expected


f3d: init at 1.0.1

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[x] macOS
[x] other Linux distributions

[NA] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[NA] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

LGTM if it runs for you.
Tested on non-NixOS Linux (Ubuntu 18.04). SIGABRTs on startup due to libGL, LD_LIBRARY_PATHing the system's libGL libraries works (afaik this is a known problem, see https://github.com/NixOS/nixpkgs/issues/9415). Not tested with any 3D model.

I have opened some 3d models and it works fine (except that it's compiled without the -r flag for ray tracing due to VTK not being compiled with necessary support).  Same issue on non-NixOS Linux, but works on OS X.


Replace appname by modelname

Coverage remained the same at 85.188% when pulling 4ddf516547be08b15c7a4f21b390f35a872c4a85 on refix_jssorting into 6407a20bf24f2e2ff23f5721f9c6a811c68074e7 on master.


ERROR! the role 'shadowman.reports.build_report_linux' was not found

I am new to Ansible so my questions could be no sense for you :)
I tried to build the report linux role but I am getting this error.
ERROR! the role 'shadowman.reports.build_report_linux' was not found in /etc/ansible/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/etc/ansible
The error appears to be in '/etc/ansible/create-report.yaml': line 23, column 15, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
  ansible.builtin.include_role:
    name: shadowman.reports.build_report_linux
          ^ here

You need to install the collection (either inside your EE or onto your ansible server) in order to leverage that role


CrossValidation fails with "Check failed: n_uniques == world (1 vs. 2) : Multiple processes within communication group running on same CUDA device is not supported"

CrossValidation fails with "Check failed: n_uniques == world (1 vs. 2) : Multiple processes within communication group running on same CUDA device is not supported"
Env:
Databricks 9.1ML GPU
2-nodes cluster
22.02GA jars
xgboost4j_3.0-1.4.2-0.2.0.jar
xgboost4j-spark_3.0-1.4.2-0.2.0.jar
Sample code:
import time
import os
from pyspark import broadcast
from pyspark.sql import SparkSession
from pyspark.sql.functions import *
from pyspark.sql.types import *
from pyspark.sql.window import Window

from ml.dmlc.xgboost4j.scala.spark.rapids import CrossValidator
from pyspark.ml.tuning import ParamGridBuilder
from pyspark.ml.evaluation import BinaryClassificationEvaluator

from ml.dmlc.xgboost4j.scala.spark import XGBoostClassificationModel, XGBoostClassifier
from pyspark.ml.evaluation import MulticlassClassificationEvaluator
reader = spark.read

trainPath = "/xxx/mortgage_train/"

label = "delinquency_12"
schema = StructType([
    StructField("orig_channel", FloatType()),
    StructField("first_home_buyer", FloatType()),
    StructField("loan_purpose", FloatType()),
    StructField("property_type", FloatType()),
    StructField("occupancy_status", FloatType()),
    StructField("property_state", FloatType()),
    StructField("product_type", FloatType()),
    StructField("relocation_mortgage_indicator", FloatType()),
    StructField("seller_name", FloatType()),
    StructField("mod_flag", FloatType()),
    StructField("orig_interest_rate", FloatType()),
    StructField("orig_upb", IntegerType()),
    StructField("orig_loan_term", IntegerType()),
    StructField("orig_ltv", FloatType()),
    StructField("orig_cltv", FloatType()),
    StructField("num_borrowers", FloatType()),
    StructField("dti", FloatType()),
    StructField("borrower_credit_score", FloatType()),
    StructField("num_units", IntegerType()),
    StructField("zip", IntegerType()),
    StructField("mortgage_insurance_percent", FloatType()),
    StructField("current_loan_delinquency_status", IntegerType()),
    StructField("current_actual_upb", FloatType()),
    StructField("interest_rate", FloatType()),
    StructField("loan_age", FloatType()),
    StructField("msa", FloatType()),
    StructField("non_interest_bearing_upb", FloatType()),
    StructField(label, IntegerType()),
])
features = [ x.name for x in schema if x.name != label ]

# load dataset from file
train_data = reader.parquet(trainPath)

classifier = XGBoostClassifier(**params).setLabelCol(label).setFeaturesCols(features)
evaluator = BinaryClassificationEvaluator(labelCol=label, metricName='areaUnderROC')
param_grid = (ParamGridBuilder()
    .addGrid(classifier.maxDepth, [x, x])   ,
    .addGrid(classifier.numRound, [x, x])   ,
    .addGrid(classifier.eta, [x.xx, x.xx, x.xx, x.x])
    .addGrid(classifier.gamma, [x.xx, x.xx, x.xx, x.x])
    .addGrid(classifier.subsample, [x.xx, x.xx, x.xx, x.x])
    .build())

cross_validator = (CrossValidator()
    .setEstimator(classifier)
    .setEvaluator(evaluator)
    .setEstimatorParamMaps(param_grid)
    .setNumFolds(x))

model = cross_validator.fit(train_data).bestModel

The executor log shows below error and crashed.
[00:57:37] task 0 got new rank 1
22/03/19 00:57:37 ERROR GpuXGBoostSpark: XGBooster worker 1 has failed 0 times due to
ml.dmlc.xgboost4j.java.XGBoostError: [00:57:37] [/home/jenkins/agent/workspace/xgboost-release@2/src/common/device_helpers.cu](mailto:/home/jenkins/agent/workspace/xgboost-release@2/src/common/device_helpers.cu):64: Check failed: n_uniques == world (1 vs. 2) : Multiple processes within communication group running on same CUDA device is not supported
Stack trace:
  [bt] (0) /local_disk0/tmp/libxgboost4j4349310341251842705.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x6e) [0x7f46931d221e]
  [bt] (1) /local_disk0/tmp/libxgboost4j4349310341251842705.so(dh::AllReducer::Init(int)+0x365) [0x7f46934c1285]
  [bt] (2) /local_disk0/tmp/libxgboost4j4349310341251842705.so(xgboost::common::SketchContainer::AllReduce()+0x781) [0x7f469351a791]
  [bt] (3) /local_disk0/tmp/libxgboost4j4349310341251842705.so(xgboost::common::SketchContainer::MakeCuts(xgboost::common::HistogramCuts*)+0xa6) [0x7f469351b2e6]
  [bt] (4) /local_disk0/tmp/libxgboost4j4349310341251842705.so(xgboost::data::IterativeDeviceDMatrix::Initialize(void*, float, int)+0xb36) [0x7f4693548ab6]
  [bt] (5) /local_disk0/tmp/libxgboost4j4349310341251842705.so(xgboost::DMatrix* xgboost::DMatrix::Create<void*, void*, void (void*), int (void*)>(void*, void*, void (*)(void*), int (*)(void*), float, int, int)+0xb0) [0x7f46932bfa20]
  [bt] (6) /local_disk0/tmp/libxgboost4j4349310341251842705.so(XGDeviceQuantileDMatrixCreateFromCallback+0xd) [0x7f4693212c7d]
  [bt] (7) /local_disk0/tmp/libxgboost4j4349310341251842705.so(xgboost::spark::XGDeviceQuantileDMatrixCreateFromCallbackImpl(JNIEnv_*, _jclass*, _jobject*, float, int, int, _jlongArray*)+0x1d9) [0x7f46931f5bd9]
  [bt] (8) [0x7f4bd4018527]

Hi Team,
Above reproduce is not reliable and will only be reproducible if there is executor(s) lost.
Below is a manual way to reliably mimic the executor lost scenario to reproduce the error.

Start a 2-nodes cluster(executor 0 & 1)
Running training job
On executor 0 node,  manually pause the executor process by(kill -STOP <PID of executor 0>).
After a while, Driver report executor 0 is lost at 17:58:47.

log4j-2022-03-19-17.log:22/03/19 17:58:47 ERROR TaskSchedulerImpl: Lost executor 0 on <IP_ADDRESS>: Executor heartbeat timed out after 166904 ms

On executor 1 node, check executor log and found the same error at 17:58:48(one second after executor 0 was lost).

22/03/19 17:58:48 ERROR GpuXGBoostSpark: XGBooster worker 1 has failed 0 times due to
ml.dmlc.xgboost4j.java.XGBoostError: [17:58:48] [/home/jenkins/agent/workspace/xgboost-release@2/src/common/device_helpers.cu](mailto:/home/jenkins/agent/workspace/xgboost-release@2/src/common/device_helpers.cu):64: Check failed: n_uniques == world (1 vs. 2) : Multiple processes within communication group running on same CUDA device is not supported

As a result, training job does not have any fault tolerance on executor lost.

@wbo4958 Could you please help with this error?

Update:
Setting spark.task.resource.gpu.amount to 1 can workaround this issue. Thanks @wbo4958

close since #137 merged


HV-1461 ExecutableHelper#overrides does not work correctly with the method containing generic and non generic parameters

https://hibernate.atlassian.net/browse/HV-1461

As it turned out the upgrade of classmate in https://github.com/hibernate/hibernate-validator/commit/da94fc5c30960dd7296673bd62ba7dad66a15148 from 1.3.1 to 1.3.3 done the trick. So I've just added a test case similar to the one in the JIRA. In case of 1.3.1 version in ExecutableHelper#instanceMethodParametersResolveToSameTypes you would get:
resolvedMethods[0].getArgumentType( i ) = {ResolvedObjectType@1491} "java.lang.Long"
resolvedMethods[1].getArgumentType( i ) = {ResolvedObjectType@1493} "java.lang.Long<org.hibernate.validator.test.internal.util.ExecutableHelperTest$Bar>"

and in case of 1.3.3:
resolvedMethods[0].getArgumentType( i ) = {ResolvedObjectType@1468} "java.lang.Long"
resolvedMethods[1].getArgumentType( i ) = {ResolvedObjectType@1470} "java.lang.Long"

If a backport for the fix is needed and we cannot upgrade the lib version a simple use of .getErasedType() on both sides of argument equals check:
if ( !resolvedMethods[0].getArgumentType( i ).getErasedType().equals( resolvedMethods[1].getArgumentType( i ).getErasedType() ) ) {
	return false;
}

in that same method will do the trick.

Merged, thanks!


bug: ion-spinner has memory leak

Type: bug
Platform: all

Problem 1:
The current implementation does not cleanup on the deletion of the scope. This leads to a memory leak. The spinning animation keeps on running even if the spinner is not in the dom anymore. The animation should be stopped when the scope gets destroyed. This degrades scrolling performance too.
Problem 2:
The spinner in combination with the infinite-scroll directive.
ion-infinite-scroll {
  ...

  .icon:before,
  .spinner{
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }
  &:not(.active){
    .spinner,
    .icon:before{
      -webkit-transform: translate3d(-1000px,0,0);
      transform: translate3d(-1000px,0,0);
    }
  }
}

It is not sufficient to have the spinner translated out of view. (Why this solution was chosen instead of opacity?). The spinner is still getting animated and degrades scrolling performance on iOS devices a lot. Even if out of view.

Greetings @realityfilter!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Any way you could provide a demo of this?

I can reproduce this bug with a blank ionic template and a simple ionicLoading statement -> http://forum.ionicframework.com/t/rc0-1-high-idle-cpu-usage-on-ios-7-iphone-4/19705

If you don't rely on the spinner, here's a quick workaround for the memory leak:
$provide.decorator('ionInfiniteScrollDirective', function($delegate) {
	var directive = $delegate[0];
	directive.template = null;
	return $delegate;
});

Ok, I've noticed a few issues around this and have tried to consolidate them. This looks like a big deal. Thanks everyone for chiming in and submitting issues about this.

Hi,
Any news about this major issue ?
Several users have uninstalled my app because of the CPU keeping running at 30% .. while the app is in background.
Thanks

Digging in to this a bit more, setting display:none on the inactive spinner instead of moving it off screen significantly improves memory usage. Here's the instruments readout of the infinite scroll test when it starts with just two elements and infinite scrolls in a loop until it reaches the height of the initial page. The first is the current approach followed by display:none.

This will potentially cause a flicker on some devices. I'm going to re-evaluate across a rance of devices bearing this significant memory impact in mind.
Stay tuned.

Interesting, I stay tuned :)

fixed in 32da5cdc9d4ef53904a656f82ae574d085500cc7
I'm going to take a look at loading too. Note, set the spinner to display:none when not in use. Spinners are cool, but they eat a lot of memory.

Will it be integrated in nightly build soon?
Thanks for the fix

I've just tested your fix.
But it doesn't solve the issue.
I have this block upon my list:
                   pulling-text="Pull to refresh..."
                   pulling-icon="ion-arrow-down-c"
                   on-refresh="doRefresh()">
  </ion-refresher>```
Still 30% of CPU when app remains in background.

When removing this block (removing the pull-to-refresh feature) => CPU 0% as expected.

Any idea?

@perrygovier The code you fixed concerns infinite scrolling in _scaffolding.scss. It lacks the fix for pull-to-refresh. Am I right?

Tested it and it works great, thanks ;)

So, I tried this, And I have one question. Un-till I scroll down the list and reach the bottom. There are Layer Paints, which are always increasing even though the I am no where near to the end of my List.

the ion-spinner.spinner.spinner-ios	Element - is always increasing the Layer Paints

Is this a bug? or Its a normal behaviour ?
Platform : iOS
Ionic: 1.0.0v (scss/_scaffolding.scss fix applied)

Should be fixed by: 9f341a8ccb3829ccb5a02797bd44ec301f6bb14f

Issue appears to be still present on v1.2.4, the spinner causes infinite amount of layers keeping CPU busy and draining battery, even if it's never shown.
Setting my refresher to spinner=none solves the problem.

Still present in 1.2.4.
CPU. constantly at 40/50%
    <ion-refresher pulling-text="Refresh" on-refresh="vm.doRefresh()">
    </ion-refresher>


Error while generating the main dex list

I was not able to install at first after installing and linking the library. Then I added below maven dependency.
maven {
	url  "http://dl.bintray.com/lukaville/maven"
}

Now it is showing below Error:
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
> com.android.build.api.transform.TransformException: Error while generating the
 main dex list.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 43s
421 actionable tasks: 399 executed, 22 up-to-date
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html

I have also enabled multiDexEnabled true in build.gradle but still stuck at same error. Please help me installing it.
Thanks in advance.

you should delete the repositories {
maven {
url "http://dl.bintray.com/lukaville/maven"
}
}
in your Project level gradle.build, and add it to app level gradle.build


Menu.Item has no styling for disabled state?

I'm new here, sorry if it's something obvious. When I use <Menu.Item disabled> in a React app, it seems to have no visual effect. Tried disabled={true} and data-disabled, just in case, with the same result.
I checked this first:

Component in question - https://park-ui.com/react/docs/components/menu
API: https://ark-ui.com/react/docs/components/menu#api-reference

The same thing about TagsInput, NumberInput  and maybe for all other inputs

Can I take a look on this? Seems very straightforward


Not compatible with dayjs 1.11.4

Getting the following type error when using this plugin version 1.1.1 with dayjs 1.11.4:
Argument of type 'import("/Users/zomars/Sites/cal.com/node_modules/dayjs-business-days2/node_modules/dayjs/index").PluginFunc<unknown>' is not assignable to parameter of type 'import("/Users/zomars/Sites/cal.com/node_modules/dayjs/index").PluginFunc<unknown>'.
  Types of parameters 'c' and 'c' are incompatible.
    Type 'typeof import("/Users/zomars/Sites/cal.com/node_modules/dayjs/index").Dayjs' is not assignable to type 'typeof import("/Users/zomars/Sites/cal.com/node_modules/dayjs-business-days2/node_modules/dayjs/index").Dayjs'.
      Types of construct signatures are incompatible.
        Type 'new (config?: string | number | Dayjs | Date | null | undefined) => Dayjs' is not assignable to type 'new (config?: string | number | Dayjs | Date | null | undefined) => Dayjs'.
          Types of parameters 'config' and 'config' are incompatible.
            Type 'string | number | import("/Users/zomars/Sites/cal.com/node_modules/dayjs-business-days2/node_modules/dayjs/index").Dayjs | Date | null | undefined' is not assignable to type 'string | number | import("/Users/zomars/Sites/cal.com/node_modules/dayjs/index").Dayjs | Date | null | undefined'.
              Type 'Dayjs' is not assignable to type 'string | number | Dayjs | Date | null | undefined'.
                Type 'Dayjs' is missing the following properties from type 'Dayjs': isBetween, isToday, fromNow, from, and 8 more.ts(2345)

Seems like locking to these version do the trick:
"dayjs": "1.11.2",
"dayjs-business-days2": "1.1.0"

I'm using plugin version 1.1.1 with dayjs 1.11.4 without any issues, can you provide your ts config?

Also, can you provide the full context of where you are extending dayjs? I'd like to see your import statement as well as any other plugins you may be using

Here's a link to a code sandbox where this works as intended: https://codesandbox.io/s/dayjs-business-days2-issue-3-if4xyh?file=/package.json

Sure, you can see our full implementation here

Can you point me to the tsconfig file in that project? (also sorry for the super delayed reply 😅)

Can you point me to the tsconfig file in that project? (also sorry for the super delayed reply 😅)

It's ok, this package is being used in multiple apps in the monorepo so tsconfig files may vary. But here is one of the main ones.

Everything looks normal to me, I'm going to clone your repo and try to run it on my machine to see if I can replicate the issue

So I am able to replicate this on<EMAIL_ADDRESS>and<EMAIL_ADDRESS>using your repo, however upgrading to<EMAIL_ADDRESS>and<EMAIL_ADDRESS>solves the problem for me so that's what I would recommend

Will try in the next upgrade release. Thanks @reediculous456 🙏🏽


Changed variable names in json update example as "i" could have been …

…misunderstood
Describe this PR
The variable name i could have been misunderstood even if later on the object (or array) is renamed properly. I feel this solution can be a little bit more understandable.

Unrelated: The code could be simplified to
    const insuranceList = petsObject['insurances']

    if (Array.isArray(insuranceList)) {
        insuranceList.forEach((insuranceItem) => {
            if (insuranceItem && typeof insuranceItem === 'object' && !Array.isArray(insuranceItem)) {
                insuranceItem['status'] = 'expired'
            }
    })

Thanks @404answernotfound , totally agree that i was a potentially confusing variable.
What do you think of @millsp 's suggestion for simplifying the code...? Unless you see any gotchas, either you or we can add that to the PR and then we'll go ahead and merge.

I'll have a look at it in the morning! Thanks for the info! ❤

Thanks @404answernotfound , totally agree that i was a potentially confusing variable.
What do you think of @millsp 's suggestion for simplifying the code...? Unless you see any gotchas, either you or we can add that to the PR and then we'll go ahead and merge.

Changed commit as suggested by @millsp ! Thanks everyone!

Thanks so much @404answernotfound we are good to go, merging now.


Unhandled exception. System.InvalidOperationException: No instances of MSBuild could be detected

On macOS (M1 Max) trying to run it locally I'm getting:
Unhandled exception. System.InvalidOperationException: No instances of MSBuild could be detected.
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.
   at Microsoft.Build.Locator.MSBuildLocator.RegisterDefaults()
   at Program.<Main>$(String[] args) in /home/runner/work/dotnet-subset/dotnet-subset/src/dotnet-subset/Program.cs:line 12

I have latest dotnet 6 & 7 sdks installed:
6.0.403 [/usr/local/share/dotnet/sdk]
6.0.404 [/usr/local/share/dotnet/sdk]
7.0.100 [/usr/local/share/dotnet/sdk]
7.0.101 [/usr/local/share/dotnet/sdk]
7.0.102 [/usr/local/share/dotnet/sdk]

What can be the issue?

I will have to get my hands on a MacBook to try to reproduce. Maybe later this week.
In the meanwhile, I'm curious about your use case, can you tell me more ? dotnet-subset is usually run within a linux container.

Correct,
But because I was given some incorrect syntax error when used directly from my dockerfile and also because I wanted to look and understand what it generates I wanted to run it locally on my csproj.
I'll try harder in my dockerfile then for now, but you've got to admit this isn't the most convenient way to inspect / debug :)

I agree. I'll look into it.

I agree. I'll look into it.

I tested on a MacBook Pro x86, could not reproduce the problem. Here is what I tried:

downloaded and installed .NET SDK 7. dotnet --list-sdks shows 7.0.102 [/usr/local/share/dotnet/sdk]
installed dotnet-subset with the command: dotnet tool install --global dotnet-subset --version 0.3.1
cloned the repository https://github.com/kgrzybek/modular-monolith-with-ddd
from the repository root, I ran: dotnet subset restore src/API/CompanyName.MyMeetings.API/CompanyName.MyMeetings.API.csproj --root-directory . --output /myOutputFolder
command ran successfully, with this line as last log: Copied 21 file(s) to '/myOutputFolder. ....'

Can you try following these instructions with the suggested repo (modular-monolith-with-ddd) ?

modular-monolith-with-ddd git:(master) dotnet subset restore src/API/CompanyName.MyMeetings.API/CompanyName.MyMeetings.API.csproj --root-directory . --output /myOutputFolder
Unhandled exception. System.InvalidOperationException: No instances of MSBuild could be detected.
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.
   at Microsoft.Build.Locator.MSBuildLocator.RegisterDefaults()
   at Program.<Main>$(String[] args) in /home/runner/work/dotnet-subset/dotnet-subset/src/dotnet-subset/Program.cs:line 12

Exact same issue which is expected as the problem is right from the start.
Might have to do with https://github.com/microsoft/MSBuildLocator/issues/153
But I had a look at your csproj... all package references are quite old.
Updating them all and targeting .net 6 might do the trick...

Package whose version is $(MSBuildPackagesVersion) are only used in compile time, Microsoft.Build.Locator is in charge of providing them at runtime.
That being said, dotnet-subset is 2 versions behind for Microsoft.Build.Locator. I'll upgrade in a separate branch. Will you be able to test by building from upgrade branch when it will be ready ? Instructions are in the README.md

Package whose version is $(MSBuildPackagesVersion) are only used in compile time, Microsoft.Build.Locator is in charge of providing them at runtime.

Yes, and that's where I suspect bugs might have been fixed since.

That being said, dotnet-subset is 2 versions behind for Microsoft.Build.Locator. I'll upgrade in a separate branch. Will you be able to test by building from upgrade branch when it will be ready ? Instructions are in the README.md

Sure

Any news on your side?

@nbsoftware I managed to reproduce the bug and deployed a new version with the fix (https://www.nuget.org/packages/dotnet-subset/0.3.2).
Can you please try again and tell me if it works for you ?

@nbsoftware did you get the chance to test the new version ?

Hey. Not yet. Will try before end of week.

@nbsoftware I'll close this issue for now. You can reopen it or create a new one if the problem persists.

Hello. Sorry for this late response.
Unfortunately it is not fixed on my machine :/
Why is it using .NET 3.x runtime which I have not installed?
Do you need to include the runtime in the distibution?
➜  modular-monolith-with-ddd git:(master) dotnet subset restore src/API/CompanyName.MyMeetings.API/CompanyName.MyMeetings.API.csproj --root-directory . --output ./myOutputFolder
dotnet-subset 0.3.2 (.NET Runtime 3.1.31)
Unhandled exception. System.InvalidOperationException: No instances of MSBuild could be detected.
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.
   at Microsoft.Build.Locator.MSBuildLocator.RegisterDefaults()
   at Program.<Main>$(String[] args) in /home/runner/work/dotnet-subset/dotnet-subset/src/dotnet-subset/Program.cs:line 14

@nbsoftware can you post the result of dotnet --info ?
The log suggests you are using .NET Core 3.1

Well, as I said it doesn't seem to be installed locally.
Couldn't it be provided / included in the tools' distribution package?
➜  ~ dotnet --info
.NET SDK:
 Version:   7.0.102
 Commit:    4bbdd14480

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  13.2
 OS Platform: Darwin
 RID:         osx.13-arm64
 Base Path:   /usr/local/share/dotnet/sdk/7.0.102/

Host:
  Version:      7.0.2
  Architecture: arm64
  Commit:       d037e070eb

.NET SDKs installed:
  6.0.403 [/usr/local/share/dotnet/sdk]
  6.0.404 [/usr/local/share/dotnet/sdk]
  6.0.405 [/usr/local/share/dotnet/sdk]
  7.0.100 [/usr/local/share/dotnet/sdk]
  7.0.101 [/usr/local/share/dotnet/sdk]
  7.0.102 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.11 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.12 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.13 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.11 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.12 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.13 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  x64   [/usr/local/share/dotnet/x64]

Environment variables:
  Not set

global.json file:
  Not found

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

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

From https://learn.microsoft.com/en-us/dotnet/core/tools/troubleshoot-usage-issues they say:

If you think the tool should support the runtime version you currently have installed, you can contact the tool author and see if they can update the version number or multi-target. Once they've recompiled and republished their tool package to NuGet with an updated version number, you can update your copy. While that doesn't happen, the quickest solution for you is to install a version of the runtime that would work with the tool you're trying to run.

I believe the solution lies in multi-targeting...
Also I find it a bit weird that you depend on .NETCoreApp,Version=v2.1 in your package.lock.json file...

Ok so I think I nailed it:
➜  ~ ls -l /usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App
total 0
drwxr-xr-x  190 root  wheel  6080 Jun 16  2022 3.1.27
drwxr-xr-x  190 root  wheel  6080 Jul 13  2022 3.1.28
drwxr-xr-x  190 root  wheel  6080 Aug 18  2022 3.1.29
drwxr-xr-x  190 root  wheel  6080 Sep 26 22:30 3.1.30
drwxr-xr-x  190 root  wheel  6080 Oct 14 02:26 3.1.31
➜  ~ which dotnet
/usr/local/share/dotnet/dotnet

So let me see why it seems to prefer the x64 version here...

Interesting ! I found this thread that may explain the situation: https://github.com/dotnet/sdk/issues/22380
What does this command dotnet --version show you ?

So I do think your tool is architecture dependant.
I removed all x64 runtimes installed locally (must have been installed from the early days I got this arm machine).
And now I get this, which make a lot more sense now:
➜  ~ dotnet tool install --global dotnet-subset
Skipping NuGet package signature verification.
You can invoke the tool using the following command: dotnet-subset
Tool 'dotnet-subset' (version '0.3.2') was successfully installed.
➜  ~ dotnet-subset
You must install .NET to run this application.

App: /Users/fmeyer/.dotnet/tools/dotnet-subset
Architecture: x64
App host version: 7.0.3
.NET location: Not found

Learn about runtime installation:
https://aka.ms/dotnet/app-launch-failed

Download the .NET runtime:
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=osx.13-x64&apphost_version=7.0.3

Another interesting article: https://github.com/dotnet/sdk/issues/26417
This is why you might want to target .NET 6.0 - from what I understood

Ok, so it's definitely a bug in dotnet tool install as said here https://github.com/dotnet/sdk/issues/26417#issuecomment-1172693196
A reply from 4 days ago suggested specifying the arch in install command as a workaround. Can you test it ?

dotnet tool uninstall --global dotnet-subset
dotnet tool install --global --arch arm64 dotnet-subset

In the meanwhile, I will work on multitargeting .NET 2.1 and .NET 6 to avoid having to specify the arch during install.

The suggestion is indeed working - see below.
Multi targeting is the route to ease thing, although I'm not sure why you would want to keep .NET 2.1... if you were to target .NET 6.0 only it would work out of the box without having to multi target.
➜  ~ dotnet tool uninstall --global dotnet-subset
Tool 'dotnet-subset' (version '0.3.2') was successfully uninstalled.
➜  ~ dotnet tool install --global --arch arm64 dotnet-subset
Skipping NuGet package signature verification.
You can invoke the tool using the following command: dotnet-subset
Tool 'dotnet-subset' (version '0.3.2') was successfully installed.
➜  ~ dotnet-subset
dotnet-subset 0.3.2 (.NET Runtime 7.0.2)
Required command was not provided.

Description:
  .NET Tool to copy a subset of files from a repository to a directory.

Usage:
  dotnet-subset [command] [options]

Options:
  --version       Show version information
  -?, -h, --help  Show help and usage information

Commands:
  restore <projectOrSolution>  Create a subset for the restore operation.

I have the same with update to net7 using buildx with arm64 as platform.
14 [linux/amd64 prepare-restore-files 2/6] RUN dotnet tool install --global --arch arm64 --no-cache dotnet-subset --version 0.3.2
#0 1.963 Unhandled exception: System.AggregateException: One or more errors occurred. (The runtime identifier linux-arm64 is invalid. Valid runtime identifiers are: win-x64 win-arm64 osx-x64 osx-arm64.)
#0 1.972  ---> Microsoft.DotNet.Cli.Utils.GracefulException: The runtime identifier linux-arm64 is invalid. Valid runtime identifiers are: win-x64 win-arm64 osx-x64 osx-arm64.
#0 1.972    at Microsoft.DotNet.ShellShim.ShellShimTemplateFinder.ResolveAppHostSourceDirectoryAsync(String archOption, NuGetFramework targetFramework, Architecture arch)
#0 1.972    --- End of inner exception stack trace ---
#0 1.973    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
#0 1.973    at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
#0 1.973    at Microsoft.DotNet.Tools.Tool.Install.ToolInstallGlobalOrToolPathCommand.Execute()
#0 1.973    at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<b__0>d.MoveNext()
#0 1.973 --- End of stack trace from previous location ---
#0 1.973    at Microsoft.DotNet.Cli.Parser.<>c__DisplayClass17_0.<b__0>d.MoveNext()
#0 1.974 --- End of stack trace from previous location ---
#0 1.974    at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass11_0.<b__0>d.MoveNext()
#0 1.974 --- End of stack trace from previous location ---
#0 1.974    at System.CommandLine.CommandLineBuilderExtensions.<>c.<b__17_0>d.MoveNext()
#0 1.974 --- End of stack trace from previous location ---
#0 1.974    at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass15_0.<b__0>d.MoveNext()
#0 1.975 --- End of stack trace from previous location ---
#0 1.975    at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass7_0.<b__0>d.MoveNext()

ok, solved by downgrade to --version 0.3.1, seems something wrong with 0.3.2

#22 [linux/arm64 prepare-restore-files 2/5] RUN dotnet tool install --global --no-cache dotnet-subset --version 0.3.2
#22 53.13 You can invoke the tool using the following command: dotnet-subset
#22 53.13 Tool 'dotnet-subset' (version '0.3.2') was successfully installed.
#22 DONE 53.4s

#34 [linux/arm64 prepare-restore-files 3/5] WORKDIR /src
#34 DONE 0.0s

#35 [linux/arm64 prepare-restore-files 4/5] COPY . .
#35 DONE 0.3s

#36 [linux/arm64 prepare-restore-files 5/5] RUN dotnet subset restore "Services/Luna/Ruby.Services.Luna.Api/Ruby.Services.Luna.Api.csproj" --root-directory /src --output /src/restore_subset/
#36 15.69 dotnet-subset 0.3.2 (.NET Runtime 7.0.5)
#36 36.83 Unhandled exception: Microsoft.Build.Exceptions.InvalidProjectFileException: The expression "[Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation('', '')" cannot be evaluated. Object reference not set to an instance of an object.  /usr/share/dotnet/sdk/7.0.203/Microsoft.Common.CurrentVersion.targets
#36 36.91    at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject(String errorSubCategoryResourceName, IElementLocation elementLocation, String resourceName, Object[] args)
#36 36.91    at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject[T1,T2](IElementLocation elementLocation, String resourceName, T1 arg0, T2 arg1)
#36 36.91    at Microsoft.Build.Evaluation.Expander`2.Function`1.Execute(Object objectInstance, IPropertyProvider`1 properties, ExpanderOptions options, IElementLocation elementLocation)
#36 36.91    at Microsoft.Build.Evaluation.Expander`2.PropertyExpander`1.ExpandPropertyBody(String propertyBody, Object propertyValue, IPropertyProvider`1 properties, ExpanderOptions options, IElementLocation elementLocation, UsedUninitializedProperties usedUninitializedProperties, IFileSystem fileSystem)
#36 36.91    at Microsoft.Build.Evaluation.Expander`2.PropertyExpander`1.ExpandPropertiesLeaveTypedAndEscaped(String expression, IPropertyProvider`1 properties, ExpanderOptions options, IElementLocation elementLocation, UsedUninitializedProperties usedUninitializedProperties, IFileSystem fileSystem, LoggingContext loggingContext)
#36 36.91    at Microsoft.Build.Evaluation.Expander`2.PropertyExpander`1.ExpandPropertiesLeaveEscaped(String expression, IPropertyProvider`1 properties, ExpanderOptions options, IElementLocation elementLocation, UsedUninitializedProperties usedUninitializedProperties, IFileSystem fileSystem, LoggingContext loggingContext)
#36 36.91    at Microsoft.Build.Evaluation.Expander`2.ExpandIntoStringLeaveEscaped(String expression, ExpanderOptions options, IElementLocation elementLocation, LoggingContext loggingContext)
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.EvaluatePropertyElement(ProjectPropertyElement propertyElement)
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.EvaluatePropertyGroupElement(ProjectPropertyGroupElement propertyGroupElement)
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.Evaluate()
#36 36.91    at Microsoft.Build.Evaluation.Evaluator`4.Evaluate(IEvaluatorData`4 data, Project project, ProjectRootElement root, ProjectLoadSettings loadSettings, Int32 maxNodeCount, PropertyDictionary`1 environmentProperties, ILoggingService loggingService, IItemFactory`2 itemFactory, IToolsetProvider toolsetProvider, ProjectRootElementCacheBase projectRootElementCache, BuildEventContext buildEventContext, ISdkResolverService sdkResolverService, Int32 submissionId, EvaluationContext evaluationContext, Boolean interactive)
#36 36.91    at Microsoft.Build.Evaluation.Project.ProjectImpl.Reevaluate(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
#36 36.91    at Microsoft.Build.Evaluation.Project.ProjectImpl.ReevaluateIfNecessary(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
#36 36.91    at Microsoft.Build.Evaluation.Project.ProjectImpl.Initialize(IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
#36 36.91    at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext, IDirectoryCacheFactory directoryCacheFactory)
#36 36.91    at Microsoft.Build.Evaluation.ProjectCollection.LoadProject(String fileName, IDictionary`2 globalProperties, String toolsVersion)
#36 36.91    at Nimbleways.Tools.Subset.RestoreSubset.VisitAllProjects(ProjectCollection projectCollection, String rootFolder, String projectPath, Dictionary`2 projects) in /home/runner/work/dotnet-subset/dotnet-subset/src/dotnet-subset/RestoreSubset.cs:line 108
#36 36.91    at Nimbleways.Tools.Subset.RestoreSubset.VisitAllProjects(ProjectCollection projectCollection, String rootFolder, String projectPath, Dictionary`2 projects) in /home/runner/work/dotnet-subset/dotnet-subset/src/dotnet-subset/RestoreSubset.cs:line 114
#36 36.91    at Nimbleways.Tools.Subset.RestoreSubset.Execute(String projectOrSolution, String rootFolder, String destinationFolder) in /home/runner/work/dotnet-subset/dotnet-subset/src/dotnet-subset/RestoreSubset.cs:line 19
#36 36.91    at Program.<>c.<<Main>$>b__0_0(FileInfo projectOrSolution, DirectoryInfo rootDirectory, DirectoryInfo outputDirectory) in /home/runner/work/dotnet-subset/dotnet-subset/src/dotnet-subset/Program.cs:line 38
#36 36.91    at System.CommandLine.Handler.<>c__DisplayClass4_0`3.<SetHandler>b__0(InvocationContext context)
#36 36.91    at System.CommandLine.Invocation.AnonymousCommandHandler.Invoke(InvocationContext context)
#36 36.91    at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
#36 36.91 --- End of stack trace from previous location ---
#36 36.91    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
#36 36.91 --- End of stack trace from previous location ---
#36 36.91    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
#36 36.91 --- End of stack trace from previous location ---
#36 36.91    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
#36 36.91 --- End of stack trace from previous location ---
#36 36.91    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
#36 36.91 --- End of stack trace from previous location ---
#36 36.91    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
#36 36.91 --- End of stack trace from previous location ---
#36 36.91    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
#36 36.91 --- End of stack trace from previous location ---
#36 36.91    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
#36 36.91 --- End of stack trace from previous location ---
#36 36.91    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
#36 ERROR: process "/bin/sh -c dotnet subset restore \"Services/Luna/Ruby.Services.Luna.Api/Ruby.Services.Luna.Api.csproj\" --root-directory /src --output /src/restore_subset/" did not complete successfully: exit code: 1
------
 > [linux/arm64 prepare-restore-files 5/5] RUN dotnet subset restore "Services/Luna/Ruby.Services.Luna.Api/Ruby.Services.Luna.Api.csproj" --root-directory /src --output /src/restore_subset/:
#36 36.91 --- End of stack trace from previous location ---
#36 36.91    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
#36 36.91 --- End of stack trace from previous location ---
#36 36.91    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
#36 36.91 --- End of stack trace from previous location ---
#36 36.91    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
#36 36.91 --- End of stack trace from previous location ---
#36 36.91    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
#36 36.91 --- End of stack trace from previous location ---
#36 36.91    at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
------
Dockerfile:13
--------------------
  11 |     WORKDIR /src
  12 |     COPY . .
  13 | >>> RUN dotnet subset restore "Services/Luna/Ruby.Services.Luna.Api/Ruby.Services.Luna.Api.csproj" --root-directory /src --output /src/restore_subset/
  14 |
  15 |     FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
--------------------
ERROR: failed to solve: process "/bin/sh -c dotnet subset restore \"Services/Luna/Ruby.Services.Luna.Api/Ruby.Services.Luna.Api.csproj\" --root-directory /src --output /src/restore_subset/" did not complete successfully: exit code: 1
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c dotnet subset restore \"Services/Luna/Ruby.Services.Luna.Api/Ruby.Services.Luna.Api.csproj\" --root-directory /src --output /src/restore_subset/" did not complete successfully: exit code: 1

Hello @dmitriy-pisarevskiy,
It seems like two different problems:

I have the same with update to net7 using buildx with arm64 as platform.
14 [linux/amd64 prepare-restore-files 2/6] RUN dotnet tool install --global --arch arm64 --no-cache dotnet-subset --version 0.3.2 #0 1.963 Unhandled exception: System.AggregateException: One or more errors occurred. (The runtime identifier linux-arm64 is invalid. Valid runtime identifiers are: win-x64 win-arm64 osx-x64 osx-arm64.)

It's a known issue using --arch arm64 on linux (link). The fix is to remove the argument, as you did in your second post.

#36 [linux/arm64 prepare-restore-files 5/5] RUN dotnet subset restore "Services/Luna/Ruby.Services.Luna.Api/Ruby.Services.Luna.Api.csproj" --root-directory /src --output /src/restore_subset/
#36 15.69 dotnet-subset 0.3.2 (.NET Runtime 7.0.5)
#36 36.83 Unhandled exception: Microsoft.Build.Exceptions.InvalidProjectFileException: The expression "[Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKLocation('', '')" cannot be evaluated. Object reference not set to an instance of an object.  /usr/share/dotnet/sdk/7.0.203/Microsoft.Common.CurrentVersion.targets

Are you having this error with 0.3.2, but not with 0.3.1 ? It's weird because I'm reviewing the changelog and there shouldn't be anything that would cause this error.
I'll create a new issue for this problem.


icu-deploy/ARCH=x86_64,NAME=icu,OS=centos6,SITE=generic,VERSION=59_1 #1 failed

Build 'icu-deploy/ARCH=x86_64,NAME=icu,OS=centos6,SITE=generic,VERSION=59_1' is failing!
Last 50 lines of build output:
Started by upstream project "icu-deploy" build number 1
originally caused by:
 Started by GitHub push by brucellino
[EnvInject] - Loading node environment variables.
Building remotely on local-9ff5798b19ed (x86_64 centos6) in workspace /home/jenkins/workspace/icu-deploy/ARCH/x86_64/NAME/icu/OS/centos6/SITE/generic/VERSION/59_1
Cloning the remote Git repository
Cloning repository https://github.com/SouthAfricaDigitalScience/icu-deploy
 > git init /home/jenkins/workspace/icu-deploy/ARCH/x86_64/NAME/icu/OS/centos6/SITE/generic/VERSION/59_1 # timeout=10
Fetching upstream changes from https://github.com/SouthAfricaDigitalScience/icu-deploy
 > git --version # timeout=10
using GIT_ASKPASS to set credentials Jenkins Github token
 > git fetch --tags --progress https://github.com/SouthAfricaDigitalScience/icu-deploy +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/SouthAfricaDigitalScience/icu-deploy # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/SouthAfricaDigitalScience/icu-deploy # timeout=10
Fetching upstream changes from https://github.com/SouthAfricaDigitalScience/icu-deploy
using GIT_ASKPASS to set credentials Jenkins Github token
 > git fetch --tags --progress https://github.com/SouthAfricaDigitalScience/icu-deploy +refs/heads/*:refs/remotes/origin/*
Checking out Revision<PHONE_NUMBER>4b2daa4758038b4dc779aa466ec714 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f<PHONE_NUMBER>4b2daa4758038b4dc779aa466ec714
First time build. Skipping changelog.
Run condition [Current build status] enabling prebuild for step [Execute shell]
Run condition [Current build status] enabling prebuild for step [Execute shell]
[Set GitHub commit status (universal)] PENDING on repos [GHRepository@5c5e74c7[description=International Components for Unicode (deploy scripts),homepage=<null>,name=icu-deploy,license=<null>,fork=false,size=0,milestones={},language=Shell,commits={},source=<null>,parent=<null>,url=https://api.github.com/repos/SouthAfricaDigitalScience/icu-deploy,id=94328623]] (sha:1706354) with context:icu-deploy/ARCH=x86_64,NAME=icu,OS=centos6,SITE=generic,VERSION=59_1
Setting commit status on GitHub for https://github.com/SouthAfricaDigitalScience/icu-deploy/commit/17063541054b2daa4758038b4dc779aa466ec714
[59_1] $ /bin/sh -xe /tmp/hudson5288682574804071005.sh
+ ./build.sh

------------------------ /usr/share/Modules/modulefiles ------------------------
ci          dot         module-info null
deploy      module-git  modules     use.own
 There seems to be a download currently under way, will check again in 5 sec
 There seems to be a download currently under way, will check again in 5 sec
 There seems to be a download currently under way, will check again in 5 sec
 There seems to be a download currently under way, will check again in 5 sec
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Build step 'Execute shell' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE

Changes since last successful build:
View full output

build 5 failed with
g++	 ...  ../../stubdata/stubdata.cpp
In file included from ../../common/unicode/utypes.h:38,
                 from ../../stubdata/stubdata.cpp:22:
../../common/unicode/umachine.h:347: error: ‘char16_t’ does not name a type
In file included from ../../common/unicode/utypes.h:39,
                 from ../../stubdata/stubdata.cpp:22:
../../common/unicode/uversion.h:167: error: ISO C++ forbids declaration of ‘UChar’ with no type
../../common/unicode/uversion.h:167: error: expected ‘,’ or ‘...’ before ‘*’ token
../../stubdata/stubdata.cpp:58: error: ‘UChar’ was not declared in this scope
../../stubdata/stubdata.cpp:74: error: too many initializers for ‘UDataInfo’
*** Failed compilation command follows: ----------------------------------------------------------
g++ -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=0 -DU_HAVE_STRTOD_L=1 -DUCONFIG_ENABLE_PLUGINS=1 -I../../common -DU_ATTRIBUTE_DEPRECATED= -O2 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -c -o stubdata.ao ../../stubdata/stubdata.cpp

This suggests that `CXXFLAGS="-std= ... " is missing.
HT https://stackoverflow.com/questions/11741976/getting-error-char16-t-and-char32-t-undeclared

well, std=c++11 doesn't work with centos6 :-/
configure: error: C++ compiler g++ does not work or no compiler found

Hm. I can't seem to reproduce this locally with the same container.

Closed in 34fabb66d


globalPassThroughEnv and passThroughEnv don't get merged

(Using my Maintainer's Privilege™ here to ignore the bug report template) 😄
@juliusmarminge found us a bug and I'm filing on his behalf. In the following two logs, you can see a difference in the printed output of NODE_ENV:

Cache miss: https://github.com/pingdotgg/uploadthing/actions/runs/12546824655/job/34983263342#step:4:125
Cache hit: https://github.com/pingdotgg/uploadthing/actions/runs/12545811460/job/34980609091

Notably, the cache hit comes from a run that happened on Vercel, where NODE_ENV is set. This isn't the case in a GitHub Action by default.
The expectation is that this globalPassThroughEnv can be overridden by a passThroughEnv in a Package Configuration.
Here's my reproduction repository. Summary of changes (starting with create-turbo) and how I'm reproducing locally:

Put NODE_ENV into globalPassThroughEnv.
Add the following snippet.

// ./packages/ui/turbo.json

{
  "extends": ["//"],
  "tasks": {
    "build": {
      "passThroughEnv": ["!NODE_ENV"],
    }
  }
}

Add a ./packages/ui/run-this.js file with contents of console.log(process.env.NODE_ENV).
Add a script of "build": "node run-this.js" to ./packages/ui/package.json.
Put an export NODE_ENV=foo onto your shell.
Run turbo build.

You'll get what I believe to be unexpected behavior: NODE_ENV printing foo from run-this.js.
I've tested some of my assumptions by messing with combinations of removing the globalPassThroughEnv, removing the Package Configuration's passThroughEnv, and placing a console.log(process.env.NODE_ENV) into the applications.
I'm thinking the bug here is that we don't merge globalPassThroughEnv with passThroughEnv. I can't find a codepath where this would happen (though I may be simply not be seeing it and there's something else at play that I haven't considered.)

Just realized the Package Configuration isn't needed to reproduce this behavior. A root turbo.json like this one reproduces.
{
  "$schema": "https://turbo.build/schema.json",
  "ui": "tui",
  "globalPassThroughEnv": ["NODE_ENV"],
  "tasks": {
    "build": {
      "dependsOn": ["^build"],
      "passThroughEnv": ["!NODE_ENV"],
      "inputs": ["$TURBO_DEFAULT$", ".env*"],
      "outputs": [".next/**", "!.next/cache/**"]
    },
    "lint": {
      "dependsOn": ["^lint"]
    },
    "check-types": {
      "dependsOn": ["^check-types"]
    },
    "dev": {
      "cache": false,
      "persistent": true
    }
  }
}


Get minified version when installing via bower

Hello,
The current bower.json ignores the minified version.

Yes, this is deliberate. At least this bower distribution is source only.


Added support for all diagram types

Hi All, here are the changes that I made ...

added a/the dependency on plantuml (removed the need to have/use/download the plantuml source code into the repo)
refactored/renamed the code to express that all diagram types are supported (not only sequence diagrams)
added tests for all diagram types and all keys

Let me know, if you will merge this back into your master or if you want me to maintain my own fork.
Regards ...
Roland

ok to test

We haven't revisited if using the jar would be alright, but it doesn't seem to contain a license so we've opted in the past to be more explicit. (So-as to avoid having this project be GPL'd in our private codebases.)
I'll check this out more on Monday, but it's looking fine to me. Thanks!

Found out that mvnrepository only shows releases up to 8059, but the latest plantuml release is actually on repo1.maven.org. Bumped the version to the latest.

@rolandtritsch It doesn't seem that we're able to accept the change to downloading the .jar. In checking the POM (and downloaded .jar) the license bundled with is GPL.
We could look at upgrading plantuml's bundled source in this repo and applying the same changes you made.

Ooohhh ... I see. Have raised an issue to get this fixed (https://github.com/plantuml/plantuml/issues/66).

@rolandtritsch Cool, thanks for that! Do you want me to get your changes merged into master (with the updated source files pulled in) or would you be okay running on your fork until the ASL jars are published?

I think it is better to keep it in one place. So yes, if you can, please merge my changes. In parallel I will work with the plantuml guys to get a/the ASL build up on the maven repo.


App crashes on orientation change (NullPointerException: camera target is null)

Steps to reproduce:

Open demo app
On main page click on "Marker Demo" and rapidly rotate the screen (before map gets to be created on next screen, you have to almost simultaneously click on button and rotate the screen)
App crashes with following stack trace:

E/MarkerDemoActivity: NullPointerException java.lang.NullPointerException: camera target is null
2020-07-02 12:16:17.405 14733-14733/com.huawei.hms.maps.sample E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.huawei.hms.maps.sample, PID: 14733
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.huawei.map.mapapi.HWMap.setDefaultLocationSource(com.huawei.map.mapapi.LocationSource)' on a null object reference
at com.huawei.hms.maps.provider.huawei.e.a(:47579)
at com.huawei.hms.maps.provider.huawei.e$14.b(:1519)
at o.fa$3.run(Unknown Source:0)
at android.os.Handler.handleCallback(Handler.java:907)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
2020-07-02 12:16:17.406 14733-14733/com.huawei.hms.maps.sample E/HmsMapKit_CrashHandler_79: uncaughtException stacktrace is java.lang.NullPointerException: Attempt to invoke virtual method 'void com.huawei.map.mapapi.HWMap.setDefaultLocationSource(com.huawei.map.mapapi.LocationSource)' on a null object reference
at com.huawei.hms.maps.provider.huawei.e.a(:47579)
at com.huawei.hms.maps.provider.huawei.e$14.b(:1519)
at o.fa$3.run(Unknown Source:0)
at android.os.Handler.handleCallback(Handler.java:907)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
Note: crash can be reproduced by clicking on other options/buttons from main screen not just "Marker Demo" button

Hello! We can't reproduce this kind of scene now, can you provide the version number of the map sdk you use and the version number of the HMS Core APK, and can you provide the screen recording of the crash, we are not very clear about your steps.
Thank you.

Hi!
HMS Core version is <IP_ADDRESS>2 (from logs: get athUrl success.athUrl is https://map-dre.platform.hicloud.com/map/v2/license/authenticate?clientVersion=50000302)
The app I'm testing is the Demo app from here so map sdk version is the one specified in gradle (implementation 'com.huawei.hms:maps:<IP_ADDRESS>1')
I've uploaded 2 videos with the crash. In video1 it occurs only the second time I tap on Marker Demo button and rotate screen in video2 it happens from the first time. Reproduction steps: tap and Marker Demo button and simultaneously rotate device screen
video1: https://streamable.com/9tqha6
video2: https://streamable.com/pqx7en

Thank you for your feedback. This issue will be resolved in HMS Core APK 5.0.1, the release time is about Mid-August. And we are looking at your other two issues with the same operations.


HADOOP-18178. Upgrade jackson to 2.13.2 and jackson-databind to 2.13.…

Description of PR
Backport HADOOP-18178 to branch-3.3 to upgrade jackson
How was this patch tested?
No manual testing
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
n/a Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
n/a If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
12m  2s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
shelldocs
0m  0s

Shelldocs was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-3.3 Compile Tests _

+0 :ok:
mvndep
5m  7s

Maven dependency ordering for branch

-1 :x:
mvninstall
36m 17s
/branch-mvninstall-root.txt
root in branch-3.3 failed.

+1 :green_heart:
compile
20m 37s

branch-3.3 passed

+1 :green_heart:
mvnsite
26m 11s

branch-3.3 passed

-1 :x:
javadoc
6m 27s
/branch-javadoc-root.txt
root in branch-3.3 failed.

+1 :green_heart:
shadedclient
30m 56s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 35s

Maven dependency ordering for patch

-1 :x:
mvninstall
24m 31s
/patch-mvninstall-root.txt
root in the patch failed.

+1 :green_heart:
compile
17m 45s

the patch passed

+1 :green_heart:
javac
17m 45s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
20m 55s

the patch passed

+1 :green_heart:
shellcheck
0m  0s

No new issues.

+1 :green_heart:
xml
0m  2s

The patch has no ill-formed XML file.

-1 :x:
javadoc
7m 28s
/patch-javadoc-root.txt
root in the patch failed.

-1 :x:
shadedclient
32m 32s

patch has errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
701m  1s
/patch-unit-root.txt
root in the patch passed.

+1 :green_heart:
asflicense
1m 20s

The patch does not generate ASF License warnings.

932m 45s

Reason
Tests

Failed junit tests
hadoop.yarn.applications.distributedshell.TestDistributedShell

hadoop.hdfs.server.balancer.TestBalancer

hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer

hadoop.hdfs.TestReconstructStripedFileWithRandomECPolicy

hadoop.hdfs.TestRollingUpgrade

hadoop.hdfs.TestReconstructStripedFileWithValidator

hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination

hadoop.hdfs.server.federation.router.TestRouterRpc

hadoop.yarn.sls.appmaster.TestAMSimulator

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4147/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4147

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell xml shellcheck shelldocs

uname
Linux 03a40102482c 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 06:54:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / 65b25b842990fa1af292bd1ae6ff3772258f30a8

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4147/1/testReport/

Max. process+thread count
2302 (vs. ulimit of 5500)

modules
C: hadoop-project . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4147/1/console

versions
git=2.17.1 maven=3.6.0 shellcheck=0.4.6

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

mvninstall is failing. https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4147/1/artifact/out/patch-mvninstall-root.txt
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-banned-dependencies) @ hadoop-client-check-test-invariants ---
[INFO] Adding ignorable dependency: org.apache.hadoop:hadoop-annotations:null
[INFO]   Adding ignore: *
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.BanDuplicateClasses failed with message:
Duplicate classes found:

  Found in:
    org.apache.hadoop:hadoop-client-minicluster:jar:3.3.3-SNAPSHOT:compile
    org.apache.hadoop:hadoop-client-runtime:jar:3.3.3-SNAPSHOT:compile
  Duplicate classes:
    META-INF/versions/9/module-info.class

We need to update the exclusion https://github.com/apache/hadoop/blob/160b6d106d501ee5c8ab1d2a0b3c1975c9a53839/hadoop-client-modules/hadoop-client-runtime/pom.xml#L249 because Jackson databind moved the module-info.class under versions/9 instead of versions/11.
Reference: https://github.com/FasterXML/jackson-bom/pull/47

I'm not sure why the check passed in the PR for trunk: https://github.com/apache/hadoop/pull/4111

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 53s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
shelldocs
0m  0s

Shelldocs was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-3.3 Compile Tests _

+0 :ok:
mvndep
5m  5s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
34m 50s

branch-3.3 passed

+1 :green_heart:
compile
18m  6s

branch-3.3 passed

+1 :green_heart:
mvnsite
25m 21s

branch-3.3 passed

+1 :green_heart:
javadoc
7m 49s

branch-3.3 passed

+1 :green_heart:
shadedclient
32m 31s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 35s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
33m 45s

the patch passed

+1 :green_heart:
compile
17m 47s

the patch passed

+1 :green_heart:
javac
17m 47s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
21m  1s

the patch passed

+1 :green_heart:
shellcheck
0m  0s

No new issues.

+1 :green_heart:
xml
0m  4s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
7m 32s

the patch passed

+1 :green_heart:
shadedclient
32m 13s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
701m  8s
/patch-unit-root.txt
root in the patch passed.

+1 :green_heart:
asflicense
1m 22s

The patch does not generate ASF License warnings.

927m  1s

Reason
Tests

Failed junit tests
hadoop.yarn.applications.distributedshell.TestDistributedShell

hadoop.yarn.server.nodemanager.amrmproxy.TestFederationInterceptor

hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer

hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes

hadoop.hdfs.TestDecommissionWithStriped

hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination

hadoop.hdfs.server.federation.router.TestRouterRpc

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4147/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4147

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell xml shellcheck shelldocs

uname
Linux 7910a8799762 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 06:54:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / 1c026946e3e94ce3f4cdb83a727a78d2c16d2c38

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4147/2/testReport/

Max. process+thread count
2620 (vs. ulimit of 5500)

modules
C: hadoop-project hadoop-client-modules/hadoop-client-runtime hadoop-client-modules/hadoop-client-minicluster . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4147/2/console

versions
git=2.17.1 maven=3.6.0 shellcheck=0.4.6

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Failed tests
Ran successfully in my local
hadoop.yarn.server.nodemanager.amrmproxy.TestFederationInterceptor
hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes
hadoop.hdfs.TestDecommissionWithStriped
Reproduced even without the patch
hadoop.yarn.applications.distributedshell.TestDistributedShell
hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer -> Filed HDFS-16536
hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination
hadoop.hdfs.server.federation.router.TestRouterRpc


CSS Variables have an extra dash

Bug report
Describe the bug
I'm trying to migrate from the latest alpha to the beta at the moment and I was a bit shocked that none of my classes seemed to work. But having a closer look, it seems like the variables are not properly applied because their definitions on :root are wrong;

Note the --colors-black being used but --colors--black being defined.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Check out this https://github.com/rathesDot/rathes.me/pull/352 of my gatsby project and then run yarn develop.
Expected behavior
A clear and concise description of what you expected to happen.
System information

OS: macOS (Latest Update)
Browser (if applies) Edge
Version of Stitches: 0.1.0-canary1
Version of Node.js: 14.11.0

Found the solution thanks to awesome people on Twitter: https://twitter.com/sandro_roth/status/1360646797639704581?s=20

Remove the $ prefix from your tokens (theme) but keep it in your styles when using it.


Order entires alphabetically in package.json

Using npm install --save <new package> will not rewrite the package.json after this.

Obsoleted by #151 (it contained the same change).


Offset when using with UINavigationController

Hi, I'm using MXSegmentedPager inside an UINavigationController. In iOS 8 it works great but in iOS 9 there's a blank offset of 64 at the top, which I think is 20 from the status bar and 44 from the navigation bar. The parallax header wouldn't scroll above that blank space but the segmented controller would.
I was able to fix this bug by adding this lines at the top of your function in MXParallaxHeader.m file:
- (void) setScrollViewContentTopInset:(CGFloat)top {

   if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"9.0")) {
        top = self.height;
    }
   //rest of the code
}

Hi @Elipasousa
By doing this you ignore the previous value of the contentInset.
Have you tried to set your controller's property automaticallyAdjustsScrollViewInsets to NO?

@maxep I know but, in my case, the solution works great for what I need. I did try that but it didn't solve the problem. I put a breakpoint at the beginning of the function and it was being called with 2 values differing from each other by 64. This only happens if the segmented pager is in a navigation controller and running on iOS9. I can provide screenshots if you want.

Code example will tell more than screenshots ;)
I've just made a test example with a navigation controller targeting iOS9 and I'm able to remove the unwanted contentinset just by unchecking "Adjust Scroll View Insets" in storyboard.
Test.zip

I forgot to mention that I'm also using a UITabBarController. You should reproduce my problem like this: put MXSegmentedPager inside a view controller which is one of the children of tab bar controller. The tab bar is inside a navigation controller. The "Adjust Scroll View Insets" property does nothing in this case. I made a very quick demo test with the problem.
test.zip

Oh ok! then you should uncheck the "Adjust Scroll View Insets" from your UITabBarController.

@maxep  thanks a lot for your help, that solved the problem!!

What if we need to set automaticallyAdjustsScrollViewInsets to yes - is there any way to have this adjust the scrollview insets for any pagerview whose view is a scrollview?


spanner: documentation corrections

Closes #2180

Coverage remained the same at 100.0% when pulling a3d4b8ec2d56cb833bdac7e79929a6f7b61727eb on callmehiphop:dg--spanner-docs into 3108fd26a3ebb499795cdc1969c295e3e8d73d52 on GoogleCloudPlatform:master.

Coverage remained the same at 100.0% when pulling bc43bbe378730dd6fc00bc1e175c872e2b51c47f on callmehiphop:dg--spanner-docs into 3108fd26a3ebb499795cdc1969c295e3e8d73d52 on GoogleCloudPlatform:master.


[question] Can I append path to Dest for some subdomains?

I have several subdomains. I want source "host.domain.com/" to point to "http://<IP_ADDRESS>:30546/path". But I have my destination registered as "http://<IP_ADDRESS>:30546/".
Can I somehow tell Fabio to append "/path" to destination when I access "host.domain.com/"? Using tags maybe? I don't know which.
So I actually need an opposite of "strip"

We would also benefit from this feature to help clean up some service domains :D


performance improvement: create only one instance of _Filterer

_Filterer is stateless, so no need to initialize it on every call to filter_applies. It cuts the filtering time by ±30%.

@pcorpet can you please review and merge this PR? it improves performance dramatically.

Thanks for the proposal. Note that the Filterer object was introduced for adding new features (that haven't made it yet to the main branch) and that I'll probably have to roll it back later on. As for now, if you're indeed seeing a +30% for performances, it's certainly worth it.

@pcorpet thanks for merging the PR! I will try to find some time to introduce more performance improvements to the filtering logic, as we have thousands of tests depending on it.


Remove Burton STS as an Alternative Place name

There are 3 places that include Burton in STS. Burton has been entered as an alternative to Burton on Trent.
Can the search links to Burton be moved to Burton on Trent please. Burton can then be removed.
Geoff

Done


pulling 1.8 branch off of master

Why?

@pyronicide because we have not EA/GA'd yet. although is there a magic build that doesn't use everything in master?


doc: parser high level design

add parser high level design.

@liww9806 @hwhenwen
already finish. please review


Add max_heap_size option and related error variant

For your consideration: this PR adds a new max_heap_size option to RuntimeOptions. Merging the provided setting into any existing isolate_options if given.
Using a CancellationToken to sync the termination across both inner and outer runtime, as just terminating the isolate leaves tokio hanging... needed to modify the on_block call to abort its inner future also.
LMK if you think it's useful, or if there's a better way to go about it.

The only issue I see is that more recent versions of deno_cache pin tokio at 1.36.0
If you can use that version this is golden!

Ah yep. Pinned now. Hopefully deno will unpin soon given upstream fix. https://github.com/denoland/deno/pull/24958#issuecomment-2363511261

Seems one of the tests is failing in a very peculiar way

Seems one of the tests is failing in a very peculiar way

Hah yes. I was setting a very small heap (4MB) in the exhaustion test but that's no longer large enough to initialize the runtime with the updated deno deps 😅


Expand build disk

Small fix for image existing, just refuse to overwrite by default
Supports output for GCE and azure images
No external tools required, all done in pure golang!
Autoclean middle image if generating a gce/azure image
Adds new command transform-disk
Transform-disk uses the same code as build-disk
Transform-disk allows to keep the base raw image
Adds some vhd tooling for the build/transform stuff

Signed-off-by: Itxaka<EMAIL_ADDRESS>

second part of the build-disk. This should cover all existing functionality of the raw image stuff well enough to drop the scripts.
As device stuff is a bit different, that is not covered in here and I wonder if it should as the device stuff is more closer to a normal install than to a vanilla/recovery disk image....

Ready to review @mjura @mudler @davidcassany


Prevent crash when we can't write to editor cache or config path

This can happen if users somehow got wrong user permissions assigned to
their Godot cache, config or data paths (e.g. ~/.config/godot).
The error messages should give them a hint as to what the issue may be.
Fixes #33199.
There may be other situations that still lead to a crash, we need to
review all uses of FileAccess::open with FileAccess::WRITE mode to
ensure that proper pointer validation is done.

Cherry-picked for 3.1.2.


docs(aws lambda): add node.js 18.x runtime to what-is-aws-lambda chapter

Add Node.js 18.x runtime to What is AWS Lambda? chapter.

Thanks!


Is GHC and cabal-install now pre-installed on windows images?

Describe the bug
Starting today I see failures like:
Run choco install -y ghc --version 8.6.5
Chocolatey v0.10.15
Installing the following packages:
ghc
By installing you accept licenses for the packages.
A newer version of ghc (v8.10.1) is already installed.
 Use --allow-downgrade or --force to attempt to install older versions, or use side by side to allow multiple versions.

Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - ghc - A newer version of ghc (v8.10.1) is already installed.
 Use --allow-downgrade or --force to attempt to install older versions, or use side by side to allow multiple versions.

Example job: https://github.com/haskell/cabal/runs/696423815
https://github.com/haskell/cabal/pull/6829/checks?check_run_id=696535334

Area for Triage:

Question, Bug, or Feature?:

Virtual environments affected

[ ] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Windows Server 2016 R2
[x] Windows Server 2019

Expected behavior
I think this failure is expected if GHC and cabal-install are pre-installed, but I see no Haskell related changes in Windows images on release page.

Hello @phadej , exactly.
Recently, we have installed ghc and cabal on Windows images in scope of #645 .
We are planning to keep 3 latest ghc versions (the latest one as default) on image and latest cabal version.

@maxim-lobanov It's great to hear that you consider Haskell stuff worth having in the default images.
Yet because there are no indication of GHC / cabal-install in releases or https://github.com/actions/virtual-environments/blob/master/images/win/Windows2019-Readme.md I'm unhappy. Could you priorize the https://github.com/actions/virtual-environments/issues/644 issue. It's not fun to play detective when CI suddenly breaks. Ironically, the cabal-install CI.

Actually, the latest pre-release contains both ghc and cabal in software report: https://github.com/actions/virtual-environments/releases/tag/win19%2F20200517.1
This pre-release will become release as soon as deployment is finished.
Anyway, I agree that current release description is not clear to determine difference between old and new software set. We have the nearest plan to fix it.
I am closing this issue. Feel free to reopen if any questions

I guess I was looking for Haskell, and didn't find it on that page.


Question - disable inclusion of a component's dependencies?

Question: Is it possible to include a component though Rails-Assets while manually disabling the recursive inclusion of its dependencies?
For example, in my Gemfile I currently have:
source 'https://rails-assets.org' do
  gem 'rails-assets-bootstrap-sass'
  gem 'rails-assets-bootstrap-switch'
  ...
end

Which is great, but Bootstrap-Switch has the following dependencies (from bower.json):
  "dependencies": {
    "bootstrap": ">=2.3.2",
    "jquery": ">=1.9.0"
  },

Thus my Gemfile.lock lists rails-assets-bootstrap (3.3.5) as a dependency for Bootstrap-Switch - a dependency that is effectively satisfied by the inclusion of Bootstrap SASS.
It would be ideal to have the option to manually disable the inclusion of unwanted dependencies to mitigate Gemfile.lock sprawl.
I would like to do something along the lines of:
source 'https://rails-assets.org' do
  gem 'rails-assets-bootstrap-sass'
  gem 'rails-assets-bootstrap-switch', require_dependencies: false
  ...
end

thus affording users the ability to thoughtfully exclude redundant dependencies.
If this is an acceptable use case I would be thrilled to open a PR, though I would rather ask before going to the trouble.

Unfortunately it's not possible. Even if we wanted to. It's more like bundler issue than rails-assets.
You can try to request this feature with them (but I bet someone already did it).


Counter seems broken when you visit a community link directly

I've noticed that the counter(the one at the top of the page) appears to be malfunctioning when I visit a community link directly (i.e. without navigating from another page).
For example, if I go straight to Example Channel, the counter doesn't update correctly. This behavior is different from what happens when I navigate to the same community link through other means (e.g. clicking on it from the homepage/searching for it).

And fixed it 😉


Preserve remote kernel connection when using Continue Working On

We gain the ability to preserve uncommitted changes when using Continue Working On--it would also be great to preserve the active kernel connection, which is possible with a remote kernel connection that stays alive and accessible independent of the current workspace location.
Although we can start with unauthenticated kernels for exploration purposes, this likely eventually requires a different auth story than what we have now--since controllers are registered by extensions, and remote kernel connections are generally protected by some kind of auth, we ideally would not want extensions to have to prompt for auth when using Continue Working On as well. The ideal user experience here IMO would be 'once I have authorized an extension in one place that VS Code is installed, signing into VS Code in another location should be sufficient to authorize that extension in that location as well'...cc @tylerleonhardt for that though :)

I'd like to know more about how these kernels are authenticated. I imagine these aren't just using GitHub/Microsoft auth but rather some other mechanism?
I'm trying to find a comparison... maybe a world where you could open a server distro and then Continue Working On via SSH... but that seems contrived.

I can explain how remote jupyter server/connection works now.
Users are able to provide their own Jupyter server localhost:3000?token=123 to Jupyter extension, which Jupyter extension will use to detect kernel specs and connections. To support this scenario in Edit Session, we would only need the Jupyter extension to cache the Jupyter server url as it has the right amount of auth tokens to connect to the server.

It's a bit more complex when the server urls are from a 3rd party extension, e.g., AML. The 3rd party extension is responsible for doing the user authentication, finding all servers avaialable to this user and also preparing right connection to the server. It can still be token based, but it's up to the 3rd party extension. In this scenario, Jupyter extension might only cache the server url, without any auth info. On restart, Jupyter extension will request the 3rd party to do the auth and prepare the connection info for us.

The core/UI remembers which controller is being used in previous session, but it's not responsible for the lifecycle of it, neither how it handles authentication.


No User ID Stamp on Original PDFs

Original PDFs are not currently being stamped with a copyright message and user id, as on the old site:

I did manage to get a preliminary version of the user-id "stamping" of original PDFs done yesterday.  It works, but I had to stamp both the header and footers of the downloads because depending on the journal page size, sometimes the header area (where it was primarily intended) does not show--due to the design of the PDF library I'm using's page area addressing (or my lack of proper understanding of it).  Whereas the footer, which is addressed as in negative Y axis terms, seems more reliable.  What I believe that means (with my limited testing) is basically on smaller reprints they will be "stamped" at the bottom, but on larger reprints will be stamped both at the top and bottom.
I'll go back to this in coming weeks and see if I can address consistency.  As a side note, I looked everywhere for a Python PDF library that would do what we needed, and I ended up needing to use two PDF libraries in tandem.

This is fixed per release 2021.0626/v2.1.27.  Pages are stamped with a copyright notice and the user ID.
HOWEVER: the appended copyright statement we add to generated PDFs and ePubs is not currently working.  Still significantly better than it was, and it may be enough, but leaving it open for now, to try again later.


issue getting gnu_magic to work

Hello,
I have installed the latest versions of jupyter notebook, gnuplot, and metakernel on my system.
I'm attempting to use your gnuplot_kernel with gnuplot magic inside of a Python 3 notebook. I'm not quite sure what the issue is.
I am using your gnuplot-magic.ipynb file as a test-case for this.
The first cell in the notebook with "%load_ext gnuplot_kernel" runs just fine with no error. However, when I attempt to run gnuplot in a cell with %%gnuplot to enable gnuplot magic, I get the following error:

AttributeError                            Traceback (most recent call last)
 in ()
----> 1 get_ipython().magic('gnuplot inline')
/Users/lafosse/anaconda/lib/python3.5/site-packages/IPython/core/interactiveshell.py in magic(self, arg_s)
2156         magic_name, _, magic_arg_s = arg_s.partition(' ')
2157         magic_name = magic_name.lstrip(prefilter.ESC_MAGIC)
-> 2158         return self.run_line_magic(magic_name, magic_arg_s)
2159
2160     #-------------------------------------------------------------------------
/Users/lafosse/anaconda/lib/python3.5/site-packages/IPython/core/interactiveshell.py in run_line_magic(self, magic_name, line)
2077                 kwargs['local_ns'] = sys._getframe(stack_depth).f_locals
2078             with self.builtin_trap:
-> 2079                 result = fn(*args,**kwargs)
2080             return result
2081
/Users/lafosse/anaconda/lib/python3.5/site-packages/gnuplot_kernel/magics/gnuplot_magic.py in gnuplot(line)
119     @register_line_magic
120     def gnuplot(line):
--> 121         magic.line_gnuplot(line)
122
123     del gnuplot
/Users/lafosse/anaconda/lib/python3.5/site-packages/gnuplot_kernel/magics/gnuplot_magic.py in line_gnuplot(self, *args)
63         self.kernel.plot_settings['termspec'] = termspec
64         self.kernel.plot_settings['format'] = format
---> 65         self.kernel.handle_plot_settings()
66
67     def cell_gnuplot(self):
/Users/lafosse/anaconda/lib/python3.5/site-packages/gnuplot_kernel/kernel.py in handle_plot_settings(self)
278
279         cmd = 'set terminal {}'.format(settings['termspec'])
--> 280         super(GnuplotKernel, self).do_execute_direct(cmd)
/Users/lafosse/anaconda/lib/python3.5/site-packages/metakernel/process_metakernel.py in do_execute_direct(self, code, silent)
109         if output:
110             if stream_handler:
--> 111                 stream_handler(output)
112             else:
113                 return TextOutput(output)
/Users/lafosse/anaconda/lib/python3.5/site-packages/metakernel/_metakernel.py in Print(self, *args, **kwargs)
638             'name': 'stdout', 'text': message}
639         self.log.debug('Print: %s' % message)
--> 640         self.send_response(self.iopub_socket, 'stream', stream_content)
641
642     def Write(self, message):
/Users/lafosse/anaconda/lib/python3.5/site-packages/ipykernel/kernelbase.py in send_response(self, stream, msg_or_type, content, ident, buffers, track, header, metadata)
344         """
345         return self.session.send(stream, msg_or_type, content, self._parent_header,
--> 346                                  ident, buffers, track, header, metadata)
347
348     def init_metadata(self, parent):
/Users/lafosse/anaconda/lib/python3.5/site-packages/jupyter_client/session.py in send(self, stream, msg_or_type, content, parent, ident, buffers, track, header, metadata)
682             # use dummy tracker, which will be done immediately
683             tracker = DONE
--> 684             stream.send_multipart(to_send, copy=copy)
685
686         if self.debug:
AttributeError: 'NoneType' object has no attribute 'send_multipart'

I am uncertain of how to go about fixing this issue, any suggestions? I am also running on macOS Sierra. I'm not sure if this is the root of the issue or not.
Thanks!

Thanks for reporting this. It appears to be an issue caused by a recent metakernel upgrade. Specifically version 0.18.0. Meanwhile, you can use pip install metakernel==0.17.4 to get the lastest version of metakernel  that does not break the %%gnuplot magic.