Hand  tracking , when running the GPU and CPU version,  GPU version cannot detect the landmark, but the CPU version can detect the landmark  , The same error  happened in other solutions .

Please make sure that this is a solution issue.
System information (Please provide as much relevant information as possible)

Have I written custom code (as opposed to using a stock example script provided in Mediapipe):
OS Platform and Distribution (Android 11 api=30, Redmi K40 Pro+):
MediaPipe version: latest
Bazel version:3.7.2
Solution :  FaceMesh, Hand tracking ...
Programming Language and version ( e.g. C++, Python, Java):

Describe the expected behavior:
I used these  project in my phone :
https://github.com/jiuqiant/mediapipe_multi_hands_tracking_aar_example
Other info / Complete Logs :
report errors :"2022-11-15 18:28:38.830 29859-29859/com.example.mediapipemultihandstrackingapp E/libEGL: validate_display:87 error 3008 (EGL_BAD_DISPLAY) "
k40 debug.txt

Hi @chensisi0730,
Could you please elaborate your query with complete details and observation made in both of the cases to investigate further. Thank you!

@kuaashish ,

https://drive.google.com/file/d/1XEX9rnHpVH1uuaCvhaJHVgj819VB1MFD/view?usp=sharing

Hi @chensisi0730,
It looks like the issue with android device you are using, Would you try in the different device let us know if issue still persists.

The issue sure is with the android device  using , but my job is to adapt all mobile phones including this device

Hi @chensisi0730,
This seems issue with mediapipe as I see from log that device has OpenGL ES 3.2<EMAIL_ADDRESS>version which required the OpenGL ES 3.2 to run the graphs/calculators as listed in documentation. We are assigning this issue to the right owner to do more investigation on issue. Thanks!

The demo video shows you running the Face detection App.
The graph seems to be loading hand tracking models (taken from your log file)
2022-12-07 18:22:05.668 19856-12259/com.example.mediapipemultihandstrackingapp I/native: I20221207 18:22:05.668534 12259
 resource_util_android.cc:89] Successfully loaded: palm_detection_full.tflite

but the graph is probably configured for face model settings (resolution/normalization/etc).
The AAR example you link to contains its own set of models  , please make sure the correct graph and models are getting used.

@mcclanahoochie
I did two experiments,
In first   experiment  , i  run  https://github.com/jiuqiant/mediapipe_multi_hands_tracking_aar_example
so result in   k40 debug.txt
in seconde   experiment  , i  run  face detction  of GPU and CPU version , Video based on this recording 。
so  you are confused !!

@mcclanahoochie ：
hi  :
You know what I mean ?

Hello @chensisi0730,
We are upgrading the MediaPipe Legacy Solutions to new MediaPipe solutions However, the libraries, documentation, and source code for all the MediapPipe Legacy Solutions will continue to be available in our GitHub repository and through library distribution services, such as Maven and NPM.
You can continue to use those legacy solutions in your applications if you choose. Though, we would request you to check new MediaPipe solutions which can help you more easily build and customize ML solutions for your applications. These new solutions will provide a superset of capabilities available in the legacy solutions. Thank you


gulp-util deprecated, migrate

https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

I think we will not need this... since we are migrating anyway thanks for submitting PR.


Hit splats stop after hours of combat

If you afk being attacked by a monster for hours then only every 5th combat splat shows (could be the player failed to die?)

Happens randomly throughout combat, not necessarily (although possibly more prevelant) after hours of being in combat

Left it for hours, was unable to replicate.


Add factory-boy 3.2 support, refactor test targets and drop factory-boy<2.12

This PR includes the following:

[x] Add factory-boy 3.2 support (fixes: https://github.com/wagtail/wagtail-factories/issues/38)
[x] Drop incompatible test targets in package test suite (included py3.9, updated LTS for django/wagtail)
[x] Include factory-boy v2 and v3 in CI tests
[x] Update minimum required factory-boy version (the current 2.8 versions breaks in tests and is about 4 years old), I've updated it to 2.12 to still get v2 compatibility while keeping all the components working
[x] Updated minimum required Wagtail version, from 2.0 to 2.7 (which is the latest LTS)
[x] Simplify test matrix in github actions by excluding combinations rather than including

Feedback is much appreciated!
(This is a continuation of https://github.com/wagtail/wagtail-factories/pull/37)

I'm happy to accept this when @marteinn's had a chance to look into the Python versions feedback.

Seeing as the two issues raised are resolved, I'm merging this.


Missing letter in PasswordGenerator's UppercaseDescription

Current behavior
Very small issue: in PasswordGenerator.resx, english version: UppercaseDescription is missing an I
What actually is written
Use uppercase characters (ABCDEFGHJKLMNOPQRSTUVWXYZ)
How to reproduce it (as minimally and precisely as possible)
No response
Expected behavior
It should be "Use uppercase characters (ABCDEFGHIJKLMNOPQRSTUVWXYZ)"
Screenshots
No response
Workaround
No response
Affected platforms
No response
Affected DevToys kind
DevToys (app with GUI)
DevToys Version
Version <IP_ADDRESS> | X64 | RELEASE | 2706c6c2 | 2706c6c2
Relevant Assets/Logs
No response

Fixed in https://github.com/DevToys-app/DevToys.Tools/commit/c53d68104cbe7490187ed445b5a541984813fc3b


Allow converting Object into HashMap with key-type which implements FromStr?

Right now, there are several ways to convert objects to rust HashMaps, but none are exactly ideal for custom key types (which implement FromStr).
There's an impl TryFrom<Value> for HashMap<String, V>, but this forces the key type to be a string.
There's using stdweb::serde::Serde to wrap the HashMap<MyKey, V>, but this doesn't allow the value to be a reference-type.
Then there's the option of using retrieving a HashMap<String, V>, using into_iter(), converting keys, and building a second HashMap of the correct types. This works, but is inefficient in that it requires allocating two full HashMaps to do the conversion.
Would it be reasonable to have a method on Object for converting to HashMap<K, V>, using either FromStr or a custom conversion function for the key conversion?
The code implementing the impl TryFrom<Object> for HashMap<String, V> uses an internal function deserialize_object which I think could be used to implement this, but I'm not sure.

Would it be reasonable to have a method on Object for converting to HashMap<K, V>, using either FromStr or a custom conversion function for the key conversion?

Hmm... sure!

Awesome! I'll work on implementing that.
One thing I'm wondering about is the right error type for this. If it uses FromStr implementations, then those will have their error types - and there could still be errors from the TryFrom<Value> impls. I don't think there's a useful conversion from something like std::num::ParseIntError into ConversionError at the moment, though.
I guess I'll just make a PR for a to_map_parsing_keys function with an argument for FnMut(&str) -> Result<K, ConversionError> and let the user figure that out? I think ConversionError is fairly constructable by doing something like stdweb::serde::ConversionError::custom(msg).into().


Add Record::new to the public API and document the difference from record!

Record::new is required for doing anything "interesting" with records, as seen in (slog-async)[https://docs.rs/slog-async], or as would be the case with anything (de)serializing a Record or creating a modified version of it.
It's not without a small tradeoff when it comes to performance, which is now documented in both the Record::new rustdocs as well as next to the record! macro.

Thank you. Please bug me until I release it. :)


Better error handling for file io

Prefer runtime errors over panic in some common situations for file IO
# Read file which doesn't exist
>>>>> open('missing.txt')
Traceback (most recent call last):
  File <unknown>, line 0, in <module>
FileNotFoundError: No such file or directory: missing.txt

# Write file without permissions
>>>>> f = open('no-write.txt', 'w')
Traceback (most recent call last):
  File <unknown>, line 1, in <module>
PermissionError: Permission denied: no-write.txt

Commit Summary

Raise common errors on file open
Add FileNotFoundError
Add PermissionError
Minor idomatic clean ups

Hi just a small retrospective comment here, I noticed you renamed the fileno attribute file_no
The file descriptor attribute on the FileIO class is actually called fileno
>>> dir(f)
['__class__', '__del__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', '__exit__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__lt__', '__ne__', '__new__', '__next__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '_blksize', '_checkClosed', '_checkReadable', '_checkSeekable', '_checkWritable', '_dealloc_warn', '_finalizing', 'close', 'closed', 'closefd', 'fileno', 'flush', 'isatty', 'mode', 'name', 'read', 'readable', 'readall', 'readinto', 'readline', 'readlines', 'seek', 'seekable', 'tell', 'truncate', 'writable', 'write', 'writelines']

The file descriptor attribute on the FileIO class is actually called fileno

Yikes! sorry about that. Have reverted the attr naming here: #319


EF Migrations is not working

Any migration attempt will fail with System.ArgumentNullException. This occurs because the AppDataContextFactory is not aware of the new configuration structure.

PM> Add-Migration AbstractedCommandWords
System.ArgumentNullException: Value cannot be null.
Parameter name: connectionString
at Microsoft.EntityFrameworkCore.Utilities.Check.NotEmpty(String value, String parameterName)
at Microsoft.EntityFrameworkCore.SqlServerDbContextOptionsExtensions.UseSqlServer(DbContextOptionsBuilder optionsBuilder, String connectionString, Action1 sqlServerOptionsAction)    at Microsoft.EntityFrameworkCore.SqlServerDbContextOptionsExtensions.UseSqlServer[TContext](DbContextOptionsBuilder1 optionsBuilder, String connectionString, Action1 sqlServerOptionsAction)    at DevChatter.Bot.Infra.Ef.AppDataContextFactory.CreateDbContext(String[] args) in C:\Users\jdphe\source\sourcetree\devchatterbot-jdphenix\src\DevChatter.Bot.Infra.Ef\AppDataContext.cs:line 35    at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContextFromFactory(Type factory)    at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.<>c__DisplayClass14_0.<FindContextFactory>b__1()    at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(Func1 factory)
at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(String contextType)
at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.AddMigration(String name, String outputDir, String contextType)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigrationImpl(String name, String outputDir, String contextType)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigration.<>c__DisplayClass0_1.<.ctor>b__0()
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.b__0()
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
Value cannot be null.
Parameter name: connectionString

What happens when you specify a specific project in either the command or the Package Manager window itself?
When I've seen this before the project referenced in the Package Manager / Powershell console is not pointed to the same project where the model lives and thus when EF attempts to retrieve a backing database connection string this error happens.
More specifically the EF is attempting to ascertain the Provider type (Context's Backing Provider type). (System.Data.SqlClient) when EF's Model specifies a connection string name, and it cannot find that CS in the config files.
There's a couple solutions to this problem. (if it is the same problem)

Ensure the IDE Package Manager window is pointed to the correct project with the proper configuration connection string. (correct me if i'm wrong but if your dealing with EF 6 in the project that is NOT core (dotnetCore/standard)  and there are core projects in the solution; the Core projects can create some difficulty in this process (not returning a Connection string) [This may not be true anymore]
Provide the Project name in the command being executed.
Provide the Provider Type in the command being executed AND / OR Remove the hard coded Connection string name in the model but this would then require you to provide the Provider type when doing any of the commands from the console.

let us know how this goes. I'd be happy to provide any additional assistance and Trouble shoot a branch if you would like or need.

Good catch. That's very correct.

Merged the commit that should resolve this.


Differentiate error from failure

Currently the test can be 'passed' or 'failed'
The 'fail' status should be differentiated in two: 'failure' and 'error'
If an assert action fails the test should be marked as 'failure'
Any other error or exception should mark the test as 'error'

Can you please explain how is working wait_for_element_displayed?
For wait_for_element_not_displayed if the element is displayed, then it marks as "FAILED", which is correct.
Same i want to have here for "wait_for_element_displayed". If the element was not displayed within some period, then test expected to be "FAILED", but it is reported as "code error".


feat: add footer /about /privacy

Related ticket(s)
Footer
The purpose of this change is to
Add a footer to the page as well as privacy and about pages with some placeholder information on them

Not sure if there's a better way of getting parsel to parse about.html and privacy.html. I added them as arguments to parcel which means that now you have to go to /index.html instead of just / which is kind of messy.
I don't know how to parsel ¯\(ツ)/¯

Ah so that's how you do it. I removed the pages then.


IndexError: list index out of range when using Open Router

What happened?
When I try to run the code below:
from autogen import AssistantAgent, UserProxyAgent
import os
from Openrouter_class import Openrouter
llm_config={
"config_list": [{"model": "openai/gpt-4o-2024-11-20","base_url": "https://openrouter.ai/api/v1/chat/completions","api_key": "my_key","model_client_cls": "Openrouter"}]}
assistant = AssistantAgent("assistant", llm_config=llm_config)
assistant.register_model_client(model_client_cls=Openrouter)
user_proxy = UserProxyAgent("user_proxy", code_execution_config=False, human_input_mode="TERMINATE")
Start the chat
user_proxy.initiate_chat(
assistant,
message="Tell me a joke about NVDA and TESLA stock prices.",
)
I  got the error below:
Traceback (most recent call last):
File "/home/dell/PycharmProjects/pythonProject/quickstart.py", line 13, in
user_proxy.initiate_chat(
File "/home/dell/Workarea/Anaconda3/envs/autogen/lib/python3.10/site-packages/autogen/agentchat/conversable_agent.py", line 1153, in initiate_chat
self.send(msg2send, recipient, silent=silent)
File "/home/dell/Workarea/Anaconda3/envs/autogen/lib/python3.10/site-packages/autogen/agentchat/conversable_agent.py", line 788, in send
recipient.receive(message, self, request_reply, silent)
File "/home/dell/Workarea/Anaconda3/envs/autogen/lib/python3.10/site-packages/autogen/agentchat/conversable_agent.py", line 953, in receive
reply = self.generate_reply(messages=self.chat_messages[sender], sender=sender)
File "/home/dell/Workarea/Anaconda3/envs/autogen/lib/python3.10/site-packages/autogen/agentchat/conversable_agent.py", line 2113, in generate_reply
final, reply = reply_func(self, messages=messages, sender=sender, config=reply_func_tuple["config"])
File "/home/dell/Workarea/Anaconda3/envs/autogen/lib/python3.10/site-packages/autogen/agentchat/conversable_agent.py", line 1475, in generate_oai_reply
extracted_response = self._generate_oai_reply_from_client(
File "/home/dell/Workarea/Anaconda3/envs/autogen/lib/python3.10/site-packages/autogen/agentchat/conversable_agent.py", line 1500, in _generate_oai_reply_from_client
extracted_response = llm_client.extract_text_or_completion_object(response)[0]
IndexError: list index out of range
It is strange because when I use the  code below, there is no error:
llm_config = {"config_list": config_list_custom , "cache_seed": 42}
Create ConversableAgents
agent1 = ConversableAgent(name="Matt",system_message="You are Matt.", llm_config=llm_config)
agent2 = ConversableAgent(name="Alice",system_message="You are Alice.",llm_config=llm_config)
FIX: Main thing is registering these clients!
agent1.register_model_client(Openrouter)
agent2.register_model_client(Openrouter)
Start conversation
chat_result = agent1.initiate_chat(
agent2, message="Hi Alice!", max_turns=2)
What did you expect to happen?
Can you tell me why the error happened?
How can we reproduce it (as minimally and precisely as possible)?
The code is listed above.
AutoGen version
0.2.40
Which package was this bug in
AgentChat
Model used
openrouter as a router for gpt-4o
Python version
No response
Operating system
No response
Any additional info you think would be helpful for fixing this bug
No response

I am not familiar with Open Router. Can you confirm this base_url is correct or it needs the /chat/completions part.
"base_url": "https://openrouter.ai/api/v1/chat/completions"


Update MD file on new branch 2017-20-13_05-11-27

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Create testing-nala-tests.yml

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.37%. Comparing base (a3a9125) to head (be244c1).

Additional details and impacted files
@@           Coverage Diff           @@
##            stage      #97   +/-   ##
=======================================
  Coverage   83.37%   83.37%
=======================================
  Files          10       10
  Lines        3181     3181
=======================================
  Hits         2652     2652
  Misses        529      529

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


document behaviour when a Bolt DB is copied mid-write

Hi,
Sorry if this is already documented somewhere.
AFAICT Bolt does not have a WAL or journal. Is it "safe" to copy an in-use Bolt database?
i.e. if the database was being written to at the time of copy, will the resulting copied database read consistently from the old transaction?
Does the answer depend on whether a consistent filesystem snapshot was taken? (linux lvm2/zfs/btrfs snapshot or windows VSS snapshot)
Regards
mappu

The only safe way to copy a Bolt database is to use Tx.WriteTo(). This ensures that a lock is obtained during the copy of the initial meta pages and it then ensures that pages for that transaction are not reused during the copy.


Attribute validation can break the app if plugins have mutated the DOM

Inside _passAttributesAsProps() there is a check to ensure that the DOM node that is being updated does not have style, class or key attributes. This code will throw if any of these attributes are found.
This assumes that the application is the only code that is writing to the DOM. In practice, many browser extensions will also mutate the DOM. This will cause angular-react to throw and break the application.
This check should be, at most, a warning in production code.
Test case
Run this code in console.
Array.from(document.querySelectorAll('body *')).forEach(n => n.setAttribute('style', n.getAttribute('style') || 'zoom: 1'))

The next time that the Angular component is re-rendered, it will throw and break the application.

The extension "#1 Web & PDF Highlighter - LINER" for Chrome consistently crashes our application because it inserts style attributes into the DOM.


VB6 string concatenation with TextBox.Text$ not working

I'm using the VB6.g4 grammar file. It seems to throw an exception on statements like filepath$ = filename.Text$ & "\abc" & filepath$ & ".txt" and If Func1(filname.Text$ & "\Logfiles", True) = True Then.
Removing the $ from filename.Text$ would solve the issue but I would've expected the grammar to  successfully match the statement. So I'm trying to understand why $ is throwing off the parser.
Any help in identifying the problem is much appreciated!

Yes, type hints should be parsed by the grammar. Let's see, if we can identify the problem.
To reproduce the problem, I added a unit test TypeHintTest.java that parses TypeHint.cls containing the expressions given by you. The test passes. Also the parse tree TypeHint.cls.tree seems to be correct.
Could you please provide a modified version of TypeHint.cls, which reproduces the problem? Thanks!

I tried to reproduce my issue by modifying the TypeHint.cls file, but the test passed fine. So I'm closing this issue.
Thank you for helping :)


ignore errors

@cody I went through 900+ accounts, there were:

many 404s

one 502<EMAIL_ADDRESS>

one case that has (as reported by net_http_request) no http_response_code but a response_error of x509: certificate has expired or is not yet valid: current time 2023-05-17T10:21:02-07:00 is after 2023-04-12T06:37:47Z

I did not find the 403 case but it seems reasonable to include it. If you're trying to do a massive join against a bunch of RSS URLs, and you hit a 403, it'll break the join.
I've adjusted the 500 above to be 502, and expanded the error message for the expired cert case.
On reflection I think the ignoring should indeed be plugin-level, as both rss_channel and rss_item will need to read the feed and both will be subject to all these possible breakages.

Now we have per-table ignore for 403/404, and per-table non-halting error logging for the 502 case and the expired cert case which yields no http error code.
Question: If you're doing a join against a long list of RSS feeds and one of them throws an error we don't handle, it'll break the join. What would be the best way for other errors to not break the join, while enabling the user to know about them?


Error when parsing AnimationClips

I am getting this error when parsing some AnimationClips for GI 4.3
System.IO.EndOfStreamException: Unable to read beyond the end of the stream

Another error that rarely happens:
System.OverflowException: Arithmetic operation resulted in an overflow

Greetings,
This issue has been fixed, make sure to use the latest build action available here.


Create a mock up for the new UI

Scratch pad "Mailman mockup" on draw.io.

Desired <> autocompletion might be achieved using jQuery UI's Autocomplete widget

This is mostly done. The prototype is underway (#32).

@stvhwrd You think this is good to close?


File Transfer will not work if home directory is not in /home/User

Please describe in as much detail as possible the feature you would like to
see added

when I tried to use the "File Transfer" in the session manager, the file
transfer module will not work if my home directory is not in /home/<Username>

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 5 Jul 2013 at 2:43

Yes it is!

I know there is now (as of <IP_ADDRESS>) an option to globally set the homedir prefix, but is there an option to specify the homedir per session ?
My work requires connecting as (for example) :

user1, whose homedir is /home1/user1
user2, whose homedir is /home1/user2_suffix.

File transfer fails with "Unable to open /home1/user2".


[erc721-with-one-vote] Add ERC721 with one vote strategy

Changes proposed in this pull request:

Add ERC721 one-vote strategy that gives only one vote
Accept this pull request

@alyxdow
There is already a strategy erc20-with-balance which have the exact functionality

Ah, yes, same ABI!

Yea same, we can add with-balance strategy to avoid this name confusion that can work for both :)
or would be great if you can change this PR to with-balance if you like it


DOCS: Update autoscaling docs

This PR is included in version 1.0.0 :tada:

This PR is included in version 1.0.8 :tada:


feat: Return the full API response if the destination param is not passed

Issue: #66
Reference: https://github.com/crowdin/crowdin-api-client-ruby/pull/68#issuecomment-1923457923

@artem-vavilov thank you! Could you please rebase the branch?

@artem-vavilov available in 1.8.0


HDDS-10107. Remove the static dbNameToCfHandleMap from RocksDatabase.

What changes were proposed in this pull request?
RocksDatabase already has a non-static columnFamilies which has ColumnFamilyHandle. The static dbNameToCfHandleMap should be removed for better performance and cleaner code.
What is the link to the Apache JIRA
HDDS-10107
How was this patch tested?
By existing tests.

@hemantk-12 , thanks a lot for reviewing this!  Just have pushed a commit for addressing your comments.


Search and replace with regular expression truncates group capture

Issue Type: Bug

Create a file temp.txt with the following content:

line with less than seventy five characters seems to be just fine, but...
line with more than seventy five characters seems to be truncated after this point...

Open in VS Code the containing directory of temp.txt
Bring up the Search panel from the activity bar (or CTRL+SHIFT+H)
Select "Use Regular Expression" button (the one that looks like .*, or by ALT+R)
In the search box enter the following pattern: line.*
Check that both lines in temp.txt is highlighted.
In the replace text enter the following replacer: $0
Click "Replace All" button

Expected result:
Since the replacer is just group-0, the file should not change.
Actual result:
The second line of temp.txt is truncated from character 75.
Note that this issue does not occur for the in-file search & replace tool (CTRL+H).
VS Code version: Code 1.27.1 (5944e81f3c46a3938a82c701f96d7a59b074cfdc, 2018-09-06T09:21:47.222Z)
OS version: Linux x64 3.10.0-693.el7.x86_64

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz (8 x 3393)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: unavailable_softwarevideo_encode: unavailable_softwarewebgl: enabledwebgl2: enabled

Load (avg)
0, 1, 2

Memory (System)
62.81GB (4.85GB free)

Process Argv
/usr/share/code/code .

Screen Reader
no

VM
0%

Extensions (16)

Extension
Author (truncated)
Version

usd
ani
0.0.2

EditorConfig
Edi
0.12.4

overtype
ada
0.2.0

toggle-excluded-files
eam
1.6.0

vscode-cudacpp
kri
0.1.1

git-indicators
lam
2.1.1

restructuredtext
lex
77.0.0

python
ms-
2018.8.0

cpptools
ms-
0.18.1

hide-gitignored
npx
1.0.1

material-icon-theme
PKi
3.6.0

mel
sat
0.1.2

jenkinsfile-support
sec
0.1.0

trailing-spaces
sha
0.2.11

vscode-input-sequence
tom
0.2.0

cmake
twx
0.0.17

(2 theme extensions excluded)

This will be fixed in 1.27.2 (today) https://github.com/Microsoft/vscode/issues/58374


puppetboard support for puppetdb 4?

The README says: As of version 0.1.0 and higher, Puppetboard requires PuppetDB 3.
I assume this does not mean "at least 3", but only 3?
Is there a plan to support PuppetDB 4

@xtimmu master works fine with PuppetDB 4 (see https://github.com/voxpupuli/pypuppetdb/issues/66)

Version 0.2.0 will have breaking support for PuppetDB 4.0. It should be release this weekend or soon thereafter.

Awesome! Thanks.


Is there any trial time limit about Marzipano?

We finished bulid a "360 tour" by Marzipano tool and upload the sources to the google drive on 12Jan2022. After "Drive to Web", until 19Jan2022, it's still can shown on the internet. However, we found that it's cannot work on 27 Jan 2022.  We are wondering the reason of the error. Or is there any trial time limit of Marzipano?
Here is the capture about the error found on the website.

There's no time limit on marzipano, seems like it could be a Google Drive issue? I'm unfamiliar with "Drive to Web" but I would caution against using what I expect that service to be for anything but personal and the smallest of business uses. There are many other hosting platforms that are also easy to use, and some have a free trial. Others cost so little you won't notice if you have minimal traffic (a few cents per month).


📷 Support for linking multiple cameras to a bed

Required Backend

https://github.com/ohcnetwork/care/pull/2387

Proposed Changes

[x] Fixes #7620
[x] Fixes #7635
[x] Fixes #7535
[x] Removed old live feed component implementations
[x] Required by #6376
[x] Fixes #7511
[x] Fixes #8633

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist

[x] Add specs that demonstrate bug / test a new feature.
[x] Ensure that UI text is kept in I18n files.
[x] Prep screenshot or demo video for changelog entry, and attach it to issue.
[x] Request for Peer Reviews
[ ] Completion of QA

[ ] add the option to configure the beds in the asset configuration page itself

Enhancement

[ ] keep the feed monitor and the right side card height consistent

[ ] preset saving in the patient consultation page is not working

LGTM


angiotensin term definitions need improving

Following from https://github.com/geneontology/go-ontology/issues/15410#issuecomment-373291191
GO:0002002 regulation of angiotensin levels in blood
previous Definition (GO:0002002 GONUTS page)
The process that modulates the level of angiotensin in the blood by balancing the maturation of renin substrate to mature angiotensin and the catabolism of mature angiotensin.
recently Definition revised to: "The process that modulates the level of angiotensin in the blood by balancing the maturation angiotensinogen to angiotensin and the catabolism of mature angiotensin. Angiotensinogen is processed by the renin protease."
Please change this again, as there are many enzymes involved in this process ( https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3214724/ figure 1 ), not just renin, to:
"The proteolytic cleavage of angiotensinogen leads to the production of a variety of angiotensin isoforms. The process that modulates the level of a variety of angiotensin isoforms in the blood by the proteolytic cleavage of angiotensinogen and angiotensin isoforms to create the active peptide hormone angiotensin isoforms; modulation is also achieved through the removal of these isoforms from the circulation."
Were there any other term definitions that were modified to remove 'renin substrate'? It seems to me that there are still lots of definitions that need revisions to recognise that renin is not the only enzyme involved and 'renin substrate' in the term is not appropriate as renin may digest other proteins than angiotensinogen
If you can provide a list of the terms that are being kept and their definitions I can try to workout how to revise these, unless you are happy with the suggestion above and can use this as a 'template'?
Ruth

Hi @RLovering
I fixed the definition as requested. The term 'renin substrate' is not anywhere in the ontology anymore.
'Renin' is in the definition of a number of terms that also have 'renin' in the label - so that seems correct: (except the first one I am not sure about):
'angiotensin-mediated vasodilation involved in regulation of systemic arterial blood pressure' GO_0002033
'regulation of systemic arterial blood pressure by renin-angiotensin' GO_0003081
'regulation of blood volume by renin-angiotensin' GO_0002016
'negative regulation of renin secretion into blood stream' GO_1900134
'regulation of blood vessel diameter by renin-angiotensin' GO_0002034
'regulation of systemic arterial blood pressure by circulatory renin-angiotensin' GO_0001991
'regulation of systemic arterial blood pressure by local renal renin-angiotensin' GO_0003086
'renin secretion into blood stream' GO_0002001
'regulation of renin secretion into blood stream' GO_1900133
'positive regulation of renin secretion into blood stream' GO_1900135
Thanks, Pascale

@RLovering
Sorry I just looked more closely - if you start the definition with "The proteolytic cleavage of angiotensinogen leads to the production of a variety of angiotensin isoforms" then how is that different from 'angiotensin maturation'?
How about: "The process that modulates the level of a variety of angiotensin isoforms in the blood. This occurs by the proteolytic cleavage of angiotensinogen and angiotensin isoforms to create the active peptide hormone angiotensin isoforms, as well as through the removal of these isoforms from the circulation."
Thanks, Pascale

brilliant
thanks

Hi @RLovering
Re-reading this - what do you mean by 'isoform'? In GO I think we use 'isoforms' to mean a different splicing product (like UniProt) - here I think you mean is different cleavage product, right ? If that's the case the we could have this definition:
"The process that modulates the level of any of the various angiotensinogen proteolytic products in the blood. This occurs by the proteolytic cleavage of angiotensinogen to create the active peptide hormones angiotensin I and angiotensin II, as well as through the removal of these peptides from the circulation."
Would that be OK ?
Thanks, Pascale

Hi Pascale
the problem with this statement is there are more hormones created by cleavage than the ones you mention. See the figure I keep pointing you to. 4 are listed in wikipedia.
And yes you are right these are cleavage products.
How about: "The process that modulates the level of any of the various angiotensinogen proteolytic products in the blood. This occurs by the proteolytic cleavage of angiotensinogen, and its proteolytic products, to create a variety of active peptide hormones, such as angiotensin I and angiotensin II, as well as through the removal of these peptides from the circulation."
I have modified the definition among other things I have added ', and its proteolytic products and ,' because I think only angiotensin I is created by the cleavage of angiotensinogen, for example  angiotensin II is created by the cleavage of  angiotensin I
Please don't keep pushing these decisions within hours, I have a lot of other commitments in my working life and it is very stressful feeling like I have to reply to you within 1 hour or even 1 day. FYI I am at a 2 day ARUK meeting Tuesday and Wednesday and I am on holiday from  this Sunday till after easter.
Best
Ruth

Excellent !! I'm now committing, pushing, merging and closing ;)
Pascale


Columns and Rows

Is your feature request related to a problem? Please describe.
Currently, the Blowfish Hugo theme does not have a built-in feature for adding columns in the posts. This makes it difficult to display content in a more organized and visually appealing manner.
Describe the solution you'd like
I would like to see the Blowfish Hugo theme support the addition of columns in the posts. It would be great if the theme could allow the creation of customizable rows and columns. The user should be able to set the number of rows and columns and insert various types of content (such as images, text, and shortcodes) into the cells. This would make it easier to create visually appealing posts and improve the overall user experience.
Describe alternatives you've considered
One alternative solution could be to use layouts. However, I really like the Blowfish Hugo theme's design and would prefer to continue using it if possible.
Additional context
I believe that adding this feature would greatly enhance the user experience for those who use the Blowfish Hugo theme. Being able to create customizable rows and columns with different types of content would allow for more flexibility in post design and presentation.

Hello @Nydid not doing this one in the theme sorry.
You can use html in your markdown files plus a custom.css to achieve this customization. Let me know if you need help with it.

Hello @Nydid not doing this one in the theme sorry. You can use html in your markdown files plus a custom.css to achieve this customization. Let me know if you need help with it.

I understand, thank you for the response! How would I go about adding columns to, say, the simple.html that comes with the theme? Do I also have to edit the .css file that already exists or do I have to create a new one?

There are several ways to override the theme. You can check the Hugo docs for that. My suggestion was simpler, you can just include your html code in the markdown page. If you need any extra css classes you can add then using a custom.css file supported in Blowfish.

Ah! This is much easier than what I initially had in mind! Thanks a bunch!


Server routes having 'POST' methods returns 403 regardless of security

Hi,
I am trying to create the following handler:
server.route({
        method: 'POST',
        path: '/plaid',
        handler: function (request, reply) {
            reply({});
        }
    });

However every request I am posting to this resource returns 403(Forbidden).
I've tried playing with the config part with no luck.., such as:
 plugins: {
                'hapi-auth-cookie': {
                    redirectTo: false
                }
            },
            auth: {
                mode: 'try',
                strategy: 'session'
            },

I can see that the apis work ok with POST/PUT/DELETE requests.
What am I missing with web pages?
THANKS!!!

Thanks for opening an issue. Have you checked out the wiki page on this?
https://github.com/jedireza/aqua/wiki/HTTP-403-forbidden-when-accessing-API-endpoints

Well, I guess I missed it, Sorry.
I have actually meant to use it with a view and not with the plain API.
Anyway,
Thanks.


SplineKernelTransform not implemented?

I'm trying to run a simples test using ThinPlateSpline:
ref = sitk.ReadImage('1181_001-Whole-Brain_0457.png.nii')
mov = sitk.ReadImage('AT100_457_affine_centered.nii')

parameterMap = sitk.GetDefaultParameterMap("bspline")
parameterMap['Transform'] = ['SplineKernelTransform']
parameterMap['SplineKernelType'] = ['ThinPlateSpline']

parameterMapVector = sitk.VectorOfParameterMap()
parameterMapVector.append(parameterMap)

elastixImageFilter = sitk.ElastixImageFilter()
elastixImageFilter.SetParameterMap(parameterMapVector)
elastixImageFilter.LogToConsoleOn()
elastixImageFilter.PrintParameterMap()

elastixImageFilter.SetFixedImage(ref)
elastixImageFilter.SetMovingImage(mov)
elastixImageFilter.SetFixedPointSetFileName('ref_ants_ctr.pts')
elastixImageFilter.SetMovingPointSetFileName('mov_ants_ctr.pts')

elastixImageFilter.Execute()

However, it returns the following error:

itk::ExceptionObject (0x36b44e0)
Location: "ElastixTemplate - Run()"
File: /home/maryana/bin/simpleelastixbuild/ITK/Modules/Core/Common/src/itkMultiThreader.cxx
Line: 427
Description: itk::ERROR: MultiThreader(0x46d97c0): Exception occurred during SingleMethodExecute
/home/maryana/bin/simpleelastixbuild/Elastix/Components/Transforms/SplineKernelTransform/itkKernelTransform2.h:344:
itk::ERROR: ThinPlateR2LogRSplineKernelTransform2(0x343ed30): Not implemented for KernelTransform2

I'm brand new to SimpleElastix but it is my understanding that it was supposed to work. At least that's what I understood from issue #166. Is that correct? If so, would you guys a tip on how to use ThinPlateSpline?
I'm running a SimpleElastix version I just compiled on Linux Mint.
Thank you!

Yes, it should work. You can see that it is enabled here https://github.com/SuperElastix/SimpleElastix/blob/master/SuperBuild/External_Elastix.cmake#L101. Do you use the SuperBuild to build SimpleElastix? Or do you build your own version of elastix?

Hi Kasper,
Yes, I compiled the SuperBuild, following the instructions in: https://simpleelastix.readthedocs.io/GettingStarted.html#compiling-on-linux
I also checked the cmake file and indeed SplineKernelTransform is enabled. One thing that I forgot to mention, though, is that both images are 2D. Do you think that would be a problem? By the way, is there code above correct or have I forgotten to set some parameter?
Thanks!

The parameter file looks fine. What happens if you write the parameter map to disk (sitk.WriteParameterFile) and give it to the command line version of elastix? Does this work?

Sorry for no reply. Feel free to reopen if this is still an issue.

Same problem. Have you already solved?


Python/Native Debugging not available in VS 2022 Preview 4

This issue has been moved from a ticket on Developer Community.

I have installed Visual Studio 2022 Preview 4 with "Python native tools" and I don't see option "Python/Native Debuggin" like I had with VS 2019.
Attached screenshots of my settings.
! [Capture2.PNG] (https://aka.ms/dc/image?name=Bfccc9e6ba7a9420a80af49a06a8e7670637674052749418062_Capture2.PNG&tid=fccc9e6ba7a9420a80af49a06a8e7670637674052749418062)
! [Capture3.PNG] (https://aka.ms/dc/image?name=Be09de1d6623744358297151d3593f6df637674053607490479_Capture3.PNG&tid=e09de1d6623744358297151d3593f6df637674053607490479)

Original Comments
Feedback Bot on 9/17/2021, 00:56 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Original Solutions
(no solutions)

closing due to duplicate of #6712


dns: can not ping from a net=host container to a linked service from other stack

Rancher versions:
rancher/server: 1.5.9
rancher/agent: 1.2.2
Infrastructure Stack versions:
healthcheck: 0.2.3
ipsec: rancher/net:holder, rancher/net:v0.11.2
network-services: metadata:v0.9.1, network-manager:v0.6.6
scheduler: 0.7.5
kubernetes (if applicable): NA
Docker version: (docker version,docker info preferred)
# docker version
Client:
 Version:      1.12.5
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   7392c3b
 Built:        Fri Dec 16 02:42:17 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.5
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   7392c3b
 Built:        Fri Dec 16 02:42:17 2016
 OS/Arch:      linux/amd64

# docker info
Containers: 53
 Running: 35
 Paused: 0
 Stopped: 18
Images: 718
Server Version: 1.12.5
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 1833
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: overlay bridge null host
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-59-generic
Operating System: Ubuntu 16.04.2 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 23.52 GiB
Name: dev
ID: 2RW4:6TJ3:AZVI:UE7J:T7QZ:6WL2:FORA:PP52:JTHT:WHHU:VQEQ:35NG
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

Operating system and kernel: (cat /etc/os-release, uname -r preferred)
# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.2 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
# uname -r
4.4.0-59-generic

Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Bare-metal
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
SIngle node, external DB
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:

Create 2 stacks: st1, st2
In st1, create service sv11: image=nginx:1.13, command=sh
In st2, create service sv21:
image=nginx:1.13, command=sh, net=host
choose: Enable Rancher DNS service discovery
add service link from sv11
execute shell in sv21. In the shell, run: ping sv11

Results:
ping: unknown host sv11
Notes:

If we add service sv22 (in stack st2), and upgrade sv11 with service link: Destination Service = sv22 , As Name = sv22alias. Then in sv21, we also can NOT ping sv22alias.
if sv21 using Managed Network then ping success (in both cases: sv11 has net=host OR net=managed)

Aliases/"as name" works by adding an answer for that name for the specific containers.  The DNS server looks at the ip who is asking the question to determine which answers to use.  With net host the ip is the host, so it is not possible to get container-specific answers in 1.x.
For 2.0 we have a different way of determining the requesting container that will allow this.

Workaround:
Use the full service.stack.rancher.internal name (e.g. sv11.st1.rancher.internal).


Selection > Select All is not working anymore

Looks like a regression from the change to use a role in the menu.
Steps:

be on macOS
open an editor
select Selection > Select All

=> 🐛 nothing happens
/cc @rebornix @alexandrudima

reverting bab47f0ffde4692b5a738c915bd823ef7ebc8d39 for now. will investigate if we can add it back with some changes to how select all is handled


[FEATURE]: Custom event for revoked warns

Scope
Web
Feature Description
Since there is txAdmin:events:playerWarned I would like an event for revoked warnings.
For example: txAdmin:events:revokedPlayerWarn
Use Case
Can be useful for logs (e.g. Discord webhooks)
Proposed Solution
No response
Additional Info
No response

Well there is an PR for that one. I don't know whats up with that one but there is one 🤷

(only thing is that this PR doesn't specify the type of action that has been revoked; just the actionid)

I will add an actionRevoked in the next few weeks that will contain the type of the action being revoked.

Done, the event txAdmin:events:actionRevoked will look like this:


How to reuse a named view with a nested nested route in Vue?

Version
3.0.2
Steps to reproduce
I have searched in lots of parts of Internet (stackoverflow,vue documentation, blogs, etc.) and I haven´t found the solution that I need. So, the issue is the following:
routes.js
{
    path:'/',
    components:{
        allPageView:LytSPA
    },
    meta:{
        requiresAuth:true
    },
    children:[
        {
            path:'',
            name:'admin',
            components:{
                sectionView:AdminDashboard
            }
        },
        {
            name:'admin.users',
            path:'usuarios',
            components:{
                sectionView:Users
            },
            children:[
                {
                    name:'admin.users.create',
                    path:'crear',
                    components:{
                        sectionView:UsersCreateEdit
                    }
                }
            ]
        }]}

So, the paths are: / , /usuarios and /usuarios/crear.
My views are: App.vue (with a named view), LytSPA.vue (with a named view), AdminDashboard.vue, Users.vue, UsersCreateEdit. So, I have 2 node views and 3 leaf views.
App.vue
<template>
<router-view name="allPageView"></router-view>
</template>

LytSPA.vue
<template>

    <transition name="slide-left-aside">

    </transition>
    <transition name="slide-expand-button">

    </transition>

        <breadcrumb-view></breadcrumb-view>
        <router-view name="sectionView" key="$route.fullPath"></router-view>

</template>

As you can see, in LayoutSPA.vue I dropped my main views in the container sectionView, thus:

when the path is / load the Dashboard view.
when the path is /usuarios load the Users view.

And here comes the problem, when the path is /usuarios/crear doesn´t load the UsersCreateEdit view, else it keeps the last one (Users.vue). However, the routing is working because I put a redirect validation for unknown URLs, since the url usuarios/crear doesn´t change so that's work but doesn´t load the view.
I have already worked of this way with UI-Router in AngularJS and there wasn´t any problem because it works with inheritance of states, but I want to know if exists any way to do the same in Vue???
What is expected?
Show the view UserCreateEdit.vue
What is actually happening?
Show the view Users.vue ,this is incorrect, because it shows the same view for 2 different paths.

Note: I have an alternative solution but I don´t like it, because I have to put the admin.users.create route as a sibling of admin.users and it works but I need that it be nested because I need to retrieve the matched routes to build my breadcrumb and I don't want to parse the path to build it.
Image of running application: https://i.stack.imgur.com/3ZC1c.png

Please use the forum, discord or stack overflow to ask questions

@posva I was looking for a solution in several places (Stack oveflow, Vue forum, etc) and it seems that this version of Vue Router doesn't support inheritance of states to define routes. I wonder if that feature could be added to Vue Router 3 or is it already considered for Vue Router 4? I think that such feature it would help for complex nested routes.
Currently, I found out an alternative solution here:
https://dev.to/berniwittmann/my-approach-on-vue-router-architecture-and-nested-routes-2kmo
References:
https://stackoverflow.com/questions/55193714/how-to-reuse-a-named-view-with-a-nested-nested-route-in-vue
https://stackoverflow.com/questions/50643088/is-there-the-same-router-for-vue-like-angular-ui-router


[Question] How to add Custom JsonConverter to Blazor Client application

I have created my own custom JsonConverter for custom data structure ... But I can use it only with JsonConvert.DeserializeObject directly
It would be nice somehow to register in Blazor Client Application Custom JsonConverter
But using services.AddMvc() it is not possible because is not found anywhere in assembly as extension method
How to add custom JsonConverter ?

It depends what you're trying to do. In what way do you want the framework to make use of your converter?
Is it when you call HTTP methods like Http.GetJsonAsync? If so, that's never going to use Json.NET converters since it doesn't use Json.NET internally. It uses SimpleJSON (which is something we're in process of changing currently - we're moving to the new System.Text.Json library everywhere).
If you want to use Json.NET to deserialize HTTP responses, consider replacing calls to Http.GetJsonAsync with Http.GetStringAsync and passing the string to your chosen deserializer.

Okay, thanks !!
Seems like Http.GetStringAsync is exactly what I want ...
But I'm curious why you have not added customization point for JsonConverter ?
Also it is not obvious why you have different Json converter on Server side and Front-End side. On server side it is possible to add option to NewtonsoftJson:
csharp services.AddMvc().AddNewtonsoftJson(...)
But on Front-End side it is not possible ( It would be nice to have possibility to add same service as on Back-End as on Front-End side ...


error: incorrect authentication

Receiving this error message when I enter the correct password to my LinkedIn account. Not sure how to troubleshoot. Any ideas?
> lac -u<EMAIL_ADDRESS>Enter LinkedIn password:

  Connecting to the LinkedIn server..
  Connected.

  error:   incorrect authentication

Hi @veekas,
This error is raised because of you entered a wrong LinkedIn email address or wrong password.
You can troubleshoot by followings:

Try to login with the entered email or password in a browser.
Use LinkedIn email and password used when you log in to LinkedIn in a browser.

Thanks, @rousan. I copied the email/pw directly from LastPass, and I confirmed that they work when logging in with a different browser manually, so I'm sure that my authentication info correct.

Hello @veekas,
If Two-Step Verification is enabled on your account, then it will not work, so make sure you didn't enable Two-Step Verification.

Oh, that must be it. Thanks! Closing the issue.


Added support for passing in Report Parameters

Fixes #97 .
Tested on SQL Server 2016, PowerShell 5, Windows Server 2016

        Report server proxy to use. Use "New-RsWebServiceProxy" to generate a proxy object for reuse. Useful when repeatedly having to connect to multiple different Report Server.

Please add the Parameters parameter to the documentation

Refers to: ReportingServicesTools/Functions/CatalogItems/New-RsSubscription.ps1:23 in 64384cd. [](commit_id = 64384cdc46c9957c1b4edaf3f3b843df1ce98551, deletion_comment = False)

        This command will establish a connection to the Report Server located at http://myserver/ReportServer using current user's credentials and create a subscription based on other parameters specified.

You might want to add a example of the usage of the new parameter

Refers to: ReportingServicesTools/Functions/CatalogItems/New-RsSubscription.ps1:136 in 64384cd. [](commit_id = 64384cdc46c9957c1b4edaf3f3b843df1ce98551, deletion_comment = False)

Excellent, thank you.
On Thu, Aug 16, 2018 at 12:02 PM Jaime Tarquino<EMAIL_ADDRESS>wrote:

@jtarquino commented on this pull request.
In ReportingServicesTools/Functions/CatalogItems/New-RsSubscription.ps1
https://github.com/Microsoft/ReportingServicesTools/pull/186#discussion_r210652898
:

@@ -313,7 +371,9 @@ function New-RsSubscription
}
catch
{

       throw (New-Object System.Exception("Exception occurred while creating subscription! $($_.Exception.Message)", $_.Exception))

       $ex = $_.Exception;

       $ErrorMessage = $ex.Message;

       throw (New-Object System.Exception("Exception occurred while creating subscription! ErrorMessage: [$ErrorMessage]", $Exception))

The most up to date sample on how to configure it using the powershell
tools is referencing the continuous integration script , where it uses the
powershell tools to configure the test machine
https://github.com/Microsoft/ReportingServicesTools/blob/d06abfc41ae76c51eb548574972498760afe9605/appveyor.yml#L66
The original idea of the admin cmdlets were created mostly to enable
automation, feel free to add more samples or propose changes to make it
more usable for all the users.
And for PBIRS it stands for Power BI Report Server which is a superset of
Reporting Services (
https://docs.microsoft.com/en-us/power-bi/report-server/get-started)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/ReportingServicesTools/pull/186#discussion_r210652898,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAbT_UKURF0VLzsKTlFr15Uy6XyYSKf_ks5uRZd8gaJpZM4V4fXN
.

Testing on SQL Server 2012, PowerShell 5, Windows Server 2016. Running into a credential issue here when trying to create a new subscription that writes to a fileshare. This seems to arise whether I use default credentials or try to supply alternate credentials. All the parameters I am using appear to be properly formatted etc.
I get:

Microsoft.ReportingServices.Diagnostics.Utilities.InvalidExtensionParameter: One of the extension parameters is not valid for the following reason: The setting DEFAULTCREDENTIALS is unknown."]

I also note that extension parameters seem to be case sensitive, worth noting in documentation

Testing on SQL Server 2012, PowerShell 5, Windows Server 2016, creating new emailed subscriptions works perfectly for me

@Periscope34326  Were you using my hotfix or the current version of ReportingServicesTools?

I've never written tests for these because I was told to go figure out how to set-up a test environment in ReportingServicesTools using the build pipeline script Appveyor.yml , and when I tried to actually set-up a test environment based on that, it failed, so I gave up and mostly* forgot about it. On top of that, there are features in ReportingServicesTools I have never used that would require lots of effort to learn what they are (Power BI Report Server or PBIRS) just to run the test suite as well as fix any issues with the Appveyor.yml file.
I say mostly forgot about it, because I started looking into how to run SSRS inside a docker container, because the Appveyor.yml script is rather messy compared with most build scripts I maintain:

It uses random download URLs and strings to exe's on those URL endpoints
It doesn't use a package manager like Chocolatey to get those dependencies and explicitly list what version number it is testing.  If my code succeeds, and the build server fails, I have no transparency into why.  "Works on my machine".
When I started using this project, PBIRS didn't even exist as part of the API
Parts of the test suite depend upon the system being in a very specific state, which is right after a clean install

Sorry all.
To be clear, the hold up is writing test coverage for this code. And there is an undefined amount of time required to figure out how to create a test environment for SSRS, due to all my concerns above
Also, as best as I can tell, Microsoft has rolled resources off this project.  I haven't spoken to anyone at Microsoft, but the vibe I get is they're pushing the cloud-based solutions and SSRS is a desktop solution that does not fit with Satya Nadella's focus on the cloud. https://kohera.be/blog/azure-cloud/opinion-is-ssrs-on-azure-happening/

I think there is a missunderstanding here, you can use the same environment where you developed the changes in order to add the tests, there is a section that details how to do local testing and development https://github.com/Microsoft/ReportingServicesTools/#local-testing-and-development , if you want to execute only your new test you can even run that one with the same type of command that run the suite https://github.com/Microsoft/ReportingServicesTools/blob/master/Test.ps1

I think there is a missunderstanding here

I disagree.  It's more likely I have a deeper understanding of the status of this than anyone else, since I actually worked on it and fixed the issue.  I just haven't been able to run the test suite.

there is a section that details how to do local testing and development https://github.com/Microsoft/ReportingServicesTools/#local-testing-and-development

Then it is not detailed enough, because I followed those instructions and had errors running the test suite. - You need everything installed and you also need specific versions of ReportServer.exe installed or the test suite will fail.
Recall, I asked for an updated README.md, and you replied:

The most up to date sample on how to configure it using the powershell tools is referencing the continuous integration script , where it uses the powershell tools to configure the test machine

The test suite failed because I don't use PBIRS, and don't have any desire to learn it, since I will never be compensated for that time.  We will never adopt this technology.  Maybe I was really close to finishing this and gave up, but I gave up with all the red flags I raised above as my reasons for giving up.  You just have to make educated guesses as to when and where to cut losses.

I understand your decision and I'm sympathetic and thankful for the time that require any contribution, each one of them with its own learning curve.
For future reference I would like to provide additional ideas an options to consider for anyone interested in add the test coverage required for new features
Indeed there are certain tests that depends in a specific version of PBIRS/SSRS but as far I remember (and my memory could be failing me) you don't need it for the are you are modifying
I think you can run only the test of the function you are modifying, checking the code there is a environment variable $env:PesterServerUrl that you can set to your report server url (which is http://yourservername/reportserver)
Also is not the most optimal way because the time that takes to execute, but you could write the test in your PR and just submit , the CI system will run your new test for you

It's cool, I'm easy.  Just trying to lay out the why and move on.  Feel I owe everyone at least that much.

@jtarquino can you write the tests so the community can get the functionality?  We need it

@jtarquino I'm also curious about the next steps for this to get merged. I don't have any background in unit testing, so I'm not sure how much help I can be, but I have a looming deadline for migrating SSRS subscriptions to a new server from an older one before it gets retired, so if there's anything I can do to help move this along, please let me know.

@jzabroski First of all, thank you for trying so hard to get this working, and it really bums me out that MS has dropped the ball on getting your bugfixes integrated into their product.
Does the code in your fork work as-is? I have a looming deadline for migrating a few hundred SSRS report subscriptions, and given that the alternative is copy-pasting every field manually over the next several weeks, let's just say I'm not terribly concerned about test coverage at the moment. ;-)

Yes, it works.
Assuming you are working with the raw XML from your previous SSRS database, you can write the following PowerShell snippet to massage the XML into a PS hashtable:
    $parametersHashTable = @{};

    if ($null -ne $parameters.ParameterValues.ParameterValue)
    {
        $parameters.ParameterValues.ParameterValue | ForEach-Object { $parametersHashTable.Add($_.Name, $_.Value) }
    }
    else
    {
        $parametersHashTable = $null;
    }

You then pass $parametersHashTable into -Parameters $parametersHashTable when calling New-RsSubscription.  The massaging is required due to a limitation/breaking change in the SOAP API between SSRS 2005 and SSRS 2014.  I don't remember which version of SSRS broke the API, but handling of blank and null values became conflated at some point and they never fixed it.  IIRC, this may be the scenario when your Reports database has a value of <ParameterValues /> in the dbo.Subscriptions.Parameters column.
I recommend calling New-RsSubscription with -Verbose so you can see my diagnostics.
Soap Box
To be honest, I think SSRS as it exists today is a dead product.  They already screwed over a lot of customers by removing multi-tenancy and not explaining how to use Docker to circumvent the single-tenant limit.  I'm told by people who do reporting for a living that Microsoft has effectively stopped giving away SSRS for free and the removal of multi-tenancy is so that you'll buy "Azure SQL Managed Instances" and "PowerBI Premium".  But, don't take non-Microsoft employee word for it.  Look at their documentation, here: https://docs.microsoft.com/en-us/azure/sql-database/sql-database-managed-instance-index where they clearly state: "Move your SSIS packages to Azure Data Factory, SSAS tabular models to Azure Analysis Service, and SSRS reports to PowerBI Premium."
So, to recap, rather than provide tutorials to customers on how they can deploy SSRS via Docker to save costs, the messaging is:

Buy Azure SQL Managed Instances
Buy PowerBI Premium

I'd suggest you direct your complaintsto PowerBI Principal Program Manager Christopher Finlan: https://powerbi.microsoft.com/en-us/blog/whats-new-for-sql-server-2019-reporting-services-rc1/ - maybe you work for a large enough organization where your organization's opinion on this matters.

@jzabroski Wow, thank you so much for that detailed reply! I'm wrapping up for the day right now, but I will be putting your suggestion into practice first thing tomorrow, and I'll let you know how it goes.
I started this job a little under a year ago, and it was explained to me on my first day that we had already begun a gradual transition from SSRS to Power BI, because the key decision makers had already seen the writing on the wall for SSRS, and our users were asking for more dynamic reporting anyway.
Fast forward to today. We still have thousands of active SSRS reports which haven't been replicated in Power BI yet, but the servers they live on are being retired, so we have to migrate and continue supporting them for now, until our Power BI offerings reach parity with our existing SSRS portfolio, and our various app dev teams have a chance to re-tool and refactor their code for integration with Power BI. It'll take a while, but I think it'll be the right move for us in the long term.
Reply Soap Box
I agree with your assessment that SSRS is a dead product. It's frustrating to see support for it being killed off so suddenly, when there are still so many valid use cases for it out there, and probably millions of users that rely on SSRS reports to help them make business decisions every day. I know Microsoft has a lot of irons in the fire, and I do think that Power BI will eventually be able to replace SSRS entirely, but it's not there yet. Most Microsoft products get a pretty generous sunset period, with an EOL date announced long before they discontinue maintenance and support, so it's very disappointing to see them pull the rug out from under such a mature, widely-used product without giving their customers that usual courtesy (or even so much as announcing that they are doing it at all), and before the product slated to take its place is truly ready to do so.
Sorry for writing a novel. It seems we both have strong feelings about this issue. :-)
I hope you have a great night!
~ James

@jtarquino Ok, whats the deal, can this be accepted and merged into Main?  We can write the unit tests if that is the show stopper but this is killing me.  We have workable code and its just rotting on the shelf.

@gperrego, yes the stopper is the unit testing which ensures that new changes will not break fundamentally existing cases and also validate that the scenario works properly in the happy paths
For the latter as I see from this thread is working fine and is not breaking any existing scenario so I feel comfortable merging it, however it will be great if anyone add some unit tests for it

@jtarquino  Thank you.


Update index.html

I  enhanced the readability of the code. I also added some comments for a better understanding of the code.

I  enhanced the readability of the code. I also added some comments for a better understanding of the code.


snapshots to record nf-test & nextflow version by default

It would be great for reproducibility to have snapshots record the nf-test and nextflow versions used for the test by default.
I would be eager to hear from you if you think so too!

Thanks, good idea! This helps us also to handle breaking changes in the future!


Assigning Readonly to T should be an error.

Feature Request
It should be impossible to assign a Readonly<T> value to a name having the mutable T type, so that Readonly can do its work of preventing later runtime errors when members are manipulated.
A Readonly is structurally different from a T in that the set of every property is omitted, (even though it's really there) in the same way that push is omitted from a ReadonlyArray even though it's really there.
This is already respected in Typescript when a property is known to be Readonly<T> but this strictness is obliterated by allowing Readonly<T> to be assigned to T without compiler errors, which has the effect of re-publishing its shadow set operations which should never be called.

I am sure this must have been raised and discussed somewhere, but I can't find it with inevitably broad search terms, sorry.

Assignment of a non-array Readonly<T> should be a compile-time error in the same way that assignment of a ReadonlyArray<T>  to a T[] type is a compiler error. This is far preferable to waiting for a runtime error when members are manipulated.
This would mean that e.g. the return type from Object.freeze can do its work correctly of ensuring Immutability, but with editor and build-time support rather than waiting for production errors.
It will also mean that libraries aiming to pass around Immutable objects e.g. https://cefn.com/lauf/api/types/_lauf_store.Immutable.html can benefit from compile-time support consistent with the definition of Readonly without writeability leaking in through understandable implicit errors, which then bypass compile-time checks.
Those wishing to bypass the support can easily do so. Perhaps there could be a strictness flag associated?
Structural difference underpinning the type-incompatibility would look like this (example use case is further down the issue)...
class foo {
    private _bar: boolean = false;
    get bar(): boolean {
        return this._bar;
    }
    set bar(value: boolean) {
        this._bar = value;
    }
}

class foo {
    private _bar: boolean = false;
    get bar(): boolean {
        return this._bar;
    }
    // this should be structurally absent from a Readonly<foo>
    // set bar(value: boolean) {
    //    this._bar = value;
    //}
}

🔎 Search Terms
Readonly mutable assignment
🕗 Version & Regression Information
This has been an established behaviour for some time.
⏯ Playground Link
Object problem case
Array correct case
💻 Code
Problem case where T is not an array.
  // Problem case - Object
  let planet = {
    name: "earth",
    satellites: {
      moon:<PHONE_NUMBER>0000000000000,
    },
  };
  const frozenPlanet = Object.freeze({
    name: "earth",
    satellites: {
      moon:<PHONE_NUMBER>0000000000000,
    },
  });
  // correctly a compile-time error (set is not valid)
  frozenPlanet.name="mars";
  // incorrectly allowed, (implicitly re-adding set) and leading to the uncaught error below
  planet = frozenPlanet;
  // raises a runtime error
  planet.name = "mars"

Correctly-handled case where T is an array.
  // correct case Array
  let planets = [{
    name: "earth",
    satellites: {
      moon:<PHONE_NUMBER>0000000000000,
    },
  }];
  const frozenPlanets = Object.freeze([{
    name: "earth",
    satellites: {
      moon:<PHONE_NUMBER>0000000000000,
    },
  }]);
  // throws TypeError
  frozenPlanets.push(planets[0]);
  // assignment prevented - compile error
  planets = frozenPlanets;
  // would also throw a TypeError if you could reach this line
  planets.push(frozenPlanets[0]);

🙁 Actual behavior
The value was accepted as valid for planet even though it was a Readonly<typeof planet>, the subsequent treatment of planet as writeable when assigning to the name property will create a runtime error that could be caught at compile time if the availability of set was considered a structural feature of the value's type.
🙂 Expected behavior
I expected it to be impossible to assign Readonly to T as they are structurally incompatible with each other.

Duplicate of #13347.


Message restore skips a lot of messages due to "Invalid label"

I have upgraded to the latest GYB release from https://github.com/jay0lee/got-your-back/releases and I still have this issue.
 Messages restored
Actual outcome (what errors or bad behavior do you see instead?):
A large amount of errors like so:
ERROR: 400: Invalid label: IMPORTANT. Skipping message restore.
ERROR: 400: Invalid label: IMPORTANT. Skipping message restore.
ERROR: 400: Invalid label: SENT. Skipping message restore.
ERROR: 400: Invalid label: SENT. Skipping message restore.
ERROR: 400: Invalid label: IMPORTANT. Skipping message restore.

only a small number of messages is actually restored.

Seems that adding a prefix label with --label-prefix RESTORE worked around these errors.

Same message, restoring mbox but stops the process.
Restoring from 22.69gb file c:\tmp\tb\recupero.mbox...
Creating label Da leggere
400: Invalid label name - invalidArgume


Pass element tagname in reflex

Feature Request
it would be feasible to access the tagname of the DOM element that triggered the reflex (and potentially other properties as well?)
Is your feature request related to a problem?
in some context it occured to me that it would be feasible not only to have checked, selected and value(s) attributes, but also to be able to discern between SELECT, OPTGROUP etc. etc.
Describe the solution you'd like
Pass the element tagname through the ActionCable connection up to the reflex
Additional context
If anyone could point me to the relevant parts of the source, I'd be happy to prepare a PR

Yes! Cool. Consider adding element.tagName to attributes.js in extractElementAttributes function.


Running pub from directory with spaces in name

Getting "was unexpected at this time" appearing in the console while attempting to run/generate JS:
--- Apr 20, 2013 6:56:58 AM Compiling /sunflower-1/web/sunflower.dart... ---
C:\Program Files (x86)\dart\dart-sdk\bin\dart2js.bat --suppress-warnings --out=C:\Users\ash\dart\sunflower-1\web\sunflower.dart.js C:\Users\ash\dart\sunflower-1\web\sunflower.dart
\dart\dart-sdk" was unexpected at this time.
Any idea what's wrong here ?
////////////////////////////////////////////////////////////////////////////////////
Editor: 0.4.7_r21658 (2013-04-17)
OS: Windows 7 - amd64 (6.1)
JVM: 1.7.0_17
# projects: 6
# open dart files: 0
auto-run pub: true
localhost resolves to: <IP_ADDRESS>
mem max/total/free: 889 / 453 / 295 MB
thread count: 21
index: 492452 relationships in 135690 elements in 562 sources
SDK installed: true
Dartium installed: true
analysis engine: new

This issue has been moved to dart-lang/pub#517.


about maui support

Feature request type
New component
Component name
maui andriod support
Is your feature request related to a problem?
Support maui android？
Describe the solution you'd like
Support maui android
Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
No response
Pull Request

[X] I would like to do a Pull Request

Code of Conduct

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

You can ask to discord community, if i remember true there are some people works on MAUI projects.

The project my company is developing with MAUI is using blazor and it works perfectly fine.

As far as I read from Microsoft devblogs, this should work out of the box without any code change from MudBlazor side.

If you use the BlazorWebView in a MAUI project, you'll be able to use your Blazor components in MAUI and running it cross-platform.
See https://devblogs.microsoft.com/dotnet/introducing-dotnet-maui-one-codebase-many-platforms/#bringing-blazor-to-desktop-and-mobile

BlazorWebView should work for you but it only supports Winforms & WPF.  WinUI3 is not currently supported.


Implement persistent subscriptions

[ ] Create/Update/Delete
[ ] Subscribing

Hi @hayley-jean,
I have started to work on this as a side project of mine. Got to the point where I need to write integration tests to check if everything works as intended.
I want to use gRPC test data docker image for integration tests. I am able to login using my github token. Token has repo and write:packages scopes.
I cannot fetch docker images with command:
docker pull docker.pkg.github.com/eventstore/eventstore-client-grpc-testdata/eventstore-client-grpc-testdata:20.6.1-buster-slim

I get error:
Error response from daemon: unauthorized: Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured.

I tried to fetch other docker images and I got the same error.

Hi @hayley-jean,
I have started to work on this as a side project of mine. Got to the point where I need to write integration tests to check if everything works as intended.
I want to use gRPC test data docker image for integration tests. I am able to login using my github token. Token has repo and write:packages scopes.
I cannot fetch docker images with command:
docker pull docker.pkg.github.com/eventstore/eventstore-client-grpc-testdata/eventstore-client-grpc-testdata:20.6.1-buster-slim

I get error:
Error response from daemon: unauthorized: Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured.

I tried to fetch other docker images and I got the same error.

Link to the pull request https://github.com/EventStore/EventStore-Client-Go/pull/51

Hi @pivonroll, thanks for the PR!
From what you describe, the token you're using should work for fetching that docker image and it's working on my side as well. Could you double check your login and make sure everything's correct?
You could also try and pull one of the other docker containers to see if it's just an issue with the test data container. For example, the EventStore ci container.
Otherwise you could build the test data container locally and test against that, you can find it here: https://github.com/EventStore/EventStore-Client-gRPC-TestData

You are welcome!
Sorry for the late response, I was busy cleaning up the code and adding unit tests to the persistent subscription client.
I really tried to pull the image in question but without any luck.
I managed to build my own test data container by using the image from docker hub. I wasn't hard. Pretty easy ;)
I will update the Readme with the info on how to build you own docker image by using the one from docker hub as a base.
At the moment I am not able to login at https://docker.pkg.github.com, probably it's ongoing issue which will be resolved by Github staff. I will try to pull the docker image from the link you sent me, once the issue with login is resolved.
I just need to add a few tests to the PR.
I didn't wanted to provide the async read client for persistent messages at the moment because developers like to implement async operations in accord to their own needs and I didn't wanted to prolong this PR by extending it's scope with async read support.
Still, I do have an idea how to do it with channels, but I want to provide tests as well, because I do not want to post the code for which I cannot guarantee (at least to some degree) that it works as intended.
I have two suggestions for future PRs:

This client would benefit from a small code cleanup and decoupling, especially on the relation client <-> stream subscription (not persistent one). If this is pulled under the rug the client's features and scalability suffer in near future.
Client code should be formatted by using either https://github.com/mvdan/gofumpt or gofmt formatters as it would be easier to read the code. Some code lines go for 200 or more characters which is hard to read on laptops with FullHD resolution.

I am able to login with:
cat ~/<my token file> | docker login docker.pkg.github.com -u <my user name> --password-stdin

I tried to pull:
docker pull docker.pkg.github.com/eventstore/eventstore/eventstore:21.6.1-alpha.0.2-buster-slim

and
docker pull docker.pkg.github.com/eventstore/eventstore/eventstore:21.6.0-focal

Both pulls returned the same error:
Error response from daemon: unauthorized: Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured.

Done


providers: remove unused function pointer definitions

No! These are forward declarations that allow the functions to be checked against what they are meant to be.

This looks like a pointer variable definition of a function, not a function prototype declaration.
And it is an unused variable.

Removing these is wrong and will never be accepted.

Yes, it is strange to see
typedef void (*function_type)(int arg1, ... etc );

In a header file and then see
static function_type myfunc;
void myfunc(int arg1, ...etc )
{

The reason is that because in C you can't do
static function_type foo
{

The typedef is in a header file shared by the providers and the infrastructure.  There's no other way to ensure that the provider functions match what the infrastructure wants.

Yes, it is strange to see
typedef void (*function_type)(int arg1, ... etc );

In a header file and then see
static function_type myfunc;
void myfunc(int arg1, ...etc )
{

The reason is that because in C you can't do
static function_type foo
{

The typedef is in a header file shared by the providers and the infrastructure. There's no other way to ensure that the provider functions match what the infrastructure wants.

Thanks, It’s true that I rarely see anything written like this.


vscode.dev: Make UI more stable when opening a PR URL

Open a PR from the navbar, e.g. https://vscode.dev/github/microsoft/vscode/pull/124803
Observe the activity bar and notice the appearance of:

the Explorer view
the GHPRI view
the Explorer view
the GHPRI view

Turns out this is coming from GHPRI. There was some flow added 9 months ago that aimed to improve the perceived performance of loading all the views. There is a gap between when views are shown and hidden, which causes the Explorer view to show in-between.


[Cornerstone tools] Image tools are interacting with measurement annotations

Bug Report
User is able to interact with measurement annotations using some of the cornerstone tools that should only manipulate the image. I.e. Tools: Stack Scroll, Zoom, Levels, Pan, etc.
If user selects one of the following tools and hover over one annotation, it will become green and the user will be able to interact with this annotation (move it, change its size, etc).
Tools: Stack Scroll, Zoom, Levels, Pan, Magnify, ROI Window, Probe
Expected Result:

By selecting one of the mentioned tools, the user should be able to only interact with the image inside the viewport and not with the measurements on it.
User should be able to manipulate the measurements only if one of the following tools are selected/active: Length, Annotate, Angle, Ellipse, Rectangle, Clear, Bidirectional, Eraser

This is the expected/desired behavior. We could decrease the distance threshold, but that could have the adverse effect of making annotations hard to grab.


make check-params uses remote bundle

What is being addressed
Since porter 'autobuild' interferes with some of our template check procedures we need to temporarily adjust how they are performed. parent issue: #3146
How is this addressed

Remove bundle-check-params from any local development path that is using a bundle from the local machine.
Create a new target bundle-check-params-remote that will use a bundle from a remote registry which could be used after publish (and before registration)

/test

/test


[BUG] Cannot login to Dynamics due issue in Login method

Bug Report
Login method fails due trying to click to not existing controls, but do not check that is is exists before
EasyRepro Version

[ ] Microsoft Dynamics 365 Online Version 8.2 (8.2.x) (DB 8.2.x) online
[ ] Microsoft Dynamics 365 Online Version 9.0 (9.0.x) (DB 9.0.x) online
[ ] Microsoft Dynamics 365 Online Version 9.0.2 (9.0.2) (DB 9.0.2) online
[ + ] Microsoft Dynamics 365 Online Version 9.1 (9.1.x) (DB 9.1.x) online

UCI or Classic Web

[ + ] UCI (XrmApp)
[ ] Classic Web (XrmBrowser)

Online or On Premise

[ + ] Online
[ ] On Premise

Browser

[ + ] Chrome
[ ] Firefox
[ ] IE
[ ] Edge

Describe the bug
During login test trying to click to not existing controls, but do not check that is is exists before
driver.ClickWhenAvailable(By.Id("aadTile"));
driver.ClickWhenAvailable(By.Id("use_another_account_link"));

Stack Trace:
Test method Microsoft.Dynamics365.UIAutomation.Sample.UCI.OpenContactUCI.UCITestOpenContactRetrieveHeaderValues threw exception:
System.InvalidOperationException: Unable to click element.
    at Microsoft.Dynamics365.UIAutomation.Browser.SeleniumExtensions.<>c__DisplayClass50_0.<WaitUntilClickable>b__0() in C:\BCD\EasyRepro-develop.747\Microsoft.Dynamics365.UIAutomation.Browser\Extensions\SeleniumExtensions.cs:line 500
   at Microsoft.Dynamics365.UIAutomation.Browser.SeleniumExtensions.WaitUntil(ISearchContext driver, Func`2 searchFunc, Nullable`1 timeout, Action`1 successCallback, Action failureCallback) in C:\BCD\EasyRepro-develop.747\Microsoft.Dynamics365.UIAutomation.Browser\Extensions\SeleniumExtensions.cs:line 558
   at Microsoft.Dynamics365.UIAutomation.Browser.SeleniumExtensions.WaitUntilClickable(ISearchContext driver, By by, Nullable`1 timeout, Action`1 successCallback, Action failureCallback) in C:\BCD\EasyRepro-develop.747\Microsoft.Dynamics365.UIAutomation.Browser\Extensions\SeleniumExtensions.cs:line 508
   at Microsoft.Dynamics365.UIAutomation.Browser.SeleniumExtensions.WaitUntilClickable(ISearchContext driver, By by, Nullable`1 timeout, Action`1 successCallback, String exceptionMessage) in C:\BCD\EasyRepro-develop.747\Microsoft.Dynamics365.UIAutomation.Browser\Extensions\SeleniumExtensions.cs:line 500
   at Microsoft.Dynamics365.UIAutomation.Browser.SeleniumExtensions.ClickWhenAvailable(ISearchContext driver, By by, Nullable`1 timeout, String errorMessage) in C:\BCD\EasyRepro-develop.747\Microsoft.Dynamics365.UIAutomation.Browser\Extensions\SeleniumExtensions.cs:line 38
   at Microsoft.Dynamics365.UIAutomation.Api.UCI.WebClient.Login(IWebDriver driver, Uri uri, SecureString username, SecureString password, SecureString mfaSecrectKey, Action`1 redirectAction) in C:\BCD\EasyRepro-develop.747\Microsoft.Dynamics365.UIAutomation.Api.UCI\WebClient.cs:line 127
   at Microsoft.Dynamics365.UIAutomation.Browser.DelegateBrowserCommand`6.ExecuteCommand(IWebDriver driver, Object[] params) in C:\BCD\EasyRepro-develop.747\Microsoft.Dynamics365.UIAutomation.Browser\DelegateBrowserCommand.cs:line 163
   at Microsoft.Dynamics365.UIAutomation.Browser.BrowserCommand`1.Execute[T1,T2,T3,T4,T5,T6,T7,T8,T9](IWebDriver driver, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9) in C:\BCD\EasyRepro-develop.747\Microsoft.Dynamics365.UIAutomation.Browser\BrowserCommand.cs:line 136
   at Microsoft.Dynamics365.UIAutomation.Browser.BrowserCommand`1.Execute[T1,T2,T3,T4,T5](IWebDriver driver, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5) in C:\BCD\EasyRepro-develop.747\Microsoft.Dynamics365.UIAutomation.Browser\BrowserCommand.cs:line 66
   at Microsoft.Dynamics365.UIAutomation.Browser.BrowserPage.Execute[TResult,T1,T2,T3,T4,T5](BrowserCommandOptions options, Func`7 delegate, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5) in C:\BCD\EasyRepro-develop.747\Microsoft.Dynamics365.UIAutomation.Browser\BrowserPage.cs:line 242
   at Microsoft.Dynamics365.UIAutomation.Api.UCI.WebClient.Login(Uri orgUri, SecureString username, SecureString password, SecureString mfaSecrectKey, Action`1 redirectAction) in C:\BCD\EasyRepro-develop.747\Microsoft.Dynamics365.UIAutomation.Api.UCI\WebClient.cs:line 116
   at Microsoft.Dynamics365.UIAutomation.Api.UCI.OnlineLogin.Login(Uri orgUrl, SecureString username, SecureString password, SecureString mfaSecrectKey) in C:\BCD\EasyRepro-develop.747\Microsoft.Dynamics365.UIAutomation.Api.UCI\Elements\OnlineLogin.cs:line 38
   at Microsoft.Dynamics365.UIAutomation.Sample.UCI.OpenContactUCI.UCITestOpenContactRetrieveHeaderValues() in C:\BCD\EasyRepro-develop.747\Microsoft.Dynamics365.UIAutomation.Sample\UCI\Read\OpenContact.cs:line 150

Code to reproduce
Run UCITestOpenContactRetrieveHeaderValues test
xrmApp.OnlineLogin.Login(_xrmUri, _username, _password);

Expected behavior
It should be verification that controls exists before click
if (driver.IsVisible(By.Id("aadTile")))
	driver.ClickWhenAvailable(By.Id("aadTile"));
if (driver.IsVisible(By.Id("use_another_account_link")))
	driver.ClickWhenAvailable(By.Id("use_another_account_link"
```));

Fixed in #751

@Shakevg - Per Angel's fixes that have been merged into develop, could you validate that your scenario is resolved by testing with the 'develop' branch?
Thanks,
Tyler

@TYLEROL, @AngelRodriguez8008 Working now, thanks

Thanks @Shakevg,
I'm getting some problems by fixing this.
In your way the Chrome Windows, for some estrange reason is keeping open.

I't taking some other considerations Like, waiting time to fail & error message.
I will keep you updated.
Thanks.

Hi @Shakevg,
Thanks again for the Feedback.  I'm trying to simulate the situation but I not't able to tests without MFA. I will try to find one Env to test. Howerver, I think that my lastest changes should fix this problem.
I will keep it in PR #754, where I fix other Bug. @TYLEROL  let me know please if you need split this in two different PR.
Thanks & br

Ok I glad to inform you. I already tested in an Env. without MFA. It works perfectly. Running also pretty fast.

the Fail is not because Login.
D365 Online
2019 release wave 2 enabled
Server version: 9.1.0000.12935
Client version: 1.3.379-2001.2

Can we get the fixes into the Nuget Package asap please?
My whole test suited is blocked by this failed login issue. And I can not simply roleback because the previous (working) version is no longer on Nuget available (only some very old versions, which have other breaking changes).

Sorry @rsObjektkultur, I will test better the next time. Maybe can you compile the DLL by yourself in the middle time, until this get released.


Update PathRunnable so that it subclasses Runnable

Short description 📝
PathRunnable currently does not subclass from Runnable like BuildableProductRunnable and RemoteRunnable do. This means that even if you don't care about the specific Runnable implementation, you still have to handle PathRunnable separately from the Runnable subclasses. For example, you would either need two different functions:
func doSomething(with runnable: Runnable)
func doSomething(with runnable: PathRunnable)

or a function that takes in two different parameters:
func doSomething(with runnable: Runnable?, or runnable: PathRunnable?)

Solution 📦
Refactor PathRunnable so that it subclasses from Runnable. This will allow any var or function parameter of type Runnable to hold an instance of PathRunnable. For example the following function would now be able to accept a PathRunnable as an argument in addition to a BuildableProductRunnable or RemoteRunnable:
func doSomething(with runnable: Runnable)

Since the only changes is to make PathRunnable subclass Runnable, this should be a non breaking change. No properties or functions are being added, deleted.
Implementation 👩💻👨💻

[x] Made the buildableReference parameter of Runnable's init an optional parameter. The buildableReference property of Runnable was already optional so now the types match. Since PathRunnable does not use a  BuildableReference, this change will allow PathRunnable to call Runnable's init with a nil BuildableReference argument.
[x] Changed PathRunnable to subclass from Runnable like BuildableProductRunnable and RemoteRunnable do.
[x] Removed PathRunnable's declared conformance to Equatble since it now inherits that from Runnable.
[x] Removed PathRunnable's runnableDebuggingMode property since it now inherits that from Runnable.
[x] Refactored the functions that PathRunnable now overrides from Runnable. I used RemoteRunnable as a model for how to accomplish this.
[x] Removed the pathRunnable property from LaunchAction now that its runnable var can hold an instance of PathRunnable. This avoids the possiblity of having two different runnables, which didn't really make sense. If Xcode detects two runnables, it updates the scheme's launch action so that it only keeps one and deletes the other.
[x] Updated the serialization test case for PathRunnable.

@all-contributors add @georgenavarro for code

I've opened a new PR to fix the issues I mentioned above.

Ouch, thanks for opening a PR for those issues. Let me review it and get it merged.


Decode binary response

The old Python 2 code concatenates the http-received data with a string,
which no longer works as Python 3 receives http data in binary form.
Simple decoding might be naive, as it might break non-utf8 or (or possibly
end up in the middle of a codepoint, not sure), but it works afaict.

@highfestiva thanks. Will this change be backwards compatible? In order for us to support Python 3, we must also be backwards compatible with at least Python 2.7

@shakeelmohamed aah, didn't know that. I want to come back with a fix, but what is the best way to do it in this case where py2 carry string type and py3 bytes? Since this vital part of the code is not working, perhaps you have no "standard" way of handling it?

My changes are now py2-compliant, but a lot the present code is not it seems. The state of the py3 Travis test builds seem less-than optimal, to put it prudently?

@highfestiva Yes, most of the SDK is not Python 3 compatible. There's quite a bit of work to get the entire SDK to a fully 2 and 3 compatible state

Why would we want to be py2-compatible at all? van Rossum's point, flawed or not, of skipping backwards compatibility, was that part of the syntax in py2 was inconsistent and/or poor. Ubuntu's already over on py3, and the splunklib api doesn't change. I suspect more newcomers would have problems with py2 than py3 versions, and since the splunklib api is unchanged I can't see why we would want to hang on to 2.7 at all?

@highfestiva please see the comments in #91. Dropping Python 2 support is non-negotiable for us at this time

The stated reason for keeping py2 in 2014 was "given the platform support matrix we have as well as some libraries still not being available on Python 3." @shakeelmohamed: would you mind elaborating on that?

@highfestiva Splunk needs to continue supporting (and shipping) Python 2 because there are several Splunk-developed Python libraries written in Python 2 that are shipped with Splunk. Dropping Python 2 support as a company is not feasible because Splunk needs to continue supporting legacy operating systems (that ship Python 2 as the default).
Does that make sense?

For a product that annoyingly claims to be "an enterprise solution like no
other and would take a lot of effort with open-source software" seems to be
very resistant to the Python 3 support when all of those open-source
solutions have it out of box.
On Wed, May 10, 2017 at 3:34 PM Shakeel Mohamed<EMAIL_ADDRESS>wrote:

@highfestiva https://github.com/highfestiva Splunk needs to continue
supporting (and shipping) Python 2 because there are several
Splunk-developed Python libraries written in Python 2 that are shipped with
Splunk. Dropping Python 2 support as a company is not feasible because
Splunk needs to continue supporting legacy operating systems (that ship
Python 2 as the default).
Does that make sense?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/splunk/splunk-sdk-python/pull/171#issuecomment-300604302,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEMZfBIT3m7LIwm4RCwKrDdaoePpycYzks5r4h9EgaJpZM4NQm6g
.

@shakeelmohamed: sort of I guess. In that 1980'ies IBM way, maybe. At some point in time you are going to transition. One way to do it sooner would be to build and endorse a py3 version while sticking a sunset date on the old goo. That would make more sense to many (most?), and make the progressive company profile you're aspiring to more belivable. I love and promote your product with a passion, but this I find slightly annoying and counter-productive.


Fix e2e test: gang scheduling.

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
After the revert of batch job patches #806 , the gang scheduling testcase is falling, need investigate and fix.
Environment:

Kubernetes version (use kubectl version):
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

@thandayuthapani , please help to check what happened :)

@k82cn It is passing in my local test setup

I'm able to find PodGroup Unschedulable event in local test setup, but in Travis is getting timeout at this step because it is not able to find that event or event not getting generated. Will check what is the problem.

@thandayuthapani , we found similar issue in Volcano which because of some change in e2e, refer to https://github.com/volcano-sh/volcano/commit/c53779db2d9547286a6f7d7cec4e8d386855c06c#diff-8349006db2c242fd7424e1dfb3295840R430https://github.com/volcano-sh/volcano/commit/c53779db2d9547286a6f7d7cec4e8d386855c06c#diff-8349006db2c242fd7424e1dfb3295840R430 for more detail.

@k82cn Test Case failure is because of Unschedulable event is not generated so it is getting timed out waiting for unschedulable event and test case fails.  Event is not generated because of fields in  podGroupStatus in PodGroup object is reset to its nil value, while status updater function is called.

Since object from API server is then assigned to our local cache object, local cache also looses status information.  Unschedulable event get generated only when the phase of podGroup is pending or Unknown.

Attaching the logs of kube-batch, for better understanding.  Status of podGroup is being determined in kube-batch and to update the status, status updater is called and the object returned is assigned back to cache.  Returning object does not have status data.  So it is getting missed.

StatusUpdater uses K8s Update API call, when that is being replaced with UpdateStatus call, test case passed.  Some problem with Update call, where status data is getting reset to its nil value.

StatusUpdater uses K8s Update API call, when that is being replaced with UpdateStatus call, test case passed.

Can you help to check history why it's failed recently?

It used to pass with local DINDv1.13 setup, but once I Cleaned that setup and brought up new setup of DIND-v1.13, I started facing the same problem as CI was facing. I think after DIND pulls new images for kubernetes components, it it facing this problem.  Because it was not facing the problem in my old DIND setup with same code, but with new DIND setup(New images being pulled for kubernetes components), it was facing the issue, with no change in code.  There was no change in DIND version, but only new images were being pulled by DIND clusters for kubernetes components.

but volcano-sh/kube-batch seems fine without this fix.

That test case has been skipped in volcano/kube-batch

xref https://travis-ci.com/volcano-sh/volcano/jobs/198124601 , it has been fixed in the commit that I mentioned above.

It volcano-sh/volcano we are using KIND to bring k8s cluster, but in kubernetes-sigs/kube-batch we use DIND to bring us k8s cluster.

then try kind; honestly, I'm unconfotable about the fix if we do not know the root cause :)

With Local KIND setup, gang scheduling and statement test case is passing, should I have make change in Kube-Batch to use KIND now in CI?

ok, let's try kind :)


WIP: Freshmaker configuration refactoring

Refactor and simplify freshmaker configuration files and set up
Jira: CWFHEALTH-1159

I refactored freshmaker/config.py and conf/config.py, but I didn't merge them into one file, because as I understand it, freshmaker/config.py is the module where freshmaker config is loaded from config file, and both conf/config.py and /etc/freshmaker/config.py are config files themeselves.

LGTM


Add ECO Mode Settings

setting_name: ECO
setting_synonym: eco, energy save

Eco is an existing setting_name, and energy saving is another existing setting_name. I'll make sure this is added to the documentation.

How can I see the latest mode? except https://developers.google.com/actions/smarthome/traits/modes.
I can't find energy saving

We did not update the documentation yet.