fix meson complaints

meson git master added warnings for the places where unsupported keywords are in use. And we were using them (outrageous, I know!), so here's a PR to remove the warning. Because there's already enough shouting going on in the world, we don't need more from meson.

Care to add valgrind in circle.yml in both fedora and ubuntu setups so that the CI still works???
Thanks :)

done. tests are all happy now

Quick question (merging this anyway), don't we want to trigger the valgrind test in the CI too? Or is tat only doable with actual hardware?

 I'll manually apply it.

For the valgrind test, we'd need a separate command: mesontest --setup=valgrind to be run in the build directory. It does the same as the normal test, so if the normal test works, valgrind should too.


steam ipc log file does not exist

how to solve it?
@tremwil

Please tell me the solution. I really need to solve this problem
@tremwil

You're most likely getting this error because you installed Steam at a custom location. Click on "Config" and edit the file steam IPC log file path to point to your actual Steam install directory.

Closing due to lack of activity.


Did not find video Cooking_cake.mp4

Hi! I am trying to run the demo, but I cannot find the video src/examples/Cooking_cake.mp4. Could you please upload the video?

Since the video is too big to upload, you can download the example movies according to this link.


ElasticsearchIO: Enabling both User/Pass auth and SSL overwrites User/Pass

When using the ElasticsearchIO class in the SDK, if you enable both username and password auth AND SSL, the SSL addition overwrites the username and password credentials as both utilize .setHttpClientConfigCallback()
See: https://github.com/apache/beam/blob/4fb05beb4b1063388432d4a66aa4ea245542cb02/sdks/java/io/elasticsearch/src/main/java/org/apache/beam/sdk/io/elasticsearch/ElasticsearchIO.java#L599
To recreate, set both the user/pw and keystore info for the write/read transform.  Authentication then fails when connecting to an SSL****user/pw auth cluster.
Imported from Jira BEAM-12632. Original Jira may contain additional context.
Reported by: dboshardy.

Fixed by #17297 (duplicate of BEAM-14000)


I took this apart to build Room 10, so I'll be sure to assemble it right side up when the paint is dry.


Added Cookie/Set-Cookie header filter

Description

Motivation and Context

Fixes #705
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.

:+1:

:+1:


[Playground] Setting Basis doesn't work

Report

[x] I have searched existing issues and this is not a duplicate

Issues and Steps to Reproduce
Open the playground and change the Basis value of the first child node to 200.
Expected Behavior
The first node should be rendered with the generated inline style width: 200.
Actual Behavior
The first node is still rendered with the generated inline style width: 100.
Notes
It works as expected in React Native thus I suspected it is a bug of the playground.

We are building a new playground as part of a website migration. I verified that flexBasis works correctly in the latest version. https://yoga-website-next-fbopensource.vercel.app/


Update UI example

The UI examples for many of the sections show very old versions of Android

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

ID: b6deff31-ea26-96a9-b201-b199a5fc4144
Version Independent ID: ea7509c3-2f29-8775-b100-b94594d9f2f8
Content: Android Controls (Widgets) - Xamarin
Content Source: docs/android/user-interface/controls/index.md
Product: xamarin
GitHub Login: @mgmclemore
Microsoft Alias: mamcle

Thanks for reporting this. We strive to keep our documentation as current and relevant as possible. We've added an item to our backlog to address this issue.


kernel: cmake: fix k_sleep compilation error for single thread

Fix k_sleep compilation error: [build] ... syscalls/kernel.h:135: undefined reference to `z_impl_k_sleep', for single thread applications (CONFIG_MULTITHREADING = n).
The shed.c contains source code which must be present also in single thread applications.

That k_sleep() is not usable in a single threaded environment is something that keeps coming up (see PR #63994 as one example), and it is something that will need to get addressed at some point. However, I have reservations about unconditionally including sched.c into the set of kernel files that are always built as I would expect this to drag in a signficant amount of unnecessary code.
Perhaps an alternate k_sleep() that leverages both k_timer and k_cpu_idle() can be created for single threaded systems? This might allow for the system to sleep for the necessary number of ticks without consuming as much power.

That k_sleep() is not usable in a single threaded environment is something that keeps coming up (see PR #63994 as one example), and it is something that will need to get addressed at some point. However, I have reservations about unconditionally including sched.c into the set of kernel files that are always built as I would expect this to drag in a signficant amount of unnecessary code.
Perhaps an alternate k_sleep() that leverages both k_timer and k_cpu_idle() can be created for single threaded systems? This might allow for the system to sleep for the necessary number of ticks without consuming as much power.

It is designed to be usable in one thread applications.
The code is covered by CONFIG_MULTITHREADING, inside current sched.c.

It is designed to be usable in one thread applications.

It builds, but it doesn't actually sleep.  FWIW, it would probably work to stuff an equivalent loop around k_busy_wait() in there.  But that depends on what semantics you're trying to preserve.  If you want to wake up a sleeping thread from an interrupt, there's more work to do, etc...
The root problem here is that CONFIG_MULTITHREADING=n is sort of poorly defined.  We keep hitting questions like this because it's not really clear how these APIs are supposed to work.
But I bet a busy wait would be 80% of the solution.

Regardless, this change is fine with me. But it's likely to have other side effects as a bunch of code in sched.c isn't going to play nicely with CONFIG_MULTITHREADING if called, leading to yet more "xxx doesn't work in my bootloader" bugs. Might be better to solve this with inline code in a header instead.

If it works like busy-wait it is better than not being compiled at all.
It can be improved later.

To be clear, it doesn't spin currently, that was a suggestion.  It just returns synchronously in the current tree.  See: https://github.com/zephyrproject-rtos/zephyr/blob/main/kernel/sched.c#L1528


feat: check that JAVA_HOME is set and that we have read rights

This solves https://github.com/flix/vscode-flix/issues/221
When testing this I experienced that the JAVA_HOME path I found had some additional characters like \r and \n. When checking that the folder was readable, I had to remove these for fs.access to find the folder. However, I don't know how to check if this also works on Linux/mac, of if the environment variables are different.
If you have the time @magnus-madsen, perhaps you can test if the extensions start as usual on your system before merging this?

Actually I had something much simpler in mind.
If you are able to run java then most likely JAVA_HOME is correct set.
What I wanted was to check something like:
https://code.visualstudio.com/api/references/vscode-api#EnvironmentVariableCollection

Hmm okay. Maybe we should simply not check for this.
Let me think and get back to you :)

I found a NPM package made for finding JAVA_HOME: https://www.npmjs.com/package/find-java-home
I still need to test this without my JAVA_HOME set, to make sure the output goes through the if statement:
if (typeof home != "string" || String(home).length <= 6) {
        sendNotification(jobs.Request.internalError, 'No JAVA_HOME environment variable was found')
        return
    }


TypeError: params.context.succeed is not a function

I am working on a custom lambda runtime layer for node 6.10.3 and testing it against one of my app that uses aws-serverless-express 3.3.6 (I was using 3.1.3 and just upgraded to see if it would fix anything, but no luck there)
Here is the exception on AWS Lambda:
/var/task/node_modules/aws-serverless-express/src/index.js:243
      if (params.resolutionMode === 'CONTEXT_SUCCEED') return params.context.succeed(params2.response)
                                                                             ^
TypeError: params.context.succeed is not a function
    at Object.succeed (/var/task/node_modules/aws-serverless-express/src/index.js:243:78)
    at IncomingMessage.response.on.on (/var/task/node_modules/aws-serverless-express/src/index.js:105:16)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Here is my implementation:
src/functions/server/server.js > this is my Lambda handler handler: src/functions/server/server.handler
import es from 'aws-serverless-express';

import { failure } from '../../utils/browserResponse';

const server = es.createServer(require('./app'));

export async function handler(event, context, callback) {
  try {
    return es.proxy(server, event, context);
  } catch (e) {
    callback(null, await failure({ status: false }, e));
  }
}

src/functions/server/app.js (simplified)
import express from 'express';
import next from 'next';
import proxy from 'express-http-proxy';
import RequestProxy from 'http-proxy';
import bodyParser from 'body-parser';
import awsServerlessExpressMiddleware from 'aws-serverless-express/middleware';

/*
  Middlewares
 */

/**
 * Allow access from lambda to API Gateway event
 * See https://github.com/awslabs/aws-serverless-express#getting-the-api-gateway-event-object
 */
app.use(awsServerlessExpressMiddleware.eventContext());

/**
 * Parses json and only looks at requests where the Content-Type header matches the type option.
 * https://www.npmjs.com/package/body-parser#bodyparserjsonoptions
 */
app.use(bodyParser.json());

app.get('/status', (req, res) => {
  try {
    res.status(200).json({
      status: 'running',
      infrastructure: process.env.IS_OFFLINE ? 'localhost' : 'aws',
      node_env: process.env.NODE_ENV,
      env: process.env.ENV,
      serverTime: moment().format('YYYY-MM-DD HH:mm:ss'),
      timeISO: moment().toISOString(),
      version: process.versions,
      ...getHeadersUsefulData(req.apiGateway.event),
    }, null, 2);
  } catch (e) {
    console.error(e);
  }
});

module.exports = app;

It looks like it's somehow calling a non-existing function that is deprecated. I don't quite understand what's the issue at hand here nor how to resolve it. It looks like there is a way to use the callback way instead of the context.succeed but I haven't found how.
Here is my custom runtime ARN if that helps: https://github.com/UnlyEd/aws-lambda-node-runtime-v6.10.3

As far as I understand, the error comes from this particular line
https://github.com/awslabs/aws-serverless-express/blob/86c0c58009f26b57f319d9d5089fd1a1cf86ce06/src/index.js#L200
Since I'm using the following: return es.proxy(server, event, context); it automatically selects the CONTEXT_SUCCEED resolution mode, which seems to fail on my runtime for some reason.

I'm not too familiar with creating custom runtimes, but it sounds like you're missing a succeed method on context (which I assume you define as part of your runtime). Also, you can specify the resolutionMode https://github.com/awslabs/aws-serverless-express/blob/master/__tests__/integration.js#L217-L220

I have no idea what the context refers to, I assumed it's something related to node itself?
Indeed it looks like I can override the resolutionMode... I thought it was hardcoded line 200.

Thanks @brettstack, I changed my implementation to the following
export async function handler(event, context, callback) {
  try {
    return es.proxy(server, event, context, 'CALLBACK', callback);
  } catch (e) {
    callback(null, await failure({ status: false }, e));
  }
}

And it worked! :)


Avoid division by zero in hybrid point encoding

In hybrid and compressed point encodings, the form octet contains a bit
of information allowing to calculate y from x.  For a point on a binary
curve, this bit is zero if x is zero, otherwise it must match the
rightmost bit of of the field element y / x.  The existing code only
considers the second possibility. It could thus incorrecly fail with a
division by zero error as found by Guido Vranken's cryptofuzz.
This commit adds a few explanatory comments to oct2point. The only
actual code change is in the last hunk which adds a BN_is_zero(x)
check to avoid the division by zero.
Checklist

[x] tests are added or updated

As mentioned in #15021, I am going to sign the CLA.

Waiting for the CLA to be signed.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Have you submitted the CLA already?

This will need make update after rebasing before merge as it touches FIPS module sources.

@t8m No, not yet. As mentioned in the linked issue, it might take a week
or two before I get access to a printer or scanner. I'll do it as soon
as I can.
Do I need to do 'make update' or is this something the person who merges
will do?

This will need make update after rebasing before merge as it touches FIPS module sources.

@t8m Does this mean that we need to rescope what is considered beta1 blocker?
Up till now this sounded like a bug fix, so something that could be fixed even during the beta period (and back ported to 1.1.1).
Does the new FIPS source checking mechanism change this?

Does the new FIPS source checking mechanism change this?

I do not think so. We never said that post beta1 no FIPS relevant source changes are allowed. I suppose we might want to restrict changes to them some time later during the beta cycle but it should be definitely allowed for some while after beta1.

Do I need to do 'make update' or is this something the person who merges will do?

I think it can be done by the person who merges but of course feel free to do it yourself if you want. It should also fix the check_update test failure.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

@botovq I will deal with the make update to update the FIPS checksum during merge, as soon as the other tests are finished.

Merged to master with:

56f0237938 Avoid division by zero in hybrid point encoding
e70abb8b4c Test oct2point for hybrid point encoding of (0, y)
f0f4a46c4f FIPS checksums update

Thanks @botovq for the contribution and @guidovranken for raising the issue!

@botovq I tried force pushing to your branch to see if GitHub would recognize the PR as merged rather than closed.
Unfortunately I pushed to master first, so the test was not conclusive.
Sorry for the noise!


New version: zkSNACKs.WasabiWallet version <IP_ADDRESS>

Created by 🥟 Dumplings in workflow run #2722.
Logs
Updated: <IP_ADDRESS> → <IP_ADDRESS>
Cannot validate argument on parameter 'ChatID'. The argument is null, empty, or consists of only white-space characters. Provide an argument that contains non white-space characters, and then try the command again.
Submitting WinGet manifests
Cannot validate argument on parameter 'ChatID'. The argument is null, empty, or consists of only white-space characters. Provide an argument that contains non white-space characters, and then try the command again.

Microsoft Reviewers: Open in CodeFlow

https://github.com/microsoft/winget-pkgs/issues/142854


POST request json bodies aren't sent

Describe the bug
The POST request body (from the built-in JSON editor) does not seem to reach the recipient.
To Reproduce
Steps to reproduce the behavior:

Create a test server (like this in express)
Send a request to the server in postwoman with some JSON
We get '{}' as the POST body printed on the server side

Expected behavior
Well, the server should display the correct body

Can you submit a screenshot of console?

chuckle i'm in danger

@liyasthomas I can take a look into this.

@SimplyComplexable feel free to do so 😊

Oops, sorry, it was a thing with body-parser and Content-Type definitions :sweat:
Closing the issue, sorry guys :sweat_smile:


flutter upgrade

Steps to reproduce
flutter upgrade
Actual results
Downloading Darwin arm64 Dart SDK from Flutter engine 55eae6864b296dd9f43b2cc7577ec256e5c32a8d...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   193  100   193    0     0    345      0 --:--:-- --:--:-- --:--:--   344
[/Library/flutter/bin/cache/dart-sdk-darwin-arm64.zip]
End-of-central-directory signature not found.  Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.  In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /Library/flutter/bin/cache/dart-sdk-darwin-arm64.zip or
/Library/flutter/bin/cache/dart-sdk-darwin-arm64.zip.zip, and cannot find /Library/flutter/bin/cache/dart-sdk-darwin-arm64.zip.ZIP, period.
Logs
Downloading Darwin arm64 Dart SDK from Flutter engine 55eae6864b296dd9f43b2cc7577ec256e5c32a8d...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   193  100   193    0     0    306      0 --:--:-- --:--:-- --:--:--   306
[/Library/flutter/bin/cache/dart-sdk-darwin-arm64.zip]
End-of-central-directory signature not found.  Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.  In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /Library/flutter/bin/cache/dart-sdk-darwin-arm64.zip or
/Library/flutter/bin/cache/dart-sdk-darwin-arm64.zip.zip, and cannot find /Library/flutter/bin/cache/dart-sdk-darwin-arm64.zip.ZIP, period.
Flutter Doctor output
markburt@MarkBurtdeMacBook-Pro ~ % flutter doctor -v
Downloading Darwin arm64 Dart SDK from Flutter engine 55eae6864b296dd9f43b2cc7577ec256e5c32a8d...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   193  100   193    0     0    306      0 --:--:-- --:--:-- --:--:--   306
[/Library/flutter/bin/cache/dart-sdk-darwin-arm64.zip]
End-of-central-directory signature not found.  Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.  In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /Library/flutter/bin/cache/dart-sdk-darwin-arm64.zip or
/Library/flutter/bin/cache/dart-sdk-darwin-arm64.zip.zip, and cannot find /Library/flutter/bin/cache/dart-sdk-darwin-arm64.zip.ZIP, period.

Hi @MarkBurt
I see this issue could be caused by some reasons. For instances:

Due to environment variable settings: https://github.com/flutter/flutter/issues/54175#issuecomment-610213239
Due to the downloaded file was incomplete: https://github.com/flutter/flutter/issues/99890#issuecomment-1068623077

So, I would suggest you check those comments to see if they work for you. Also, there's a similar open issue describing your case https://github.com/flutter/flutter/issues/66243.


Added a temporary solution to support .NET 5

Added a temporary solution to support .NET 5. Relevant until the following issues are NOT resolved:
https://github.com/dotnet/runtime/issues/46469
https://github.com/fpanaccia/Wkhtmltopdf.NetCore.Example/issues/14
The solution is to create an intermediate temporary file (to be deleted after work).
// Thanks to @schallb and others for the analysis of the problem.

I've implemented a single lib for .net standard, .net core 3.1, net 5, net 6, net 7. It's also on the latest nuget package in beta.


Using oro_entity_changeset in a transition form

In my case (some details on which are found here) I have a transition form which uses a datagrid and oro_entity_changeset to record some selections related to the transition and apply them as part of the actual transition.
This all works very well, except in one case: failed transition form validation. In that case I run up against a bug in ChangeEditableCellListener: it's init method it captures a reference to the DOM element of the hidden form element it's bound to:
        initialize: function(options) {
            if (!_.has(options, 'selector')) {
                throw new Error('Parameter selector is not specified');
            }
            this.$selector = $(options.selector);

https://github.com/orocrm/platform/blob/40d95cbf7dadc6549a02da6eafd0ae1b64af7217/src/Oro/Bundle/DataGridBundle/Resources/public/js/datagrid/listener/change-editable-cell-listener.js#L28
This works fine as long as the form DOM doesn't change.  However, when a transition form is submitted and fails validation an entirely new form DOM is returned by the XHR and it's substituted into the page in place of the old form.
Since ChangeEditableCellListener holds a direct DOM reference to the form element, changes made to the datagrid selections don't propagate into the transition form on subsequent attempts.
The simplest fix is to to update ChangeEditableCellListener to not hold a reference and instead query the DOM using the selector each time it needs to grab the hidden field:
diff --git a/src/Oro/Bundle/DataGridBundle/Resources/public/js/datagrid/listener/change-editable-cell-listener.js b/src/Oro/Bundle/DataGridBundle/Resources/public/js/datagrid/listener/change-editable-cell-listener.js
index fa95204..bc98696 100644
--- a/src/Oro/Bundle/DataGridBundle/Resources/public/js/datagrid/listener/change-editable-cell-listener.js
+++ b/src/Oro/Bundle/DataGridBundle/Resources/public/js/datagrid/listener/change-editable-cell-listener.js
@@ -15,7 +15,7 @@ define([
      */
     ChangeEditableCellListener = AbstractGridChangeListener.extend({

-        /** @param {Object} */
+        /** @param string */
         $selector: null,

         /**
@@ -25,9 +25,9 @@ define([
             if (!_.has(options, 'selector')) {
                 throw new Error('Parameter selector is not specified');
             }
-            this.$selector = $(options.selector);
+            this.$selector = options.selector;

-            if (!this.$selector.length) {
+            if (!$(this.$selector).length) {
                 throw new Error('DOM element for selector not found');
             }

@@ -100,7 +100,7 @@ define([
          * @inheritDoc
          */
         _synchronizeState: function() {
-            this.$selector.val(JSON.stringify(this.get('changeset')));
+            $(this.$selector).val(JSON.stringify(this.get('changeset')));
         },

         /**
@@ -122,8 +122,9 @@ define([
          */
         _restoreState: function() {
             var changeset = {};
-            if (this.$selector.length) {
-                changeset = this._toObject(this.$selector.val());
+            var selector = $(this.$selector);
+            if (selector.length) {
+                changeset = this._toObject(selector.val());
                 this.set('changeset', changeset);
             }
             if (!_.isEmpty(changeset)) {

I can prepare a PR for this if it's an acceptable solution.

@adamlundrigan yes, a PR will be most welcomed. Thank you!


: Circle's width getting squished when parent not having enough space

Expected Behavior
Circle to always maintain its width and height of 20px.
Current Behavior
Circle is getting squished, meaning it's not maintaining it's width of 20px when it's sharing space with another component (e.g. info).

Possible Solution
adding flex: 0 0 20px
Steps to Reproduce
put a long text info to the alert and and narrow the width of the parent

Fixed in #307


How to migrate the world state when updating a chaincode?

Description

Is there a way to migrate the world state recorded by a chaincode with another chain code? It seems there is no means for a chaincode to access data that belong to a different chaincode ID.
When updating a chaincode and deploy the new version, the new version of the chaincode gets a new chain code ID. Therefore, above limitation makes it impractical to manage data on Hyperledger in real business, because data has longer life time than chain code (i.e., chain code could be updated to fix bugs, add new features, etc.)
Describe How to Reproduce

Deploy a chain code.
Put state from chain code to store some data.
Update the source code of the chain code, and deploy it. (Assuming it gets new chain code ID)
Try to read the data that was stored in Step 2.

I think there was an update feature in the works. @muralisrini
However, you could also implement "migrate" transactions, which takes a target chaincode id.  This migrate "out" on the old chaincode will collect all worldstate and invokes the migrate "in" transaction on the new chaincode.  This way you can transfer all worldstate.  (Very inefficient though)

@corecode Right, we can implement a kind of "export" and "import" as workaround. But as you pointed out, it will be very inefficient. I think it will be more efficient if we have "update" as part of the core functionalities.

@sachikoy Upgrade and Terminate are good features to have and hopefully will be a detailed proposed at some point not too far out.

I would very much like to be able to "take over" an active database with a new contract version, as I described in #1217

This characteristic is indispensable for a production environment. We need something like chaincode versions/updates or chaincode annex retaining all transactions, worldstate, etc. and the capacity to auditing source code in every update deployment, chaining versions :)

Hi , we have multiple projects with stakeholders requesting for this capability; basically a feature/function when chaincode is updated that the data previously written would not be stuck in the older chaincode container. Are there any plans for this feature?


[SSP]Returning tenantId of buckets when listing out the buckets

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind new feature
/kind bug fix
/kind cleanup
/kind revert change
/kind design
/kind documentation

kind enhancement
What this PR does / why we need it:
This PR is required to give tenantId of each buckets when listing down the buckets
To implement the usecase that When Admin is trying to list buckets buckets created by buckets should only have operations
Non-admin user created buckets should only be in read mode
Which issue(s) this PR fixes:

Fixes #1297 (bucket visibility of admin)
Test Report Added?:

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

kind TESTED

/kind NOT-TESTED

Test Report:

Now,list buckets is showing tenantID of each bucket:

Special notes for your reviewer:

LGTM

@anvithks OwnerID here is used in the sense who requested for list buckets and each tenantId is who created the bucket

@anvithks OwnerID here is used in the sense who requested for list buckets and each tenantId is who created the bucket

@vineela1999 Owner in response to a GET buckets call will mean the owner of the bucket.
In the current API it refers to the owner of the bucket as the API does not return the ownerID per bucket but for all buckets.


Pilot fails after successful upload: "Could not set changelog"

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
When running pilot to deploy build to TestFlight, archive and upload succeeds. Pilot then however fails similarly as in #9127 because of error:
[00:25:50]: Could not set changelog:

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 403 </title>

HTTP ERROR: 403

Problem accessing /v2/providers/118335929/apps/redacted/builds/22699186. Reason:

    Forbidden

Powered by Jetty://

Complete output when running fastlane, including the stack trace and command used
Running with gitlab-ci-multi-runner 9.4.2 (6d06f2e)
  on Mac Mini Build Server (d72e613a)
Using Shell executor...
Running on BuildServer.local...
Fetching changes...
Removing Podfile.lock
Removing Podfile.md5
Removing Pods/
Removing fastlane/report.xml
Removing test_output/
HEAD is now at 9d834ee Updated Fastlane config.
Checking out 9d834ee2 as master...
Skipping Git submodules setup
Checking cache for default...
Successfully extracted cache
Downloading artifacts for Lint Swift (29712769)...
Downloading artifacts from coordinator... ok        id=29712769 responseStatus=200 OK token=zt_efkgv
Downloading artifacts for Unit Tests (29712775)...

• Commented out test which sets up reminders.
• Version bump to 1.3.1
• Corrected keychain locking.
• Fixed linter.
• Updated pre- and post- script.
• Update code signing.
• Updated signing.
• Removed test boilerplates and boilerplate classes.
• zajeti draweru na teplotach

[23:52:32]: ------------------------
[23:52:32]: --- Step: testflight ---
[23:52:32]: ------------------------
[23:52:33]: Login to iTunes Connect<EMAIL_ADDRESS>[23:52:37]: Login successful
[23:52:37]: Ready to upload new build to TestFlight (App: redacted)...
[23:52:43]: Going to upload updated app to iTunes Connect
[23:52:43]: This might take a few minutes. Please don't interrupt the script.
[23:56:48]: iTunes Transporter successfully finished its job
[23:56:48]: --------------------------------------------------------------------
[23:56:48]: Successfully uploaded package to iTunes Connect. It might take a few minutes until it's visible online.
[23:56:48]: --------------------------------------------------------------------
[23:56:48]: Successfully uploaded the new binary to iTunes Connect
[23:56:48]: If you want to skip waiting for the processing to be finished, use the `skip_waiting_for_build_processing` option
[23:56:58]: Waiting for iTunes Connect to finish processing the new build (1.3.1 - 10993826)
[23:57:29]: Waiting for iTunes Connect to finish processing the new build (1.3.1 - 10993826)
[23:57:59]: Waiting for iTunes Connect to finish processing the new build (1.3.1 - 10993826)
[23:58:30]: Waiting for iTunes Connect to finish processing the new build (1.3.1 - 10993826)
[23:59:01]: Waiting for iTunes Connect to finish processing the new build (1.3.1 - 10993826)
[23:59:32]: Waiting for iTunes Connect to finish processing the new build (1.3.1 - 10993826)
[00:00:02]: Waiting for iTunes Connect to finish processing the new build (1.3.1 - 10993826)
[00:00:33]: Waiting for iTunes Connect to finish processing the new build (1.3.1 - 10993826)
[00:01:04]: Waiting for iTunes Connect to finish processing the new build (1.3.1 - 10993826)
[00:01:35]: Waiting for iTunes Connect to finish processing the new build (1.3.1 - 10993826)
[00:02:06]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:02:37]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:03:08]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:03:39]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:04:10]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:04:40]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:05:11]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:05:42]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:06:14]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:06:44]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:07:15]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:07:46]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:08:17]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:08:48]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:09:19]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:09:50]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:10:20]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:10:52]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:11:22]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:11:53]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:12:24]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:12:55]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:13:27]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:13:58]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:14:29]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:15:00]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:15:31]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:16:02]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:16:33]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:17:04]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:17:35]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:18:05]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:18:36]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:19:07]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:19:38]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:20:09]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:20:40]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:21:10]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:21:41]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:22:12]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:22:43]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:23:15]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:23:46]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:24:16]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:24:47]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:25:18]: Build doesn't show up in the build list anymore, waiting for it to appear again
[00:25:49]: Successfully finished processing the build 1.3.1 - 10993826
+--------------------+-------------------------------------------------------------------------------------------------+
|                                                     Lane Context                                                     |
+--------------------+-------------------------------------------------------------------------------------------------+
| DEFAULT_PLATFORM   | ios                                                                                |
| PLATFORM_NAME      | ios                                                                                |
| LANE_NAME          | ios beta                                                                                |
| BUILD_NUMBER       | 10993826                                                                                |
| IPA_OUTPUT_PATH    | /Users/gitlab/builds/d72e613a/0/redacted-app/redacted-ios/build_output/redacted.ipa                |
| DSYM_OUTPUT_PATH   | /Users/gitlab/builds/d72e613a/0/redacted-app/redacted-ios/build_output/redacted.app.dSYM.zip       |
| XCODEBUILD_ARCHIVE | /Users/gitlab/Library/Developer/Xcode/Archives/2017-08-18/redacted 2017-08-18 23.40.43.xcarchive |
| FL_CHANGELOG       | • Updated Fastlane config.                                                                      |
|                    | • Commented out test which sets up reminders.                                                   |
|                    | • Version bump to 1.3.1                                                                         |
|                    | • Corrected keychain locking.                                                                   |
|                    | • Fixed linter.                                                                                |
|                    | • Updated pre- and post- script.                                                                |
|                    | • Update code signing.                                                                          |
|                    | • Updated signing.                                                                              |
|                    | • Removed test boilerplates and boilerplate classes.                                            |
|                    | • zajeti draweru na teplotach                                                                   |
+--------------------+-------------------------------------------------------------------------------------------------+
[00:25:50]: Could not set changelog:

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 403 </title>

HTTP ERROR: 403

Problem accessing /v2/providers/118335929/apps/redacted/builds/22699186. Reason:

    Forbidden

Powered by Jetty://

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | increment_build_number              | 2           |
| 4    | gym                                 | 711         |
| 5    | changelog_from_git_commits          | 1           |
| 💥   | testflight                          | 1997        |
+------+-------------------------------------+-------------+

[00:25:50]: fastlane finished with errors

[!] Could not set changelog:

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 403 </title>

HTTP ERROR: 403

Problem accessing /v2/providers/118335929/apps/redacted/builds/22699186. Reason:

    Forbidden

Powered by Jetty://

Running after script...
$ ./kill_simulator.sh
Closing any open instances of the iphone simulator...
No matching processes belonging to you were found
$ security lock-keychain $CI_KEYCHAIN_URL
ERROR: Job failed: exit status 1

Environment
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.6

Ruby
2.0.0

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib

OpenSSL Version
OpenSSL 0.9.8zc 19 Mar 2015

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.3

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
fastlane_version "2.44.0"
default_platform :ios

platform :ios do
  desc "Lints all the files"
  lane :lint do
    swiftlint(
      output_file: "swiftlint.result.html",
      reporter: "html",
      config_file: ".swiftlint.yml"
    )
  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Deploy a new version to TestFlight"
  lane :beta do
    increment_build_number(
      build_number: ENV['CI_PIPELINE_ID']
    )
    gym
    changelog_from_git_commits(
      commits_count: 10,
      pretty: '• %s',
      merge_commit_filtering: 'exclude_merges'
    )
    testflight(
      distribute_external: true
    )
  end

  after_all do |lane|
    # This block is called, only if the executed lane was successful
  end

  error do |lane, exception|
    # Report error?
  end
end

`./fastlane/Appfile`
app_identifier "redacted"          # The bundle identifier of your app
apple_id "redacted"               # Your Apple email address
apple_dev_portal_id "redacted"    # Apple Developer Account
itunes_connect_id "redacted"      # iTunes Connect Account

team_id "redacted"                      # Developer Portal Team ID

fastlane gems

Gem
Version
Update-Status

fastlane
2.53.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

plist
3.3.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.58.0

faraday
0.13.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

uber
0.1.0

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.1

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.2

jwt
1.5.6

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.3

httpclient
2.8.3

google-api-client
0.12.0

json
1.7.7

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

bundler
1.15.3

faraday_middleware
0.12.2

generated on: 2017-08-19

@fastlane-bot Nice. This one however has nothing to do with code signing. It's more likely that there is some quirk in iTunesConnect that spaceship is not compatible with.

It looks like there over 30 minutes between logging in and setting the change log. 403 is usually an expired session. Does this happen consistently?
Is there an easy way we can repro this?
just thinking outloud: I bet we could detect this error and then try to re-login and re-execute the last thing that caused a 403

@taquitos Yes, afaik. It happened 5 times out of 5 attempts.
To reproduce, try throttling your outbound connection or upload extremely large package (our .ipa has ~150 MB).
By the way, is there a way to attempt force the reauthorization, so we can see íwhether it was the culprit?

I think you could probably call Spaceship directly, but I've never tried it in a fastfile
spaceship = Spaceship::Tunes.login
spaceship.select_team

@taquitos I'm not sure I know where to put this. When I execute it before calling Pilot, it does not change anything because Pilot calls it as well. When I execute it after calling Pilot, it's too late because the operation has already failed. Any suggestions?

My bad, you're right. Maybe fastlane should re-authorize (if it doesn't).

Same here, it's throws a 403 Forbidden
[!] Could not set changelog:

<meta http-equiv=“Content-Type” content=“text/html;charset=ISO-8859-1"/>
<title>Error 403 </title>

HTTP ERROR: 403

Problem accessing /v2/providers/283519/apps/325813155/builds/22925468. Reason:

    Forbidden

Powered by Jetty://

We are waiting a fix for this.
Thanks fastlane team!

We are also getting this error consistently

Is there any plan to fix this?

Hey everyone, just want to make sure that we are all talking about the same issue here, @Sulfkain and @twobitlabs would you both mind sharing the output of your fastlane execution? I just want to see if it is the same thing that @petrmanek is seeing where there is a long time elapsed between the upload and the setting of the changelog. Thanks!! 🐙

Hi @ohayon, I have tried again an upload and the what_new was changed correctly without any error.
This is the output, Which is the "death time" elapsed between upload and setting the changelog?
Maybe this time, the app uploaded faster?
[12:36:42]: If you want to skip waiting for the processing to be finished, use the `skip_waiting_for_build_processing` option
[12:36:52]: Waiting for iTunes Connect to finish processing the new build (6.1.0 - 2)
[12:37:24]: Waiting for iTunes Connect to finish processing the new build (6.1.0 - 2)
[12:37:55]: Waiting for iTunes Connect to finish processing the new build (6.1.0 - 2)
[12:38:26]: Waiting for iTunes Connect to finish processing the new build (6.1.0 - 2)
[12:38:57]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:39:28]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:39:59]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:40:30]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:41:01]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:41:31]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:42:03]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:42:34]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:43:05]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:43:36]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:44:07]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:44:38]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:45:09]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:45:41]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:46:11]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:46:42]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:47:14]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:47:44]: Build doesn't show up in the build list anymore, waiting for it to appear again
[12:48:16]: Successfully finished processing the build 6.1.0 - 2
[12:48:19]: Successfully set the changelog for build

Hmm thats entirely possible. It also looks like there have been a few outages in the iTC API over the past few days so its also possible something was happening on their end too? Let's wait until everyone has confirmed that they are successful before closing the issue. Thanks for reporting back @Sulfkain !! 🚀

We're still reliably getting it on one of our projects (but not on the other project):
[12:59:52]: Login successful [12:59:53]: Ready to upload new build to TestFlight (App:<PHONE_NUMBER>)... [12:59:54]: Going to upload updated app to iTunes Connect [12:59:54]: This might take a few minutes. Please don't interrupt the script. [13:03:55]: iTunes Transporter successfully finished its job [13:03:56]: --------------------------------------------------------------------------------------------------------------- [13:03:56]: --- Successfully uploaded package to iTunes Connect. It might take a few minutes until it's visible online. --- [13:03:56]: --------------------------------------------------------------------------------------------------------------- [13:03:56]: Successfully uploaded the new binary to iTunes Connect [13:03:56]: If you want to skip waiting for the processing to be finished, use theskip_waiting_for_build_processing` option
[13:04:05]: Waiting for iTunes Connect to finish processing the new build (2.1.4 - 311)
[13:04:36]: Waiting for iTunes Connect to finish processing the new build (2.1.4 - 311)
[13:05:08]: Waiting for iTunes Connect to finish processing the new build (2.1.4 - 311)
[13:05:39]: Waiting for iTunes Connect to finish processing the new build (2.1.4 - 311)
[13:06:10]: Waiting for iTunes Connect to finish processing the new build (2.1.4 - 311)
[13:06:42]: Waiting for iTunes Connect to finish processing the new build (2.1.4 - 311)
[13:07:13]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:07:45]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:08:16]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:08:48]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:09:19]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:09:51]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:10:22]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:10:54]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:11:26]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:11:57]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:12:28]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:13:00]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:13:31]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:14:03]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:14:34]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:15:05]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:15:38]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:16:09]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:16:40]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:17:11]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:17:41]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:18:12]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:18:44]: Build doesn't show up in the build list anymore, waiting for it to appear again
[13:19:14]: Successfully finished processing the build 2.1.4 - 311
+-----------------------------+--------------------------------------------------------------------+
|                                           Lane Context                                           |
+-----------------------------+--------------------------------------------------------------------+
| DEFAULT_PLATFORM            | ios                                                                |
| PLATFORM_NAME               | ios                                                                |
| LANE_NAME                   | ios dev                                                            |
| GIT_REPO_WAS_CLEAN_ON_START | true                                                               |
| BUILD_NUMBER                | 311                                                                |
| IPA_OUTPUT_PATH             | /Users/thuss/src/ios/mend/Mend/Development.ipa                     |
| DSYM_OUTPUT_PATH            | /Users/thuss/src/ios/mend/Mend/Development.app.dSYM.zip            |
| XCODEBUILD_ARCHIVE          | /Users/thuss/Library/Developer/Xcode/Archives/2017-08-31/Developm  |
|                             | ent 2017-08-31 12.57.51.xcarchive                                  |
+-----------------------------+--------------------------------------------------------------------+
[13:19:15]: Could not set changelog:

Error 403

HTTP ERROR: 403
Problem accessing /v2/providers/118077326/apps/1200115798/builds/23049408. Reason:
    Forbidden
Powered by Jetty://

`

Interesting. We are uploading builds to TestFlight every second night at 4am CET. This is still happening consistently for us.

One thing to note is that the project that fails is owned by another developer account and we've been added to their team. On the projects that succeed, we're logging into the account that owns the app. Are others on this thread in the same position? I feel like it's caused permissions problems for us in the past.

That might be it. Our CI account does not own the app in ITC. It was merely granted Developer role and restricted to only access the app in question. We will try to expand its permissions for tonights's build and get back to you tomorrow.

So far, there has been no improvement whatsoever. After removing the restriction to only manage specific apps, the CI account in iTC (with Developer role) still consistently fails to set the changelog after uploading new builds with same error as before.
I will attempt to give it Admin permissions but I'm not too confident. In the meantime, is there something else we can do or try?

Have some news. Adding the Admin role to the CI account seems to have made all the difference! Since Admin is equivalent to all the roles available, I will now try incrementally remove the roles one by one and repeat my experiment. Hopefully, I can identify the bare minimum of roles Pilot can work without breakage.

I got the same error and scenario as @petrmanek. I'm surprised the error is about the change log as we don't set the changelog option. @petrmanek do you use this option?

@tschob Yes, we do. Turns out that giving CI iTC account the App Manager role fixes the issue

wow. We are seeing similar error with an little bit different error message.

+------+------------------------+-------------+
|              fastlane summary               |
+------+------------------------+-------------+
| Step | Action                 | Time (in s) |
+------+------------------------+-------------+
| 1    | default_platform       | 0           |
| 2    | ensure_git_status_cle  | 0           |
|      | an                     |             |
| 3    | xcversion              | 2           |
| 4    | cocoapods              | 4           |
| 5    | increment_build_numbe  | 1           |
|      | r                      |             |
| 6    | commit_version_bump    | 0           |
| 7    | clean_build_artifacts  | 0           |
| 8    | clear_derived_data     | 0           |
| 9    | cert                   | 5           |
| 10   | sigh                   | 5           |
| 11   | gym                    | 288         |
| 12   | changelog_from_git_co  | 0           |
|      | mmits                  |             |
| 💥   | pilot                  | 1749        |
+------+------------------------+-------------+

[20:00:59]: fastlane finished with errors
[!] Could not set changelog:

Error 409

HTTP ERROR: 409
Problem accessing /v2/providers/307809/apps/1011970469/builds/23407301. Reason:
    ERROR-1: The phone number is missing.
Powered by Jetty://

The above is the HTML error message. This is using an account setup specifically for the CI server though. I am going to try changing its role and see if this error goes away.

Update: The user does have Admin role already. Still seeing this issue, will try using another user.

Never mind. I am glad I took a look there.
So apparently this is checking on the "Beta Testing" info in TestFlight where I don't have a Phone number filled out. Although I am really only releasing to Internal Testers with the upload.
Seems Apple took down the "What's new" for Internal Testers for a while.

It appears adding the App Manager role has resolved it for us as well


Add a device::handle() function to k4a.hpp

Fixes #748
Description of the changes:

Adds a device::handle() method to the C++ wrapper, allowing access to the underlying k4a_device_t when using the C++ wrapper. This is needed to allow the C++ wrapper and the recording API to work together.
Specifically, k4a_record_create() requests a k4a_device_t handle in second argument.

k4a_record_t recording_handle = nullptr;
k4a_record_create( path, device.handle(), device_configuration, &recording_handle );

Before submitting a Pull Request:

[x] I reviewed CONTRIBUTING.md
[x] I built my changes locally
[x] I ran the unit tests
[x] I ran the functional tests with a device
[x] I ran the performance tests with a device

I tested changes on:

[x] Windows
[ ] Linux

/azp run

@UnaNancyOwen you good with this change?

@wes-b Good! 👍


Comments in flowMapping and flowSequence not correctly attched

a:
  [
    foo,
    # comment
  ]

And
b:
  {
    bar: baz,
    # comment 2
  }

Prettier issue https://github.com/prettier/prettier/issues/8377

👉 https://github.com/ikatyang/yaml-unist-parser/releases/tag/v1.2.0


Add opencl

Hi Nicholas,
I had to make the changes below, to get neuralconvo to run on opencl, for fixing https://github.com/hughperkins/distro-cl/issues/8#issuecomment-240993797
Hugh

@hughperkins Thanks. Sorry for delay. Just finished moving back to Canada :)

Thanks! :-)

(For info, rocks-cl now no longer redirects rnn installation to my rnn fork, and installation of rnn on distro-cl will now come from the main Element-Research/rnn repo again now https://github.com/hughperkins/rocks-cl/commit/9055c7f1d3a6fa9dc79c245ae4789991a7a6ba46 )

Cool thanks!


SyntaxError

Python Shell (Python 3.2.3) on Raspberry Pi (Raspbian) was throwing an error on "import splinter". I suspect two typos.

Splinter supports python 3.4+. So I'm closing this.


fbgemm-gpu isn't officially supported on mac - optional dependency?

Can we make fbgemm-gpu an optional dependency? https://pypi.org/project/fbgemm-gpu/#files It doesn't look like it's supported on a mac https://github.com/pytorch/FBGEMM/issues/1985. This means means the build is broken out of the box. Without it, it looks like we break FP8 quantization.
https://github.com/meta-llama/llama-stack/blob/eb2d8a31a5927589197c794855d7323f8f4700bc/llama_stack/providers/impls/meta_reference/inference/generation.py#L87
They had to make it optional in torchrec too: https://github.com/pytorch/torchrec/issues/1483
ERROR: Could not find a version that satisfies the requirement fbgemm-gpu==0.8.0 (from versions: none)
ERROR: No matching distribution found for fbgemm-gpu==0.8.0
Failed to build target my-local-stack with return code 1

Try using a different inference like Ollama. The current inference is for Cuda based Gpu's only.

Ah, thank you @bhargavyagnik. Will try that!


Test fib heap cut/cascadingCut

Closed in favor of https://github.com/Tyriar/js-fibonacci-heap/issues/1


Fix a bug in FIT test if use -rackhd_host to specify RackHD IP.

Fix a bug in FIT test if use -ora to specify RackHD IP. Now if -ora parameter has IP, it will use this IP instead of stack config file

@nortonluo We have recently enabled the flake8 linter to be run by Hound.  There are 4 Hound violations currently in this PR.   Could you please take a look at these when you get a chance and apply fixes?

This fix is out of date, -ora has been changed to -rackhd_host in fit_common.py.
pull the latest file and see if it still needs the fix.

BUILD RackHD #1415 : FAILURE

** BUILD Install-ESXI-6.0  #418: FAILURE
** BUILD SmokeTest-FIT  #991: FAILURE
** BUILD Install-CentOs-6.5  #976: FAILURE
** BUILD SmokeTest-CIT  #1185: FAILURE
** BUILD Install-Ubuntu-14-04  #954: FAILURE

@hohene Yes, the issue is still there in the latest code. I just rebased my git origin and updated the fix.
@johren I just correct the logic.
Also I found the https auth is not correct. The auth token should be obtained from 8443 port instead of 8080. I included this fix in this PR.

Tested and approved. Thanks!


Add 'org.hiero.gradle.feature.publish-dependency-constraints' convention plugin

This feature allows users to to publish versions constraints for modules that are not direct dependencies. The versions are still defined in the hiero-dependency-versions platform project.
The plugin looks like this:
configurations.create("publishDependencyConstraint") {
    extendsFrom(configurations.internal.get())
    dependencies.all {
        val constraint = this
        project.dependencies.constraints.add("api", incoming.resolutionResult.rootComponent.map {
            (it.dependencies.single {
                it is ResolvedDependencyResult
                    && it.selected.moduleVersion?.group == constraint.group
                    && it.selected.moduleVersion?.name == constraint.name
            } as ResolvedDependencyResult).selected.moduleVersion.toString()
        })
    }
}

Modules using the plugin can then do:
dependencies {
    publishDependencyConstraint("io.grpc:grpc-netty")
    publishDependencyConstraint("io.grpc:grpc-netty-shaded")
    publishDependencyConstraint("io.grpc:grpc-okhttp")
}

This has a similar effect as versionMapping { allVariants { fromResolutionResult() } } already has for dependencies.

Once this is released, use it in https://github.com/hashgraph/hedera-sdk-java
See: https://github.com/hashgraph/hedera-sdk-java/pull/2143


Unable to update version

Version of package is not getting updated. On re-installing new package after removing older one below issue is observed in SharePoint

A different version of this App is already installed with the same version number.  You need to delete the app from the site and the site recycle bin to install this version.

Thanks @bipulraman - Just to confirm, you create a package, deploy it to the app catalog and activate it on your site, then remove the old one from the app catalog and deploy a new one to the app catalog, and you get the error?
Or does the error appear on the actual site where you are using the webpart, where you uninstall it, update the package in the app catalog, then re-install it on the site where you are using it?

I created package, deployed to app catalog, activated it on site. Then removed from site. Re created package after some modification. Re-uploaded in app catalog and error coming on activating.

OK, you can do two things to get around this (it's a known bug from a while ago, and you appear to have not have the fix on your tenant).
1 - bump the version of the package and redeploy.  That value is stored in the package-solution.json file in the config folder
or
2 - Remove the package from the recycle bin AND the 2nd stage recycle bin


Bruno: Add version 0.24.0

Closes #XXXX

Relates to #XXXX

[x] I have read the Contributing Guide.

Closing this PR in favour of https://github.com/ScoopInstaller/Extras/pull/11970 by @Zottelchen !

@Zottelchen I am working on setting up a Github Action in https://github.com/usebruno/bruno/tree/main/.github/workflows that can be run on a release. Do you have any resources or examples that can help ?

@helloanoop I am not sure what Github Action you are refering to. AFAIK scoop does not need an action to run on your end, but I am not a scoop maintainer.


运行 后端项目报错

Bug 描述
go<EMAIL_ADDRESS>Get<EMAIL_ADDRESS>dial tcp <IP_ADDRESS>:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

下载包的时候网络问题...


Updating RbacDropdown to only show tooltip if also disabled

RbacDropdown passes its tooltip prop to AcmDropdown only if its isDisabled prop is set to true. Otherwise it passes undefined as the tooltip.
Signed-off-by: Ella Juengst<EMAIL_ADDRESS>

@KevinFCormier

/lgtm


modifications on all orders view

Expected behavior:
(Describe expected behavior here)
Hi,
I tryed modifing a couple of things on the all orders page so I managed to the following ->
-> display customer adres if order is delivery
however I run into 2 issue's,

I want to make the customeradress clickable so it opens a google maps to the location in a new window (I created the following code for it, but the adress is not properly forwarded also the the adres itself disapears when I change the format in the modal from text to button)

code block of app/admin/models/config/orders_model.php->
 'address' => [
        'label' => 'lang:admin::lang.orders.column_customer_address',
        'type' => 'text',
        'iconCssClass' => 'fas fa-location-arrow',
        'select'=> "concat(address_1, ' ',address_2,' ',city,' ',postcode,' ')",
        'location'=> "concat(address_1,'+',postcode,'+',city)",
        'relation' => 'address',
        'searchable' => TRUE,
        'attributes' => [
            'class' => 'btn btn-outline-success',
            'href' => "https://www.google.com/maps/place/+address.location",
            'target' =>"_blank",
        ],
    ]

with this code it displays the customer address however when I change type to button the text is gone.
also the adres isn't forwarded. i know this isn't a real issue but I would be a great feature if i get it to work.

I am trying to achieve a quick status change in the all orders page just with a simple dropdown menu when you click on a order status. I run into the same issue with the text / button scenario maby you can help me out here.

Version:
V3.0.4-beta23.2
Additional Information:
thanks for the help in advance 👍

there is a formatter attribute which expects a function that receives $record, $column and $value as params, so you can then amend the value... e.g.

'address' => [
    'formatter' => function($record, $column, $value){
        return '';
    }
]

Is more tricky as you would likely need a new widget for it. You could maybe use formatter and StatusEditor (app/admin/formwidgets). It would just take some trial and error.

If this helped can you close off the issue?

If this helped can you close off the issue?

Hi Ryan,
thanks for the update I haven't been able to check it yet.
maby i create something like a dropdown widget not sure.
I will be in touch.

Use issues to report bugs, please start a discussion on the forums or better still search the forums for existing solutions.


Electronic bandstructure of Aluminum example

Summary
This PR is about adding a tutorial notebook on predicting electronic bandstructure of Aluminum metal using Qiskit as described in Ref. Quantum computation for predicting electron and phonon properties of solids.
A previous issue was created https://github.com/Qiskit/qiskit-nature/issues/813
Details and comments
Quantum chemistry is one of the most promising near-term applications of quantum computers. Quantum algorithms such as variational quantum eigen solver (VQE) and variational quantum deflation (VQD) algorithms have been mainly applied for molecular systems and there is a need to implement such methods for periodic solids. Using Wannier tight-binding Hamiltonian (WTBH) approaches, we demonstrate the application of VQE and VQD to accurately predict both electronic and phonon bandstructure properties of several elemental as well as multi-component solid-state materials.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

"That said, if you are interested in (co-)developing a module for Qiskit Nature
for the use WTBH approaches, we would be happy to consider a collaboration
with you on that front."
-Sure, will be happy to.
I am also closing the issue https://github.com/Qiskit/qiskit-nature/issues/813


add image_registry to attributes in README.md

I found that the docs are missing this attribute

Thank you for your contribution. You will need to sign the CLA before this PR can be merged.

Done


NOISSUE - Remove unused Tokenizer interface from User service

Signed-off-by: Ivan Milošević<EMAIL_ADDRESS>

Codecov Report

Merging #1084 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1084   +/-   ##
=======================================
  Coverage   78.01%   78.01%
=======================================
  Files          95       95
  Lines        6672     6672
=======================================
  Hits         5205     5205
  Misses       1157     1157
  Partials      310      310

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 6ffa916...34aa3d0. Read the comment docs.


Download and execute

hello mate this project is fantastic please just add download and execute to it or upload and execute that is all i suggest
thanks for the good work

its to easy bro , but its somehow hard because this will require me open the source from the offline backup 😂😂, but that`s great idea will be added on endless tool update


Remove all generated code and make it be generated by the proccess

closes #6

Had to revert https://github.com/Desdaemon/flutter_rust_bridge_template/commit/c90c47c2b3bf3b322f0f280d75a8b8144f327740
Locked as many packages in place as possible for stability

Dont need this attemp


Work around overview error

Write overviews in single thread to work around gdal #7921.

Codecov Report
Patch coverage: 94.11% and project coverage change: -0.08 :warning:

Comparison is base (7d4608f) 91.21% compared to head (fdfd5ec) 91.14%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
- Coverage   91.21%   91.14%   -0.08%
==========================================
  Files          13       13
  Lines        1583     1569      -14
==========================================
- Hits         1444     1430      -14
  Misses        139      139

Impacted Files
Coverage Δ

geedim/enums.py
100.00% <ø> (ø)

geedim/download.py
88.00% <91.66%> (+0.02%)
:arrow_up:

geedim/tile.py
85.45% <100.00%> (ø)

geedim/utils.py
97.31% <100.00%> (ø)

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

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


deduplicate code

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 6 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.7%) to 82.447%

Totals

Change from base Build<PHONE_NUMBER>:
-0.7%

Covered Lines:
109

Relevant Lines:
120

💛  - Coveralls


Addresses isMounted deprecation

What does this PR do?

addresses isMounted deprecation.
fixes broken simple example - outdated dependencies.

Any background context you want to provide?
Double-check for me that we didn't lose any expected behavior by omitting isMounted(). I think the loaded local state covers the same bases when reseting to false on unmount.
What are the relevant issues (if any)?
Closes #61
Obligatory GIF

v2.4.1 does not contain this PR.
Could you release new version of react-loader?

@Sheile versions 2.4.2 and 2.4.3 have since been released.

Thanks for notice and I'm sorry about my error that is occurred by tag list on Github.
I'll see npm page next time.


DOC: ENH: Add examples to special.ellipe documentation

Show how to use special.ellipe to calculate the
circumference of an ellipse.

Looks good to me too, so merging.


Feedback of Draggable widget does not animate

I face a similar issue to this issue.
The feedback does not animate while dragging. My plan is to make the item scale down in a smooth, animated manner when it is being dragged. Instead, what happens is that the size of the box only changes on each new drag. Meaning during the duration of the animation, when I drag and release, and then drag again, there will be a change in size, but there is no smooth scaling in the size while the item is being dragged. My understanding of this issue is that the change in the values of the tween does not cause a rebuild of the feedback Container widget. By right every change should rebuild the widget.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  MyAppState createState() => MyAppState();
}

class MyAppState extends State<MyApp> {
  @override
  void initState(){
    super.initState();
    SystemChrome.setPreferredOrientations([
        DeviceOrientation.landscapeRight,
        DeviceOrientation.landscapeLeft,
    ]);
  }

  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Container(
          child: DragItem(name: 'Bag'),
        )
      )
    );
  }
}

class DragItem extends StatefulWidget {
  final String name;
  DragItem({Key key, @required this.name}) : super(key: key);

  DragItemState createState() => DragItemState();
}

class DragItemState extends State<DragItem> with SingleTickerProviderStateMixin {
  AnimationController controller;
  Animation<double> animationSize;

  void initState() {
    super.initState();
    controller = AnimationController(duration: Duration(seconds: 1), vsync: this);
    animationSize = Tween<double>(begin: 80.0, end: 70.0).animate(controller)
      ..addListener(() {
        setState(() {

        });
      });
    controller.forward();
  }

  @override
  Widget build(BuildContext context) {
    return Draggable<String>(
      data: widget.name,
      child: Container(
        color: Colors.blue,
        height: 80.0,
        width: 80.0
      ),
      childWhenDragging: Container(),
      feedback: Container(
        color: Colors.blue,
        height: animationSize.value,
        width: animationSize.value,
        margin: EdgeInsets.only(top: 5.0, left: 5.0)
      ),
    );
  }
}

I managed to overcome the smooth animation problem while dragging using AnimationWidget instead of explicit animation which I previously tried to make work. However, there is a bug when holding/dragging the draggable box -- its widget name is AnimatedIcon. Initially it would be at the centre of the screen. When holding/dragging it, the box will teleport to the top-left hand of the screen. When releasing, the box will then return to central position.
Note: As this is in GIF format, it does not appear smooth here.

Here's my code:
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  MyAppState createState() => MyAppState();
}

class MyAppState extends State<MyApp> {
  // This widget is the root of your application.
  @override
  void initState(){
    super.initState();
    SystemChrome.setPreferredOrientations([
        DeviceOrientation.landscapeRight,
        DeviceOrientation.landscapeLeft,
    ]);
  }

  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Container(
          child: Element(name: 'Fire'),
        )
      )
    );
  }
}

class AnimatedIcon extends AnimatedWidget {

  static final sizeTween = Tween<double>(begin: 80.0, end: 200.0);
  static final marginTween = Tween<double>(begin: 0.0, end: 5.0);

  AnimatedIcon({Key key, Animation<double> animation})
      : super(key: key, listenable: animation);

  Widget build(BuildContext context) {
    final animation = listenable as Animation<double>;
    return Center(
      child: Container(
        margin: EdgeInsets.only(top: marginTween.evaluate(animation), left: marginTween.evaluate(animation)),
        height: sizeTween.evaluate(animation),
        width: sizeTween.evaluate(animation),

        color: Colors.blue,
      ),
    );
  }
}

class Element extends StatefulWidget {
  final String name;
  Element({Key key, @required this.name}) : super(key: key);

  ElementState createState() => ElementState();
}

class ElementState extends State<Element> with SingleTickerProviderStateMixin {
  AnimationController controller;
  Animation<double> animation, animationSize;

  void initState() {
    super.initState();
    controller = AnimationController(duration: Duration(milliseconds: 3000), vsync: this);
  }

  @override
  Widget build(BuildContext context) {
    return Draggable<String>(
      data: widget.name,

      child: AnimatedIcon(animation: controller),
      childWhenDragging: Container(),
      onDragStarted: () => {
        setState(() {
          controller.forward();
        })
      },
      feedback: AnimatedIcon(animation: controller),
      onDragEnd: (details) => {
        setState(() {
          controller.reverse();
        })
      },

    );
  }
}

Hi @boiwantlearncode
Can you please provide your flutter doctor -v your flutter run --verbose while using  Draggable widget
Thank you

flutter doctor -v

(base) Isas-MacBook-Air:element_maker isayamin$ flutter doctor -v
[✓] Flutter (Channel stable, 1.20.1, on Mac OS X 10.15.4 19E266, locale en-SG)
    • Flutter version 1.20.1 at /Users/isayamin/desktop/flutter
    • Framework revision 2ae34518b8 (12 days ago), 2020-08-05 19:53:19 -0700
    • Engine revision c8e3b94853
    • Dart version 2.9.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/isayamin/Library/Android/sdk
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/isayamin/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.1

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 35.3.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.48.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (1 available)
    • iPhone (mobile) • 00008030-001438E63A91802E • ios • iOS 13.5.1

• No issues found!

flutter run --verbose

Which part of the return statements should I post? There is a maximum character limit so is there any segment that I should submit or should I comment multiple times to post all of the return statements?

This happens on android too

code sample
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  MyAppState createState() => MyAppState();
}

class MyAppState extends State<MyApp> {
  // This widget is the root of your application.
  @override
  void initState() {
    super.initState();
    SystemChrome.setPreferredOrientations([
      DeviceOrientation.landscapeRight,
      DeviceOrientation.landscapeLeft,
    ]);
  }

  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        body: Center(
            child: Container(
      child: Element(name: 'Fire'),
    )));
  }
}

class AnimatedIcon extends AnimatedWidget {
  static final sizeTween = Tween<double>(begin: 80.0, end: 200.0);
  static final marginTween = Tween<double>(begin: 0.0, end: 5.0);

  AnimatedIcon({Key key, Animation<double> animation})
      : super(key: key, listenable: animation);

  Widget build(BuildContext context) {
    final animation = listenable as Animation<double>;
    return Center(
      child: Container(
        margin: EdgeInsets.only(
            top: marginTween.evaluate(animation),
            left: marginTween.evaluate(animation)),
        height: sizeTween.evaluate(animation),
        width: sizeTween.evaluate(animation),
        color: Colors.blue,
      ),
    );
  }
}

class Element extends StatefulWidget {
  final String name;
  Element({Key key, @required this.name}) : super(key: key);

  ElementState createState() => ElementState();
}

class ElementState extends State<Element> with SingleTickerProviderStateMixin {
  AnimationController controller;
  Animation<double> animation, animationSize;

  void initState() {
    super.initState();
    controller = AnimationController(
        duration: Duration(milliseconds: 3000), vsync: this);
  }

  @override
  Widget build(BuildContext context) {
    return Draggable<String>(
      data: widget.name,
      child: AnimatedIcon(animation: controller),
      childWhenDragging: Container(),
      onDragStarted: () => {
        setState(() {
          controller.forward();
        })
      },
      feedback: AnimatedIcon(animation: controller),
      onDragEnd: (details) => {
        setState(() {
          controller.reverse();
        })
      },
    );
  }
}

logs.txt

flutter doctor -v
[✓] Flutter (Channel stable, 1.20.2, on Mac OS X 10.15.6 19G2021, locale en-GB)
    • Flutter version 1.20.2 at /Users/tahatesser/Code/flutter_stable
    • Framework revision bbfbf1770c (6 days ago), 2020-08-13 08:33:09 -0700
    • Engine revision 9d5b21729f
    • Dart version 2.9.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.48.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

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

• No issues found!

flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-10.0.pre.159, on Mac OS X 10.15.6 19G2021,
    locale en-GB)
    • Flutter version 1.21.0-10.0.pre.159 at /Users/tahatesser/Code/flutter_master
    • Framework revision 86d2fe9f20 (4 hours ago), 2020-08-18 21:48:04 -0700
    • Engine revision 0b330467da
    • Dart version 2.10.0 (build 2.10.0-38.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.48.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (4 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android
      10 (API 29) (emulator)
    • macOS (desktop)                    • macos         • darwin-x64     • Mac OS
      X 10.15.6 19G2021
    • Web Server (web)                   • web-server    • web-javascript • Flutter
      Tools
    • Chrome (web)                       • chrome        • web-javascript • Google
      Chrome 84.0.4147.125

• No issues found!

I asked on stackoverflow and found the solution to be removing the Center() widget.
  Widget build(BuildContext context) {
    final animation = listenable as Animation<double>;
    return Container(
      margin: EdgeInsets.only(
          top: marginTween.evaluate(animation),
          left: marginTween.evaluate(animation)),
      height: sizeTween.evaluate(animation),
      width: sizeTween.evaluate(animation),
      color: Colors.blue,
    );
  }

I'm not sure why the Center() widget poses a problem.

I encountered the same teleportation problem again, but this time only for the first drag. Another problem is that when the blue tile is first dragged, it does not go to the new position and disappears. The third problem is that if the blue tile does not disappear and instead stays at its original position, then it means the red tile sits above the blue tile, which is not supposed to based on its bottom/first position ranking in the Stack widget.
I also found the solution, which involves setting an initial position for the x and y values of the Positioned widget. The problem is because the initial values are null. This explains the first and third problem: first problem, red tile teleports to top left because of null position (not sure why); third problem, red tile sits on top by default because it is a non-positioned widget, whereas the blue widget is (its x and y values are updated on drag completed). I am not sure as to whether the second problem is a bug or I missed something, but the blue tile shouldn't disappear or return to initial position, and instead should be at its new position.
This GIF is 18s long, there's a pause in the middle.

After solving, setting initial states of x: 200, y: 200.

My code (corresponds to first GIF):
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  MyAppState createState() => MyAppState();
}

class MyAppState extends State<MyApp> {
  // This widget is the root of your application.
  @override
  void initState(){
    super.initState();
    SystemChrome.setPreferredOrientations([
        DeviceOrientation.landscapeRight,
        DeviceOrientation.landscapeLeft,
    ]);
  }

  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: HomePage(),
    );
  }
}

class HomePage extends StatefulWidget {
  HomePage({Key key}) : super(key: key);

  HomePageState createState() => HomePageState();
}

class HomePageState extends State<HomePage> {
  double x, y;

  void initState() {
    super.initState();
    x = 100.0;
    y = 100.0;
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Container(
          child: Stack(
            children: [
              Element(name: 'Fire', color: Colors.red),
              Element(name: 'Water', color: Colors.blue)
            ],
          ),
        )
      )

    );
  }
}

class AnimatedIcon extends AnimatedWidget {

  static final sizeTween = Tween<double>(begin: 80.0, end: 72.0);
  static final marginTween = Tween<double>(begin: 0.0, end: 4.0);
  final Color color;

  AnimatedIcon({Key key, Animation<double> animation, this.color})
      : super(key: key, listenable: animation);

  Widget build(BuildContext context) {
    final animation = listenable as Animation<double>;

    return Container(
      margin: EdgeInsets.only(top: marginTween.evaluate(animation), left: marginTween.evaluate(animation)),
      height: sizeTween.evaluate(animation),
      width: sizeTween.evaluate(animation),
      color: color,
    );

  }
}

class Element extends StatefulWidget {
  final String name;
  final Color color;
  Element({Key key, @required this.name, this.color}) : super(key: key);

  ElementState createState() => ElementState();
}

class ElementState extends State<Element> with SingleTickerProviderStateMixin {
  AnimationController controller;
  Animation<double> animation, animationSize;
  double x, y;

  void initState() {
    super.initState();
    controller = AnimationController(duration: Duration(milliseconds: 100), vsync: this);
  }

  @override
  Widget build(BuildContext context) {
    return Positioned(
      left: x,
      top: y,
      child: Draggable<String>(
        data: widget.name,
        child: AnimatedIcon(animation: controller, color: widget.color),
        childWhenDragging: Container(),
        onDragStarted: () {
          setState(() {
            controller.forward();
          });
        },
        feedback: AnimatedIcon(animation: controller, color: widget.color),
        onDragEnd: (details) {
          setState(() {
            controller.reverse();
            x = details.offset.dx;
            y = details.offset.dy;
            // print("${widget.color}");
            // print('x: $x, y: $y');
          });
        },
      )

    );
  }
}


Always https interceptor

Interceptor that enforces HTTPS, a week form of HSTS.
TODO tests and apply based on the Android NetworkSecurityPolicy.
Breaking up the bigger okhttp-android PR.

The use case is apps with external content. Switch to Https from links in a podcast etc.
Can close. Easy to do externally. Less useful if not something to default on.


[BUG] Set-PnPListItemPermission fails when AAD user is disabled

Reporting an Issue or Missing Feature
When using Set-PnPListItemPermission to add permissions to a document library folder for a licensed AAD user that is sign in disabled (or very recently enabled) the cmdlet fails and throw an error "The specified user<EMAIL_ADDRESS>could not be found"
Please note that the user must not be already in the list as shown by Get-PnPUser for this failure to occur.
Expected behavior
The user is a licensed SharePoint user and should be added to the permissions for the list item.
Actual behavior
Error is thrown
Steps to reproduce behavior
Create and license a new AAD user with SharePoint plan 2 and leave it as sign in disabled. Wait 15 minutes.
Add permissions
Set-PnPListItemPermission -List $DocLibrary -Identity $FolderId -User<EMAIL_ADDRESS>-AddRole "Read" -Connection $SPConnection
Error is thrown
Enable the user in ADD and immediately rerun the command
Error is thrown
Wait 5 minutes then rerun the command
Command is successful
Disable the user in AAD
Remove the user from the site (Remove-PnPUser)
Wait 5 minutes
Rerun the command
Error is thrown
What is the version of the Cmdlet module you are running?
1.11.0
Which operating system/environment are you running PnP PowerShell on?

[X ] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

I'm afraid that this is the SharePoint behavior. Can you replicate it in the user interface?

@jeremyhagan  - Its not a bug but standard SharePoint behavior , moving this to discussion forum.


problem with useIsAuthenticated hook

I am using useIsAuthenticated, but it is not working until I reload the app.
I believe there may be an issue with the state of the context.

same issue here, I'm trying to implement protected routes with Tanstack/router instead of react-router, and the hook doesn't update when auth changes which makes the context inside the router always 'false' until app is reloaded then it resolves to 'true'

Same as #1541


Reopen #17: TypeError: Cannot read property 'startsWith' of null

I think the problem is not fixed yet. After upgrading to newest versions of both linter-spell(0.12.3) and linter-spell-latex(0.9.1), I still get the same error as reported.

Upon adding a word or doing a spell check?

On doing a spell-check, with the latex-syntax. Works well with any other syntax.

Do you have any words in the latex dictionary in the settings page?

Do you have a words in the latex dictionary in settings?
On Thu, Oct 27, 2016 at 4:38 PM, runartrollet<EMAIL_ADDRESS>wrote:

On doing a spell-check, with the latex-syntax. Works well with any other
syntax.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yitzchak/linter-spell-latex/issues/18#issuecomment-256762170,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABMK2cssugiitNVNm6rZsMD-PU2azY05ks5q4QvTgaJpZM4KixwD
.

I confirm this is still an issue, when checking a latex document.  I don't understand what you mean by the "latex dictionary in the settings page."  I see Plain Text Words, Git Commit Words, AsciiDoc Words, and Markdown Words.  Could this be the problem?
Incidentally, my initial bug report indicated I was able to fix the problem on one machine by adding a word with the cursor in a different place.  I think this was incorrect, as that machine is also getting the error.

Look in the settings for linter-spell-latex. It has it's own word list. Probably not the issue, but worth a try.

I do not see the word list there either.  in the linter-spell-latex settings I see only a checkbox for "check settings."  On the other hand, in linter-spell-html I do see the word list box in the settings.

@oscarlevin Something wrong then. I would check for an update for linter-spell-latex or uninstall and then reinstall. You might also look in your config settings and manually delete any settings for linter-spell-latex.

@yitzchak @oscarlevin  Same thing happens here. No settings for linter-spell-latex other than a checkbox for Check comments. I had a look in the config.cson located in my .atom-folder (OSX), and it doesn't list anything for linter-spell-latex and it lists  a ""-item and two null-items. I deleded the null-items, and the settings for TeX, LaTeX and BibTeX word showed up again. I did a reset of Atom and it works now. Thanks for clearing this up.

Fantastic!  I too had a null in my word list in config.cson and deleting it and restarting atom did the trick.  So glad to have this incredibly useful package back working again.  Thanks for the help.

Awesome. Thanks!


ACUS gamesubmission put back slot list

Over simplified the game submission / edit form (GamesDialog.tsx) and when fixing a typo, cleaned it up to remove the leading text about the game starting any time and spanning multiple slots.
I removed too much: I removed the whole strip of leading text, the estimated length dropdown, and the dropdown with slots and "Any slot"
Resolves: #39

Well, it didn't break anything, and ACNW was entirely unaffected. I removed several fields, and you didn't know I didn't want to remove that list. Too many swirly things from Joe and Kit. I'll pointed them at the issues and will make certain to put everything in issues before working on it.


Fix for Issue #231

This change should make false values for catAxisLineShow and valAxisLineShow properly hide the axis lines.  I attempted to match the already-existing documented functionality for these options, so no change should be needed to the README.

Thanks @mconlin !


Allow obtaining AttrDicts from ABI Methods that return Structs or NamedTuples

Overview
Sometimes when you are working with contracts that have more complex structs in it, it is very handy to be able to work with them in their native source code format (either as struct definitions, or named dicts, ABI specification is the same for both)
Specification
Be able to convert  them as the following:
result = my_contract.methodReturnsStruct(...)
print(result)
# (1, "0xaBcD...", b"\x13...", False)
print(result.dict())
# {"my_int": 1, "my_address": "0xaBcD...", "my_bytes": b"\x13...", "my_bool": False}

Using an attrdict would be nice, because then we can just do this:
assert my_contract.methodReturnsStruct(...).dict().my_bool

Dependencies
No dependencies

Note: to detect this, the ABI outputs for a call will have a name field in each of them. If they do not, you cannot do this encoding because some fields will be unnamed


Generate Session Log

Description
The application should be able to export a file with a log of all commands executed per session.
Files

app.py
app.js

Tasks

[ ] Capture only commands that were executed in the shell
[ ] Save and separate commands by session
[ ] Create a button that exports a file listing commands that have been executed in the session

I'll take a stab at generating the User Input log file for that specific session

Okay, @satanb4! Can I assign you?

Sure

@satanb4 I think the function setup_default_session() isn't used anymore.

@hericlesme All three tasks have been addressed and implemented in PR #22

Closed by #22 Thank you @satanb4. You did a great job! :dancer: :rocket:


extern issue

extern naming inconsistency between Valestrom and Midas I think, all externs now segfault, I will check with lastest version to see if it still an issue

Tests pass in 0.1.3, obsolete