primordic/IssueDupesLite huggingface dataset:
Repository: micrometer-metrics/micrometer

Issue #4081: Allow multiple MeterTag annotations for multiple tags from same target
Created: 2023-09-13T19:10:31Z
Please describe the feature request.
The '@MeterTag' feature lets you add dynamic tags, taking a value from a parameter. Currently, you can only extract one key/value pair because annotation can't be repeated and I did not see a way to define a list of key/value pairs.
It would be helpful to allow for extracting multiple key-value pairs.
Rationale
For APIs with numerous fields, it would be beneficial to create multiple tags for improved filtering.
Additional context

Duplicate issue #5603: Make annotation MeterTag Repeatable
Created: 2024-10-23T12:12:53Z
Context
Annotation @MeterTag can be used on method parameters in order to define tags on @Timed annotation.
Issue
Problem is @MeterTag is not Repeatable (cf @Repeatable), so, it is not possible to get more than one tag from the same parameter.
Exemple : My method take one parameter and I want to get 2 tags from it :
@Timed("app.my.meter")
public void execute(
   @MeterTag(key = "foo", resolver = "FooResolver.class")
   @MeterTag(key = "bar", resolver = "BarResolver.class")
   Data data
) {
   //...
}

Closing comment (2024-10-23T21:22:03Z): I think this is a
Duplicate of #4081
Please let us know if you disagree and we can reopen if needed.
Repository: micrometer-metrics/micrometer

Issue #5690: Send metrics via any protocol in the OTLP Registry
Created: 2024-11-19T07:34:12Z
Please describe the feature request.
The idea is to make it available for any consumer of the micrometer-otlp-registry to provide their own metrics sending implementation. The OTLP Registry can still only support HTTP/protobuf as it does today but, for example, its implementation can be described by a public interface.
Rationale
The purpose of the change is to allow for metrics sending to be more flexible on the consumer side. I'm not advocating any changed to the OTLP protocols, rather my intention would be to open metrics sending up.
And example on my end would be that I desire to push all metrics to a Kafka topic before they are sent via HTTP/protobuf to OTLP collector. This way I have greater control over my metrics that might be coming from a number of microservices.
Additional context
Slack discussion: https://micrometer-metrics.slack.com/archives/C01C4Q8FHC2/p1731676707725909

Duplicate issue #5873: Be able to provide custom HttpSender for otlp-registry
Created: 2025-02-03T15:46:02Z
Please describe the feature request.
Currently the otlp registry integration only provides the default HttpUrlConnectionSender. I want to leverage my own connection system for sending otlp requests.
Currently the implementation forbids my to provide my own HttpSender, because the constructor is package-private.
Rationale
To be more flexible and more efficient it can be very useful to provide your own HttpSender implementation. You can furthermore introduce retry policies or other decorating improvements.
Additional context
I really like the micrometer setup, because of the many integrations that already exist in libraries.

Closing comment (2025-02-11T00:53:49Z): Duplicate of #5690
Repository: micrometer-metrics/micrometer

Issue #69: Add static holder for injecting MeterRegistry
Created: 2017-08-01T16:34:04Z
Similar to how libraries can code against slf4j by using the LoggerFactory to get a logger, we need a similar way for libraries to get the MeterRegistry.
Instead of using classpath introspection, we can leverage the constructor usage. I'll send a PR shortly.

Duplicate issue #81: Ability to export to more than one MeterRegistry
Created: 2017-08-09T10:53:21Z
When migrating from one metric library to the other, it is necessary to export the stats to more than one MeterRegistry implementation. It would be useful to have a MeterRegistry implementation that broadcasts its calls to more than one delegate.

Closing comment (2017-08-11T17:03:28Z): The default static global registry will be linked to an empty composite registry. Related to #69 .
Repository: micrometer-metrics/micrometer

Issue #655: Shade pcollections into `micrometer-registry-statsd`
Created: 2018-06-14T14:22:29Z
Workaround for 1.0.5:
compile("io.micrometer:micrometer-registry-statsd:1.0.5")
compile("org.pcollections:pcollections:3.0.1")

Duplicate issue #664: missing pcollection dependency for 1.0.5 tag
Created: 2018-06-18T07:39:03Z
Hello,
i get a NoClasDefFound error, when adding micrometer-registry-statsd-1.0.5 as dependency (well, spring boot 2.0.3 does that for me)
Caused by: java.lang.NoClassDefFoundError: org/pcollections/PMap at io.micrometer.statsd.StatsdMeterRegistry.lambda$lineBuilder$4(StatsdMeterRegistry.java:251) at io.micrometer.statsd.StatsdMeterRegistry.lineBuilder(StatsdMeterRegistry.java:259) at io.micrometer.statsd.StatsdMeterRegistry.newCounter(StatsdMeterRegistry.java:264)
Did you forget to shade pcollections? Otherwise i will have to add it manually, dont i?
Cheers!

Closing comment (2018-06-18T08:07:06Z): Duplicate of #655
Repository: micrometer-metrics/micrometer

Issue #479: Add possibility to unregister metrics
Created: 2018-03-06T11:00:14Z
My use case is that I have several instances of a service, but only one of them collects some database related metrics.
So if all services report metrics then it looks a little bit strange - some report zero, and one report correct values.
And I can't set it up during service start-up time, because it might be situations when one service stops to collect those metrics and another one starts(after cluster re-balance for example).
It would be nice to have a possibility to disable or de-register some metrics when needed and turn them on or register them again.

Duplicate issue #368: Support for removing a Meter from the MeterRegistry
Created: 2018-01-25T11:41:35Z
Support for removing a Meter from the MeterRegistry. Like DropWizard Metrics -> MetricRegistry.remove().

Closing comment (2018-10-11T20:19:16Z): Duplicate of #479.
Repository: micrometer-metrics/micrometer

Issue #998: Timer/distribution summary snapshot values not self-consistent
Created: 2018-11-09T22:44:09Z
While the name might suggest otherwise, the timer/distribution summary takeSnapshot() implementations do not atomically capture statistics, so that count(), max(), and histogramCounts() are not necessarily self-consistent. This can lead to situations where the total counts of the histogram buckets may not equal snapshot.count(). Or a downstream system using metrics might compute incorrect rates (total / count) because the time periods they measured are effectively different.

Duplicate issue #1070: StepMeterRegistry CountAtBucket values does not match timer.count.
Created: 2018-12-14T15:06:49Z
We are seeing some really weird things in our system and here is a gist that boils this down.
This example class uses SimpleMeterRegistry and a timer using sla:s. All durations are within the sla:s and therefor the value of the last bucket should match the timer.count value?
https://gist.github.com/jrask/52c70475ac744af56f88e43fab80a7c9
Here are some sample outputs
Timer.max is within SLA so,
Why is the last CountAtBucket != Timer.count? I this expected behaviour
Timer.builder("test__no__tag")
    .sla(Duration.ofMillis(100), Duration.ofMillis(200))

Timer.name, Timer.max,  "CountAtBucketValues",   Timer.count / HistogramSnapshot.count

test_with_tag, , max:198.0, bucket: 100.0 = 82.0, bucket: 200.0 = 159.0, Count:163/163
test_with_tag, , max:198.0, bucket: 100.0 = 84.0, bucket: 200.0 = 159.0, Count:163/163
test_with_tag, , max:198.0, bucket: 100.0 = 74.0, bucket: 200.0 = 158.0, Count:162/162
test__no__tag, , max:198.0, bucket: 100.0 = 251.0, bucket: 200.0 = 485.0, Count:488/488

Closing comment (2018-12-14T16:55:38Z): It believe this is a duplicate of #998. Thanks for the complete example and sorry for the trouble.
Repository: micrometer-metrics/micrometer

Issue #3556: Hazelcast Cache Metrics, "put" operation count incorrect
Created: 2022-12-04T14:19:26Z
Describe the bug
Hazelcast has two variations for IMap writing, "put" and "set".
Hazelcast's Spring Cache uses the latter
(https://github.com/hazelcast/hazelcast/blob/master/hazelcast-spring/src/main/java/com/hazelcast/spring/cache/HazelcastCache.java#L114)
Micrometer counts the former (https://github.com/micrometer-metrics/micrometer/blob/main/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/cache/HazelcastCacheMetrics.java#L125)
It should use localMapStats.getPutOperationCount() + localMapStats.getSetOperationCount()
Environment
N/a
To Reproduce
I don't have code, but anything @Cacheable in Spring that saves to Hazelcast should be enough.
Expected behavior
Cache "put" counts should report as non-zero
Additional context
See also hazelcast/hazelcast#23063, which may change the implement from IMap set to IMap put

Duplicate issue #3555: Hazelcast Cache Metrics, put operation count incorrect
Created: 2022-12-04T14:18:23Z
Describe the bug
Hazelcast has two variations for
Hazelcast's Spring Cache uses the latter
(https://github.com/hazelcast/hazelcast/blob/master/hazelcast-spring/src/main/java/com/hazelcast/spring/cache/HazelcastCache.java#L114)
Micrometer counts the former (https://github.com/micrometer-metrics/micrometer/blob/main/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/cache/HazelcastCacheMetrics.java#L125)
It should use localMapStats.getPutOperationCount() + localMapStats.getSetOperationCount()
Environment
N/a
To Reproduce
I don't have code, but anything @Cacheable in Spring that saves to Hazelcast should be enough.
Expected behavior
Cache "put" counts should report as non-zero
Additional context
See also hazelcast/hazelcast#23063, which may change the implement from IMap set to IMap put

Closing comment (2023-01-12T08:27:24Z): Duplicate of #3556
Repository: micrometer-metrics/micrometer

Issue #2818: Avoid global publishing alignment
Created: 2021-10-13T16:40:10Z
Could you confirm my understanding that all replicas will now push their points at the exact same time?

Yes, that appears to be the case now.
The distributed coordination on publication time is a side effect we probably overlooked in merging #1218. Thank you for the investigation on that. While we want consistency within a process (or registry), we don't want coordination across processes on publishing, as you suggested.
That said, the publication happening at a different millisecond across instances should not be relied upon either.
Originally posted by @shakuzen in #2787 (comment)

Duplicate issue #3053: Make a flag for the initial delay for PushMeterRegistry
Created: 2022-03-04T16:25:19Z
Please describe the feature request.
As seen here: https://github.com/micrometer-metrics/micrometer/blob/main/micrometer-core/src/main/java/io/micrometer/core/instrument/push/PushMeterRegistry.java#L76
we calculate the initial delay in order to trigger the tasks on the exact mark. For example, if delay is 10s, this means that that scheduled push happens on 10s mark, eg: 1:22:00, 1:22:10, 1:22:20...
We need this feature to be optional.
Rationale
If you have metrics on many places in a microservice application, imagine what happens when pushes from all services are triggered at the same time. It makes sense to randomize the initial delay in order to spread the load over time.
Additional context
N/A

Closing comment (2022-03-22T09:46:35Z): Duplicate of #2818
Repository: microsoft/BotBuilder-Samples

Issue #774: csharp_dotnetcore QnABot sample missing Bot Configuration file.
Created: 2018-10-25T15:39:35Z
Sample information

Sample type: [\csharp_dotnetcore\qnabot]
Sample language: [dotnetcore]
Sample name: qnabot

Describe the bug
Missing bot configuration file from the sample.
To Reproduce
Steps to reproduce the behavior:

Download sample
Build QnABot sample
Run
See error [System.IO.FileNotFoundException: 'Could not find file'] Expecting BotConfiguration.bot

Expected behavior
Configuration file is inside of sample
Screenshots
N/A
Additional context
I believe the configuration file is just missing from the sample directory.
[bug]

Duplicate issue #775: Could not find file QnABot.bot
Created: 2018-10-25T15:40:29Z
Hi ,
I downloaded this BotBuilder Sample and now runnign this with visual studio 2017. after running QnABot project and on run time I am getting error  Could not find file QnABot.bot.
This .bot file is not there. so how to get or generate this file?
same issue coming with other projects related to csc.exe not found.

Closing comment (2018-10-25T18:22:04Z): Hi @dalvirsaini
This a possible duplicate of #774. In that Issue @VictorGrycuk made a great answer that could be useful for you.
Regarding the csc.exe not found, please make sure that you are building the solution before trying to run the samples.
Repository: microsoft/BotBuilder-Samples

Issue #3612: Bot not able to send uploaded attachments to the user in Sample 15
Created: 2021-11-24T12:39:07Z
Github issues for C# /JS / Java/ Python should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Sample information

Sample type: samples
Sample language: nodejs
Sample name: 15.handling-attachments

Describe the bug
The bot is not able to demo the uploaded attachment option.
To Reproduce

Configure the bot
Run and open the bot in Teams
Type "hi"
Select option 3

Expected behavior
The bot should share an uploaded attachment with the user.
Screenshots

Additional context
Add any other context about the problem here.

Duplicate issue #3610: Bot is unable to download the attachment sent by the user in Sample 56 
Created: 2021-11-24T12:25:28Z
Github issues for C# /JS / Java/ Python should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Sample information

Sample type: samples
Sample language: nodejs
Sample name: 56.teams-file-upload

Describe the bug
Bot is not able to download the attachment sent by the user,
To Reproduce

Configure the bot
Run and access bot in teams
Send the bot any image attachment

Expected behavior
Bot should be able to download the attachment and send it back to the user.
Screenshots

Closing comment (2021-11-30T19:09:06Z): Possibly related to #3612
Repository: microsoft/BotBuilder-Samples

Issue #562: Broken link in sample 11, QnA Maker
Created: 2018-09-27T15:59:10Z
Sample information

Sample type: samples
Sample language: dotnetcore
Sample name: 11.qnamaker

Describe the bug
The second link in the Prerequisites section generates a 404.
To Reproduce
Steps to reproduce the behavior:

Go to Prerequisites.
Click on the here link in the second bullet.
See error.

Expected behavior
The link should go to a page with instructions on how to import a QnA Maker file.
[bug]

Duplicate issue #567: QnAMaker link broken
Created: 2018-09-27T18:30:04Z
Sample information

Sample type: Samples
Sample language: C#
Sample name: 11.QnAMaker

Describe the bug
In the README.MD file, two links, to "here" and "sample.qna" respectively, in the following sentence in the prerequisite section are broken: "Follow instructions here to import the sample.qna to your newly created QnA Maker service.""
The right link to "here" should be: https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/tutorials/migrate-knowledge-base
The right link to "sample.qna" should be: https://github.com/Microsoft/BotBuilder-Samples/blob/v4/samples/csharp_dotnetcore/11.qnamaker/CognitiveModels/sample.qna

Closing comment (2018-09-27T21:11:04Z): Possible dupe of #562
Repository: microsoft/BotBuilder-Samples

Issue #653: Remove .bot files from projects where they should be generated
Created: 2018-10-09T20:17:55Z
Describe the bug
We should remove the sample .bot files from the projects where the developer needs to generate them - primarily samples where external services are used.
See #635

 Sample 11
 Sample 13

Duplicate issue #625: [nodejs][12.nlp-with-luis] Sample does not find the LUIS service
Created: 2018-10-05T15:41:42Z
Sample information

Sample type: samples
Sample language: nodejs
Sample name: 12.nlp-with-luis

Describe the bug

The sample does not include instructions to replace the LUIS_CONFIGURATION const in the index.js.
The sample does not include the 34.luis file needed to deploy the service with msbot.
The bot.recipe includes a step to deploy a blob storage to Azure but the service is not used in the sample.

To Reproduce
Steps to reproduce the behavior:

Follow instructions to run the sample.
The botConfig will not find the LUIS service.

Expected behavior
The sample should include all instructions to run the sample and also all files to deploy the services to Azure with msbot.
[bug]

Closing comment (2018-10-09T20:24:15Z): Related to #653, but we may also need to update the instructions in the readme.
Repository: microsoft/BotBuilder-Samples

Issue #875: Deployment documentation is incomplete
Created: 2018-11-09T23:57:51Z
The documentation is scattered and only covers a happy path in .NET. There is no explicit deployment documentation that addresses how to deploy a JavaScript or TypeScript bot. Developers need a single document that covers end-to-end deployment in each language. This deployment document should also address the architecture of the deployed solution. As of now the msbot cli tool spins up several resources with little mention of what they do/how they are connected. Developers (especially those new to Azure) will have a hard time justifying the value of these resources without understanding how they work together. To make matters worse, scattered documentation (e.g. README in yeoman generator) is misleading.
[bug]

Duplicate issue #1043: Unclear how I get the secret to my .bot file when I use Azure Portal first experience
Created: 2018-11-26T20:17:38Z
If I use the Azure Portal to create a V4 bot (any language) it will create a .bot file and a secret key which it uses to encrypt all the related secrets in the file. Then I download the project and try to run it locally, but I don't have the secret yet so I can't and then there is no clear/easy way to go get the secret.
The answer is you have to go get it from the App Settings of the Web App that was created for your bot, but how is the developer supposed to know that? I didn't see this in the docs, but maybe I missed it? Even if it is documented, this seems like a really rough roadblock in the getting started experience. Part of me wants to recommend not applying a secret to the bot in this scenario to reduce the friction. However, this is a risky decision because then the .bot file is up in the cloud with secrets that aren't encrypted and if this ends up being their production instance that wouldn't be... errr... "good".  🤔
Maybe the answer is just better/more explicit documentation around how getting the bot secret value in this scenario? Maybe the az cli extension could have an explicit command for fetching the app setting by the well known name?

Closing comment (2018-12-06T18:17:39Z): @Kaiqb has this covered in the C# deployment doc.  NodeJS is coming and is planned for the 4.2 release.
Related to #875
Repository: microsoft/BotBuilder-Samples

Issue #1133: Live agent hand-off sample
Created: 2019-01-06T22:30:14Z
Is your feature request related to a problem? Please describe.
There are no official samples for how to implement live agent hand-off with Bot V4.
Describe the solution you'd like
I would like this page to be updated with a sample from Microsoft that shows the recommended way of how to do this.

Duplicate issue #1415: Bot Framework V4 human handoff sample NodeJS
Created: 2019-04-17T20:51:13Z
Use this query to search for the most popular feature requests.
Is your feature request related to a problem? Please describe.
Need a sample to demonstrate how to proper use of the human hand-off in bot V4 @ nodeJS.
Current example in github by other seem to be outdated.
Node - https://github.com/GeekTrainer/botframework-v4-handoff
Describe the solution you'd like
A clear sample with updated code to show how we can use the human handoff interaction.
Describe alternatives you've considered
NA.
Additional context
NA.
[enhancement]

Closing comment (2019-04-18T04:24:10Z): dup of #1133
Repository: microsoft/BotBuilder-Samples

Issue #712: [nodejs][09.message routing] Sample missing deployment documentation file
Created: 2018-10-17T13:43:38Z
Sample information

Sample type: \samples\
Sample language: nodejs
Sample name: 09.message-routing

Describe the bug
The sample's README in the install instructions lacks the deployment documentation that is linked (Deployment.md).
For this reason the sample can't be correctly deployed neither states clearly what services makes use of.
To Reproduce
Steps to reproduce the behavior:

Go to Readme.md file, section To try this sample
Click the link on Create required services

Expected behavior
When clicking in the link, it should redirect you to the file Deployment.md as seen in sample typescript/52.enterprise-bot
[bug]

Duplicate issue #779: javascript_nodejs/09.message-routing/ README has a broken link
Created: 2018-10-25T21:29:20Z
Github issues for C# /JS / Java/ Python should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Sample information

Sample type: \samples\
Sample language: nodejs
Sample name: 09.message-routing

Describe the bug
Link in the section "To try this sample" is broken. "Required services" goes to a GitHub 404 page.
To Reproduce
Steps to reproduce the behavior:


Go to https://github.com/Microsoft/BotBuilder-Samples/tree/master/samples/javascript_nodejs/09.message-routing#to-try-this-sample


Scroll down to "To try this sample". Click link in the fourth bullet ("Create required services")



get 404 error.



[bug]

Closing comment (2018-10-26T12:57:34Z): Hi @mewa1024
This is a duplicate of #712
Repository: microsoft/BotBuilder-Samples

Issue #1133: Live agent hand-off sample
Created: 2019-01-06T22:30:14Z
Is your feature request related to a problem? Please describe.
There are no official samples for how to implement live agent hand-off with Bot V4.
Describe the solution you'd like
I would like this page to be updated with a sample from Microsoft that shows the recommended way of how to do this.

Duplicate issue #1424: Bot handoff
Created: 2019-04-22T05:52:17Z
Is bot to human handoff possible in V4? If yes, can I have a sample for the same?

Closing comment (2019-04-22T15:23:00Z): Dup of #1133
Yes, bot to human handoff is possible in V4 of the BotFramework SDK. These are not official handoff samples, but I would recommend taking a look:
C#: https://github.com/tompaana/intermediator-bot-sample
Node: https://github.com/tdurnford/botframework-human-handoff
Repository: microsoft/BotBuilder-Samples

Issue #643: 51.cafe-bot throws on startup
Created: 2018-10-08T21:34:58Z
running npm start in 51.cafe-bot fails to startup and throws the following error:

Duplicate issue #686: Luisgen install failed -- broken link
Created: 2018-10-11T23:48:45Z
Sample information

Sample type: sample
Sample language: dotnetcore
Sample name: BotBuilder-Samples

Describe the bug
When trying to install with dotnet tool install -g LUISGen from CLI, it returns an error message.

But then I try to view the Newtonsoft.Json link as mentioned in the console error, it's a 404. So maybe the LUISgen installer needs reconfiguring to direct to the correct link.
A fix is just to go to the Luisgen package and install it directly.
dotnet tool install --global LUISGen --version 2.0.0
[bug]

Closing comment (2018-10-15T22:57:42Z): dup of #643
Repository: microsoft/WinAppDriver

Issue #90: FindElementByXPath threw an exception 'System.InvalidOperationException' 
Created: 2016-11-17T14:20:46Z
I tried to use the latest release of WinAppDriver and run the CalculatorTest, but methods FindElementByXPath and FindElementsByXPath does not work and throw  an exception 'System.InvalidOperationException'. WindowsApplicationDriver v0.6-beta, VS 2015 update 3
screenshot: https://gyazo.com/25663c936df4562bb47db93f977ee00d

Duplicate issue #88: An unknown error occurred in the remote end while processing the command..
Created: 2016-11-16T19:30:31Z
I am getting the following error when trying to run the calculator sample under Visual Studio 2017.
http://i.imgur.com/NuHeweI.png
Any troubleshooting steps/logs?

Closing comment (2016-11-17T17:35:34Z): I am closing this issue as it's a duplicate of #90
Repository: microsoft/WinAppDriver

Issue #644: How do i use FindElementByWindowsUIAutomation() to find top level windows from Root session?
Created: 2019-03-28T22:07:25Z
Hi, I am looking for some help on how to use FindElementByWindowsUIAutomation() to get all the windows at first level from the Desktop (root) session. When i query using  FindElementsByTagName("Window")  i could able to retrieve the required elements back but it is taking well over 5 mins as i think the API is searching through complete visual tree not just the immediate elements.
Any help is greatly appreciated! Thanks in advance.

Duplicate issue #924: Passing argument to FindElementByWindowsUIAutomation method
Created: 2019-10-20T09:49:05Z
What is the proper way of calling FindElementByWindowsUIAutomation? You haven't provided any example.

Closing comment (2019-10-24T19:07:17Z): This may be a duplicate of #644.
Repository: microsoft/WinAppDriver

Issue #1874: /status returns error 500 
Created: 2023-03-06T21:39:19Z
WiinAppDriver v1.3 Release Candidate 1 (1.2.99)](https://github.com/microsoft/WinAppDriver/releases/tag/v1.2.99)
GET /status returns error 500:
{"status":13," value":{"error":"unknown error","message":"An unknown error occurred in the remote end while processing the command."}}
Some tools call /status as their first operation, and the error stops them from proceeding further. This is mentioned in several other bug reports (see for example #1728 or #1739).
@DHowett Any update on this?

Duplicate issue #1556: WinAppDriver v1.2.99 Internal Error
Created: 2021-07-13T13:49:18Z
Using a simple get request to get the status returns a 500 internal error.
I am using the x64 build on a x64 architecture. Below command does not throw an error on previous stable build v1.2.1.
Command:
wget http://127.0.0.1:4723/status
Response:

GET /status HTTP/1.1
Host: 127.0.0.1:4723
User-Agent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) WindowsPowerShell/5.1.19041.1023
HTTP/1.1 500 Internal Error
Content-Length: 133
Content-Type: application/json
{"status":13,"value":{"error":"unknown error","message":"An unknown error occurred in the remote end while processing the command."}}

Closing comment (2024-02-06T11:41:53Z): Duplicate of #1874
Repository: microsoft/WinAppDriver

Issue #1361: LegacyAccessible.Value attribute not working in winappdriver
Created: 2020-11-05T13:33:59Z
I am trying to use xpath with attribute LegacyAccessible.Value. But WinAppdriver is not able to recognize the element with the required value of attribute.
Can i use legacyaccessible attributes in xpath.
//*[@LegacyAccessible.Value='xxx' and @LocalizedControlType='tree item']"

Duplicate issue #1364: All available attributes
Created: 2020-11-09T21:10:03Z
Hi everyone,
I am struggling with getting all available attributes for element. I will explain a bit.
I am using WinAppDriver + Appium + Python to create the automation. I want to load somehow all available attributes for one particular element. For example, attribute Legacy|AccessiblePattern.Value.
When I use appium method driver.find_element_by_name('DataGridView').get_attribute('Legacy|AccessiblePattern.Value') it will return None which means, element was found yet the attribute doesn't exists.
BUT, when I use method driver.find_element_by_name('DataGridView').get_attribute('LegacyValue'), it will return the content of the attribute as expected. My question is, how the heck can I get all available attributes, or at least where can I find the linkage of seen attribute name in Inspector.exe ('Legacy|AccessiblePattern.Value') and the actual name that can be used in .NET to work with the element ('LegacyValue')
And if you are currious how did I find the accurate name of the attribute of that element, I just guessed by a luck. I just found that there is a test in WinAppDriver on line 46 saying: Assert.IsTrue(element.GetAttribute("LegacyName").StartsWith("Alarm")); // Shows as Legacy|Accessible.Name in inspect.exe and when I used 'LegacyValue', it WORKED!
https://github.com/microsoft/WinAppDriver/blob/master/Tests/WebDriverAPI/ElementAttribute.cs#L46
But that is more "reverse engineering" rather then coding. Can anybody help me with this please?
Thanks, Miroslav

Closing comment (2020-11-18T10:08:23Z): This is related to #1361 #1335 #292 - Legacy attributes are not supported by winappdriver.
But here i would also like to know how did LegacyValue worked in your case.
Repository: microsoft/WinAppDriver

Issue #83: WinAppDriver does not work with WPF/WinForms applications
Created: 2016-10-28T13:10:40Z
DesiredCapabilities appCapabilities = new DesiredCapabilities(); appCapabilities.SetCapability("app", @"C:\myWPFApp.exe"); NotepadSession = new IOSDriver<IOSElement>(new Uri(AppDriverUrl), appCapabilities);
On the third line it starts my app and just hangs.
But with Native Win32/UWP applications driver creates correctly and quickly.
Is there a way to prevent driver from hanging when starting WPF/WinForm applications?

Duplicate issue #210: Button visible to Inspect, but not accessible through WinAppDriver
Created: 2017-06-22T21:51:30Z
I am trying to access the New Case button of an app called Griffeye.
I can see the button in Inspect, but it is not accessible through WinnAppDriver/Appium (using RobotFramework).
The only result when searching for "New Case" in the the output of Log Source is the entry from Inspect. If Inspect is not running, there are no search results for "New Case" in the XML output.
Any advice? RobotFramework, Appium and Griffeye are all launched as Adminstrator, so I don't think it's a permission issue.
Edit: uploaded test file and output. Also: using Root to get a "Desktop session" because Griffeye takes a long time to load and I want to reuse the running session.
Log Source.xml.txt
windows_griffeyetest.txt

Closing comment (2017-06-22T22:56:02Z): Possibly related to #83 or #185
This looks to be a WinForms application.
Repository: microsoft/WinAppDriver

Issue #1372: Not able to interact with window due to "error":"unknown error","message":"Failed to locate opened application window with appId: C:\\Windows\\System32\\calc.exe error 
Created: 2020-11-19T04:06:18Z
Hi,
I am using Ruby, selenium-webdriver and winapp driver to automate calculator to try it, but I am facing the issue when I launch calculator app with below code
Selenium::WebDriver.logger.level = :info
Selenium::WebDriver.logger.level = :debug
Selenium::WebDriver.logger.output = 'selenium.log'
caps = Selenium::WebDriver::Remote::Capabilities.new
caps['platform'] = 'Windows'
   caps['app'] =  "C:\\windows\\system32\\calc.exe"
   wait = Selenium::WebDriver::Wait.new :timeout => 60
   driver = Selenium::WebDriver.for :remote, url: "http://127.0.0.1:4723", desired_capabilities: caps

Every time I am getting below error from WinAppdriver
status":13,"value":{"error":"unknown error","message":"Failed to locate opened application window with appId: C:\\Windows\\System32\\calc.exe, and processId: 14656"
Is there anyway to solve this isse in Ruby with selenium-webdriver or any suggestion for it
Note: Above code is working fine when we use ApplicationID as 'Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge' etc, but it is not working  If we have any custom apps like PostMan, or Notepad++
Anyone could you please help with this issue and it would be great helpful for RUBY guys
I had referred old questions also, but it did not help me to solve this issue
Thank a lot!

Duplicate issue #1384:  org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session.
Created: 2020-11-29T17:32:19Z
This issue has been seen in multiple applications, can easily be reproduced when using "C:\Windows\System32\calc.exe" as the application path as in below code. Tried multiple suggestions, none of them worked.
capabilities.setCapability("app", "C:\Windows\System32\calc.exe");

Closing comment (2020-12-01T05:35:38Z): Hi,I know using app=Microsoft.WindowsCalculator_8wekyb3d8bbwe!App works.But many of our applications are failing with the below exceptikn similar to calculator, so i want to know if there is a fix for this.It would help a lot.Thanks.Chandrakanth
-------- Original message --------From: Canhua Li <notifications@github.com> Date: 01/12/2020  01:36  (GMT+05:30) To: microsoft/WinAppDriver <WinAppDriver@noreply.github.com> Cc: chandruks83 <chandruks83@gmail.com>, Author <author@noreply.github.com> Subject: Re: [microsoft/WinAppDriver]  org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. (#1384) 
dup of #1372. Please use app=Microsoft.WindowsCalculator_8wekyb3d8bbwe!App for UWP app

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "#1384 (comment)",
"url": "#1384 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
Repository: microsoft/WinAppDriver

Issue #292: By XPath Does Not Find Legacy Attributes
Created: 2017-10-30T17:25:31Z
Using an xpath selector cannot find elements by the legacy|Accessible attributes (using the pattern of LegacyName or LegacyValue) .
//does not work
private By childOfEdit= By.XPath("//Pane[@AutomationId='6']/Pane/Edit[@LegacyValue='foo']")

// but a partial xpath then linq query using get attribute does work.
private By editBoxes= By.XPath("//Pane[@AutomationId='6']/Pane/Edit")

var thisOneWorks= editBoxes.First(x=>x.GetAttribute("LegacyValue")=="foo");

While Linq works, it limits the options available. For example you can't get the parent of the element I found via linq...

Duplicate issue #1335: LegacyIAccessible.State element control is returning as "none" when GetElement Attribute is used in WinAppDriver?
Created: 2020-10-12T13:16:35Z
Trying to retrieve an attribute LegacyIAccessible.State from context menu of one of the apps in the systray. It is returning as "None". Able to retrieve "Name" attribute from the same.

Closing comment (2020-11-06T09:04:12Z): this is related to #292 and #1361
Repository: microsoft/WinAppDriver

Issue #194: Sendkeys with a \ is being converted to #
Created: 2017-05-26T14:56:23Z
Hi
I have just tried to run the NotepadTest example and found that when sample tries to save the document to %TEMP%\NotepadTestOutputFile.txt what I see happening is %TEMP%#NotepadTestOutputFile.txt which saves to the wrong place and fails the test.
Any advice?
Regards

Duplicate issue #1945: how to encoding like !@#.. sendkey() problem
Created: 2023-10-24T09:52:21Z
Enter the password through sendkey(pw); and log in.
However, the login fails.
However, direct manual input succeeds.
After a lot of thought, my conclusion seems to be that special characters are the problem.
If the password contains an exclamation point, the login fails if you type sendkey(), but only alphabetic and numeric passwords succeed.
Do I need to encode special characters such as exclamation marks when I use them for sendkey()?

Closing comment (2023-10-25T15:11:15Z): Are you using a non-US keyboard layout? Sounds similar to #194. A workaround can be copying the desired text to the clipboard and pasting it into the textbox instead.
Repository: microsoft/WindowsAppSDK

Issue #5115: "Access Denied" with latest Phi Silica capabilities with 1.7 experimental 3
Created: 2025-02-07T04:39:22Z
Describe the bug
I have been having some trouble getting the new phi silica SDK capabilities working on the experiment 3 release. For one I had to add 	<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained> to my csproj file in order for the program to fine the registered files so I suggest adding details on adding this in the instructions  in the docs.
My main issue now is with some weird "Access Denied" bug when I try to run the simple console app example.

Steps to reproduce the bug
In VSCode try the following code given all necessary pre-reqs in the doc and try running it.
using Microsoft.Windows.AI.Generative;

if (!LanguageModel.IsAvailable())
{
    var op = LanguageModel.MakeAvailableAsync().GetResults();
}

using LanguageModel languageModel = LanguageModel.CreateAsync().GetResults();

string prompt = "Provide the molecular formula for glucose.";

var result = languageModel.GenerateResponseAsync(prompt).GetResults();

Console.WriteLine(result.Response);
Expected behavior
The molecular formula for glucose is C6H12O6.
Screenshots

NuGet package version
Windows App SDK 1.7 Experimental 3: 1.7.250127003-experimental3
Packaging type
Unpackaged
Windows version
Windows 11 version 24H2 (22621, October 2024 Update)
IDE
Visual Studio 2022
Additional context
I am not sure if this is packaged or unpackaged

Duplicate issue #5185: Windows App SDK OCR MakeAvailableAsync();//System.UnauthorizedAccessException:“Access is denied.”
Created: 2025-02-26T00:53:49Z
Hi big guys:
I have come into a problem in debugging ,MakeAvailableAsync() Access is denied.
Computer config
OS:Windows 11 insider dev  26120.3291
IDE: Visual Studio 2022
SDK: Windows App SDK 1.7.250127003-experimental3
VS Project: .Net 8.0
Area:China
I have add:
<rescap:Capability Name="broadFileSystemAccess" />


<uap:Capability Name="picturesLibrary" />
<uap:Capability Name="videosLibrary" />
<uap:Capability Name="documentsLibrary" />
<uap:Capability Name="musicLibrary" />
<uap:Capability Name="removableStorage" />
then What will I to do to solve the problem? Can you provide next step details? Thanks
if (!TextRecognizer.IsAvailable())
{
var loadResult = await TextRecognizer.MakeAvailableAsync();//System.UnauthorizedAccessException:“Access is denied.”
 if (loadResult.Status != PackageDeploymentStatus.CompletedSuccess)
 {
     throw new Exception(loadResult.ExtendedError.Message);
 }

}

Closing comment (2025-03-03T05:42:31Z): Duplicate of #5115.
Repository: microsoft/WindowsAppSDK

Issue #3842: [.NET 8 RC1] Error NETSDK1083 "The specified RuntimeIdentifier 'win10-x86' is not recognized" displays in error list after creating a WinUI project
Created: 2023-08-30T06:50:08Z
Describe the bug
There are 3 errors in error list after creating C# WinUI project with .NET 8 RC1.
Errors:
Error NETSDK1083: The specified RuntimeIdentifier 'win10-x86' is not recognized.
Error NETSDK1083: The specified RuntimeIdentifier 'win10-x64' is not recognized.
Error NETSDK1083: The specified RuntimeIdentifier 'win10-arm64' is not recognized.
From the dotnet/docs#36527, we try to update the <RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers> to <RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>, there still an error: The specified RuntimeIdentifier 'win10-x86' is not recognized.

Steps to reproduce the bug
Steps:

Install VS from Pipelines - Run main-34029.95 (Contains the .NET 8 RC1)
Create C# "Blank App. Packaged (WinUI 3 in Desktop)" project
Open xxx.csproj file and update the TargetFramework to "net8.0-windows10.0.19041.0"
Save
Open the Error list to check the errors.

Actual Result:
There are 3 errors.

Expected behavior
No errors and warnings.
Screenshots
No response
NuGet package version
None
Windows version
Windows 11 (22H2): Build 22621
Additional context
Environment:
VS version: 17.8.0 Preview 2.0 [34029.95.main]
Windows App SDK version: 1.3.230602002

Duplicate issue #3989: .Net 8 doesn't work out of the box - RID and runtime pack issues
Created: 2023-11-24T15:46:26Z
Describe the bug
I switched from .Net 7 to 8. And I immediately got 77 errors across my projects. I read that I have to put this in my project files..
<UseRidGraph>true</UseRidGraph>

That's the first issue, if it's required, then please update our project files when we switch to .Net 8. Why should I have to manually put this into my project files. I have to serve myself at the supermarket checkout. Now you want me to write my own project files. Sheesh.
After updating the project files I still have 22 errors...
NETSDK1082 There was no runtime pack for Microsoft.NETCore.App available for the specified RuntimeIdentifier 'win10-arm'
I'm not targeting arm, I never said I was targeting arm. This wasn't an issue in .Net 7.
Steps to reproduce the bug
...
Expected behavior
...
Screenshots
...
NuGet package version
Windows App SDK 1.4.3: 1.4.231115000
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
No response

Closing comment (2023-11-25T18:14:13Z): Dupe of #3842, which you also commented in 😂
Repository: microsoft/WindowsAppSDK

Issue #55: Discussion: Decouple MSIX from AppContainer
Created: 2020-05-29T18:11:20Z
Discussion: Decouple MSIX from AppContainer
Currently, there is no way to run an app in an AppContainer without it being packaged into an MSIX. This has a few major downsides:

Slow inner loop. VS has to do the loose file deployment every time you build/F5.
Can't run an app container app from the command line.

It would be great if MSIX was solely a technology for packaging and submitting apps to the store (or sideloading), and didn't have an impact on the runtime behavior of the app.
With Project Reunion and WinUI3, we now are trying to support 3 different app models:

Packaged Desktop
Unpackaged Desktop
Packaged UWP

It would make tooling simpler to just have a single build/deploy model for all of these.
Related Links
microsoft/microsoft-ui-xaml#2500 (comment)

Duplicate issue #283: Question: What are the plans for the future of testing Windows apps?
Created: 2020-11-09T20:05:44Z
Testing of UWP apps is an area that has been overlooked in the past. Tooling support for testing is lacking in many areas and little attention has been paid.

Are plans being made to ensure that all apps built using Project Reunion are fully testable?
Will all APIs be mockable?
Will MSTest Fakes support be added for all APIs?
Will new project and item templates include options for including tests?
Will work be done to ensure that work done with testing tools supports Windows apps in future?
What else is being considered for software testing as part of this project?

I'm aware of #227 but this question is aimed at the broader situation, not just UI testing.
X-Ref: microsoft/microsoft-ui-xaml#3584

Closing comment (2020-11-16T03:08:34Z): Thanks for raising this @mrlacey, good questions. Personally I have often avoided writing tests for UWP code because:

Tests are slow to launch (likely related to #55)
My TDD tools (NCrunch in particular) do not support running UWP projects
Repository: microsoft/botframework-sdk

Issue #5851: Rewrite / Redesign the QnA Maker Dialog(s)
Created: 2020-05-21T17:10:10Z
Consider revisting the overall design and implementation of the QnAMaker dialog(s).
See list of referenced issues (closed but still relevant for additional requirements)

Duplicate issue #5853: QnAMakerDialog constructor should accept a dialog ID parameter
Created: 2020-03-31T18:25:31Z
Version
What package version of the SDK are you using: current - 4.8 - master
Describe the bug
Give a clear and concise description of what the bug is.
Using a "hard-coded" ID for all QnA Maker dialogs means it's hard to add more than one to any dialog collection.
To Reproduce
Steps to reproduce the behavior:

Look at the implementation:
https://github.com/microsoft/botbuilder-dotnet/blob/0a7bb4fb4f159e1c3d3f596e5226f64c5f30b2bd/libraries/Microsoft.Bot.Builder.AI.QnA/Dialogs/QnAMakerDialog.cs#L47-L61
Error: All instances of the class with have the same dialog ID.

Expected behavior
You should be able to assign an ID to the dialog in the constructor.
[bug]

Closing comment (2020-05-21T17:43:38Z): Related to #5851
Repository: microsoft/botframework-sdk

Issue #572: [Feature Request] Porting to .NET Core
Created: 2016-06-29T18:41:16Z
Since .NET Core is now in RTM, any plans of porting BotBuilder SDK to Core? I do not see any platform specific references in SDK that could prevent it from running cross platform. I believe the biggest change would be moving away from System.Runtime.Serialization and to json.net(?). Any thoughts?

Duplicate issue #1767: .NET Core
Created: 2016-11-30T17:06:37Z
Hi,
Any plans to have bot builder running with .net core ?
It will be nice to have a bot running in docker / linux.
May be the release of .NET standards 2.0 and VS 2017 will enable this !?!

Closing comment (2016-12-12T20:01:23Z): I'm going to close this issue as a duplicate of #572.
Repository: microsoft/botframework-sdk

Issue #662: [Question] Parsing image attachment through skype
Created: 2016-07-12T18:37:22Z
A question I had was about how to handle when a user sends images in Skype. In facebook and the emulator, the contentUrl of the image is an accessible URL, however, in Skype, I cannot access this URL. How else can my bot get the contents of the image?

Duplicate issue #737: Skype attachment
Created: 2016-07-18T13:08:06Z
Hi all!
I have a problem. The object contains list of attachments if incoming message has one. But ContentUrl don't work. For example object have
ContentUrl=https://df-apis.skype.com/v2/attachments/0-neu-d5-faac5db55162e82d9261c8777066c6d3/views/original
or
ThumbnailUrl=https://df-apis.skype.com/v2/attachments/0-neu-d5-faac5db55162e82d9261c8777066c6d3/views/thumbnail
But if open a url in browser, then it's empty.

Closing comment (2016-07-18T17:59:22Z): Similar to #662. Skype attachments are secured by bot JwtToken, you need bot JwtToken as a bearer token to be able to access those urls.
Repository: microsoft/botframework-sdk

Issue #1487: Get Skype Sender Id
Created: 2016-10-22T08:19:27Z
Hello
I have issue i want to get sender Skype id like abcxyz123 which mention in Microsoft Skype Software but i get sender name or some id like 29:af9a0sd9fj0i2j2kk-----
Please what i do for get skype sender id

Duplicate issue #1488: Sender Address Missing in API V3
Created: 2016-10-22T08:59:46Z
public async Task MessageReceivedAsync(IDialogContext context, IAwaitable argument)
{
Message message = await argument;
string FromSkype = message.From.Address;
}
Unable To Use Message.Address IN API V3
I Want To Get Sender Skype Id
Please Help

Closing comment (2016-10-24T12:07:07Z): Duplicate of #1487 with a little bit more information.