Blank window when app starts automatically on login

I confirm (by marking "x" in the [ ] below: [x]):

[x] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[x] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[x] I have read contributing guidelines.

Summary
When logging in, Mattermost starts correctly but the window stays blank.
The page contents seem to be there (if I move the mouse I can see it changing when hovering on a link for example), but they are not rendered (same for the devtools window).
Closing and reopening the app fixes this (just closing the window is not enough).
This started happening with v4.0.0.
Things I tried:

Reload/Clear cache and reload
Uninstall, remove all mattermost folders from appdata and reinstall
Update the graphics driver to the latest version

Steps to reproduce
Login, check Mattermost (happens every time).

Operating System: Windows 7 64bit
Mattermost Desktop App version: 4.0.0
Mattermost Server version: 4.6.0
GPU: NVIDIA GeForce GT 440
GPU driver version: 390.77

Probably there are some trouble in rendering though, unfortunately I'm not sure in detail. Would you try disabling GPU as a workaround?
mattermost.exe -- --disable-gpu

We have this same problem (on Win 7 PC's) when Mattermost starts at login but the needed VPN connection is established after it OR when PC wakes from the hibernation and again the Mattermost desktop app wakes before the VPN connection.  Previous version of the Mattermost app did not have this issue or it just was able to try to connect again a bit later on one or more times.

Sorry, I misunderstood the situation. However not reproduced on my PC even when I use "Start app on login".

Windows 10 Pro 64bit
Mattermost Server version: 4.7.1
GPU: NVIDIA GeForce GTX 660
GPU driver version: 390.77

@jasonblais Possibly we need "Disable GPU acceleration" option. In startup, applying our workaround --disable-gpu is a little hard because command prompt is not available. An user needs to manually edit registry.
@kaksikanaa Is the window completely blank? As far as reading your report, I think that the app merely failed to connect to the server due to unestablished VPN. The order of startup is managed by Windows, so unfortunately there are no way we can do in source code. As a possible workaround, how about creating a batch file to wait VPN then launch the app?

@yuya-oc Adding --disable-gpu fixed the problem for me.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"Mattermost"="\"C:\\Users\\<username>\\AppData\\Local\\mattermost\\update.exe\" --processStart \"Mattermost.exe\" --process-start-args \"--hidden\""
↓
"Mattermost"="\"C:\\Users\\<username>\\AppData\\Local\\mattermost\\update.exe\" --processStart \"Mattermost.exe\" --process-start-args \"--hidden --disable-gpu\""

Great, he disable-gpu option resolved our case also, thanks!
Would it be nice if user could find these option right in his/her settings/profile...?

Looks like a bug in electron, maybe related to electron/electron/issues/4380 or electron/electron/issues/8505 ?

@yuya-oc If we added the setting, would the steps be to first quit, then reopen the app, go to the Settings page, and disable GPU acceleration?
You brought it up before too, so maybe it's worth adding the setting to fix these issues. We can consider naming the setting so that it's clear to end users, perhaps something like
Title: Use GPU hardware acceleration
Help text: Disable this setting if you see a blank page after logging in to Mattermost. If enabled, the Mattermost UI is rendered more efficiently but can cause stability issues for some systems. Setting takes affect after restarting the app.

PS: Feedback welcome on settings text @kikijiki @kaksikanaa

Looks good to me :+1:

Thanks, the text is okay! Could this option be disabled as default?

@jasonblais Yes if GPU acceleration is enabled by default.
"Disabled by default" is safer, but many users might not notice it's disabled even if it's applicable.

Thanks all!
Wondering how much benefit there is to have the option of enabling GPU acceleration if it's disabled by default. Does UI rendering performance degrade noticeably, or not really for the Mattermost app?

Actually, we've been having issues among our users too, and what makes things more difficult is that because of some security specifications, the Mattermost desktop app is ran through a separate program (written in C#). We've tried running it with the --disable-gpu option through that program to no avail.
Having a hardware acceleration option would work wonders for us (especially if handled by the config.json file)

I'm having same issue in Windows 7, Lenovo X260 (integrated graphics Intel HD 520). Almost always occurs on first load after fresh reboot. I close app using right click menu in taskbar and then reopen. On reopen I see the loading graphics and it works.

I added the PR #734. I'm wondering if you could test whether your problem are gone with latest artifacts.
Artifacts are available here. https://circleci.com/gh/yuya-oc/desktop/696#artifacts (if you can't see them, please try again later)

Closed due to #734


Allow counting all commits in the repository

If you set a directory, even '.' or the full path to the repository root, you will end
up ignoring all empty commits. The reason, i suspect, is that when you count
commits for the full repository (git log) it doesn't do any filtering. However once
you specify a path, even if it's the repository root, it filters out all commits which
do not change files within that subtree. As empty commits do not change files,
these are always discarded.
If someone wants to discard empty commits they can always manually specify
<GitCommitsRelativeTo>.</GitCommitsRelativeTo>

From local testing:
<GitCommitsRelativeTo>.</GitCommitsRelativeTo> .  ->     GitSemVerPatch:       85
<GitCommitsRelativeTo></GitCommitsRelativeTo>     ->    GitSemVerPatch:       94


(bug) (types) Default branch name

https://github.com/skylarmacdonald/bork/blob/63c0acb0007735713a0ec3ed0ceab0f7c04de840/types/git.sh#L28
Lots of git & github repos now use main as their default branch instead of master; this will need a fix

It still appears the "default" for repos on your own machine is master, but GitHub will create it as main. May actually be worth leaving this one as is; it's going to be a breaking change if we can't find a way to just do whatever the remote repo wants us to do

Going to close this as won't fix. Local git still creates a master branch by default, so this will need changing in any Borkfiles that use it.


Option to hide tasks in estimates

A little sugestion below:
Would be possible to implement something like this?
The tasks of each PBI would have the option to be collapsed

Hi @cschleiden
Any news?

This is not planned at this time.


LiquiExchange MismatchedInputException on get symbols

While obtaining exchange symbols I get following error:
11:40:44.643 [default] [main] WARN  o.knowm.xchange.liqui.LiquiExchange - An exception occured while loading the metadata file from the file system. This is just a warning and can be ignored, but it may lead to unexpected results, so it's better to address it. com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input
 at [Source: UNKNOWN; line: 1, column: 0]
	at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
	at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4134)
	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3988)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3058)
	at org.knowm.xchange.BaseExchange.loadMetaData(BaseExchange.java:137)
	at org.knowm.xchange.BaseExchange.loadExchangeMetaData(BaseExchange.java:128)
	at org.knowm.xchange.BaseExchange.applySpecification(BaseExchange.java:96)
	at org.knowm.xchange.ExchangeFactory.createExchange(ExchangeFactory.java:134)
	at org.prokyon.cryptotrader.exchanges.LiquiExchangeConnection.createInstance(LiquiExchangeConnection.java:24)
	at org.prokyon.cryptotrader.exchanges.LiquiExchangeConnection.getInstance(LiquiExchangeConnection.java:30)
	at org.prokyon.cryptotrader.exchanges.MarketExchange$19.getExchange(MarketExchange.java:61)
	at org.prokyon.exchange_trader.orderbook_feeder.playground.Main.main(Main.java:30)

Defunct exchange


Setting styles for IE8> using IE Helper Conditionals

So I've created an IE8 stylesheet which is linked via a conditional comment, am I correct in setting the flags, then importing in my main stylesheet again?
$is-ie: true;
$ie-version: 8;
@import 'style';

However, this is going to request an additional download of the duplicate rule-set of the main stylesheet, with the IE specific output. This obviously isn't great for performance. Is this the intended method?

Hi Jon,

am I correct in setting the flags, then importing in my main stylesheet again?

That's correct, but it shouldn't result in additional download.
We use the approach outlined here to conditionally include one stylesheet for IE6, IE7, IE8 or IE9+/not-IE.
see https://github.com/alphagov/govuk_template/blob/master/source/views/layouts/govuk_template.html.erb#L9-L12:
    <!--[if gt IE 8]><!--><link href="<%= asset_path "govuk-template.css" %>" media="screen" rel="stylesheet" type="text/css" /><!--<![endif]-->
    <!--[if IE 6]><link href="<%= asset_path "govuk-template-ie6.css" %>" media="screen" rel="stylesheet" type="text/css" /><![endif]-->
    <!--[if IE 7]><link href="<%= asset_path "govuk-template-ie7.css" %>" media="screen" rel="stylesheet" type="text/css" /><![endif]-->
    <!--[if IE 8]><link href="<%= asset_path "govuk-template-ie8.css" %>" media="screen" rel="stylesheet" type="text/css" /><![endif]-->

This will result in 4 different CSS files being generated, but only one should be downloaded by a user. If you're following the same pattern in your application CSS files you'll need to repeat the conditional logic.
Does that help?

Thanks @dsingleton. So your main stylesheet should be wrapped in the:
 <!--[if gt IE 8]><!-->!--<![endif]--> condition?

@jonhurrell No worries - it's not very clear in our docs, and we should improve it. What would you have found useful, in terms of docs, or examples, or something else?

Some comments here, would have helped. I know of a fair amount of projects that have approached IE/main stylesheets linking similar to my original intent e.g.:
<link rel="stylesheet" href="{{asset_path}}css/style.min.css">
<!--[if IE 8]><link href="{{asset_path}}css/style-ie8.min" media="screen" rel="stylesheet" type="text/css" /><![endif]-->


Demo not working anymore (?)

Hi all! I've noticed that the example is not online anymore. Are you aware of that?

https://humangeo.github.com/leaflet-dvf/examples/html/markers.html

I've found your plugin from this page:
https://leafletjs.com/plugins.html
Thank you so much for your work on this plugin! :)

Unfortunately, this repo is no longer maintained.  The sponsoring organization got acquired, and I no longer have capacity to maintain it.  I might recommend forking it, if you're up for it.  I believe it should still work with the latest versions of Leaflet, and the code should be easy to edit/update if needed.
For now, if you want to check out the demos, clone the repo and then jump into the leaflet-dvf directory (or whatever directory you cloned it to) and run:
npx http-server

Then you should be able to navigate to http://localhost:/examples/html/markers.html and see it in your local browser.


Powershell highlighting makes some text invisible

Certain text gets highlighted weirdly and becomes inviisble.
Typing powershell -exec bypass shows this:

Highlighting with my cursor shows the text is there, its just the same colour as the bg:

Im fairly certain this is because the powershell output expects the background to be blue, so mildly dies the death. I can solve this by starting the powershell instance in a cmd instance, or by setting the background manually I believe.

Weirdly enough this actually shows fine on terminal screen

Unfortunately this seems to be a limitation of conpty, it refuses to have its background set :(


New icon: Rakuten

[x] I have carefully read and followed CONTRIBUTING document.

URL of the site:
https://fr.shopping.rakuten.com/
Proof of the Aegis-compatible 2FA:

Logo / icon info:
I got the logo from their Facebook page and I converted it in SVG with Convertio. I had to do small modifications in Inkscape to have a clean logo.
Background color info:
The color was taken from the header of the website #bf0000

https://corp.rakuten.co.jp/assets/img/common/logo.svg

I replaced the logo with https://corp.rakuten.co.jp/assets/img/common/logo.svg.
The logo color is also #bf0000, so I did not changed it.


Add support for ARM64 platforms

Now that ARM64 is gaining popularity (mostly due to Apple Silicon on macOS), I would like to know whether it is possible to add support for the ARM64 platform to this library?
Trying to use the library on a M1 Mac raises the following exception:
System.DllNotFoundException: Unable to load shared library \u0027nfd\u0027 or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libnfd, 0x0001): tried: \u0027libnfd\u0027 (no such file), \u0027/System/Volumes/Preboot/Cryptexes/OSlibnfd\u0027 (no such file), \u0027/usr/lib/libnfd\u0027 (no such file, not in dyld cache), \u0027libnfd\u0027 (no such file), \u0027/usr/local/lib/libnfd\u0027 (no such file), \u0027/usr/lib/libnfd\u0027 (no such file, not in dyld cache)\n   at NativeFileDialogSharp.Native.NativeFunctions.NFD_OpenDialogMultiple(Byte* filterList, Byte* defaultPath, nfdpathset_t* outPaths)\n   at NativeFileDialogSharp.Dialog.FileOpenMultiple(String filterList, String defaultPath)\n

I did some research already, and it turns out that ARM64 support for all platforms was already added a while ago to the devel branch of nativefiledialog. I assume that we can relatively easy add the runtimes for ARM64 to this project?
Thanks in advance.

If the original library added support, then it's matter of compiling it toward the target platform.
I don't own the Apple hardware, so I see two ways to go from here:

use the hackintosh setup that I've used to compile the native library for Mac in the first place and cross-compile
use some CI/CD setup that supports targeting the ARM64 Apple ecosystem

I have merged my changes and the changes at the upstream devel branch into https://github.com/milleniumbug/nativefiledialog/tree/devel
It turned out to be thankfully pretty simple as there were no changes to the source interface or binary interface, aside from an identical change to the one I already did (exposing NFD_Free as a public interface)
The other part is gonna be more difficult because I don't remember the exact way I made macOS x64 compile it, I do have a zsh history and browsing through I can give some vague directions:

clone the devel branch of my fork
make sure make and clang++ are available from the Terminal. If they're not already shipped with the system, it's likely a matter of either a.) installing Xcode, or b.) doing something with Homebrew
from the terminal, go to the build/gmake_macosx directory
run make config=release_arm64
assuming nothing fails (for me doing the above command fails, presumably because I don't have the arm64 development kit installed), the compiled library should appear in build/lib/Release/arm64/libnfd.dylib

@milleniumbug thank you for the guidance, I now have the build/lib/Release/arm64/libnfd.dylib file, but it does not show up as a git change.
So

how do I verify the file is correct
how do I get it back into source control

Thanks
Max

Yeah, it won't show in git status as a change because it's a compiled library file, you typically do not commit these to the repo. But that's fine because I don't really want it in the native library repo, I'd like to see it in the runtimes directory in the C# wrapper library
https://github.com/milleniumbug/NativeFileDialogSharp/tree/main/NativeFileDialogSharp/runtimes
Adding it there under the osx-arm64/native directory should do the trick and provide support for ARM64 Macs.

Create a PR to add the lib, anything else needed from my part?
Do we need to change the csproj or something?
On Monday I can do a local Nuget pack to verify it is working as expected

I have published the version including the ARM64 native library into NuGet as pre-release version 0.6.0-alpha - check it out if it works for you (you may need to select the "Include prerelease" option to see it in the listing of your IDE)
https://www.nuget.org/packages/NativeFileDialogSharp/0.6.0-alpha

I was able to verify that on arm64 Mac I can now open the file dialog :)

Before I make it an actual release I'd like to see a bit more testing. @gastonmuijtjens , can you check on your devices?

@milleniumbug I can confirm it works on both an Intel (x64) Mac and Apple Silicon (ARM64) Mac now. Thanks to you and @kaylumah for your effort. Please let me know if I can be of any further assistance.

Thanks for the 0.6.0-alpha version! I was glad to find it and can also confirm it works on my Apple M1 chip with macOS Sonoma.


TLS-Attacker3.6.0/TLS-Core/TLS1.3

Hi,
I'm using 3.6.0 and trying to send TLS1.3 via TLS-Core.
Based on previous issues I knew that the config should be updated to make TLS-Attacker use TLS1.3. So I replaced the default_config.xml of TLS-Core with the tls13.config within resources/configs.
But the TLS-Attacker still sends TLS1.2 under the TLS13 command.
Did I misunderstand the config?

I've changed "supportedSignatureAndHashAlgorithms" to "defaultClientSupportedSignatureAndHashAlgorithms" in tls13.config and I found that it worked using TLS-Client. The command is:
java -jar apps/TLS-Client.jar -config ./resources/configs/tls13.config -connect  -version TLS13
While I'm not clear about how to depoly the config in TLS-Core.

TLS-Core is only a Library. Not an executable. When you want to change values in the libraries you have to do it though the code:
Config config = Config.createConfig(); //new Config(); depending on the TLS-Attacker version.
config.setDefaultClientSupportedSignatureAndHashAlgorithms(/*Add algorithms here*/);

The default config is only there for you as syntax reference (and insights into the default config).


Metapackage script

merging this.. this is the script I used to generate cdat 8.2.1.rc1 metapackage.


Fix get-pip.py compatibility problem with Python3.5

https://bootstrap.pypa.io/get-pip.py is updated and doesn't support python3.5 anymore.

Coverage remained the same at 34.07% when pulling 53b280d05cf381c1b4f3547b8263c9adba6ece20 on zhiyuhe/fix_pip_issue into f0dad8bfb1e00bfa25197b152ed660f66466f192 on master.


Add support for collecting logs for logging feature

@paynejacob @nickgerace Can we check if https://github.com/rancherlabs/support-tools/blob/master/collection/rancher/v2.x/logs-collector/rancher2_logs_collector.sh can be improved for collecting logs around debugging the logging feature in Rancher or is collecting pod logs from cattle-logging enough?

On distributions with a kubeconfig providing enough permissions, the fluentd log file could be useful to capture


AS923 MaxPayload table error?

Hi,
After browsing some codes I notice there is inconsistency on AS923 MaxPayload table with respect to standard for DR 2 DwellTime == 0 where m & n should be 123 and 115 respectively?:
    Revision::Latest, // PR002-1.0.0, RP002-1.0.1, RP002-1.02
[
(0, MaxPayloadSize { m: 59, n: 51 }),
(1, MaxPayloadSize { m: 59, n: 51 }),
(2, MaxPayloadSize { m: 59, n: 51 }),
(3, MaxPayloadSize { m: 123, n: 115 }),
(4, MaxPayloadSize { m: 250, n: 242 }),
(5, MaxPayloadSize { m: 250, n: 242 }),
(6, MaxPayloadSize { m: 250, n: 242 }),
(7, MaxPayloadSize { m: 250, n: 242 }),
]

RP002-1.0.2:

This might indeed have been a mistake. Would you like to create a pull-request to fix this?

This might indeed have been a mistake. Would you like to create a pull-request to fix this?

ok. no problem.

i just did a pull request. However, I do have one question:

In the specs it says "RP002-1.0.2 Supports both LoRaWAN® 1.0.x and 1.1.x". Does this mean it shall supersede the older specs and we need to only keep the latest config/table?

Before the regional parameters were tied to a LoRaWAN version, now they can be used with both LoRWAN 1.0.x and 1.1.x.
We still need to support all regional parameters revisions in ChirpStack.


How to identify Grid table field is read only

In my condition we have grid table. In that i need to identify one field is read only or not.
I don't want to check whether it is disabled. I need to check whether that field is read only field.
I inspected with inspect tool:
Is Enabled is set to "true"
value.Is ReadOnly is also set to "true".
Please help me on this. Thanks in advance.

Hi,
When field is disabled that means - the field is readonly. When field is ReadOnly it doesn't have to be disabled.
Cheers,
PM

@Vigneshsmv maybe this?  element.GetAttribute("IsKeyboardFocusable")


Record identifiers for DPLA

This is an issue that defies an easy explanation or solution.  The problem here is the differing ways in which service hubs create and manage record identifiers that are sent to DPLA.
For example, record IDs are for the Michigan service hub are a concatenation of the identifiers through the handful of Repox OAI-PMH hops.  For example:

Record leaves WSU Fedora with identifier, oai:digital.library.wayne.edu:wayne:foobar
WSU Repox harvests this under the set wsudor
Record is harvested from WSU Repox as oai:metadata.library.wayne.edu:wsudor:oai:digital.library.wayne.edu:wayne:foobar
UM Repox harvests this under the set wsuoai
DPLA harvests that record from UM Repox as, oai:quod.um.library.edu:wsuoai:oai:metadata.library.wayne.edu:wsudor:oai:digital.library.wayne.edu:wayne:foobar

As can be seen, each hop is updating the identifier.  This systems almost gaurantees unique identifiers between harvests at each Repox stage, but is a difficult identifier to guess or maintain when those Repox harvest steps change.
Combine has some provisions for emulating this identifier building, but it's brittle, and is closely aligned with Repox / OAI-PMH hops.  But what about other service hubs that use much different ways of creating identifiers?
On possible solution might be to provide users the option of providing a regex / code snippet for generating a record identifier on the way out of Combine, via the OAI-PMH endpoint.
An example might be, if the internal record identifier is:
oai:digital.library.wayne.edu:wayne:ET02_13_34

A Combine user could provide regex to grab the last string[colon]string, and attach the prefix oai:michiganservicehub.org:, resulting in something like:
oai:michiganservicehub.org:wayne:ET02_13_34

It would probably make sense to do this when record IDs are generated for the Publish job, and not on the way out via OAI.  This is so a Combine user could see via the sortable, searchable record tables what the identifiers were looking like, before the more opaque, page-driven results of OAI.  Or, if/when other output protocols are supported beyond OAI.

Addressed by https://github.com/WSULib/combine/pull/128.


Bad forwarding in treap::create

Should be
int create(A&&... a) {
        b.emplace_back(forward<A>(a)...);

Fixed by #15


Support handling delete message from whatsapp

Support handling delete message from whatsapp.
This is where the pull request's start to get messy.
The message ID's here can depend on the status of #1974

btw sorry for the delay on my side

@yousefmansy1 can you rebase as #1974 has been merged ?

Done, hope I did that correctly lol


[editorial] Fix invalid anchors

/cc @lmolkova -- yeah, we definitely should do something about getting anchor ID checked again :)

/cc @open-telemetry/docs-maintainers


Search Query Not Being Cast to Lower Case

Makes results not show up because they are not being considered equal.

Fixed as of dc5c245.


some vim apis are unknown to my lsp

I hope this is worth an issue. If not I apologize, but I don't know where to ask this otherwise.
I have noticed, while going through init.lua and following TJ's video on kickstart, that my LSP knows very little about any vim apis. It seems to know some things, like vim.api or vim.lsp. But the more specific, the higher the chance that I get unknown types. For a lot of the commands and functions in the configuration, they definitely work and it's not a problem using them, but the LSP gives me 0 Information about what they are.
It just makes the configuration much harder, because I have no autocomplete on most things.
I have tried upgrading vim, neovim and adding a vim language server. Now I am out of ideas.
To Reproduce

run brew install neovim
checkout kickstart project as documented
hold K over vim-specific apis like vim.lsp.buf.hover or vim.api.nvim_create_autocmd

Desktop

OS: MacOS Sonoma 14.2.1
Terminal: iTerm or terminal

Neovim Version
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1703358377

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.5/share/nvim"

This has been fixed yesterday by #754
Try pulling the latest changes.
On latest master it works properly:
completion:

shift-K:

Thank you @dam9000. I updated to the prerelease version of neovim and now it works fine.


Fetch offsets optimize

Recently we encountered a problem. When there are too many partitions in kafka topic, loading end offsets of all the partitions is very slow. In this process, the report thread may hold the consumer lock for a long time, which cause the schedule thread task to hang, and no new task could be created.
To solve this, We  replaced foreach + consumer#position with consumer#endOffsets.

@hate13 you should explain why foreach + consumer#position is more efficient than consumer#endOffsets in your PR description.

Hi, @hate13 . Thanks for your PR. :+1: Using the new Consumer API endOffsets does avoid competing for refcount lock in KafkaConsumer#position. However, it would be better if you could provide a benchmark test for this PR. FYI, if the partition does not exist, the endOffsets method may block indefinitely, so we should also consider carefully choosing a reasonable value of the request.timeout.ms param.

@QiuMM @asdf2014 We made some simple test as follows.
partitions: 1000,
kafka.network.RequestMetrics.TotalTimeMs.Offsets.99thPercentile: 500ms
Using KafkaConsumer#endOffsets takes about 300~3000ms, while the previous way takes almost 100s. However, it depends on the state of the kafka cluster which contains many factors.
In the underlying implementation, the previous will execute several times, getting just one partition's offset each time. But KafkaConsumer#endOffsets could fetch all offsets in once.


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

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://<IP_ADDRESS>: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!

Can you try C:\Windows\System32\notepad.exe and C:\Windows\notepad.exe? If you are using 1.2RC or 1.2.x WinAppDriver, you may change the time like this appCapabilities.SetCapability("ms:waitForAppLaunch", "25");.  Here 25 is seconds.
For the calculator, you should be able to use Microsoft.WindowsCalculator_8wekyb3d8bbwe!App.

@licanhua  thanks a lot for your reply, I tried using "ms:waitForAppLaunch", but still getting the same issue
Could you please help me with it
{"desiredCapabilities":{"platformName":"Windows","platform":"WINDOWS","deviceName":"WindowsPC","app":"C:\\Windows\\System32\\calc.exe","ms:waitForAppLaunch":10},"capabilities":{"firstMatch":[{"platformName":"Windows","appium:platform":"Windows","appium:deviceName":"WindowsPC","appium:app":"C:\\Windows\\System32\\calc.exe","ms:waitForAppLaunch":10}]}}
HTTP/1.1 500 Internal Error
Content-Length: 168
Content-Type: application/json

{"status":13,"value":{"error":"unknown error","message":"Failed to locate opened application window with appId: C:\\Windows\\System32\\calc.exe, and processId: 13208"}}
HTTP/1.1 500 Internal Error
Content-Length: 167
Content-Type: application/json

{"status":13,"value":{"error":"unknown error","message":"Failed to locate opened application window with appId: C:\\Windows\\System32\\calc.exe, and processId: 1184"}}

I can reproduce your problem and I think it's a bug of WinAppDriver.
If you use procmon, you will find that you launched calc.exe, but the actual application is calculator.exe.(A process launched another process and then killed itself).
There are two possible issues in WinAppDriver:

launched a UWP app from win32 code path. Just like the calculator here.  UWP and other app has difference code path, but it's still possible to launch UWP app from CLI and WinAppDriver doesn't know about it
It's possible that WinAppDriver try to match the application root with classname: window, ApplicationFrameWindow. Postman and notepad++ may belongs to this.

I can think of the only workaround for you is(I didn't do the testing):

Launch the application just like what you did here.
If the app is killed, You have to wait for the WinAppDriver fix. If the application is still alive like calculator, you can continue
ignore the failure, and start another session with

        appCapabilities.SetCapability("app", "Root");
        appCapabilities.SetCapability("appTopLevelWindow", "Calculator");

then continue the testing just like before.

If you would like to try new stuff, there is YWinAppDriver. I just made it support your scenario, and you just need to add capability like this:
        appCapabilities.SetCapability("forceMatchClassName", "Notepad++");
        appCapabilities.SetCapability("forceMatchAppTitle", "Calculator");

Of course, YWinAppDriver is just a opensource project I created, and you can't get any official support from Microsoft.


⚠ Bofrost.es has degraded performance

In 3b25adc, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1528 ms

Resolved: Bofrost.es performance has improved in b25f1bb after 6 minutes.


Optimizing Concurrent Inference with NVIDIA A100 80 GB GPU for Llama-2 13b Model

I'm currently utilizing an NVIDIA A100 80 GB GPU to run the Llama-2 13b model, and I've encountered an issue when trying to enable sharing using the share=True parameter in the generate.py command. Specifically, when two users attempt to access the model through the same network simultaneously, one user's request gets queued.
I'm curious to understand how many users can efficiently access the public URL for parallel inference on the A100 GPU. Additionally, I'm interested in optimizing the client.py script to accommodate more concurrent users.
Your guidance on these matters would be greatly appreciated.
Thank you!

The --concurrency_count is default 1, one can make it larger to avoid queuing.  However, the best option for concurrency is to use an inference server like vLLM as mentioned in the readme_inference server docs.


add support for PSK

Some devices (i.e., Ikea TRADFRI) work with pre-shared keys (PSK) only. This patch adds support for PSK.

I should configure github actions for this repo. I will now assume it will work. I will do that later on.
Thanks for your contributions.


[release-22.11] xdg-desktop-portal: 1.15.0 → 1.16.0, flatpak: 1.14.0 → 1.14.1, flatpak: 1.14.1 → 1.14.2, flatpak: 1.14.2 -> 1.14.4

Description of changes
this backports multiple commits from flatpak and xdg-desktop portal:
d70098e/94cc90f
2dd58d6
db9b566
this fix bugs in both, and two cves in flatpak mentioned in #225487. i have also added myself as maintainer for the release-22.11 packages.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

no test difference for xdg-desktop-portal
SUMMARY: total=6; passed=4; skipped=0; failed=2; user=1.5s; system=3.7s; maxrss=26340

no test difference for flatpak
SUMMARY: total=50; passed=38; skipped=0; failed=12; user=1145.7s; system=772.3s; maxrss=441560
FAIL: flatpak/test-run@user,deltas.wrap.test (Child process exited with code 1)
FAIL<EMAIL_ADDRESS>(Child process exited with code 1)
FAIL: flatpak/test-history.sh.test (Child process exited with code 1)
FAIL: flatpak/test-seccomp.sh.test (Child process exited with code 1)
FAIL: flatpak/test-run@system,deltas.wrap.test (Child process exited with code 1)
FAIL: flatpak/test-prune.sh.test (Child process exited with code 1)
FAIL: flatpak/test-run@system-norevokefs,deltas.wrap.test (Child process exited with code 1)
FAIL: flatpak/test-run@system-norevokefs,nodeltas.wrap.test (Child process exited with code 1)
FAIL<EMAIL_ADDRESS>(Child process exited with code 1)
FAIL<EMAIL_ADDRESS>(Child process exited with code 1)
FAIL: flatpak/test-run@system,nodeltas.wrap.test (Child process exited with code 1)
FAIL: flatpak/test-run@user,nodeltas.wrap.test (Child process exited with code 1)

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2193

Unfortunately NixOS 22.11 has reached its end-of-life status on 2023-06-30, one month after the release of NixOS 23.05.
I'm closing this pull request, since we do not accept any changes to its branches anymore.


Greenkeeper/snyk 1.254.0

:tada: This PR is included in version 3.1.11 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update mss grammar to specify taller or wider node

Sometimes a node is  too small to accept incoming connectors.  Provide a way to size up and across by some percentage

Nodes can be expanded using an expansion percent value. To make a node taller, add blank lines in one of the compartments.


ERROR	Reconciler error	{"controller": "cert-rotator", "object": {"name":"kedaorg-certs","namespace":"keda"}

Report
Hi all,
i am facing an issue that i hope anybody here have experienced and would help me.
I upgrated keda on my aks cluster from 2.8.2 to 2.13.0 version and from keda-operator pod i get logs as below:
Expected Behavior
ValidatedWebhookConfiguration
Actual Behavior
there is an error updating webhook with certificate
Steps to Reproduce the Problem
1.upgrade from keda 2.8.1 to keda 2.13.0
Logs from KEDA operator
/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227

2024-02-28T02:03:16Z	ERROR	Reconciler error	{"controller": "cert-rotator", "object": {"name":"kedaorg-certs","namespace":"keda"}, "namespace": "keda", "name": "kedaorg-certs", "reconcileID": "5ef2b440-11bd-489e-a384-d9f3768fbc95", "error": "Operation cannot be fulfilled on apiservices.apiregistration.k8s.io "v1beta1.external.metrics.k8s.io": the object has been modified; please apply your changes to the latest version and try again"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227
2024-02-28T02:03:16Z	INFO	cert-rotation	no cert refresh needed
2024-02-28T02:03:16Z	INFO	cert-rotation	Ensuring CA cert	{"name": "keda-admission", "gvk": "admissionregistration.k8s.io/v1, Kind=ValidatingWebhookConfiguration", "name": "keda-admission", "gvk": "admissionregistration.k8s.io/v1, Kind=ValidatingWebhookConfiguration"}
2024-02-28T02:03:16Z	INFO	cert-rotation	Ensuring CA cert	{"name": "v1beta1.external.metrics.k8s.io", "gvk": "apiregistration.k8s.io/v1, Kind=APIService", "name": "v1beta1.external.metrics.k8s.io", "gvk": "apiregistration.k8s.io/v1, Kind=APIService"}
2024-02-28T02:03:16Z	INFO	cert-rotation	no cert refresh needed
2024-02-28T02:03:16Z	INFO	cert-rotation	Ensuring CA cert	{"name": "keda-admission", "gvk": "admissionregistration.k8s.io/v1, Kind=ValidatingWebhookConfiguration", "name": "keda-admission", "gvk": "admissionregistration.k8s.io/v1, Kind=ValidatingWebhookConfiguration"}
2024-02-28T02:03:16Z	INFO	cert-rotation	Ensuring CA cert	{"name": "v1beta1.external.metrics.k8s.io", "gvk": "apiregistration.k8s.io/v1, Kind=APIService", "name": "v1beta1.external.metrics.k8s.io", "gvk": "apiregistration.k8s.io/v1, Kind=APIService"}
2024-02-28T02:03:16Z	INFO	cert-rotation	no cert refresh needed
2024-02-28T02:03:16Z	INFO	cert-rotation	Ensuring CA cert	{"name": "keda-admission", "gvk": "admissionregistration.k8s.io/v1, Kind=ValidatingWebhookConfiguration", "name": "keda-admission", "gvk": "admissionregistration.k8s.io/v1, Kind=ValidatingWebhookConfiguration"}
2024-02-28T02:03:16Z	INFO	cert-rotation	Ensuring CA cert	{"name": "v1beta1.external.metrics.k8s.io", "gvk": "apiregistration.k8s.io/v1, Kind=APIService", "name": "v1beta1.external.metrics.k8s.io", "gvk": "apiregistration.k8s.io/v1, Kind=APIService"}
2024-02-28T02:03:16Z	INFO	cert-rotation	no cert refresh needed
2024-02-28T02:03:16Z	INFO	cert-rotation	Ensuring CA cert	{"name": "keda-admission", "gvk": "admissionregistration.k8s.io/v1, Kind=ValidatingWebhookConfiguration", "name": "keda-admission", "gvk": "admissionregistration.k8s.io/v1, Kind=ValidatingWebhookConfiguration"}
2024-02-28T02:03:16Z	INFO	cert-rotation	Ensuring CA cert	{"name": "v1beta1.external.metrics.k8s.io", "gvk": "apiregistration.k8s.io/v1, Kind=APIService", "name": "v1beta1.external.metrics.k8s.io", "gvk": "apiregistration.k8s.io/v1, Kind=APIService"}
2024-02-28T02:03:16Z	INFO	cert-rotation	no cert refresh needed
2024-02-28T02:03:16Z	INFO	cert-rotation	Ensuring CA cert	{"name": "keda-admission", "gvk": "admissionregistration.k8s.io/v1, Kind=ValidatingWebhookConfiguration", "name": "keda-admission", "gvk": "admissionregistration.k8s.io/v1, Kind=ValidatingWebhookConfiguration"}
2024-02-28T02:03:16Z	INFO	cert-rotation	Ensuring CA cert	{"name": "v1beta1.external.metrics.k8s.io", "gvk": "apiregistration.k8s.io/v1, Kind=APIService", "name": "v1beta1.external.metrics.k8s.io", "gvk": "apiregistration.k8s.io/v1, Kind=APIService"}
2024-02-28T02:03:16Z	ERROR	cert-rotation	Error updating webhook with certificate	{"name": "v1beta1.external.metrics.k8s.io", "gvk": "apiregistration.k8s.io/v1, Kind=APIService", "error": "Operation cannot be fulfilled on apiservices.apiregistration.k8s.io "v1beta1.external.metrics.k8s.io": the object has been modified; please apply your changes to the latest version and try again"}
github.com/open-policy-agent/cert-controller/pkg/rotator.(*ReconcileWH).ensureCerts
/workspace/vendor/github.com/open-policy-agent/cert-controller/pkg/rotator/rotator.go:839
github.com/open-policy-agent/cert-controller/pkg/rotator.(*ReconcileWH).Reconcile
/workspace/vendor/github.com/open-policy-agent/cert-controller/pkg/rotator/rotator.go:785
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:119
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:316
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227
2024-02-28T02:03:16Z	ERROR	Reconciler error	{"controller": "cert-rotator", "object": {"name":"kedaorg-certs","namespace":"keda"}, "namespace": "keda", "name": "kedaorg-certs", "reconcileID": "dfabd7a8-40ef-4154-b651-c6aa6b9dd0ee", "error": "Operation cannot be fulfilled on apiservices.apiregistration.k8s.io "v1beta1.external.metrics.k8s.io": the object has been modified; please apply your changes to the latest version and try again"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227
KEDA Version
2.13.0
Kubernetes Version
1.27
Platform
Microsoft Azure
Scaler Details
No response
Anything else?
No response

KEDA is deployed with helm from this repo https://kedacore.github.io/charts

More info we are also using the same chart.
"Operation cannot be fulfilled on apiservices.apiregistration.k8s.io "v1beta1.external.metrics.k8s.io": the object has been modified; please apply your changes to the latest version and try again"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:329
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227

I'm facing the same issue.

+1

+1

I see this issue does not persist in Keda 2.14.0 and chart version: 2.14.2

@vinayak-shanawad thanks for the confirmation.

@zroubalik It works fine in my local kind cluster but not in our AWS EKS cluster because we already using Datadog as external metrics server, we hit this issue now.

@vinayak-shanawad thanks for the confirmation.

It does. I'm using 2.14.2 in k8s v1.28.11

2024-06-26T19:08:54Z	ERROR	cert-rotation	Error updating webhook with certificate	{"name": "v1beta1.external.metrics.k8s.io", "gvk": "apiregistration.k8s.io/v1, Kind=APIService", "error": "Operation cannot be fulfilled on apiservices.apiregistration.k8s.io "v1beta1.external.metrics.k8s.io": the object has been modified; please apply your changes to the latest version and try again"}

@sohel2020 Are you getting this error from a local kind cluster?

I see this issue does not persist in Keda 2.14.0 and chart version: 2.14.2

Still happening for me on keda 2.14.0 and chart version 2.14.2

I see this issue does not persist in Keda 2.14.0 and chart version: 2.14.2

Unfortunately, the issue is still happening for me on keda 2.14.0 and chart version 2.14.2
We are using AKS v1.28.9
Did you destroy your helm release or did you upgrade in place?

Confirmed that this issue still occurs for me on a number of clusters in AKS.
Helm chart version:  keda-2.15.0
App Version: 2.15.0
I destroyed the helm deployment and reinstalled from scratch.
@zroubalik Any ideas?  This appears to be an issue experienced by others too?
Many Thanks

Does anybody have insight as to why the error response from the API?
It appears that this can occur if yaml with inappropriate field metadata (such as resourceVersion, timestamp) are applied in a yaml file? See for example: https://stackoverflow.com/questions/51297136/kubectl-error-the-object-has-been-modified-please-apply-your-changes-to-the-la
I am using AKS - is it possible that AKS could be interfering with the certs rotation on the APIService object e.g. by attempting to update the caBundle?  See Azure Docs here:

This error is transitory until KEDA operator is able to configure the required services. If you see it during a few minutes, it's totally normal. if you see that the error persists, maybe there is any other reconcile (such as ArgoCD or Flux) modifying the manifests and being in conflict with KEDA (because KEDA patches the manifest to include the caBundle and those tools can try to remove it).
If you are using ArgoCD with autosync or flux, I'd suggest including a rule to skip the caBundle from APIService and ValidatingWebhookConfiguration.  You can also use  cert-manager to generate and patch the required resources -> https://keda.sh/blog/2023-05-02-certificate-improvements/

Thank you @JorTurFer .  Yes, the error is transitory.  However, it is also a breaking error.  We see interruption to the Kubernetes Aggregated API (FailedDiscoveryCheck), which means that Prometheus metrics are not propagated for the duration.  In other words, it is affecting the aggregated API in general.
As above, possibly the error is because Azure AKS is trying to manage the caBundle, thus clashing with keda-operator? (could this be possible?)
Thank you for the above advice.  We will disable the Keda certs rotation - I believe that this can be done by setting certificates.autoGenerated=false in the helm chart values.  This, along with deployment of cert-manager will possibly be a fix.
May I suggest that this  behaviour is a bug in Keda which deserves some attention?
Many Thanks

UPDATE: FYI
@JorTurFer
FYI I have disabled cert rotation as above but this does not fix the KubeAggregatedAPIErrors.  These errors must be happening elsewhere.
Thanks for your help.

please reopen, since this error persists even in 2.16.0

This was closed by inactivity. Could you open a new issue to track your case?


Pretrained Models

I want to use a pretrained I3D to generate video features. What should I do after I download the "link"? How do I deal with the downloaded PYTH file? If it is the checkpoint of the model, then for those models that are not included in PyTorch Hub, like I3D, C2D, how should I load the checkpoint onto them?

in addition, what should I do if I just want an intermediate representation of the video rather than the final logits?

Hi, I3D and C2D models are supported by our PyTorch Hub, as shown in this file.
For feature extraction (similar to https://github.com/facebookresearch/pytorchvideo/issues/188), you could make `head=None for kwargs to remove the prediction heads when creating models

Hi, i'm doing this as you suggested, but when i passed head=None using torch.hub to build models, i encounted such problems:

It seems that the model i want to build actually does't have a head module, but the pre-trained model still tries to load weights into it.
I'm not sure if i do something wrong?

@yyccli i have the same error, you solved?

Fast workaround:
Edit the file pytorchvideo/models/hub/resnet.py
In the function
def _resnet(     pretrained: bool = False,     progress: bool = True,     checkpoint_path: str = "",     model_builder: Callable = create_resnet,     **kwargs: Any, ) -> nn.Module:     model = model_builder(**kwargs)     if pretrained:         # All models are loaded onto CPU by default         checkpoint = load_state_dict_from_url(             checkpoint_path, progress=progress, map_location="cpu"         )         state_dict = checkpoint["model_state"]         model.load_state_dict(state_dict)     return model
drop the weights you are not using (those appearing in the error). In my case, I'm dropping blocks.5.proj.weight and blocks.5.proj.bias. So, the function will be:
def _resnet(     pretrained: bool = False,     progress: bool = True,     checkpoint_path: str = "",     model_builder: Callable = create_resnet,     **kwargs: Any, ) -> nn.Module:     model = model_builder(**kwargs)     if pretrained:         # All models are loaded onto CPU by default         checkpoint = load_state_dict_from_url(             checkpoint_path, progress=progress, map_location="cpu"         )         state_dict = checkpoint["model_state"]         print(state_dict['blocks.5.proj.weight'])         del state_dict['blocks.5.proj.weight']         del state_dict['blocks.5.proj.bias']         #exit()         model.load_state_dict(state_dict)     return model
Corrected sentence: If you are extracting the features at a different height, you have to manually change the code to reflect your change.


verify responses

verifying responses in addition to verifying requests would be useful in integration test setups where we are testing both a client and a server (for example, when testing a http-based communication library).

Could you elaborate your use case a bit? What underlying problem would this solve?

this would simplify test fixtures.
in the above case of testing the communication lib, there is a client-side and a server-side component.
currently, the client-side component is tested in one test with WireMock, while the server-side component is tested a separate test with a http client.
in actual usage, the two lib components actually talk to one another, so this could be set up in a single integration test with both the client-side and the server-side lib components.
for testing a feature which requires stuff to be put in both the request and response (headers, for example), the test would consist of:

set up client-side, pointing at port X
set up server-side, listening at port Y
set up WireMock, proxying from X to Y
send request with lib
verify request stuff
verify response stuff

Ah, so you're talking specifically about when you're using WireMock as a proxy, so you don't know in advance what response you'll get?

yes, that's right. the scenario is that both the client and the server are part of the SUT.

It's an interesting idea, but I'm not convinced this is good testing practice. I think the principle of keeping test cases focussed on a single thing (and certainly a single system) is a good one. Although it might result in a bit more test code, separating the tests for application vs. its dependency is likely to make for a more manageable test suite over time.
Also, WireMock was intended for testing APIs. A feature like this seems outside of its scope.

too bad... ok, closing the issue.


README.md: fix wrong place of period and wrong plural

Signed-off-by: Ling FaKe<EMAIL_ADDRESS>

Ehh, I don't think this is necessary. If you want to change it, then "every Wednesday" is better.

@jonboulle thanks for your advice, I think it should be changed due to wrong plural Wednesdays and wrong place of period . in (USA Pacific). And I have made it, PTAL.

On Thu, Oct 27, 2016 at 07:07:31PM -0700, TrumanLing wrote:

I think it should be changed due to wrong plural Wednesdays and
wrong place of period . in (USA Pacific).

3ef49101 looks good to me for the period fix.
I have no problem with the old “Wednesdays”, although I don't mind
“every Wednesday” either.

LGTM for fixing the periods, thanks. But as a nit, "Wednesdays" is a perfectly correct plural for this purpose.

@jonboulle updated it, PTAL.

432958a looks good to me.

LGTM

LGTM


Related links to external web sites using scope="external" no longer shown in PDF

Tested with 2.5.3, seems to occur also with 2.4, but with DITA OT 2.3 it seemed to work.
The topic has a related link section at the end:
<related-links>
    <link href="http://www.oxygenxml.com" format="html" scope="external"/>
</related-links>

I'm using "args.rellinks="all"". The generated PDF has in the topic related links section a title like "Related links" but it's not followed by any link.
Related links to internal topics still work though.

Using scope="peer" on the link element starts showing the link in the PDF.

It also works if you specify a linktext element inside the link.

I've reproduced with 2.5.3 (including the peer / linktext updates, not sure what is going on.

Fixed with #2802


Error deleting a network profile

Hello,
I have an issue deleting a network profile, created by a container deployment.
I've tried the deletion with the cli and in the azure portal.
The deployment and how to delete a network-profile, is mentioned here:
https://docs.microsoft.com/de-de/azure/container-instances/container-instances-vnet
When I try to delete the network profile, I keep getting the message:
C:\Users\clangner>az network profile delete --id /subscriptions/abf141a1-3f7b-4c54-8573-8031188e6aab/resourceGroups/dx_test/providers/Microsoft.Network/networkProfiles/aci-network-profile-dx_container-dx4-net -y

Network profile /subscriptions/abf141a1-3f7b-4c54-8573-8031188e6aab/resourceGroups/dx_test/providers/Microsoft.Network/networkProfiles/aci-network-profile-dx_container-dx4-net is already in use with container nics a86721e0-3ca4-431a-9cde-e85fa9ac1ea8_eth0; cannot update or delete

I understand, that there is a container nic that is using the network profile.
The problem is, there is no exisiting container anymore in my exisiting resource groups.
I've deleted all of them with the following command:
az container delete -g dx_test -n dx4-csb
Do you know, why I can't delete the network profile?
Why is there a network interface from a non-exisiting container?
Is there a possibility to delete this network interface manuellay?
When there are any questions, don't hesitate to ask me.
Thanks in advance.

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

ID: 81e00caf-dd95-441b-d2d5-0b3c979cb11b
Version Independent ID: 83ed8e59-7ae8-332e-9ce0-7d80e8a973f8
Content: Deploy container instances into an Azure virtual network
Content Source: articles/container-instances/container-instances-vnet.md
Service: container-instances
GitHub Login: @dlepow
Microsoft Alias: danlep

@clangnerakq Try checking the Network Interfaces section in the portal and try to find the NIC that the error is referring to. Once you delete the NIC you should be able to remove the network profile

@clangnerakq you should check the resource group that is automatically created when you deploy a container instance. The name resource group name will be something like MC_*****
This will be different than the resource group you deployed to but it is generated by the platform so you would need to manually search for it.

@clangnerakq any luck with this?

Thanks for giving that a go.
At this point I think we should get you in contact with Support to get this resolved.
Do you have the ability to open a technical support ticket? If not, you can email me at<EMAIL_ADDRESS>and provide me with your SubscriptionID and link to this issue. I can enable your subscription for that request.
I will close this and be on the lookout for that email :)

I have the same issue. Unable to delete VPN or subnet and complaints that there is a NIC connected to the container instance. NIC list is empty in Azure portal and through azure cli. Can I email you please? I have two resource groups stuck like this :)

Having the same problems when removing certain vnets. This issue should remain open and handled publicly, there are not enough resources for us to work around this. I have exhausted every option suggested by support team (PS, ARM, REST), and the NIC is nowhere to be found.

I had to raise a support ticket and the support team took two months to solve this issue. They tried every possible way to delete and finally managed to do a force delete. I had the same issue. NIC is nowhere to be found.

I can confirm this issue is still very much valid. az network nic list -g <name> shows me empty result.

If anyone sees this please open a support request to get this resolved. If you can't open a request see my above comment and feel free to reach out to me with the requested information.

This is still an issue. Can we re-open this so folks can track progress on an actual fix?
We create and destroy VNets frequently and encounter this problem on roughly 10% of our deployments. Yes, support can resolve it. However, it is a major inconvenience as it always involves 3-4 rounds of back and fourth (e.g. try this command...) before they finally take it to the engineering team to do something on the back end.
I know it is a preview feature, but this is painful.

The work around for now is still to engage support to get unblocked. But I am reopening this so I can try and find out the current status and what is being done long term to fix this. No ETA on when I will have an update but reopening to keep on my radar and start looking into it

adding @dkkapur for awareness

Same problem for me

Here are some docs that might help delete the blocking resources:
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-vnet#delete-network-resources
https://docs.microsoft.com/bs-latn-ba/azure/aks/virtual-nodes-cli#remove-virtual-nodes
https://docs.microsoft.com/en-us/rest/api/container-instances/serviceassociationlink/delete

The ACI team is aware of this issue and are actively working on a permanent solution. I am working to get an ETA when the fix will ship. Will continue to update this issue as I get more information.

I have been working offline on this issue.
There are different reasons which can lead to this scenario. What we already rolled out is a way to detect this on the back end and we have a monitor for it now. So we automatically informed for this now. But yet container groups which were deleted before we have rolled out our monitor (Mid-September) will not get auto detected. So we will need customers to open a support request to get it sorted out.
When opening a support request, please include in the info you are looking for assistance getting the Network Profile ID corrected.
We can then route your requests to the Azure Container Instance team. Unfortunately there is no way for users to unblock themselves without the engineering team. We are continuing to work on this issue to ensure it does not happen when this feature goes GA.
I will be adding a note to the document with some additional information about this shortly.

I added a note during the cleanup phase of this document explaining that if you get an error deleting the network profile to allow 2-3 days for the platform to auto mitigate the issue then retry the deletion. If that doesn't work, I included steps to open a ticket.
Once the work fixes have been confirmed and the feature moves to GA we will update the doc again.

I'm apparently experiencing the same problem after trying to delete an AKS cluster with the virtual-nodes addon enabled.
az network profile delete is failing with: Network profile %id is already in use with container nics %guids.
However, az network nic list does not show any related nics nor does az container list show any containers :astonished:

Hello, Everyone.
I had the same issue and me help below steps to remove aci subnet and vnet with trash container nic:
1st - find name of problem network pdofile by command  - > az network profile list --query [].name -o tsv
2nd - create resource by terraform -> resource "azurerm_network_profile" "example" with the same network profile name and problem subnet id.
3rd - after terraform successfully create network profile, remove it by -> az network profile delete --id ...(you can find id by az network profile list --query [].id -o tsv)
4th - go to portal and change subnet delegate from container to none, after save I could delete subnet and vnet.
Hope it help you as me!

@JedenFalls could you possibly share your Terraform file (with the PII obfuscated of course)?

@JedenFalls could you possibly share your Terraform file (with the PII obfuscated of course)?

first I found by command az network profile list --query [].name -o tsv name of phantom network profile(which I can't delete), e.g it was aci-network-profile-my-container
when I go to terrafom(because az cli doesn't have command to create network-profile separate from the container group) and done terraform apply for below resource:
 resource "azurerm_network_profile" "error-container" {
   name                = "aci-network-profile-my-container"
   location            = "location of phantom network profile"
   resource_group_name = "rg of phantom network profile"

 container_network_interface {
   name = "error-nic"

  ip_configuration {
    name      = "error-subnet"
    subnet_id ="aci subnet id of problem vnet, you can find it by az network vnet subnet list --resource-group $vnetRg --vnet-name $vnetName --query [].id -o tsv"
  }
}

}
in my case terraform successfully recreate network profile without container binding, after that I could remove it by  az network profile delete --id .... and after that azure portal allows me delete my subnet and vnet.

@JedenFalls I can confirm that your solution works. I had to import the resource stauts before applying the configuration you propose, but after applying it  az network profile delete --id ... worked and I was able to delete the affected subnet. Thank you!

The workaround that worked for me is to update the containerNetworkInterfaceConfigurations property in Network profile properties to an empty list:
# Get network profile ID
NETWORK_PROFILE_ID=$(az network profile list --resource-group <reource-group-name> --query [0].id --output tsv)

az resource update --ids $NETWORK_PROFILE_ID --set properties.containerNetworkInterfaceConfigurations=[]

And then I was able to delete the network profile and subsequently the subnet.

The workaround that worked for me is to update the containerNetworkInterfaceConfigurations property in Network profile properties to an empty list:
# Get network profile ID
NETWORK_PROFILE_ID=$(az network profile list --resource-group <reource-group-name> --query [0].id --output tsv)

az resource update --ids $NETWORK_PROFILE_ID --set properties.containerNetworkInterfaceConfigurations=[]

And then I was able to delete the network profile and subsequently the subnet.

This worked for me and saved me the hassle of raising a support case, thanks!!!

@rudolphjacksonm Glad that helped! :)

Update: if you follow these steps, you should be able to successfully delete your VNet. If these steps do not work for you, please open a support ticket.
Mitigation
Please follow these steps in order

Delete container groups
az container delete --id $CG_RESOURCE_ID
Delete delete network profile
az network profile delete --id $NETWORK_PROFILE_ID -y
Delete VNet
az network vnet delete --resource-group $RES_GROUP --name $VNET_NAME

That helped

list all profile list
az network profile list
delete one by one
az network profile delete --name profilename  --resource-group rsggroup
You can delete the subnet and vnet after doing above steps

Below are PowerShell commands to update the existing profile and delete it.
New-AzNetworkProfile -ResourceGroupName [rg name] -Location [location] -name [existing profile name]
Remove-AzNetworkProfile -ResourceGroupName [rg name] -name [existing profile name]

Thank you @rudolphjacksonm! That worked for me :)

@krhynerson this worked for us! Thank you!

@BhargaviAnnadevara-MSFT  Thank you!

I have been working offline on this issue.
There are different reasons which can lead to this scenario. What we already rolled out is a way to detect this on the back end and we have a monitor for it now. So we automatically informed for this now. But yet container groups which were deleted before we have rolled out our monitor (Mid-September) will not get auto detected. So we will need customers to open a support request to get it sorted out.
When opening a support request, please include in the info you are looking for assistance getting the Network Profile ID corrected.
We can then route your requests to the Azure Container Instance team. Unfortunately there is no way for users to unblock themselves without the engineering team. We are continuing to work on this issue to ensure it does not happen when this feature goes GA.
I will be adding a note to the document with some additional information about this shortly.

what document? ...  Then ressources should be removed and now you're stuck with a vnet that cannot be deleted because a network profile is still (already) in use withcontainer nics....

Let me guess @petersgiles
You or a colleague played around with Azure Container Instances. Then resources should be removed and now you're stuck with a vnet that cannot be deleted because a network profile is still (already) in use with container nics....

Yep pretty much, we are using terraform to create and remove Azure Container Instances and occasionally (too occasionally really) the nic is left orphaned by the delete process, the only way to fix it at the moment is via a support ticket with Microsoft.  It took me about 2 days to get our Azure network back to a state where we could recreate everything again.

The workaround that worked for me is to update the containerNetworkInterfaceConfigurations property in Network profile properties to an empty list:
# Get network profile ID
NETWORK_PROFILE_ID=$(az network profile list --resource-group <reource-group-name> --query [0].id --output tsv)

az resource update --ids $NETWORK_PROFILE_ID --set properties.containerNetworkInterfaceConfigurations=[]

And then I was able to delete the network profile and subsequently the subnet.

This worked for me, thanks for the fix!

Both workarroounds did not work for me, apparently I can't get hold of an abandoned nic. Even if I deployed for same networkProfile, another nic shows up. Abandoned nic can't be deleted.

The workaround that worked for me is to update the containerNetworkInterfaceConfigurations property in Network profile properties to an empty list:
# Get network profile ID
NETWORK_PROFILE_ID=$(az network profile list --resource-group <reource-group-name> --query [0].id --output tsv)

az resource update --ids $NETWORK_PROFILE_ID --set properties.containerNetworkInterfaceConfigurations=[]

And then I was able to delete the network profile and subsequently the subnet.

This is giving us
BadRequestError: Network profile ...vk-c4b98b20d03efaa88fc2e1be48a3f4f1b61e8b18f611e80986276441e7636a1d... is already in use with container nics 5f174c69-61f6-480a-bea3-1b3d117378e8_eth0,dc1225a9-2ec6-4a24-81b1-855166d657ac_eth0; cannot update or delete
And we can't seem to find these nics anywhere. Is this something that ACI team should fix in the back-end?

Best to open a support ticket and have the ACI team resolve it from the back-end.  The fix (running the az cli or powershell commands above) does not work 100% of the time, but ACI team should be able to get this resolved for you.


iOS Crashing on getProducts. Perhaps I'm doing something wrong?

Version of flutter_inapp_purchase
0.5.8 (and previous versions as well)
Platforms you faced the error (IOS or Android or both?)
iOS Only
Expected behavior
Actual behavior
Tested environment (Emulator? Real Device?)
Testing on an iPhone Device (not emulator) with WiFi access only.
Steps to reproduce the behavior
Whenever I call getProducts, I get a crash on execution of the code below.
 dynamic result = await _channel.invokeMethod(
        'getItems',
        {
          'skus': skus,
        },
      );

I believe its receiving the data from Apple, but it crashes with no error text. Just says loses connection to device.
Anyone else getting this error?
Thanks for the plugin - works like a charm on Android. Can't wait to get it working for iOS as well :)

@evanave It is because you haven't given this repo a star! (just kidding). Let me find out soon.

@evanave I've just tested in my environment and everything worked fine. Could you share some of your codes? Does this look something like below?
final List<String>_productLists = [
    'point_1000',
    '5000_point',
  ];

  Future<Null> _getProduct() async {
    List<IAPItem> items = await FlutterInappPurchase.getProducts(_productLists);
    for (var item in items) {
      print('${item.toString()}');
      this._items.add(item);
    }

    setState(() {
      this._items = items;
    });
  }

Star given! :)
It seems I'm not calling prepare before getProducts. Unfortunately work is about to start so I don't think I'll have time to test out everything. But will get back to you ASAP.
Appreciate the quick response, most likely user error on my end :)

class IAPPageState extends State<IAPPage> {
  IAPPageState();

  String message = "Loading...";

  final List<String>_productLists = iOS()
      ? ['calc0002',]
      : ['permanent_pro_license'];

//  String _platformVersion = 'Unknown';
  List<IAPItem> _items = [];

  void goBack(){
    navigatorKey.currentState.pop(context);
  }

  @override
  void initState() {
    super.initState();
    initPlatformState();
  }

  Future<void> initPlatformState() async {
    String platformVersion;
    // Platform messages may fail, so we use a try/catch PlatformException.
    try {
      platformVersion = await FlutterInappPurchase.platformVersion;
    } on Exception {
      platformVersion = 'Failed to get platform version.';
    }
    message = "";
    print("Platform Version $platformVersion");
    // prepare
    if (iOS()){
      print("GETTING PRODUCTS");
      var result = await FlutterInappPurchase.prepare;
      print('result: $result');
      List<IAPItem> items = await FlutterInappPurchase.getProducts(_productLists);
      for (var item in items) {
        print('${item.toString()}');
        this._items.add(item);
      }
    } else {
      print("PREPARING");
      var result = await FlutterInappPurchase.prepare;
      print('result: $result');
    }

    // If the widget was removed from the tree while the asynchronous platform
    // message was in flight, we want to discard the reply rather than calling
    // setState to update our non-existent appearance.
    if (!mounted) return;

    setState(() {
//      _platformVersion = platformVersion;
    });

    // refresh items for android
    if (!iOS()) {
      String msg = await FlutterInappPurchase.consumeAllItems;
      print('consumeAllItems: $msg');
      this._getProduct();
    }
  }

And then some debug print in the plugin...
static Future<List<IAPItem>> getProducts(List<String> skus) async {
    skus = skus.toList();
    if (Platform.isAndroid) {
      dynamic result = await _channel.invokeMethod(
        'getItemsByType',
        <String, dynamic>{
          'type': _typeInApp[0],
          'skus': skus,
        },
      );

      List list = json.decode(result.toString());
      List<IAPItem> products = list
          .map<IAPItem>(
            (dynamic product) =>
                new IAPItem.fromJSON(product as Map<String, dynamic>),
          )
          .toList();

      return products;
    } else if (Platform.isIOS) {
      print("GETTING IOS PLATFORM");
      dynamic result = await _channel.invokeMethod(
        'getItems',
        {
          'skus': skus,
        },
      );
      print("RESULT RECEIVED");

      result = json.encode(result);
      List list = json.decode(result.toString());
      List<IAPItem> products = list
          .map<IAPItem>(
            (dynamic product) =>
                new IAPItem.fromJSON(product as Map<String, dynamic>),
          )
          .toList();

      return products;
    }
    throw new PlatformException(code: Platform.operatingSystem);
  }

OUTPUT:
flutter: Platform Version iOS 10.3.3
flutter: GETTING PRODUCTS
flutter: DIM VALUES: 0 0
flutter: Comparing ActiveInput: 0 to 0 and Order is 1 and dimensions: -1
flutter: result: true
flutter: GETTING IOS PLATFORM
Lost connection to device.
flutter: Platform Version iOS 10.3.3
flutter: GETTING PRODUCTS
flutter: result: true
flutter: GETTING IOS PLATFORM
Lost connection to device.

@evanave I was just kidding but thank you! I feel like this could be a configuration issue. Could you follow guide in my medium post?

Also Changning bundle identifier to yours and testing in example project may help you find out the problem!
just see below code in line 18.
  final List<String>_productLists = Platform.isAndroid
      ? [
      'android.test.purchased',
      'point_1000',
      '5000_point',
      'android.test.canceled',
    ]
    : ['com.cooni.point1000','com.cooni.point5000'];

Change the second array to
   : ['calc0002];

and try out.

@evanave Yeah please comeback after trying the example!

It fails when there's no introductoryPrice.

@evanave maybe it relates to issue#21. Could you try 0.6.2?

I am using 2.2.0, but get the same issue..


Can't remove css default

I have one issues about apply component of Moonstone  into project.
I created my Item and just want to using Item behavior and not apply default css of Item of MoonStone. But I can't,

Read in doccument: https://enactjs.com/docs/modules/moonstone/Item
you said about ItemDecorator but in souce code I can't see it, instead ItemOverlay
I'm using "export default ItemOverlay(MyMenuItem);" but which is still map css and not show with my css.

Sounds like you're using v1.x of moonstone but looking at the 2.0 version of the docs. We had some API change in 2.0 which exposed more Decorators to support applying component decorators in different ways.
I'd recommend using 2.0 if you can but if you need 1.x, here's a link to the docs for Item in 1.15.
https://enactjs.com/1.15.0/docs/modules/moonstone/Item/

Which version of Enact are you using with your project?   Try npm ls @enact/core
Upgrade to our latest versions of Enact, which include our unstyled ui components.  You can then use ui/Item, which is an unstyled Item.

@RichardNTran Can this be closed now?


[Question] When will the new release version be released?

Hi. Can't find info -
When will the new release version be released?

Hi @nk915,
The answer is "when it's ready." :) Generally speaking, #61 has the details on what is left. The preview versions are fairly stable at this point, but they lack some documentation still. I also need to get a new icon out.
I'm very busy right now, this project is entirely done in my free time, and I receive no money for this, so it's done when it is done. Contributions are welcome!

@nk915,
The answer is TODAY, 20 April, 2021! 🥳 🥳 🥳 🥳 🥳 🥳


Bump up the instance type for Kali instances so they have more RAM

🗣 Description
This pull request bumps up the instance type for Kali instances so they have more RAM.
💭 Motivation and Context
One of the fed leads asked for more RAM for the Kali instances.
🧪 Testing
This change is currently deployed to env7 in our production environment.
🚥 Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (causes existing functionality to change)
[x] Parameter tweak

✅ Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

I don't know yet if this is a change we will want to adopt permanently, but I went ahead and added @dav3r as a reviewer just to keep him in the loop.

I don't know yet if this is a change we will want to adopt permanently, but I went ahead and added @dav3r as a reviewer just to keep him in the loop.

Do we know what they are doing that requires more RAM?  It would be good to document that here.

I don't know yet if this is a change we will want to adopt permanently, but I went ahead and added @dav3r as a reviewer just to keep him in the loop.

Do we know what they are doing that requires more RAM? It would be good to document that here.

They were guessing that Burp Suite was eating up all the RAM and that's why they saw a Kali instance lock up.  I'm not convinced they identified the root cause.  I think this was just a stab in the dark.

I don't know yet if this is a change we will want to adopt permanently, but I went ahead and added @dav3r as a reviewer just to keep him in the loop.

Do we know what they are doing that requires more RAM? It would be good to document that here.

They were guessing that Burp Suite was eating up all the RAM and that's why they saw a Kali instance lock up. I'm not convinced they identified the root cause. I think this was just a stab in the dark.

OK, thanks for the context.  I don't think we should roll out this larger instance type across the board until we are sure it is truly needed.

Closes cisagov/cool-system#106.


MSI_SECRET and MSI_ENDPOINT are not populated after enabling MSI

After enabling the Managed Service Identity for an Function App, the MSI_SECRET and MSI_ENDPOINT environment variables are supposed to be populated. However, in my experience, this can take a long time to happen. I've tried:

killing the processes (via Kudu Process Explorer)
restarting the application
applying additional application settings (that are then seen as env variables)
deploying new code

None of these actions reliably causes the MSI_SECRET or MSI_ENDPOINT environment variable to be populated. In fact, in some situations where these environment variables have been set up correctly, some of the above actions (in particular, redeploying code) can cause them to disappear.
Investigative information
Details from a run where this issue was seen:
2017-10-16T21:33:14.186 Function started (Id=61e648a4-291f-452c-8c55-827da337748b)
2017-10-16T21:33:14.233 JavaScript HTTP trigger function processed a request.
2017-10-16T21:33:14.233 Function completed (Success, Id=61e648a4-291f-452c-8c55-827da337748b, Duration=36ms)

This is a Javascript HttpTrigger function, running in West Europe.
Repro steps

Create a new Function Application
Create a new Function (JavaScript in this case)
Apply the following implementation...

module.exports = function (context, req) {
    context.log('JavaScript HTTP trigger function processed a request.');

    context.res = process.env["MSI_ENDPOINT"] || "value not set";

    context.done();
};

Save the function defintion
Open the Platform Features for the function app
Select "Managed Service Identity"
Switch MSI ON
Wait for the application to register with Active Directory

EXPECTED

running the function now should return the value of MSI_ENDPOINT
opening the Console for the function app, and typing env should show the MSI_ENDPOINT and MSI_SECRET environment variables
opening the Kudu console and typing env should also show these values
viewing the process properties in Kudu's process explorer should show the environment variables

ACTUAL

"value not set" is returned
none of the techniques described in the EXPECTED show the environment variabes
after a period of time, or after killing processes, the environment variables may appear
changing the environment variable in the function to be something defined in application settings results in the code working fine

It appears that only by...

leaving the function app over night (12 hours)
using Kudu process explorer to kill the process

... can I get this to work as expected. The application I used for repro'ing this issue now has these env variables set up as expected.
What didn't work was...

Leave for 12 hours
Try hitting the function endpoint (returned "value not set")
Try restarting the function app from the portal (returned "value not set")

This is a know issue affecting a few scale units, mostly in West Europe. It will be fixed within a couple weeks, but until then you can work around by setting WEBSITE_USE_PLACEHOLDER=0 in your Function App Settings.

Aha....interesting. Does this mean that other regions are less likely to see this problem? I'll try that setting too. Thanks @davidebbo

you can work around by setting WEBSITE_USE_PLACEHOLDER=0 in your Function App Settings.

I've confirmed that this works. I needed to restart (using the portal) the Function app, but right after that the MSI_* environment variables were available.

Closing this as the fix has been checked in to app service. As David mentioned above, deployment is probably still a couple of weeks away.

Thanks for resolving this. Will there be any update here (or elsewhere) once the fix is in production?

The fix is now fully deployed.

I know this is outdated, but still, for people who may experience that issue, I just had the exact same problem for over 24h now, and I finally figured out by browsing KUDU that we had dubious environment variables :
APPSETTING_WEBSITE_DISABLE_MSI=true
WEBSITE_DISABLE_MSI=true
Removing these from our environment resolved the issue.


adds Date module functions: year/month/dayOfMonth/dayOfWeek

Added some new functionalities to Date module Issue #489.
Functions added:

year
month
dayOfMonth
dayOfWeek

Please change docs and add tests, additionally consider giving a star to repo to make this project more popular :rocket:

hello, are you going to finish this PR? I will close otherwise


On some datasets we seem to time out even though we set a time limit in the config

See title. Example datasets with this problem:
LL0_200_pbc_config
LL0_216 elevators
LL0_227_cpu_small
LL0_531_boston_config
LL0_572_bank8fm
LL0_189_kin8nm
LL0_549_strikes
It seems that the problem occurs once the model_step is called - if it takes too long, we don't halt execution.

Doesn't seem to happen on individual datasets, only when running many in parallel. Might be a problem with multithread memory - closing for now.


Are you still working on this

I am willing to bug test any new release

Yes, I am still working on CPod. I've had a few things on my plate lately and I don't always want to work on CPod in my spare time, which is why progress has been slow.

Okay, thanks for replying so quickly it's just that I love CPod and its something that I now use daily it's just an amazing tool to use.

That's good to hear :) I'll be sure to keep improving CPod in the future.


Please provide a minimal example of animation with your wrapper. I have data dynamically bound, but it seems to just have plotly redraw, when animation is specified in options

Since the owner of the repo seems silent on addressing issues, i'll address two main issues here for others to reference.
Animation
As is, the component doesn't support animation. Why? Two reasons.

the author of the component does not expose Plotly.animate anywhere.
the author of the component explicitly uses Plotly.react to do all updating. This means if your data changes, it will call this.react() twice and since the data is now where it is would be, even if you manually call Plotly.animate you will see no animation.

How can you get around this? (for those that need a one-and-done, not a reusable solution)

copy-paste the component to your own Plotly.vue file
above export default add your transition specification:

const transitionSpec = {
  transition: {
    duration: 500,
    easing: 'cubic-in-out',
  },
  frame: {
    duration: 500,
    redraw: false
  }
}

in the mounted lifecycle hook, change the this.$watch functions that call this.react to a function called `this.reactAnimate()
in methods define a function animatePlot

animatePlot() {
      try {
        return Plotly.animate(
          this.$refs.container,
          {
            data: this.data,
            layout: this.internalLayout,
            config: {
              ...this.getOptions(),
              animationAttributes: transitionSpec, // <--- hardcoded above
              displaylogo: false
            }
          },
        )
      }
      catch (error) {
         // maybe fall back here to this.react()
        console.log('error',  error)
      }
    },

in methods define the function reactAnimate

reactAnimate() {
      let dr = this.internalLayout.datarevision
      if (dr === 1) {
        this.react()
      }
      else {
        this.animatePlot()
      }
    },

This will work because react will create a plot if it doesn't already exist. Since this component updates the data revisions, every time the data changes, if it is not the first time, it will animate instead.
If you want to make it more reusable, add a prop to the component for the animation configuration.
Resize
If you specify autoResize inside options or layout, it will not work. You need to specify on the component that you want it to resize:
<Plotly :autoResize="true"/>

This must be set on the components creation, as the function initEvents will only add a debounced resize option if set to true!
NOTE if you made my above changes for animation, you do not need to change the debounced function. Leave this as this.react so your plot will snap correctly when resizing occurs (reactAnimate will only call react once!)

Heads up, the solution posted above does not work.

can someone help with this issue? would be super nice if the animation feature works!


Add component attribute to be able to easily interact with the visualization component

For example with this new attribute is possible to do something like:

$scope.component.selectNodes("1");

Nice idea :)


Order results

Is there a way to order results?
For instance, force a specific dataset to appear at top.

I'm under the impression that you can pass a sorter to Bloodhound and then pass Bloodhound as the dataset to the ui.
Maybe this helps: https://stackoverflow.com/questions/30049023/how-to-sort-search-results-in-typeahead-bloodhound


Finetuing qwen-vl support is planned in the future？

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
vlm will be supported？
Expected behavior
No response
System Info
No response
Others
No response

Duplicate of https://github.com/hiyouga/LLaMA-Factory/issues/2093


AlignmentRecord.mateAlignmentEnd never set

Gotcha I just ran into: AlignmentRecord.mateAlignmentEnd is never set in ADAM.
That field doesn't exist on SAMRecords, and afaict mate's end is not inferable in e.g. SAMRecordConverter where the mate-start is set.
My use-case was mimicking samtools view's region-filtering behavior where unmapped reads will be included if their mate is mapped to an included region.
Having dug into it further, samtools view only counts unmapped reads as existing at the one-locus position indicated by mateAlignmentStart.
I have some code I will maybe make into a PR that constructs a ReferenceRegion representing an unmapped AlignmentRecord's mate, setting the end to one more than the start position, to be consistent with samtools view's behavior described above.
I am considering whether .setMateAlignmentEnd(mateStart + 1) (on unmapped reads only?) in SAMRecordConverter makes sense; it's technically not a correct value to set the mate-end to, so I think leaving that as a decision higher in the stack (e.g. when explicitly making a ReferenceRegion representing an unmapped read's mate like I described above) makes more sense.
In that case, there may be nothing actionable here, though maybe some documentation somewhere about mateAlignmentEnd never being set would make sense… maybe that field should be removed, or at least documented as having different set/null contracts than the parallel-named mateAlignmentStart and mateContigName.

Yeah, I ran into this several months back in https://github.com/bigdatagenomics/quinine/pull/38 as well. I think your ReferenceRegion addition makes sense. WRT SAMRecordConverter, my preference would be to nix the mateAlignmentEnd field upstream in bdg-formats.

nice catch!  +1 to removing mateAlignmentEnd field

Filed https://github.com/bigdatagenomics/bdg-formats/issues/115, closing.


[DEV-1620] Ikna bfs

Release Checklist
Pre-Release

[ ] Check migrations

No database related infos (sqldb-xxx)
Impact on GS (new/removed columns)

[ ] Check for linter errors (in PR)
[ ] Test basic user operations

Login/logout
Registration
Update user data
Create/delete payment routes

Post-Release

Test basic user operations
Monitor application insights log

Add Ikna Key in env


[Membership]: Community Approver - AnaisUrlichs

GitHub Username
@AnaisUrlichs
Membership Level
Subproject Approver
Subproject
community
Sponsors
@thschue
Requirements

[X] Deep understanding of the technical goals and direction of the subproject
[X] Deep understanding of the technical domain of the subproject
[X] Sustained contributions to design and direction by doing all of:

Authoring and reviewing proposals
Initiating, contributing and resolving discussions (emails, GitHub issues, meetings)
Identifying subtle or complex issues in designs and implementation PRs

[X] Directly contributed to the subproject through implementation and / or review

List of contributions to the project

https://github.com/k8sgpt-ai/community/pull/51
Maintainance of website / docs / community content

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Contributor Guide

[X] I have read and understood the Contribution Guide

Contributor Guide and Membership Requirements

[X] I have read and understood the Community Membership Document

I support this

Yes, thank you

Added the corresponding permissions, done


Fix L4-only policy egress to world and CIDR-only egress to world

Fixes: #3371
Fixes: #3427

test-me-please

test-me-please

test-me-please

test-me-please


feat: parameter settings when packaging the library

Description

I'm using vite as a development build tool for lib projects. In vite, you can use lib to develop the file entry and the variable name or build type,but there is no fileName specified.
I read the source code and found that the field is a direct way to get the name field of package.json.I think a new fileName field should be added to specify the name of the output file after packaging,and the default value can be the name of package.json
Additional context
Otherwise I would need to manually change the names of the different types of files after each build is completed. Because the nane of my package.json is not necessarily the name I need.I added a field for the lib configuration.

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

After improvement, it is configured like this
export default defineConfig({
  plugins: [reactRefresh()],
  build: {
    lib: {
      entry: path.resolve(__dirname, 'src/index.ts'),
      name: 'variablName,
      fileName:'MyFileName', // new add
      formats:['es','umd','cjs']
    }
  }
});

Would you add this option to the Config documentation?
Note: this is a new feature so its approval depends on Evan's input. It can be solved using the output.entryFileNames rollup config without the extra option, but as suggested by Evan in that issue, it may be a good idea to offer a direct option
#2170

Of course, I am willing to add documentation

Thanks for adding the docs! Closing as duplicate of #2750


Testscript fails while running in Azure pipeline but passes in local

My testcase fails in azure pipeline with the below error while clicking the button in the ribbon. It works well in local
Am I missing anything here?

Element ... is not clickable at point (851, 68). Other element would receive the click: ...

@AddalaDeviPriya According to my experience it can be different reasons (another browser version, other user settings, more quick test behavior, etc..).
Try to capture a screenshot and look witch control block click.

Working after adding Screen resolution utility to pipeline


Unit test framework

@JA-04 you can take these changes for running unit tests.

@vineetmimrot should we abandon this?


"BlazorHeroUser" in "Infrastructure".  Is this correct approach?

Description:
Just getting started with this and I have started creating the entity and soon realized there seems to be some issue in the way we placed the "IdentityUser" class.  If I want to create an entity in the "Domain" library mapped to IdentityUser, there seems to be no way.
Since we have "BlazorHeroUser" in "Infrastructure", we are not able to refer users to any Entity which should not be the case I hope.
Can someone point me Is there a way?

I believe you would do the same as what is done for IChatHistory. Whenever you want to refer to a user, add an interface IXXXUser which you can refer to from your entities/models. Then have BlazorHeroUser implement that interface. Also edit BlazorHeroContext so that tables are correctly created for your new class.
I'm also very new to this but I think the rationale of this is that identity management is not directly handled by EF, hence users are not just one table among others and are treated differently. Anyone else?

Thanks for the suggestions @CocoDico78 , But I feel "IChatHistory" case is different where we have direct access to context itself in "Infrastructure".
Consider a case we have "CreatedBy" in "AuditableEntity" that has "UserId",  I want to somehow map this as "FirstName, Lastname" for the client to view in UI on "Application" layer.   Now, I have no access to get the user info with the Id, not having access to usermanager, dbcontext for Specification.  Got stuck here.

"IChatHistory" case is different where we have direct access to context itself in "Infrastructure"

IChatHistory is actually defined in the Applicationproject, not the Infrastructure project. And notice still how the Client application still manages to display chat user name in the Chat.razor component. This is sent by the server as a ChatHistoryResponse or ChatUserResponse. I'm sorry I still can't explain why it's made this way, at least I'm trying to mimic what's already done 🤷


Bump google-config package version.

Current coverage is 98.36% (diff: 100%)

Merging #370 into development will not change coverage

@@           development       #370   diff @@
=============================================
  Files               38         38
  Lines             2992       2992
  Methods              0          0
  Messages             0          0
  Branches           141        141
=============================================
  Hits              2943       2943
  Misses              43         43
  Partials             6          6

Powered by Codecov. Last update 2a09ac9...28f9be3


Manage images right within Ghost

Right now glee supports S3 and only S3 for image management. Multiple people have requested support for the Ghost Image API.

Fixed in version 1.0.7
Please refer to the image configuration documentation.


How can I set different values for the same variable in different JSON files.

I have multiple settings.job for 3 web jobs every file has its own schedule:
{
    "schedule": "0 */5 * * * *"
}

How can I set different schedule for each web job file?

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

ID: 315ff823-9992-9f9b-62a1-42ce622ed41c
Version Independent ID: 72ec3ffc-1dc9-b2dc-e3d4-4f14deae3720
Content: File transforms and variable substitution - Azure Pipelines
Content Source: docs/pipelines/tasks/transforms-variable-substitution.md
Product: devops
Technology: devops-cicd
GitHub Login: @RoopeshNair
Microsoft Alias: ronai

@ehabterra  Thank you for the question.
Unfortunately, this question isn't an issue with the documentation the support options are limited.
Instead, please move this issue to either:

Azure DevOps on Stack Overflow
Azure DevOps Support Bot

Alternatively, use Suggest a feature in the Azure DevOps community to get a recommendation from the product team on whether this feature is available.


iOS: No Audits logged for success and failure cases of wallet binding.

Describe the bug
No Audit for successful attempt of  "Activation of VC"
No Audit for failure attempt of wallet binding
To Reproduce
Prerequisite : Download VC and store in app
For successful attempt:

Unlock the app
click on Add ID
Enter VID
click on Generate ID
Click on on the link "Activation pending for online login " on the card.
Click on Activate button.
Click on "Yes I confirm"
Enter Otp which is prompted
--- VC will be activated for online login

Current behavior
VC activated for successful login but no history captured in history Tab
Expected behavior
As per the story https://github.com/mosip/inji/issues/278
Enabling verification for a VC should be captured in the audit/history
Success scenario message -> 'Verification was enabled for<PHONE_NUMBER>'
Failure scenario message -> 'Enabling verification for<PHONE_NUMBER> failed'
Screenshots

Smartphone (please complete the following information):
Device: iPhone 11
OS: 15.6.1
Inji app version: 0.4.1 (15) -> Testflight
MOSIP Version: <IP_ADDRESS>
MOSIP server: qa-1201-b2.mosip.net
BLE : 5.0
Additional context
Failure case : Json Parse error which was caused due to pod down
https://github.com/mosip/inji/issues/554
https://github.com/mosip/inji/issues/522
https://github.com/mosip/inji/issues/450

Verified this issue in qa-1201-b2 environment, now we get activate or failure message of wallet binding in audit log. I attached the video for reference. hence closing the Bug.
Video:
Uploading Untitled (5).mp4…

Tested in: -
Device: iPhone 8
OS:16.0.2
BLE version: 5.0
Inji app version:0.4.1 (29) -> TestFlight
Mimoto version: <IP_ADDRESS>
MOSIP Version: qa-1201-b2.mosip.net


added .editorconfig file

Just added .editorconfig as requested in this issue =D https://github.com/AlphaT3ch/v.gd/issues/2

Thanks for the contribution, bro! Looks great!

You are welcome!!! Nice to help you o>!