Error when accessing Sharepoint v1 API

Category

[x] Bug

Describe the bug
When accessing the Sharepoint API using the following URL:
https://<tenant>.sharepoint.com/_api/sites

I get the following response for all endpoints:
{
  "error_description": "Invalid issuer or signature."
}

If I try to access Sharepoint via Graph API, with the same Bearer token, it works. I have enabled all the permissions for Sharepoint in Azure Active Directory.
Is this a bug or am I missing something here?
Environment details (development & target environment)

Your Developer Environment: MacOS
Target Environment: SharePoint Online
Framework: Node.js v12
Browser(s): FireFox
Tooling: VS Code

Hi gurleensethi,
one access token can only against one resource.  From the description, the token is for MS Graph. it cannot be used to request SharePoint API. How did you get this token? Can you share more background info?
Baker Kong
Microsoft SharePoint Community Support

@kongmengfei Hi,
I used the below url to obtain the access token:
https://login.microsoftonline.com/<secret>/oauth2/v2.0/token

What end point should I use to obtain token for Sharepoint's old api?

@kongmengfei Hi,
I used the below url to obtain the access token:
https://login.microsoftonline.com/<secret>/oauth2/v2.0/token

What end point should I use to obtain token for Sharepoint's old api?

This endpoint of course can be used to get token for SP, how about the headers or body? Are you using client credentials flow?

I used the below url to obtain the access token:
https://login.microsoftonline.com/<secret>/oauth2/v2.0/token

What end point should I use to obtain token for Sharepoint's old api?

This endpoint of course can be used to get token for SP, how about the headers or body? Are you using client credentials flow?

By client credentials flow I think you mean adding this header grant_type: client_credentials, yes I have already added this header. The other headers I have added are client_id, scope and client_secret.

I used the below url to obtain the access token:
https://login.microsoftonline.com/<secret>/oauth2/v2.0/token

What end point should I use to obtain token for Sharepoint's old api?

This endpoint of course can be used to get token for SP, how about the headers or body? Are you using client credentials flow?

By client credentials flow I think you mean adding this header grant_type: client_credentials, yes I have already added this header. The other headers I have added are client_id, scope and client_secret.

What's the scope?
I acquired one like this:

And you can decode token here to see what claims it contains.

And you can also use old ACS endpoint:

https://www.anexinet.com/blog/getting-an-access-token-for-sharepoint-online/

@kongmengfei The scope was pointing to microsoft graph api, I changed it to my sharepoint, now I use the newly generated token I get the following error:
Unsupported app only token.

@kongmengfei The scope was pointing to Microsoft graph API, I changed it to my SharePoint site, now I use the newly generated token I get the following error:
Unsupported app only token.

Yes, that's correct. The token has no problem. This is a known issue, refer this thread:

https://stackoverflow.com/questions/62356709/unsupported-app-only-token-sharepoint-api-error-even-after-adding-certificate

You need to turn to use "appid + certificate" or old ACS.

Second case: Access token request with a certificate

Setting up an Azure AD app for app-only access

Baker Kong
Microsoft SharePoint Community Support

@kongmengfei I was trying to authenticate with certificate-based authentication, all the examples use PowerShell to create the certificate, how can I create a certificate on a MacOS. And how to get client_assertion once the certificate is created.

Hi gurleensethi,
I do not have MacOS environment. You can try to install poweshell on MacOS to create a certificate.
We cannot directly generate client_assertion, we need to achieve it through code. Here i attached my test demo, it's a console app that generates a client_assertion.

test demo

In the above demo, I have attached my test certificates.

Upload .cer file to your AAD registered APP:

Result:

Copy the assertion and go ahead to the client certificate flow:

This access token could access SharePoint Rest API.
*Note, Do not forget to replace the variables with your own value in the code.
Baker Kong
Microsoft SharePoint Community Support


repro/validations: Fix undefined cifmw_target_host

In reproducer validations, error message for OS check references cifmw_target_host which is not mandatory parameter and this can result in:
  {"msg": "The task includes an option with an undefined variable.
   The error was: 'cifmw_target_host' is undefined. 'cifmw_target_host' is undefined

   The error appears to be in '/home/zuul/ci-framework/roles/reproducer/tasks/validations.yml': line 37, column 3
   ...

Avoid this by falling back to value of whatever is current ansible_host.
As a pull request owner and reviewers, I checked that:

[X] Appropriate testing is done and actually running

/approve

/lgtm


update badge link information

#408

Codecov Report

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

@@         Coverage Diff          @@
##             2.0   #409   +/-   ##
====================================
  Coverage       ?   100%
====================================
  Files          ?     36
  Lines          ?   1159
  Branches       ?      0
====================================
  Hits           ?   1159
  Misses         ?      0
  Partials       ?      0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83cb293...351519b. Read the comment docs.


Fix fantop init tx

I am sorry for the repeated apologies. Please check again.

@scottphc
Thank you for everything.
Are there any plans to deploy this one?

@scottphc
Thank you for everything.
Are there any plans to deploy this one?

Deployed already!


feat: ensure user has access to any item in sidebar group

PR also fixes wrong nesting in template

@lukasvinclav could you review the PR please?

Thanks for PR. I found simpler solution here #719. In general, theme will hide all groups which are not containing any links just by using pure CSS.


Feature/190 dupe rules

Critical Changes
Changes
Issues Closed
Fixes #190.

Hi @paulmalenke ~ This is ready for review and merge. Thanks!


Logout issue

logout button of your webapp is not working

Thanks @somandra for pointing that out, can you make a pull request?


[Question] Hosting the Bot on Enterprise Cloud - Connector IP Whitelist?

System Information

SDK Language:  .NET
Development Environment: Bot hosted on Enterprise Cloud

Bot Info

Connected channels: Skype, WebChat

Issue Description
Hello Team,
We have an enterprise Cloud region where we trying to host the BOT Code with the business logic. We have the BOT registered at Microsoft Dev (dev.botframework.com) and need help for the same.
Now, our Enterprise Cloud server is not open completely for the Internet, and the Network team opens the firewall for requested IP addresses and Ports only,
Is that possible that Microsoft gives us the information about the IP addresses and Ports thru which the BOT communication happens so that we can request our network team here to open them, so that the communication can happen
We do have the Microsoft folks to talk to as well, just thought to put the question here, if anybody has done that, to check if thats possible.
Any help would be a great help for us to move ahead.
Thanks,
Mahesh

I have seen other solve this by using something like Fiddler to observe traffic.


Changing default mapping from C-d and C-u to something else makes it unusable....

Care to elaborate? What do you mean by unusable?


[CUR-639] Update webpack-dev-middleware as per security warning in github

Description

Updated webpack-dev-middleware as per https://github.com/oaknational/Oak-Web-Application/security/dependabot/93

Issue(s)
CUR-639
How to test
Check storybook and tests (which this module is a dep of) works ok.

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


Fix Ledger.Tx.getCardanoTxData

Fix Ledger.Tx.getCardanoTxData so that the cardano-api transactions returns all the datums of the TxBody, including the datums of the Plutus scripts.

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Formatting, PNG optimization, etc. are updated

PR

[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reference the ADR in the PR and reference the PR in the ADR (if revelant)
[ ] Reviewer requested

@sjoerdvisscher Curious, how does this bring us closer to remove TxIn?

@koslambrou We were storing some data in TxInType and some in txData, which was confusing everyone. This is one step of moving everything to txData, and then we won't need TxIn anymore (I hope).


Update zio-prelude to 1.0.0-RC21

About this PR
📦 Updates dev.zio:zio-prelude from 1.0.0-RC16 to 1.0.0-RC21
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio", artifactId = "zio-prelude" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio", artifactId = "zio-prelude" }
}]

labels: library-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

Superseded by #112.


Add mention class to user mention links

This should fix mention links in Elk to keep linking inside Elk, not to the instance of the mentioned user.
Elk was failing to detect a user mention in this if statement: https://github.com/elk-zone/elk/blob/fc97e8ff5b5ad077417a32440a978e49b8449cc0/composables/content-render.ts#L88
I could've sworn that this was working up until recently, but none of the code responsible on both the Takahe and the Elk side has changed in months.

Github is having issues, will push the test fixes as soon as I can

I could've sworn that this was working up until recently, but none of the code responsible on both the Takahe and the Elk side has changed in months.

Yeah, that's happened with a few things recently, like profile HTML now not working in Mastodon. Thanks for the fix!


Add benchmark and reorganize

Add rb_tree benchmark.
Move benchmarks into classes: serial, multithreaded, slow.
Switch from ArgParse to DocOpt.
Add --scale <maxthreads> option.
Remove all Manifest.tomls.
Use joinpath instead of /.

what's the difference between --scale <maxthreads> and --threads t?

--scale <maxthreads> will run the benchmark with 1, 2, 4, ..., M threads, where M <= <maxthreads>. --threads <t> just runs the benchmark with <t> threads.
I find ArgParse clunky in comparison to DocOpt; you can see from the code that this is much simpler and somewhat self-documenting. But it is slower. I also have no strong opinion and am willing to switch it back.

I added this code with an explicit call to GC.gc() because it makes the duration of the pauses clear.
To get back to the original code by @tveldhui, uncomment these lines and comment these.

This seems reasonable to me. I'll merge unless there are objections.

Can you update to reflect https://github.com/JuliaCI/GCBenchmarks/pull/28?


Add exclude-topics argument

Sometimes you want to skip working on a topic because it's sensitive (like __consumer_offsets). This PR adds an exclude-topics argument that takes a comma-separated list (or multiple arguments). The modules skip over any topics in this list, leaving them alone.

Coverage decreased (-0.2%) to 99.813% when pulling e1d62c7e9a2b91c41309f211b841694220d298e8 on toddpalino:feature-exclude-topics into a92ce0bcd2e71b539c79d390b4ca0713354a7993 on linkedin:master.

Coverage decreased (-0.2%) to 99.812% when pulling 6ec39b9da4098aabd872624d699ef1f09f63668c on toddpalino:feature-exclude-topics into a92ce0bcd2e71b539c79d390b4ca0713354a7993 on linkedin:master.


Update Nyacon Font

Added:
icon-finished
icon-pending
icon-error

Coverage remained the same at 40.123% when pulling bd2c603a2dd53c0050344cbe193d6d7cac0ec984 on Golumpa:Nyaconv2 into f3881734e25e63abee57ccf1d3d422847d0dee7a on NyaaPantsu:dev.


Test running forever

In https://book.cairo-lang.org/ch10-01-how-to-write-tests.html
If hitting Run this code on a test it runs forever:

It shouldn't run forever and either tell it isn't possible or run the tests

@cryptonerdcn is WASM-Cairo able to run cairo-tests?

@gaetbout @enitrat WASM-Cairo still can’t run test. Can you open an issue to request this feature at here https://github.com/cryptonerdcn/wasm-cairo/issues ?


Upgrading packages and fixing type issues

So I wanted to make some modifications to the library, but I found it was quite out of date. I attempted to update a few things:

jest now has a codified way to deal with typescript, via babel
I made the gitignore a little more sane
I updated all the packages I could, the devDependencies having no issues
Removed the unused @types/archiver

Here's some things I ran across:

postcss, camelcase, and postcss-selector-parser all have type definitions
- postcss-selector-parser doesn't export theirs (https://github.com/postcss/postcss-selector-parser/issues/235), so I tried (and failed) to do it myself locally
All three libraries have changed how they expose themselves to imports, so I corrected as much as I could
Some of the types no longer make sense (Node -> AnyNode)
I was completely unable to figure out how exactly they changed the Stringify/builder stuff, but they did and now it no longer works.

The much more correct #17 is passing tests.


Confugarable radius and durability

5 blocks for netherrite is a little small for my taste so being able to configure it would be great!

Implemented in 1.2.0.


Extensions structure update

Is your feature request related to a problem? Please describe.
Saw there is just one file called extensions.dart. Putting all in one file may be hard to read as it increases
Describe the solution you'd like
I can PR create a directory named extensions and inside can have extensions according to its type like string.dart, double.dart, context.dart, orientation.dart and so on.
Describe alternatives you've considered
I will send a PR

@jonataslaw but tell me what do you think about it

Go ahead, you will be very welcome.

Is your feature request related to a problem? Please describe.
Saw there is just one file called extensions.dart. Putting all in one file may be hard to read as it increases
Describe the solution you'd like
I can PR create a directory named extensions and inside can have extensions according to its type like string.dart, double.dart, context.dart, orientation.dart and so on.
Describe alternatives you've considered
I will send a PR

@WilliamCunhaCardoso when you are working on the string extension, could you pls adding the isNullOrBlank to it? There is already an existing one in GetUtils but not being extended for string data type. Thanks.

Is your feature request related to a problem? Please describe.
Saw there is just one file called extensions.dart. Putting all in one file may be hard to read as it increases
Describe the solution you'd like
I can PR create a directory named extensions and inside can have extensions according to its type like string.dart, double.dart, context.dart, orientation.dart and so on.
Describe alternatives you've considered
I will send a PR

@WilliamCunhaCardoso when you are working on the string extension, could you pls adding the isNullOrBlank to it? There is already an existing one in GetUtils but not being extended for string data type. Thanks.

Done :)

Actually I don't even added it on String itself. I guess it was an export problem (as I modified it, maybe now it is fixed). I created a test for it and it is okay. You can check the PR. It is on WIP because I'm implementing tests on it. But feel free to dive feedbacks

Closed by https://github.com/jonataslaw/getx/pull/393


flutter run fails with error: ADB exited with exit code 1

Hi All,
I am stuck with the below issue for the past few days and I couldn't find a solution for the same.

I am able to debug the sample flutter app on my physical device/genymotion emulator. it will start throwing the above error if I add the packages like cloud_firestore, amplify, flutetrtoast, etc.
One more thing I have noticed is I can debug up to a particular version of the package. for example, It is working fine for the package fluttertoast till the version 6.0.1.

flutter doctor -v
[✓] Flutter (Channel beta, 2.2.0, on Linux, locale en_IN)
• Flutter version 2.2.0 at /home/shyju/development/flutter
• Framework revision b22742018b (3 weeks ago), 2021-05-14 19:12:57 -0700
• Engine revision a9d88a4d18
• Dart version 2.13.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /home/shyju/Android/Sdk
• Platform android-30, build-tools 29.0.2
• Java binary at: /home/shyju/Downloads/android-studio-ide-202.7351085-linux/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Android Studio (version 4.2)
• Android Studio at /home/shyju/Downloads/android-studio-ide-202.7351085-linux/android-studio
• Flutter plugin version 56.0.2
• Dart plugin version 202.8488
• Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
[✓] IntelliJ IDEA Community Edition (version 2021.1)
• IntelliJ at /snap/intellij-idea-community/302
• Flutter plugin version 56.0.5
• Dart plugin version 211.7233
[✓] Connected device (2 available)
• Redmi Note 7S (mobile) • ffdf813 • android-arm64  • Android 9 (API 28)
• Chrome (web)           • chrome  • web-javascript • Google Chrome 90.0.4430.93
• No issues found!

flutter run -v
[  +65 ms] executing: uname -m
[  +31 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +6 ms] executing: [/home/shyju/development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +7 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[        ] executing: [/home/shyju/development/flutter/] git tag --points-at b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[  +43 ms] Exit code 0 from: git tag --points-at b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[        ] 2.2.0
[   +5 ms] executing: [/home/shyju/development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/home/shyju/development/flutter/] git ls-remote --get-url origin
[   +5 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +99 ms] executing: [/home/shyju/development/flutter/] git rev-parse --abbrev-ref HEAD
[   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +73 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +74 ms] executing: /home/shyju/Android/Sdk/platform-tools/adb devices -l
[ +133 ms] List of devices attached
ffdf813                device usb:1-3 product:lavender model:Redmi_Note_7S device:lavender transport_id:2
[   +9 ms] /home/shyju/Android/Sdk/platform-tools/adb -s ffdf813 shell getprop
[ +150 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +81 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +210 ms] Skipping pub get: version match.
[ +129 ms] Found plugin fluttertoast at /home/shyju/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.1.8/
[ +642 ms] Found plugin fluttertoast at /home/shyju/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.1.8/
[  +77 ms] Generating /home/shyju/development/externalprojects/fms/testapp/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +275 ms] ro.hardware = qcom
[ +145 ms] Initializing file store
[  +24 ms] Skipping target: gen_localizations
[  +42 ms] complete
[   +9 ms] Launching lib/main.dart on Redmi Note 7S in debug mode...
[   +8 ms] /home/shyju/development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/shyju/development/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/shyju/development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.LPWFNE/flutter_tool.QZUAEQ/app.dill --packages /home/shyju/development/externalprojects/fms/testapp/.dart_tool/package_config.json
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build/3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[  +17 ms] executing: /home/shyju/Android/Sdk/build-tools/29.0.2/aapt dump xmltree /home/shyju/development/externalprojects/fms/testapp/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +90 ms] Exit code 0 from: /home/shyju/Android/Sdk/build-tools/29.0.2/aapt dump xmltree /home/shyju/development/externalprojects/fms/testapp/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.example.testapp" (Raw: "com.example.testapp")
A: platformBuildVersionCode=(type 0x10)0x1e
A: platformBuildVersionName=(type 0x10)0xb
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=16)
A: android:label(0x01010001)="testapp" (Raw: "testapp")
A: android:icon(0x01010002)=@0x7f080000
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=21)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.testapp.MainActivity" (Raw: "com.example.testapp.MainActivity")
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: meta-data (line=35)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: meta-data (line=45)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f040001
E: intent-filter (line=49)
E: action (line=50)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=52)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=59)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[  +26 ms] executing: /home/shyju/Android/Sdk/platform-tools/adb -s ffdf813 shell -x logcat -v time -t 1
[  +20 ms] <- compile package:testapp/main.dart
[ +156 ms] --------- beginning of main
06-01 20:58:31.061 V/AudioFlinger(  785): AudioFlinger::setRecordSilenced(uid:10173, silenced:1)
[  +11 ms] executing: /home/shyju/Android/Sdk/platform-tools/adb version
[   +7 ms] Android Debug Bridge version 1.0.41
Version 29.0.5-5949299
Installed as /home/shyju/Android/Sdk/platform-tools/adb
[   +1 ms] executing: /home/shyju/Android/Sdk/platform-tools/adb start-server
[   +6 ms] Building APK
[  +18 ms] Running Gradle task 'assembleDebug'...
[  +31 ms] Using gradle from /home/shyju/development/externalprojects/fms/testapp/android/gradlew.
[ +148 ms] executing: /home/shyju/Downloads/android-studio-ide-202.7351085-linux/android-studio/jre/bin/java -version
[ +600 ms] Exit code 0 from: /home/shyju/Downloads/android-studio-ide-202.7351085-linux/android-studio/jre/bin/java -version
[        ] openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
OpenJDK 64-Bit Server VM (build 11.0.8+0-b944-6842174, mixed mode)
[   +1 ms] executing: [/home/shyju/development/externalprojects/fms/testapp/android/] /home/shyju/development/externalprojects/fms/testapp/android/gradlew -Pverbose=true
-Ptarget-platform=android-arm64 -Ptarget=/home/shyju/development/externalprojects/fms/testapp/lib/main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false
-Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+23429 ms] > Configure project :fluttertoast
[   +7 ms] WARNING: The option setting 'android.enableR8=true' is deprecated.
[        ] It will be removed in version 5.0 of the Android Gradle plugin.
[        ] You will no longer be able to disable R8
[+2295 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +65 ms] executing: uname -m
[        ] [  +32 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [   +6 ms] executing: [/home/shyju/development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +2 ms] [   +7 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +2 ms] [        ] b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[        ] [        ] executing: [/home/shyju/development/flutter/] git tag --points-at b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[        ] [  +44 ms] Exit code 0 from: git tag --points-at b22742018b3edf16c6cadd7b76d9db5e7f9064b5
[        ] [        ] 2.2.0
[        ] [   +5 ms] executing: [/home/shyju/development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/beta
[        ] [        ] executing: [/home/shyju/development/flutter/] git ls-remote --get-url origin
[        ] [   +5 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +56 ms] executing: [/home/shyju/development/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] beta
[        ] [  +51 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [ +134 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +61 ms] Initializing file store
[        ] [  +17 ms] Skipping target: gen_localizations
[        ] [   +6 ms] kernel_snapshot: Starting due to {}
[        ] [  +11 ms] /home/shyju/development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/shyju/development/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot
--sdk-root /home/shyju/development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages
/home/shyju/development/externalprojects/fms/testapp/.dart_tool/package_config.json --output-dill
/home/shyju/development/externalprojects/fms/testapp/.dart_tool/flutter_build/3bad1f95dc0315159297cca57a097046/app.dill --depfile
/home/shyju/development/externalprojects/fms/testapp/.dart_tool/flutter_build/3bad1f95dc0315159297cca57a097046/kernel_snapshot.d package:testapp/main.dart
[+14384 ms] [+14973 ms] kernel_snapshot: Complete
[ +899 ms] [ +879 ms] debug_android_application: Starting due to {}
[+1599 ms] [+1569 ms] debug_android_application: Complete
[ +701 ms] [ +743 ms] Persisting file store
[   +1 ms] [   +8 ms] Done persisting file store
[ +297 ms] [ +267 ms] build succeeded.
[        ] [  +19 ms] "flutter assemble" took 18,712ms.
[ +299 ms] [ +260 ms] ensureAnalyticsSent: 253ms
[        ] [   +5 ms] Running shutdown hooks
[        ] [   +1 ms] Shutdown hooks complete
[        ] [   +2 ms] exiting with code 0
[ +599 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :fluttertoast:preBuild UP-TO-DATE
[        ] > Task :fluttertoast:preDebugBuild UP-TO-DATE
[  +98 ms] > Task :fluttertoast:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :fluttertoast:packageDebugRenderscript NO-SOURCE
[  +97 ms] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +99 ms] > Task :fluttertoast:writeDebugAarMetadata UP-TO-DATE
[+5000 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[ +200 ms] > Task :app:cleanMergeDebugAssets
[   +1 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :fluttertoast:mergeDebugShaders UP-TO-DATE
[        ] > Task :fluttertoast:compileDebugShaders NO-SOURCE
[        ] > Task :fluttertoast:generateDebugAssets UP-TO-DATE
[        ] > Task :fluttertoast:packageDebugAssets UP-TO-DATE
[  +94 ms] > Task :app:mergeDebugAssets
[+1100 ms] > Task :app:copyFlutterAssetsDebug
[ +199 ms] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :fluttertoast:compileDebugRenderscript NO-SOURCE
[ +199 ms] > Task :fluttertoast:generateDebugResValues UP-TO-DATE
[        ] > Task :fluttertoast:generateDebugResources UP-TO-DATE
[ +499 ms] > Task :fluttertoast:packageDebugResources UP-TO-DATE
[ +299 ms] > Task :app:mergeDebugResources UP-TO-DATE
[   +1 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ +299 ms] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :fluttertoast:extractDeepLinksDebug UP-TO-DATE
[ +298 ms] > Task :fluttertoast:processDebugManifest UP-TO-DATE
[ +200 ms] > Task :app:processDebugMainManifest UP-TO-DATE
[  +99 ms] > Task :app:processDebugManifest UP-TO-DATE
[ +100 ms] > Task :app:processDebugManifestForPackage UP-TO-DATE
[   +1 ms] > Task :fluttertoast:compileDebugLibraryResources UP-TO-DATE
[        ] > Task :fluttertoast:parseDebugLocalResources UP-TO-DATE
[ +197 ms] > Task :fluttertoast:generateDebugRFile UP-TO-DATE
[ +300 ms] > Task :app:processDebugResources UP-TO-DATE
[ +100 ms] > Task :fluttertoast:generateDebugBuildConfig UP-TO-DATE
[ +700 ms] > Task :fluttertoast:compileDebugKotlin UP-TO-DATE
[   +1 ms] > Task :fluttertoast:javaPreCompileDebug UP-TO-DATE
[  +98 ms] > Task :fluttertoast:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :fluttertoast:bundleLibCompileToJarDebug UP-TO-DATE
[ +500 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[  +98 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:compressDebugAssets UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :fluttertoast:processDebugJavaRes NO-SOURCE
[        ] > Task :fluttertoast:bundleLibResDebug UP-TO-DATE
[  +99 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[ +200 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[ +699 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[  +99 ms] > Task :fluttertoast:bundleLibRuntimeToJarDebug UP-TO-DATE
[ +700 ms] > Task :app:dexBuilderDebug UP-TO-DATE
[   +2 ms] > Task :app:mergeLibDexDebug UP-TO-DATE
[        ] > Task :app:mergeProjectDexDebug UP-TO-DATE
[   +1 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[   +1 ms] > Task :fluttertoast:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :fluttertoast:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :fluttertoast:stripDebugDebugSymbols NO-SOURCE
[  +91 ms] > Task :fluttertoast:copyDebugJniLibsProjectOnly UP-TO-DATE
[ +400 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[  +99 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[ +200 ms] > Task :app:validateSigningDebug UP-TO-DATE
[ +399 ms] > Task :app:packageDebug UP-TO-DATE
[+4600 ms] > Task :app:assembleDebug
[   +1 ms] > Task :fluttertoast:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[ +598 ms] > Task :fluttertoast:extractDebugAnnotations UP-TO-DATE
[        ] > Task :fluttertoast:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :fluttertoast:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :fluttertoast:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :fluttertoast:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :fluttertoast:syncDebugLibJars UP-TO-DATE
[        ] > Task :fluttertoast:bundleDebugAar UP-TO-DATE
[        ] > Task :fluttertoast:compileDebugSources UP-TO-DATE
[        ] > Task :fluttertoast:assembleDebug UP-TO-DATE
[  +94 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 1m 3s
[        ] 60 actionable tasks: 5 executed, 55 up-to-date
[ +603 ms] Running Gradle task 'assembleDebug'... (completed in 65.1s)
[ +199 ms] calculateSha: LocalDirectory: '/home/shyju/development/externalprojects/fms/testapp/build/app/outputs/flutter-apk'/app.apk
[ +731 ms] ✓  Built build/app/outputs/flutter-apk/app-debug.apk.
[   +2 ms] executing: /home/shyju/Android/Sdk/build-tools/29.0.2/aapt dump xmltree /home/shyju/development/externalprojects/fms/testapp/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[ +416 ms] Exit code 0 from: /home/shyju/Android/Sdk/build-tools/29.0.2/aapt dump xmltree /home/shyju/development/externalprojects/fms/testapp/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +1 ms] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.example.testapp" (Raw: "com.example.testapp")
A: platformBuildVersionCode=(type 0x10)0x1e
A: platformBuildVersionName=(type 0x10)0xb
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=16)
A: android:label(0x01010001)="testapp" (Raw: "testapp")
A: android:icon(0x01010002)=@0x7f080000
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=21)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.testapp.MainActivity" (Raw: "com.example.testapp.MainActivity")
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: meta-data (line=35)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: meta-data (line=45)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f040001
E: intent-filter (line=49)
E: action (line=50)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=52)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=59)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[   +3 ms] Stopping app 'app.apk' on Redmi Note 7S.
[   +4 ms] executing: /home/shyju/Android/Sdk/platform-tools/adb -s ffdf813 shell am force-stop com.example.testapp
[ +135 ms] executing: /home/shyju/Android/Sdk/platform-tools/adb -s ffdf813 shell pm list packages com.example.testapp
[ +121 ms] Installing APK.
[   +4 ms] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /home/shyju/Android/Sdk/platform-tools/adb -s ffdf813 install -t -r /home/shyju/development/externalprojects/fms/testapp/build/app/outputs/flutter-apk/app.apk
[ +709 ms] Performing Streamed Install
                adb: failed to open /home/shyju/development/externalprojects/fms/testapp/build/app/outputs/flutter-apk/app.apk: Operation not permitted

[   +1 ms] Installing build/app/outputs/flutter-apk/app.apk... (completed in 709ms)
[        ] Error: ADB exited with exit code 1
[   +1 ms] Performing Streamed Install
       adb: failed to open /home/shyju/development/externalprojects/fms/testapp/build/app/outputs/flutter-apk/app.apk: Operation not permitted

[        ] Warning: Failed to install APK.
[        ] Error launching application on Redmi Note 7S.
[   +5 ms] "flutter run" took 69,870ms.
[   +5 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:663:9)

#2      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1043:27)

#3      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#4      CommandRunner.runCommand (package:args/command_runner.dart:196:13)

#5      FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)

#6      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)

#8      run.. (package:flutter_tools/runner.dart:62:9)

#9      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#10     main (package:flutter_tools/executable.dart:91:3)

[ +253 ms] ensureAnalyticsSent: 252ms
[   +4 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 1

build.gradle
buildscript {
ext.kotlin_version = '1.3.50'
repositories {
google()
jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:4.1.0'
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}

}
allprojects {
repositories {
google()
jcenter()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}

app/build.gradle
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 30
sourceSets {
    main.java.srcDirs += 'src/main/kotlin'
}

defaultConfig {
    // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
    applicationId "com.example.testapp"
    minSdkVersion 21
    targetSdkVersion 30
    versionCode flutterVersionCode.toInteger()
    versionName flutterVersionName
}

buildTypes {
    release {
        // TODO: Add your own signing config for the release build.
        // Signing with the debug keys for now, so `flutter run --release` works.
        signingConfig signingConfigs.debug
    }
}

}
flutter {
source '../..'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

pubspec.yaml
name: testapp
description: A new Flutter project.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=2.12.0 <3.0.0"
dependencies:
fluttertoast: ^7.0.0
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true

Please Help

it will start throwing the above error if I add the packages like cloud_firestore, amplify, flutetrtoast, etc.

@shyjuzz
Above plugins you listed are 3rd party. Do you get the same error if you remove all those and just try with a brand new Flutter app ?
Also, I see that you've already opened same issue in FlutterFire repo, https://github.com/FirebaseExtended/flutterfire/issues/4496.  For issue related to firestore, please follow-up in it.
For issue related to amplify and fluttertoast, please follow-up in respective plugin repo.
I am going ahead and closing this, as there's already similar open issue in flutterfire. If you still get the same error in Flutter new project, write in comments and I'll reopen it to investigate further.

Thank you for your response.
The brand new flutter app is working fine and I gave the fluttertoast as an example here. The issue is not only related to the 3rd party packages as it is throwing the same error even for the official plugins like FlutterFire.


Client Metrics: Add client metrics for observability and telemetry

Describe the feature
Establish a standard pluggable interface for observability and telemetry that will be integrated with AWS CloudWatch, OpenTelemetry and so on

@eifrah-aws please divide to tasks


I'm getting WS error in the browser (during & after) the building process

I get this error during building nuxt.
Also it persists after building.

Also after build is done, if I reload the page it disappears.

Hi. Are you using nuxt with custom server (express, etc) or using nuxt dev?

Hey @pi0 I'm using express. Here I made a repo https://github.com/chanlito/nuxt-loading-bug showing the issue.

Unfortunately, this is expected as setting up WebSocket for a custom server requires additional code in the project. (Related issue #9) Loading-screen has a fallback with normal HTTP requests so normal progress should work for you.
Maybe it would be a better idea to hide [WS] errors.

hi, any idea what we can do to avoid this error. after updating to<EMAIL_ADDRESS>this error still happens.
any example additional code repo can be put here?  :D it would be very useful

I got the same issue, I don't see how hiding errors would fix it. What additional code would be needed?

@LOUKOUKOU Are you using nuxt 2.9?

"nuxt": "^2.4.0",

Im also using
"@nuxt/loading-screen": "0.3.0"

Please upgrade to 2.9. New version of loading-screen uses SSE which should resolve your issues.

So it doesn't throw the errors now, but it stays on the loading screen.

ohhhhhhhhhhhhhhhhhhhhh!
Make sure do this
let config = require('./nuxt.config.js')
config.dev = false

Otherwise it thinks your in dev, but didn't build anything, so it has nothing to load.


Re-organize PudlTabl output object to avoid boilerplate code

The pudl.output.pudltabl.PudlTabl class which we use to provide easy access to the PUDL database (returning slightly denormalized tables) and also to many of the analysis routines which operate on the database tables is filled with boilerplate code. Most of the dozens of methods do the same thing -- call an external function that's not part of the class, and cache the resulting dataframe for later access. It seems like there should be some way to make the creation of these functions semi-automatic without so much duplicated code.

Can we use the functools @cached_property decorator to manage the caching of the dataframes that have been pulled out of the DB, and the derived values that are involved in the MCOE calculation?
Is there a way to automatically generate those properties just based on a list of functions that are stored within the pudltabl class definition, rather than needing to wrap each of them inside its own entirely boilerplate class method?

OK I've looked over the code and have a few questions.

Which functions exactly are you hoping to generate programmatically? I'm assuming these "interim" functions will stay as they are? And you're rather to referring to these longer functions?
For caching using cached_property, you're referring to making each dataframe itself a property of the class, rather than having this _dfs property that contains all of them, correct? I'm assuming from the name that the _dfs property is only accessed from within the class, is that assumption correct?

Hi @zaneselvans ,
I've run through a first try. I haven't updated tests or the code calling this class because it will take a while and I wanted to check with you to make sure this is the direction you were imagining.
Here is the code: https://github.com/cschloer/pudl/blob/main/src/pudl/output/pudltabl.py
I've created a new function "get_data" that takes in a string (the name of the data), plus some optional arguments. The idea is that this function would be called with one of the static variables defined at the top of the file in order to ensure you don't have any typos. For example:
get_data(PudlTabl.pu_ferc1)

I didn't use cached_property, but instead kept the internal _df dictionary. I think that works fine for this usecase and cached_property doesn't really add any other functionality/advantage. There's some slightly funky/hacky code here that I added so that not every lambda function needs an update parameter or an xargs parameters. That could be rethought but it seems to work fine as it is.
Let me know what you think and then I can make the tests + other code work with it and make a PR.

Any thoughts @zaneselvans ?

With the coming deprecation of the PudlTable class and output/analysis tables, this isn't relevant any more. See #1973


Adding support for EXTRA_CFLAGS in cp & dp Makefiles

Signed-off-by: Muhammad Asim Jamshed<EMAIL_ADDRESS>

@ajamshed Update the commit and the comment with a verbose description of whats happening and why. How it was tested

thanks for doing this!

@ajamshed is my understanding correct -
We are only checking ZMQ_COMM but not DZMQ_COMM or -DZMQ_COMM. Would that be a problem when using this mechanism with -UZMQ_COMM

@ajamshed is my understanding correct -
We are only checking ZMQ_COMM but not DZMQ_COMM or -DZMQ_COMM. Would that be a problem when using this mechanism with -UZMQ_COMM

I just checked. "-U" eliminates the macro completely from the CFLAGS/EXTRA_CFLAGS string. So findstring would fail to find ZMQ_COMM if -UZMQ_COMM is added in EXTRA_CFLAGS.

Good to know. Thanks!

I just checked. "-U" eliminates the macro completely from the CFLAGS/EXTRA_CFLAGS string. So findstring would fail to find ZMQ_COMM if -UZMQ_COMM is added in EXTRA_CFLAGS.

@ajamshed I added the following debug print to cp/Makefile and ran make EXTRA_CFLAGS=-UZMQ_COMM and I can see the message. Running make doesn't print the message (i.e. ZMQ_COMM is not set in CFLAGS). Have I misunderstood something?
ifneq (,$(findstring ZMQ_COMM, $(CFLAGS), $(EXTRA_CFLAGS)))
        $(info "ZMQ_COMM matched! ***")
        SRCS-y += cp_sync.c

I just checked. "-U" eliminates the macro completely from the CFLAGS/EXTRA_CFLAGS string. So findstring would fail to find ZMQ_COMM if -UZMQ_COMM is added in EXTRA_CFLAGS.

@ajamshed I added the following debug print to cp/Makefile and ran make EXTRA_CFLAGS=-UZMQ_COMM and I can see the message. Running make doesn't print the message (i.e. ZMQ_COMM is not set in CFLAGS). Have I misunderstood something?
ifneq (,$(findstring ZMQ_COMM, $(CFLAGS), $(EXTRA_CFLAGS)))
        $(info "ZMQ_COMM matched! ***")
        SRCS-y += cp_sync.c

@micpez,
Let me do some tests.

I just checked. "-U" eliminates the macro completely from the CFLAGS/EXTRA_CFLAGS string. So findstring would fail to find ZMQ_COMM if -UZMQ_COMM is added in EXTRA_CFLAGS.

@ajamshed I added the following debug print to cp/Makefile and ran make EXTRA_CFLAGS=-UZMQ_COMM and I can see the message. Running make doesn't print the message (i.e. ZMQ_COMM is not set in CFLAGS). Have I misunderstood something?
ifneq (,$(findstring ZMQ_COMM, $(CFLAGS), $(EXTRA_CFLAGS)))
        $(info "ZMQ_COMM matched! ***")
        SRCS-y += cp_sync.c

@micpez,
Let me do some tests.

You are right. This patch will still be useful for those cases where you want to pass new macros, but not for those cases where it can cause conflicts (e.g. run make EXTRA_CFLAGS="-UNGCORE_SHRINK when the Makefile is already including -DNGCORE_SHRINK to CFLAGS).

@ajamshed, thanks for checking. Commit message should be revised then.


AMBARI-25800: Add AMBARI-METRICS to common-services

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)
Please review Ambari Contributing Guide before opening a pull request.

We should delete HDF, HDP, Druid, Flume, Storm...... and its related files

We should delete HDF, HDP, Druid, Flume, Storm...... and its related files

It has been updated, thanks @kevinw66


Update hono helm chart and hono-cli

Signed-off-by: Nindemic<EMAIL_ADDRESS>

Helm chart update done here https://github.com/smaddis/smad-deploy-azure/commit/3baa91210b69987d575362c2ffbd6ab1be16e8b4
Lets use this PR later for updating hono-cli


Thoughts on passing meta property from action to requestInstance?

I'm writing a driver that allows you to attach json schema definitions to the request payload and it returns mock data as a means to create a mock api layer using redux-saga-requests. I have a pretty raw working example, but I'm currently putting the schema definition in the request payload and I feel like it should be in the meta property and should not be part of the request. Based on this line:
https://github.com/klis87/redux-saga-requests/blob/master/packages/redux-saga-requests/src/sagas.js#L114
It looks like the meta property is not being passed in, but it seems like it could be... thoughts? Additionally it could also be done in a more flexible way where you could define what keys of an action payload you want passed. Implementation is a but fuzzier for me on that approach though.
Also is there any disadvantage do you think to passing around a schema definition with the payload? I was also considering registering schemas during initialization of the instance and looking them up with a key from the action payload instead. Anyways, awesome job on the lib. I was basically writing something similar at work to deal with the boilerplate from sagas, but your solution is more refined and further along.

Thanks for kind words :)
Regarding your issue, I think that registering schemas during initialization of the instance as your alternative solution is clearly better, because then action object wont contain this information, and later you could just replace mock driver with axios for instance and you wont even need to change your application code.
Actually such a mocking driver is on my todo list, and your post just shows this is really needed. Several ideas on my list regarding this topic:

adding support for multiple drivers - 1 would be default, which could be overwritten in request.driver key per action if desired
implementing mocking driver, which could be used for tests or for mocking when an api endpoint is not ready yet for example, this will be especially handy with multiple driver support, there wont be any need to wait for backend dev to prepare sth or to mock those things in a way which will require later refactoring, you would be able to just replace driver from mocking one and thats it

I like the idea of multiple drivers a lot as a way of switching drivers during runtime. I started working on the mocking driver for the exact reasons you listed, our UI and API teams are on different feature development schedules and the UI needs to be able to selectively have certain endpoints mocked out. I think having a way to automatically switch all endpoints to be mocked could also be useful, let's say you had to demo something and the api was down for example.
I'll refactor what I have later this week to register the schemas upon initialization of the mock client which I agree is a better solution. I need to be able to associate the action or request with a schema during that initialization. I'm thinking either by actionType or by the request route... If I do the request route I'd have to add some type of pattern matching to associate routes with variable params, not super wild about that, so actionType seems like it might be the way to go here. Anyways, would love to contribute, let me know if you need any help on anything, I've been digging through the code a bit.

I think that action type as a key is definitely the way to go, it is unique after all, contrary to url especially in restful api, where u have http method as well.
Thanks for your offer, I have many stuff on my todo list, if anything comes up, I will make an issue and any PR is welcome!
I plan to do a similar driver on my own for mocking, because I wouldnt use JSON schema for it, just simple objects, but once you finish it, we could add it to the project readme as an external community package

Awesome thanks! I'll close this issue and let u know when it is ready. Thanks!

@defdata After rethinking this, I think that url + method would be a better indentifier. For 1 thing, the whole action is not passed to driver, only request config. Also, the closer request config will look like for mocking driver and axios/fetch driver, the better.


make coarsen reductions consistent with reductions on other classes

[x] Tests added
[x] Passes black . && mypy . && flake8
[x] Fully documented, including whats-new.rst for all changes and api.rst for new API

This PR uses inject_reduce_methods to inject reduction methods into the Coarsen classes. So now we can do coarsen.count() and pass skipna down to the reduction methods.

Great idea, there's lots of room to centralize some of these!

@fujisoup this could use a review if you have time.

I don't remember why I added a separate injection function...

:+1:

Can you add some tests for coarsen.count() and skipna in the reduction methods?

There is a count test in test_variable. I've added sum(skipna=...) tests there too now.

Probably I wondered if bottleneck works with multiple reduction axes.

I'll check this before merging.

In the case of multiple reduction axes i.e. isinstance(axis, tuple) is True we don't use the bottleneck method so things should be fine.
https://github.com/pydata/xarray/blob/ed05f9862622b00f40f7b9b99ccdb0ab3766ff0f/xarray/core/nputils.py#L210-L218


*.scummvm method on Miyoo Mini Plus - cant change language

Hi,
i use Miyoo Mini Plus with OnionOS and ScummVM 2.7.0git
i also use the game.scummvm method - yet i need to speficy language of a game
BASS has english, german and french - yet with scummvm method i can only start the game in english
would love to be able to start the game in german

or it would also be nice to make a launcher.scummvm that simply opens ScummVM Launcher :)

You can simply open the scummvm guy by 'loading' and starting the scummvm core.

Also note that it's in your best interest to use the scummvm scanner to scan the games anyway, because it will often fill in variables you couldn't possibly know about and are important to the games good functioning.
And sometimes they will also create alternate 'game ids' that enable extra functions, like the the bladerunner/worlds of ultima will also create ids for 'enhanced versions' if you scan them in scummvm.

ah ok:

i run ScummVM and add each game - so they have a ID in scummvm.ini
i match ID in game.scummvm with ID of scummvm.ini (like BASS id is "sky-1")
i still use Miyoo with Onion OS and ScummVM with miyoogamelist.xml and run the game via the .scummvm file

or did i missinterpret what was said? sry for my low knowledge and lack of time learning (as i have 2 hard weeks behind me and the next 10 days also packed)
thank you for your help so far

Yes, literally that. But this (libretro-scumm-playlist) program takes care of 2 (creating the files on the games directory) and creates a retroarch playlist for you.
I have no idea what 3 means because i don't have that device.

Alright then.


[Feature] Basic monitoring for ESI endpoints used by Pathfinder

The main objective in v1.5.0 is to make Pathfinder more stable, reduce the number of 5xx responses send to the clients that result in failed ESI api requests and implement multiple "failover" scenarios for bad responses.
So most of the changes were made in exodus4d/pathfinder_esi repository (checkout the updated README.md for more technical information..)
I thought it might be useful, to implement some kind of basic "ESI monitoring" UI for Pathfinder users. There is no need to "monitor" ESI as a whole, its more important to only list endpoints that are used by Pathfinder. Those endpoints are now automatically shown in the new UI and status information is pulled from CCPs "status" endpoint.

cached for 60s
new information in /login page with ESI status
new information dialog with ESI endpoints information

Color codes

green: Endpoint is OK
yellow:  Degraded, meaning slow or potentially dropping requests
red: Means most requests are not succeeding and/or are very slow (5s+) on average

This system is not working.

As you can see from the screenshot, I do not show up in a ship, nor do I show up in the wormhole I am currently logged into in and I can not even get the routes to the systems from the K-Space system highlighted on the map. I have been having additional problems lately where I have even had trouble logging in where it told me I was not authorized and I am the one that created the maps.


Sequencing Quality Control Standards

I am very interested in these standards listed in the file fda_quality_thresholds.csv. However, I have been unable to locate a specific source or reference for these standards. Were these standards developed based on your lab's extensive experience with sequencing data? Or, are they referenced from a particular set of guidelines or a specific paper?

Hello @WangJian99!
Yes these thresholds were set based on the Griffith Lab's experience with sequencing data. The FDA does not have official thresholds. Our thresholds are relatively stringent so the data that falls below them is usually still useable but will be noted when we do our evaluation of the called candidates.
We look more extensively at and have more levels then pass and failed for our basic data QC's (pulled in script get_neoantigen_qc.py). For example:

Total number of uniquly mapping reads generated for Tumor/Normal exome and Tumor RNA-seq (i.e. not counting duplicates that arise from PCR amplification of the same source DNA fragment.

<40,000,000 is poor
40,000,000 - 50,000,000 is acceptable
50,000,000 - 100,000,000 is good
> 100,000,000 is excellent

Duplication rates for tumor/normal DNA samples

>75% is very poor
50-75% is poor
30-50% is acceptable
20-30% is good
<20% is excellent

Somalier results for tumor/normal sample relatedness

>97.5% is excellent
95-97.5% is good
90-95% is concerning
<90% is very concerning

"FREEMIX" results for contamination of both tumor and normal samples

<0.025 is good
0.025-0.05 is concerning
>0.05 is very concerning

RNA-seq metrics for % reads aligning to transcripts

>90% is excellent
75-90% is good
50-75% is acceptable
<50% is sub-optimal

@susannasiebert and @malachig  might want to add some further clarification.

Hi @evelyn-schmidt ! Thank you for your detailed explanation, I understand now.


Add CI step for publishing sway-lib-std docs

Closes #3549

Working on the foundation here, still trouble-shooting

Working on the foundation here, ~still trouble-shooting~
It's working now at https://eureka-cpu.github.io/std-ci-test/master/
Should be up soon

That looks good :exploding_head:

@eureka-cpu remind me is there an issue tracking the addition of methods implemented for types to the docs? For example, the method insert for StorageMap, etc.

@eureka-cpu remind me is there an issue tracking the addition of methods implemented for types to the docs? For example, the method insert for StorageMap, etc.

Ah thanks for the reminder. I have it in my TODOs in the code but not in an actual issue. Filing now!


Bug: Stream timeout...

In my test with Simple Realtime Server it is giving timeout.
I used the demo screen app, it seems that when the image is static, no data is sent to the server so it considers the connection idle and forces the disconnection.
I tested SRT and RTMP

Hi,

it seems that when the image is static, no data is sent to the server

I have noticed the same behaviour. This is a behaviour from the Android API that is used to capture the screen (MediaProjection/VirtualDisplay): it does not generate frame for nothing. I guess most of screen recording application should have this behaviour. I can't see easy way to fix it.
As a workaround, I can't see anythibg else than increasing the publish timeout to infinity.
Regards,
Thbault

Yes, I also thought about this idea of putting infinite timeout, but I still haven't found any open source server with this possibility. Maybe I can customize in the source code.
Another test I did was with the RTP protocol and libstreaming on android and it doesn't have this problem, I don't know if it's the way the protocol works, maybe an RTP extension would be interesting...

Hi,

Yes, I also thought about this idea of putting infinite timeout, but I still haven't found any open source server with this possibility. Maybe I can customize in the source code.
Sorry, I can't help you on this one. Maybe there is a timeout configuration is SRS.

Another test I did was with the RTP protocol and libstreaming on android and it doesn't have this problem, I don't know if it's the way the protocol works, maybe an RTP extension would be interesting...

Does libstreaming provide a screen recorder embed in RTP?
Anyway, It has nothing to do with the container or network protocol. It is just a behaviour of the screen recorder (MediaProjection) on Android: it does not generate a lot of frames. You can test with the camera, you won't have this issue.

Hi,
I have no plan to support RTP for now.
You should try to find the publishing timeout in SRS settings. Contact them if you can't find the settings.
Best regards,
Thibault

A possible solution to this problem is this:
MediaFormat.KEY_REPEAT_PREVIOUS_FRAME_AFTER

MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, width, height).let {
    it.setInteger(MediaFormat.KEY_REPEAT_PREVIOUS_FRAME_AFTER, 1000000 / DEFAULT_FRAME_RATE)
    it.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, 1)
}


[Bug] The NuGet.bat file is not portable.

The new chocolatey (<IP_ADDRESS>) processes existing bat files to make them portable. Then it puts a NuGet.bat in the bin. That file is not portable.
@echo off
"D:\packages\lib\chocolatey.<IP_ADDRESS>\tools\chocolateyInstall\NuGet.exe" %*

unintended side effect of still running the old code during the install of chocolatey.

Thoughts?

Where's that NuGet.bat file defined? I haven't had time to look through the repo. Just edit the raw contents for the next release.

It's written out in the Generate-BinFile method. In <IP_ADDRESS> it writes them in a more portable manner. However during the upgrade, the nuget.bat file is generated using the <IP_ADDRESS> code.

Nuget.exe will not be linked in vNext

Undocumented feature this release but fixed in fc768d4b097e97d243e661e654588431d183c50b

Undocumented meaning dark feature, subject to change.

Will there be a nuget exe package? Or are there problems with that because of the way CodePlex deals with license agreements?

oh snap, I'm on it ;)


Adding cloud_RoleName and cloud_RoleInstance

Added support for shipping Cloud class to Application Insights

 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.:x: gugu91 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Related to #119

@SergeyKanzhelev can you help with the review? Ideally would like this merged as we are using this client in a production system and had to monkey patch it!
Thanks!

Sorry for delay and thanks for contribution. Can you please update CHANGELOG.md and I'll merge it and release a new version

@SergeyKanzhelev I've modified the changelog. Please feel free to edit it.

@SergeyKanzhelev did you have a chance to have a look at it? Can you merge it if it's alright? Thanks!


Scenario.var_list() and .var() not covering all variables

I find that I cannot read the contents of some new variables (e.g. REN) using the two function calls.

Only the most important variables and equations are currently imported from the GAMS output to the ixmp.Scenario instance - these are what you'll get via Scenario.var_list() and Scenario.equ_list(). The idea is to not import auxiliary results, that aren't needed in postprocessing.
Are there specific variables in the gdx output that you would need for postprocessing?

In general, I agree that one may want to see also the "not most important" variables as well. In this case, though, REN was introduced (if memory serves) and not added to the white list on the java side.
We should probably be more explicit when touching the GAMS code to also include these. I would still love to see someone actually scrape the GAMS code and generate the full listing (similar to how we do the documentation). If anyone is interested in taking the lead on that, I would very much enjoy helping.

@ Jihoon, I had the same question and checked with @khaeru how to tackle this. As it stands now, the workaround can be as follows:

The user needs to initialize the variable that is missing in the scenario.var_list() first.

This can be done in an automatc way to include through message_ix/models.py, by adding a couple of lines, for example, for variable STORAGE. This way, any time a new scenario is created or cloned includes this variable.

MESSAGE_ITEMS = {
    'STORAGE': dict(ix_type='var', idx_sets=['node', 'technology', 'level', 'commodity', 'year', 'time']),
}

Another way, mostly for one time use cases, is to initialize the variable directly in the workflow or script:

scenario.init_var('STORAGE',  idx_sets=['node', 'technology', 'level', 'commodity', 'year', 'time'])

Then, after doing step No. 1, the new variable should be passed when solving as scenario.solve(var_list=['STORAGE']). This makes sure that the new variable will be attached to the default variables and the solution will be read from output GDX file.
Obviously, it's more elegant to get No. 2 done automatically when the user does No. 1. But it seems at the moment it's not the case. I hope it helps.

Another point: as we get closer to resolving iiasa/message_ix#254, this will get fixed as a byproduct.

Once the structure of MESSAGE (items and dimensions) is fully described in the (open source) Python code and not in the (closed source) Java code, then:
Those variables/equations will always exist in every Scenario, and
The list of variables/equations to read with the solution can then be introspected from the contents of the Scenario.


Specified key was too long

When trying to migrate this error whows up on the command line

Solution: Write this inside \app\Providers\AppServiceProvider and add the code marked on blue.


Implement CPA interface with surface hopping

I have the plan which is

Make bomd.py which run bomd to make binary data for CPA dynamics in CPA class
Implement methods to get binaries to run sh.py (read_QM_from_file and read_RP_from_file) in cpa/sh.py

Any suggestion or idea?

test [102d342]

-Discussion contents (will be implemented soon)

In sh.py, current code needs large memory to get sampling data in one time. An option to get sampling data in each time step for small memory user is needed.
To save sampling data, defining directory variable for sampling data is needed.
qm object is dummy when running cpa dynamics except bomd sampling
Rather implement read_QM_from_file and read_RV_from_file in sh.py, put it in other object can be better option
Following 3, 4, object to save variables (like molecule) is needed


c++ compiler reporting issues while installing node-sass

`make: Entering directory `/home/test/testing/node_modules/gulp-sass/node_modules/node-sass/build'
  g++ '-DNODE_GYP_MODULE_NAME=libsass' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.2"' -I/home/test/.node-gyp/0.12.7/include/node -I/home/test/.node-gyp/0.12.7/src -I/home/test/.node-gyp/0.12.7/deps/uv/include -I/home/test/.node-gyp/0.12.7/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -ffunction-sections -fdata-sections -fno-tree-vrp -fno-tree-sink -fno-omit-frame-pointer -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/ast.o.d.raw   -c -o Release/obj.target/libsass/src/libsass/src/ast.o ../src/libsass/src/ast.cpp
In file included from ../src/libsass/src/ast.cpp:1:
../src/libsass/src/ast.hpp: In constructor ‘Sass::Hashed::Hashed(size_t)’:
../src/libsass/src/ast.hpp:246: error: ‘class std::unordered_map<Sass::Expression*, Sass::Expression*, std::hash<Sass::Expression*>, std::equal_to<Sass::Expression*>, std::allocator<std::pair<Sass::Expression* const, Sass::Expression*> > >’ has no member named ‘reserve’
../src/libsass/src/ast.hpp: In member function ‘Sass::Hashed& Sass::Hashed::operator+=(Sass::Hashed*)’:
../src/libsass/src/ast.hpp:275: error: expected initializer before ‘:’ token
../src/libsass/src/ast.hpp:279: error: could not convert ‘Sass::Hashed::reset_duplicate_key()’ to ‘bool’
../src/libsass/src/ast.hpp:280: error: expected primary-expression before ‘return’
../src/libsass/src/ast.hpp:280: error: expected ‘)’ before ‘return’
../src/libsass/src/ast.hpp: In member function ‘virtual size_t Sass::Map::hash()’:
../src/libsass/src/ast.hpp:872: error: expected initializer before ‘:’ token
../src/libsass/src/ast.hpp:876: error: expected primary-expression before ‘}’ token
../src/libsass/src/ast.hpp:876: error: expected ‘;’ before ‘}’ token
`

You need to use g++ 4.8 or newer, clang also works.

@saper negative. I was using 4.7 on a centos and it is working fine. I tried it on a different centos with 4.7, fails. Closing this issue as upgrade does fix it but its strange that is works on 4.7 and fails in another.

It may have worked on 4.7 at some point. We only test and hence only
support 4.8.
On Mar 7, 2016 5:46 AM, "Ravi Tadi"<EMAIL_ADDRESS>wrote:

@saper https://github.com/saper negative. I was using 4.7 on a centos
and it is working fine. I tried it on a different centos with 4.7, fails.
Closing this issue as upgrade does fix it but its strange that is works on
4.7 and fails in another.
—
Reply to this email directly or view it on GitHub
https://github.com/sass/node-sass/issues/1405#issuecomment-192960130.

How "different" were those centos installs? Which libstdc++ were they using?

[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2 - lib sass works

That's surprising - do you have by chance a full compilation log with gcc 4.4?

@saper fwiw I believe the Linux binaries are built in centos 5 with GCC 4.x
On Mar 10, 2016 7:19 PM, "Marcin Cieślak"<EMAIL_ADDRESS>wrote:

That's surprising - do you have by chance a full compilation log with gcc
4.4?
—
Reply to this email directly or view it on GitHub
https://github.com/sass/node-sass/issues/1405#issuecomment-194726726.

4.4 or 4.5
On Mar 10, 2016 7:22 PM, "Michael Mifsud"<EMAIL_ADDRESS>wrote:

@saper fwiw I believe the Linux binaries are built in centos 5 with GCC 4.x
On Mar 10, 2016 7:19 PM, "Marcin Cieślak"<EMAIL_ADDRESS>wrote:

That's surprising - do you have by chance a full compilation log with gcc
4.4?
—
Reply to this email directly or view it on GitHub
https://github.com/sass/node-sass/issues/1405#issuecomment-194726726.


systemd-desktop - replace contents to rely on uwsm to start a systemd session. Remove hyprland-session.service

Describe your PR, what does it fix/add?
As proposed and discussed here https://github.com/hyprwm/Hyprland/pull/8339 offload Hyprland systemd management to uwsm. This entry, in particular, is meant to be started with a display manager
Is there anything you want to mention?
See below
Is it ready for merging, or does it need work?
Yes

Also, I didn't add uwsm as we've yet to decide - whether it should be a mandatory systemd dependency or optional.

Shouldn't be required, as users can also write their own services instead of using uwsm. It's just easier and probably more  correct to use uwsm.

Some extras.

Technically, a desktop entry should work as I used @Vladimir-csp example for Hyprland for it. However, if someone can test it with a DM (especially, exiting and re-entering the session with user services enabled) - it would be great. Make sure to use loginctl terminate-user "" command, instead of hyprctl dispatch exit

No idea, what's wrong with the clang_format, since merging 0.45, but as I see - many PRs now failing this check.

Not related to PR - just a notice.  Manual building with meson doesn't autodetect systemd. Probably, https://github.com/hyprwm/Hyprland/pull/8320

@izmyname I just tested with GDM, seems to work fine.

@izmyname I just tested with GDM, seems to work fine.

In this case, I think the PR is ready.

Oh, and clang-format fixed itself.

Nice, so since this is essentially replacing Hyprland.desktop file.

Non uwsm Hyprland.desktop  is still available and will be installed alongside hyprland-uwsm.desktop

we need to put this under /usr/share/wayland-sessions

The PR already does.

I guess this should also be in the PR.
diff --git a/nix/default.nix b/nix/default.nix
index 29d31485..4fef0f97 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -171,7 +171,7 @@ in
         ''}
       '';

-      passthru.providedSessions = ["hyprland"];
+      passthru.providedSessions = ["hyprland" "hyprland-uwsm"];

       meta = {
         homepage = "https://github.com/hyprwm/Hyprland";

@fufexan hope I didn't miss anything

Looks fine.

@izmyname I think this patch fixes meson autodetecting systemd:
diff --git a/meson.build b/meson.build
index 76765645..e4abad36 100644
--- a/meson.build
+++ b/meson.build
@@ -52,8 +52,12 @@ backtrace_dep = cpp_compiler.find_library('execinfo', required: false)
 epoll_dep = dependency('epoll-shim', required: false) # timerfd on BSDs

 # Handle options
-if get_option('systemd').enabled()
-  systemd = dependency('systemd')
+systemd_option = get_option('systemd')
+systemd = dependency('systemd', required: systemd_option)
+systemd_option.enable_auto_if(systemd.found())
+
+if (systemd_option.enabled())
+  message('Enabling systemd integration')
   add_project_arguments('-DUSES_SYSTEMD', language: 'cpp')
   subdir('systemd')
 endif
diff --git a/nix/default.nix b/nix/default.nix
index 4fef0f97..4756b1c8 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -152,7 +152,6 @@ in
         (mapAttrsToList mesonEnable {
           "xwayland" = enableXWayland;
           "legacy_renderer" = legacyRenderer;
-          "systemd" = withSystemd;
         })
         (mapAttrsToList mesonBool {
           "b_pch" = false;

Also tested with Nix by removing explicit option passing.

After some tests I've concluded that installing the uwsm desktop file on NixOS has no benefit or is even detrimental. This is why I've added a feature flag to both Meson and CMake which is enabled by default, but can be easily disabled by users.
Also, the Type used in the desktop file was incorrect, as reported by uwsm.

Type is not "Application", "Link" or "Directory"

@izmyname I think this patch fixes meson autodetecting systemd:

It doesn't.
Also, we should probably remove gdb make dep from hyprland-wiki, as Hyprland builds perfectly without it. Additionally, Arch maintainers removed it from Hyprland PKGBUILD in extra repo.

It doesn't.

If there's no option overriding from the CLI, and the systemd dep is found, then I have no clue what's going on.

If there's no option overriding from the CLI, and the systemd dep is found, then I have no clue what's going on.

Not the goal of this PR, so I think it can be fixed later. It doesn't break any existing workflow, anyway.

Ok, I'll merge this and the wiki PR in a few hours when I'm free again.

IMHO, makes sense to make an announcement for the people, who use old hyprland-session.service.

Sure, I'll do that.

Thanks, everyone!

Thank you for all the help!

just spotted all this work you folks have been doing on this - looks awesome :)
the whole thing about launching portals and invocation of dbus-update-activation-environment at the right place, along with the various weird shell scripts killing processes and doing odd workarounds.. all that stuff was becoming a bit of a nightmare, I was always curious about how to improve things to do it "the right way", it seems this is the answer.

Also, is there a place to discuss this further? I have found myself with a few questions after reading the Wiki entry, for example, does this mean I should prepend anything using the exec dispatcher with uwsm app --? And when it says "Running applications as child processes inside compositor’s unit is discouraged." is this what would occur if you just used the exec dispatcher on its own?

Also, is there a place to discuss this further?

Not yet but we can create a discussion.

does this mean I should prepend anything using the exec dispatcher with uwsm app --?

Yes. That and if you use an app launcher that supports prepending a launch prefix (like fuzzel or anyrun), you should also use that for the added benefit of also having those apps be bound to systemd units.

And when it says "Running applications as child processes inside compositor’s unit is discouraged." is this what would occur if you just used the exec dispatcher on its own?

Yes.

does this mean I should prepend anything using the exec dispatcher with uwsm app --?

except flatpaks and clients for already started systemd process (like footclient to foot-server), I suppose.

Yeah I start the launcher with uwsm app -- anyrun, and when it starts an app, it does it like this: uwsm app -- /path/to/program.desktop.
I don't notice slowdowns. Maybe because I always give it the full desktop entry path and it doesn't have to search again.

Did the same for fuzzel  launch-prefix='uwsm app -- '
Although, probably, launching fuzzel, itself, without prefix isn't that critical, in my case - as I rarely keep it open for a long time it isn't launched when I shutdown.

If a launcher doesn't live long, there is little point of wrapping it itself other than pedantic reasons.

If a launcher doesn't live long, there is little point of wrapping it itself other than pedantic reasons.

Thanks for clarification!

Also, some closing thoughts, regarding a proper systemd/xdg support.
@fufexan I think the next and final step for Hyprland to be fully on par with existing desktop environments would be implementing org.freedesktop.Background for xdg-desktop-portal-hyprland, in order, to properly autostart flatpaks without hacky workarounds, that look more like exploits. (see https://github.com/hyprwm/hyprland-wiki/pull/850#issuecomment-2470108725 https://github.com/Vladimir-csp/uwsm/issues/51#issuecomment-2464886405 and https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/177 ).

@fufexan

Not yet but we can create a discussion.

That would be cool - you guys are doing amazing work. @izmyname mentioned making Hyprland "fully on par with existing desktop environments" which definitely describes most of the stuff I've been hoping/wishing for surrounding this stuff.
It sounds kindof like a "project" in itself, or some changes in the general direction of "make it somewhat more like a desktop environment", so I'm sure someone could come up with a good title for a discussion thread.
There's a lot of things autostarted when using uwsm, is hyprpolkitagent part of this? Just thinking my HL config might have some exec-onces for hyprland desktop portal and hyprpolkitagent which may no longer be necessary.

hyprpolkitagent part of this?

Yes. hyprpolkit, hypridle and hyprpaper (git version) have systemd services you can enable on startup

portal

You don't need to explicitly autostart it. It's automatically started via D-Bus

I think the next and final step for Hyprland to be fully on par with existing desktop environments would be implementing org.freedesktop.Background for xdg-desktop-portal-hyprland

Honestly I've never worked on xdph directly, but I will try to take a look when I have time. I don't use flatpaks myself so I'll have to ask you to aid with testing when that time comes.

I notice the wiki suggests using loginctl terminate-user "" instead of exit to exit Hyprland now, but the uwsm github page mentions using loginctl terminate-session "$XDG_SESSION_ID" to close only the current session. Are there any issues with using the latter? (If there are I imagine they're portal related).
terminate-user works as advertised, it kills every active login session and running units of the user, which means if I were to say run Hyprland in tty2 to bisect, I'd kill the tty1 session on exit. Also all background services/units are killed? This is not very desirable.

If terminate-session works fine, we can update the wiki.

I've made a discussion https://github.com/hyprwm/Hyprland/discussions/8459.

Apologies for bumping the old discussion, but since there isn't a suitable discussion thread, I post it here.
@fufexan you might be interested to take a look at how KDE implements the background. https://github.com/KDE/xdg-desktop-portal-kde/blob/master/src/background.cpp https://github.com/KDE/xdg-desktop-portal-kde/blob/master/src/background.h
Surprisingly, there seem to be just two relatively small files. I hope it doesn't lead to the need of changes within the compositor, itself, to avoid possible complexity of implementing the interface.

They look small but there are a lot of includes in there as well :)

True. GNOME xdp seems less complicated, though https://github.com/GNOME/xdg-desktop-portal-gnome/blob/main/src/background.h https://github.com/GNOME/xdg-desktop-portal-gnome/blob/main/src/background.c


CHQ-60 Added SmartHttpClient that can retry requests in the event of a 500

Story
https://maddonkeysoftware.myjetbrains.com/youtrack/issue/CHQ-60
Summary

Added SmartHttpClient class an implemented http get retry logic.
Modified jobs ImportMapData and ImportMarketData to use new SmartHttpClient

Testing

Stop current corp-hq-runner if one is running
Queue'd about 4 or 5 market data jobs with curl below.
Set breakpoint in SmartHttpClient on Thread.Sleep line
Started corp-hq-runner and verified that breakpoint eventually got hit. Pressed "continue" to let app run.
Verified debug output that no item types were skipped.

Merging since this has been sitting for too long.


[FEATURE] Labels outside the pie chart

Expected Behavior
I'd like to have the labels outside the chart, like this example, taken from the deprecated Google Image Charts library:

Current Behavior
So far legend is the only way to describe the chart areas, and tooltips do not replace this feature.

Chart.js version: latest

I'm not sure if this should live in the core or if it should exist as some kind of plugin. @chartjs/maintainers thoughts?

@etimberg I think this is something that should live in the core. It would be too much work to maintain it as a separate plugin and could easily be included with the core.

This feature should now be requested in the chartjs-plugin-datalabels repository: it already allows to add labels outside the chart but it doesn't support links.

is that works with funnel chart
using plugin called chart js funnel plugin

In my scenario, the charts are in a wide-format canvas. In this scenario, the GoogleChart implementation has the nice effect of placing the labels intelligently left and right of the chart and connecting label and slice via line, providing the full height of the canvas to the chart.
This can (to my knowledge) not be done with the chartjs-plugin-datalabels and neither with other plugins I found. Just placing the legend around the pie shrinks the chart even further, which I do not want.
Is there some other plugin that I missed and that can display the legend as shown in the first picture? Or how should one proceed here?

https://rawgit.com/beaver71/Chart.PieceLabel.js/master/build/Chart.PieceLabel.min.js  use this link to get label out side for pie chart   @DrNiels

@Cristianopavan I actually use that plugin to put labels onto the slices, but it does not place the labels for the slices left and right of the chart but always directly at the slice. Consider the label of "February" in the screenshot of the first post. Since the canvas is wide, the label is placed left of the chart and connected with a line. That's what I want.


Build fails with entity property type Optional

Entity property private java.util.Optional<java.time.LocalDate> foo;
results in generated
public final DateTimePath<java.util.Optional<java.time.LocalDate>> foo = createDateTime("foo", java.util.Optional.class);
which doesn’t compile:

type argument java.util.Optional<java.time.LocalDate> is not within bounds of type-variable T
incompatible types: inference variable A has incompatible bounds
equality constraints: java.util.Optional<java.time.LocalDate>
upper bounds: java.util.Optional,java.lang.Comparable

I guess it should generate a SimplePath like it does for java.util.Optional<java.time.YearMonth>.

Which Querydsl version do you use?

In my local test it created correctly
public final SimplePath<java.util.Optional<java.time.LocalDate>> foo = createSimple("foo", java.util.Optional.class);

So it might have been an issue in an earlier version or the 3.* line?


Windows EXE

We should leave the EXE out of the repo, and only add it to 'releases'.
I haven't done much in the way of using the exe compilers, but I can mess around with them tomorrow or later this week.

Gotchaya Lets do that I even created one using pyinstaller I am about to test it on a windows machine at my school

Hey by the way you can create slack if you for better communication. I am adding you as a contributor to this repo

sent you an invite

Should we create a gitter channel / slack or discord for communication

I have created a Release, and added the binary to it. It appears to be working well.
I primarily use Discord, but also have Slack. Either work.

Gotchaya I'll setup slack will send you invite


macOS installation - last step needs clarification

I followed the steps to install with Homebrew on macOS, and received this message at the end,
# Load rbenv automatically by appending
# the following to ~/.zshrc:

eval "$(rbenv init - zsh)"

Context:
% brew install rbenv ruby-build. # step 1
... # installation succesful
% rbenv init  # step 2

# Load rbenv automatically by appending
# the following to ~/.zshrc:

eval "$(rbenv init - zsh)"

The instruction also provides step 3, "reload terminal for changes to take effect". I did that and I'm 95% sure that didn't help and I did need to modify my ~/.zshrc. (I did some mingling in the terminal and cannot remember the correct sequence to success.)
It would be beneficial to either add an explicit step to ignore this zshrc message, or to mention to follow it with / instead of reloading the terminal / doing source ~/.zshrc.
Thank you! :)

There is probably some room for clarification here. The instructions in step 3 "reload terminal for changes to take effect" is necessary after any changes are made to ones zshrc. (The addition of rbenv-init to the zshrc are in fact the changes that will not take effect until reloaded.) Changes to zshrc/profile only take effect when they are sourced, which only happens when the shell is first launched.
So the instructions to add rbenv-init to your zshrc and the instructions to reload the terminal are not conflicting or redundant. Rather, the latter follows from the former.
I can see the confusion, however. The phrasing "Load rbenv automatically" could seem to imply the reload not being necessary.

I think it's also likely you might be running into some conflicting messaging. Just a few weeks ago, rbenv-init was modified to make the necessary changes to bashrc/zshrc/etc itself rather than printing the instructions for users to perform manually.
This new behavior is not released yet; and so the homebrew installation does not yet take advantage of it. What's more, rbenv's README instructions reflect the latest code _on rbenv's main branch. So if you view https://github.com/rbenv/rbenv#installation, you'll be seeing the installation steps that presume the still-unreleased behavior. 😬
I apologize for the confusion caused. I suspect most of this confusion should be sorted out once the next release is cut. Then the readme will be applicable and homebrew's installation will be able to take advantage of the streamlined install behavior.

Ah, I see, thank you! I'll stop stepping on your toes :)

If you don't mind, I think I'd like to keep this open until the next release. There might still be some improvement to the messaging between the readme, homebrew messaging, and rbenv init.

Closing since the new release is out: https://github.com/rbenv/rbenv/releases/tag/v1.3.0
The setup instructions now boil down to: just run rbenv init (optionally specifying your shell or shells as arguments) and rbenv will edit the shell initialization files for you to bootstrap itself into any new instance of that shell. This simplifies the README instructions, which are now clearer, as well as the rbenv-installer script which is now fully automated and relies on no user setup steps.


Reproducer for HHH-17075 Lazy loading of association with non-PK referencedColumnName always yields null when bytecode enhancement is enabled

https://hibernate.atlassian.net/browse/HHH-17075
This is a reproducer, not a fix.

@yrodiere thanks for the reproducer.
Superseded by https://github.com/hibernate/hibernate-orm/pull/7187


support claude 2, and support auto analysis github repo and write code based on public repo

support claude 2, and support auto analysis github repo and write code based on public repo

Hello! Regarding the configuration for using other models, you may want to try out this PR#53. You can find the link here: https://github.com/OpenBMB/ChatDev/pull/53. While our team hasn't fully tested it due to time constraints, it has received positive feedback for its effectiveness. Thank you very much for your support and attention to ChatDev. Please feel free to raise any questions or ideas, and we'll do our best to address your needs and continue improving our product.


Produce automated reports on Jupyterlab's compliance to WCAG standards

Background

We need to establish a baseline of the current a11y issues on JupyterLab to measure and track improvements against as well as to avoid regressions.
We propose using Galata and pa11y
Steps to complete this goal

Will keep this issue pinned as some sort of an Epic and we will be opening smaller issues to keep track of the tests added now that we agreed on a semi-TDD approach

will close this and move top opening individual issues for individual items


Add section to document how to create custom template filter

Hey, I just made a Pull Request!

Add a section to document how to create custom template filter within the scaffolder plugin
Issue: #24002

:heavy_check_mark: Checklist

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

PR can be reviewed :-)

I suggest that we merge it post merge of your PR as quarkus-helm 1.2.3 (see) is aligned with quarkus 3.8.3

@cmoulliard looks like it needs a rebase before merging :pray:

looks like it needs a rebase before merging 🙏

Done :-)

Nice thanks!


Put pull_request title in redis

Hi there,
in order to provide pull_request title in job as env variable it needs to be read from github payload first.
See https://github.com/travis-ci/travis-ci/issues/9288 for more information about this feature request.

Hi @tadjik1
Thanks for the PR. I'm sorry but this won't work as expected as the line you have added are only for logging purposes. This would need to be added to travis-build and possibly travis-scheduler, either way, this PR is not required.


render -> renderToString - fix mistake

There is a mistake in the README where render is being called with renderToString imported above.

@googlebot I signed it!