DBeaver: Customize Perspective contain toolbars with no text

DBeaver - Version 5.3.1 CE
DBeaver driver: MS SQL Server  / Microsoft Driver
Operating System: Windows 7 / Windows 8.1 / Windows 10
Database Server: Microsoft SQL Express 2014, 2016, 2017
Customize Perspective contain toolbars with no text.
o Start DBeaver.
o Choose Window -> Customize Perspective in the main menu.
o Choose tab Tool Bar Visibiliy
o Expand Transaction monitor. It contains

5118
Transaction log

o Expand DataSource Selector. It contains

5125
Set connection from navigator (Ctrl+Shift+.)

My guess is that 5118 and 5125 are old stuff or things that is not implemented yet.

issue is still actual for Transaction Monitor

Fixed.

verified


Description page of each category after a person submits a photo

To view components:
localhost:3000/recycle
localhost:3000/trash
localhost:3000/compost

Created src/Components/CategoryDescription.js file that uses the submitted photo's category to display a page with basic information about what to do with their litter.
Currently uses dummy data and is not connected to the photo submission system.
Buttons navigate to appropriate page; LearnMore is a sample file that will be adjusted later.
Changed the body to display flex to center all components for mobile.

examples of how to write some snapshot tests as UI unit test are here https://github.com/codeforsanjose/litter.ai/blob/main/src/Components/tests/litter.test.js
and will need to be moved as well soon closer to the root or along with every component we make to keep things concise.

@JMStudiosJoe I wrote tests for these two components but I put them on a new branch that has the leaderboard connected to the backend so I'm going to close this PR and open a new one.

@JMStudiosJoe I previously closed this PR because I made the changes on a new branch and thought it would be easier to open up a new PR but I was able to merge my branches.
This version uses data from the API that was created and it needs to have it running on port 3001 for it to currently work. Will refactor once the API is hosted or on the same repo.
Changes include:

Added tests for the Leaderboard and SuccessfulSubmission (previously CategoryDescription) pages.
Added react-select menu in the leaderboard to change the data based on category.


Quality KIT Release 23.12 Miscellaneous View Acceptance Criteria

Release 23.12 Miscellaneous

[ ] Version under Review

Pull request for KIT version under review must be placed minimum one week prior to your reserved Quality-Gate timeslot (to enable formal reviews by relevant BOs, BDAs, DevSecOps System Team)
Prerequisite: IP approval by all companies is available!

Artifact Repository:

Eclipse Tractus-X repo of KIT

Contacts:

Responsible: PO
Review by:

T-X Committer / Project Lead
DevSecOps System Team

[ ] Approval of Acceptance Criteria

Product Manager / Business Owner confirms:

All acceptance criteria met (as defined in PI documentation). Relevant evidence is available.

Best Practice:

PO / PCA to obtain BO / BDM OR PM / SA approval prior to Gate review.

Artifact Repository:

JIRA solution Level

Contacts:

Responsible: PO/PCA
Consult: KIT-CONTACT1, KIT-CONTACT2
Review by: BO / BDM (from relevant Domain) OR PM / SA

[ ] Test and Approval of Developer Journey

recommended; not mandatory
Business Owner / Product Owner should conduct a case study with at least 1 provider (ideally outside) of the consortium to test the developer journey.

Best Practice:

PO / BO to obtain feedback from case studies prior to Gate review.

Artifact Repository:

Case Study

Contacts:

Responsible: PO/BDA
Consult: KIT-CONTACT1, KIT-CONTACT2
Review by: Case Study Team

[ ] Provide change log page in KIT

Each KIT team must provide a KIT-specific release note/change log for developers

Best Practice:

For good practice visit: keepachangelog

Artifact Repository:

Provide change log page in KIT - example

Contacts:

Responsible: PO/BDA
Review by: Release Management

[1.1.0] - 2023-11-22
Added
./.
Changed
Adoption View
General

Update picture "Customer Journey"
Update cosmetics to all pictures
Document Use Case Framework Quality v1 added
Update list of related standards
License notice added

Area Tutorials
Video "Data driven Quality Management with Catena-X - Statements from the consortial partners" now provided as link only
Development view
Updated Asset Transfer recommendation
Removed
./.

Version under Review - 1.0.0 under review - approved in QG-Review by PCA/BDA
Approval of Acceptance Criteria - no change - approved in QG-Review by PCA/BDA
Test and Approval of Developer Journey OPTIONAL approved in QG-Review by PCA/BDA
Provide change log page in KIT - see above - approved in QG-Review by PCA/BDA


Multiple video player controls are running at the same time problem. && Upgrade swift 4.2

#14

Hi @josejuanqm
Thank you for response. You have a point.  I made some changes. What about now ?
Thanks 🖖

Thanks!


cors

Hi!
I'm having cors errors trying to extract data from youtube
how can I disable it?
Thanks

CORS is a browser-side security feature you can not disable.

How can deal with them then?

The provider needs to send appropriate cors headers - or you'll need to do the parsing server side.

On 19. Apr 2019, at 14:34, Garito<EMAIL_ADDRESS>wrote:
How can deal with them then?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Error Stacktrace

It would be great to have a correct stack trace for subclasses of Error e.g. by automated application of
Error.captureStackTrace(this, arguments.callee);

This method is only available in v8. The class implementation is currently compatible with most of the ecma 5 compatible engines. I wish to keep it that way. (I use it sometimes in the browser)
The arguments object is deprecated.

stopping to enhance this module for node.js since ecma 2015 classes provide the same functionality at approximately the same speed as this module. The development  focuses now browsers until they have full class support.


feat: add redisSub source and redisPub sink

Add two new builtin connectors.
redisSub Source:
Add a new data source called "redisSub." This source empowers users to subscribe to specific Redis channels and stream received messages into Ekuiper. Configuration parameters are included to specify the Redis server and the channel to subscribe to.
redisPub Sink:
Add a new data sink called "redisPub." The redisPub sink allows users to publish data from Ekuiper to a designated Redis channel. Configuration parameters are included to specify the Redis server and the target channel.
Bug Fix:
Resolve a bug encountered during testing of the redisPub sink with ctx.TransformOutput() using a mock context at mock.RunSinkCollect(). The bug is fixed by adding context.TransKey to the context.NewMockContext(), ensuring that testing ctx.TransformOutput() no longer results in errors.
Closes #2247
New PR of #2260

LGTM. Could you please add more UT to cover the Configure in redisPub and redisSub

LGTM. Could you please add more UT to cover the Configure in redisPub and redisSub

Thank you for your input! I've already implemented unit tests and will be sure to include more to cover the Configure function in redisPub and redisSub.


CMake Tools Extension & twxs.cmake extension

Hi Richard,
We are the maintainers of the CMake Tools extension in VS Code (https://github.com/microsoft/vscode-cmake-tools). We believe you are the maintainer of the twxs.cmake extension (CMake - Visual Studio Marketplace), please let us know if that is not the case.
This is to let you know about our future with CMake Language Services in CMake Tools.
We are planning to focus on building and expanding the capabilities for CMake Language services for CMake scripts, in our CMake Tools Extension. We built many of these capabilities in Visual Studio, and we plan on bringing them over to CMake Tools. As part of this we plan to remove the CMake Tools extension dependency on twxs in the near future, while letting customers to still use it and rely on it, if they install it.
We would love to talk about our plans for CMake Tools, and your future plans for twxs, please contact us at<EMAIL_ADDRESS>if you would like to chat.
Thanks,
CMake Tools Team

Hi @sinemakinci1,
it's a great news!


Use ipFamilyPolicy: RequireDualStack for dual-stack kube-dns

This is an issue to track the changes made in #8984 by user @aofei

Considering that kube-dns will only be accessed via bare IP addresses, k3s should manually control the ClusterIPs, which means its ipFamilyPolicy should be set to either SingleStack or RequireDualStack. I don't think setting ipFamilyPolicy to PreferDualStack makes much sense for kube-dns, as discussed in https://github.com/k3s-io/k3s/pull/8394#discussion_r1336934121, where the implications of this choice are elaborated.

Validated on Version:
-$  k3s version v1.29.0+k3s-8d2c40cd (8d2c40cd)

Environment Details
Infrastructure
Cloud EC2 instance
Node(s) CPU architecture, OS, and Version:
NAME="Oracle Linux Server"
VERSION="8.9"
ID="ol"
ID_LIKE="fedora"
Cluster Configuration:
1 node servers
Steps to validate the fix

Install k3s usind cidr flag with ipv4 and ipv6
Get kube-dns service details
Validate ipfamily policy is set to singlestack or RequireDualStack
Validate nodes,pods ok

Validation Results:

$ k3s -v
k3s version v1.29.0+k3s-8d2c40cd (8d2c40cd)
go version go1.21.5

--------- only ipv4 --------

~$ curl -sfL https://get.k3s.io | INSTALL_K3S_COMMIT=8d2c40cdac63f8a948ae3225a4b9aff68ee07b23 sh -s - --cluster-cidr=<IP_ADDRESS>/16 --service-cidr=<IP_ADDRESS>/16

~$ kubectl get service kube-dns   -n kube-system -o yaml

 spec:
  clusterIP:
  clusterIPs:
  -
  internalTrafficPolicy: Cluster
  ipFamilies:
  - IPv4
  ipFamilyPolicy: SingleStack
  ports:
  - name: dns
    port: 53
    protocol: UDP
    targetPort: 53
  - name: dns-tcp
    port: 53
    protocol: TCP
    targetPort: 53

----- ipv4/ipv6 -----------

 curl -sfL https://get.k3s.io | INSTALL_K3S_COMMIT=8d2c40cdac63f8a948ae3225a4b9aff68ee07b23 sh -s - --cluster-cidr=<IP_ADDRESS>/16,2001:cafe:42::/56 --service-cidr=<IP_ADDRESS>/16,2001:cafe:43::/108

kubectl get service kube-dns   -n kube-system -o yaml

spec:
  clusterIP:
  clusterIPs:
  - ipv4
  - ipv6
  internalTrafficPolicy: Cluster
  ipFamilies:
  - IPv4
  - IPv6
  ipFamilyPolicy: RequireDualStack
  ports:

  ~$ kubectl get nodes,pods -A
NAME                    STATUS   ROLES                  AGE     VERSION
node/ip-   Ready    control-plane,master   2m41s   v1.29.0+k3s-8d2c40cd

NAMESPACE     NAME                                          READY   STATUS      RESTARTS   AGE
kube-system   pod/coredns-6799fbcd5-xfqxf                   1/1     Running     0          2m26s
kube-system   pod/local-path-provisioner-84db5d44d9-mhh9z   1/1     Running     0          2m26s
kube-system   pod/helm-install-traefik-crd-klwld            0/1     Completed   0          2m27s
kube-system   pod/helm-install-traefik-8frj5                0/1     Completed   1          2m27s
kube-system   pod/svclb-traefik-28246843-n9nth              2/2     Running     0          2m11s
kube-system   pod/traefik-f4564c4f4-j847p                   1/1     Running     0          2m11s
kube-system   pod/metrics-server-67c658944b-dz6sv           1/1     Running     0          2m26s


Request for Flatpak package

The build and distribution of this game via a Flatpak on FlatHub would make installation easier and allow users of immutable distributions to play.

#6 is very similar. Feel free to participate there!


Feature/install from source

Codecov Report

Merging #8 into master will increase coverage by 0.31%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   57.53%   57.84%   +0.31%
==========================================
  Files          11       11
  Lines         405      408       +3
  Branches       53       53
==========================================
+ Hits          233      236       +3
  Misses        165      165
  Partials        7        7

Impacted Files
Coverage Δ

src/gardena/__init__.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


3 Box-market centering Bug

When clicking on a market on the market list pg.....Once it takes you to the market trading pg, it jumps right down to the chats section, skips the whole trading pg

looks fixed - closing


switch to use PrecompileTools.jl

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (c0adbac) 90.92% compared to head (5c40930) 90.92%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #496   +/-   ##
=======================================
  Coverage   90.92%   90.92%
=======================================
  Files          10       10
  Lines        2963     2963
=======================================
  Hits         2694     2694
  Misses        269      269

Impacted Files
Coverage Δ

src/JET.jl
80.33% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

No worries, it looks like I need to update Manifest.toml files I have checked in for some reason anyway.


Correct case typo in title

COre -> Core

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@bpesquet Thank you for your contribution!


[UI] Add "tabs" type to event field

Updated Timer and Attach Input scripts to support it

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Feature

What is the current behavior? (You can also link to an open issue here)

The scripts inside Attach Script to Button and Set Timer Script behave in a different way than other Events (like all the conditional ones). They have different scope for labels and, in the case of the button script can persist across scenes. But there's no way to differentiate that fact.

What is the new behavior (if this is a feature change)?

Add a UI change that makes those scripts visually consistent (to some extent) with the scripts that behave like them (On Update, On Init and so) by adding a tab with a name on top of them.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

No (although there's an ugly hack using undefined in the tabs condition to have the default script to show in all projects with no value for __scriptTabs)

Other information:

There might be other ways to differentiate those scripts. And I'm not even sure there's a need for that, but wanted to test how it'll look.
Also, the tabs are a new type of field for Events that combined with conditions allows to organize the Event fields in horizontal blocks. Which means that if one day we want to go down the rabbit hole we could do this...

That's a good idea, I'll check this out later. Definitely like how this opens up the On Release / On Hold options too!

It was looking slightly wrong on the light theme

but I just added a 1px left margin to the first and it's looking good now

Thanks!


Create Routing_Instructions.md and routing references

Purpose

...

Checklist

[ ] I have read the contribution guidelines.
I submitted this PR against the correct branch:

[ ] This pull-request is submitted against the main branch.
[ ] I have merged the latest main branch prior to submission and re-merged as needed after I took any feedback.
[ ] I will squashed my changes into one with a clear description of the change when I complete the PR.

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

...

What to Check
Verify that the following are valid

...

Other Information

@rido-min @veyaddan please review and merge.

I'd like to test the routing scenario first. @vaavva  can you validate before merging?


Navigating the MLOps Landscape

MLOps landscape is confusing: so many tools popping up everyday
This blogpost won't present a solution, rather just a field-guide on what to consider

Talk about the players: cloud providers, end-to-end ML, customized tooling
Adapt your data science process to the tool? or Adopt tools based on your data science process?
Build or buy? the case for building in-house ML tools (lessons learned)

If it's not your main line of business, don't bother (unless you'll spin it off into its own startup).
Exceptions to the rule: you have a dedicated MLE team that will do just that (go-jek feast, Mckinsey QB Kedro)

Last but not the list, standard due diligence applies. If it's open-source, check the commit activity. Check if there's a roadmap

Get info from the following channels:

MLOps community
Scale conference
Talk to some MLEs


Update Dial In number by region settings

Coverage decreased (-0.03%) to 38.141% when pulling dc8880adb4672c0d2e0022a4306c65e133b07766 on zengfenfei:master into 21bf1e31bb8ca1eaeb7b46623e5fa5995f648e32 on ringcentral:master.

Coverage decreased (-0.04%) to 38.131% when pulling 8648a1bb9b1c1414c7cf4f0b4f274ff7d01dd4d4 on zengfenfei:master into 21bf1e31bb8ca1eaeb7b46623e5fa5995f648e32 on ringcentral:master.


chore(main): release uniform 0.8.1

:robot: I have created a release beep boop
0.8.1 (2024-10-04)
Bug Fixes

uniform: try to fix handleSubmit when submit disabled (8ea48fc)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

uniform-v0.8.1
:sunflower:


Shared scope does not check existing translations before loading

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[X ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
With scopeStrategy set to shared, you can load a root translation file such as this:

{
    "rootpageheader": "welcome",
    "subcomponent": {
        "header": "child",
    }
}

In a separate component, setting the scope to subcomponent like this:

        {
            provide: TRANSLOCO_SCOPE,
            useValue: "subcomponent",
        },

Will bypass checking the existing translation, and will instead fire a call to the TranslocoLoader.  With the default httploader from the docs, this fires an unnecessary xhr call.
Expected behavior
Existing translation scopes should be checked before loading more
What is the motivation / use case for changing the behavior?
Scoped translations are useful.  However, when using the key-as-value pattern AND scoped translations, you can no longer have attribute translations like this:

the only option is to use TRANSLOCO_SCOPE, which forces an (unnecessary) load

@ewok-janitor I'm not sure how subcomponent key got to the translation file, can you please explain?
Do you have a key with the same name as the scope?

I have a feeling he's mistaking scope with read.

Yes- the read and scope ideas are muddled somewhat.  They seem like aspects of the the same concept.
The concept is that there is one huge translation tree, broken up by properties.  In the read pattern, all of these properties are available in local memory.  In the scope pattern, it requires an xhr to populate.
Let me try to explain what I am trying to accomplish, and then you can tell me where I have gone wrong :)
I am writing a library (call it the lib library).  This library will ship translations with it.  We are hoping that consumers (consumer) will concatenation our translations with theirs.  This is so that there will only be one initial xhr for translations.  We'll need to namespace the lib strings so that there are no collisions.  I had anticipated using the shared strategy, like in your documentation
The singular file will look something like:

{
    "consumer": {
         "welcome" : "welcome"
     }
    "lib": {
        "library_string": "library_string",
    }
}

All good so far.  I can use the read concept like in your example.
<ng-container *transloco="let t; read: 'lib'">

{{ t.library_string}}

</ng-container>

However, this pattern prevents the use of keys as value.  By that I mean, NOT using aliases for the strings.  You use the actual string.  For example,

For this, the translation file would need to be:

{
    "lib": {
        "This is the actual english string": "This is the actual english string",
    }
}

When you do it this way, you can use an automated extraction process, and create all of the i18n files automatically.  The developers never have to worry about translations files, its all part of the build automation.
So, the real question: How do I use the read concept without specifying the prefix in every string?
I can get very close to this with the use of TRANSLOCO_SCOPE.  This only issue is that a separate scope requires a second call to the loader.
In order to get this effect WITHOUT a second xhr, I can load the full combined translation file in the initial call to the TRANSLOCO_LOADER.  Then, in subsequent calls to my custom TRANSLOCO_LOADER, I just return one part of the copy I already have.  But, this seems like it would be really useful to have in the framework.

Let's make it clear for a second. Lazy loading scopes and the read property are not related.
You can use read without a lazy load. So, for example, if your translation file includes the following keys:
{
  "general": {
     "OK": "",
     "submit": ""
   }
}

You can set the context to be the general object:
<ng-container *transloco="let t; read: 'general'">

{{ t.OK }}

{{ t.submit }}

</ng-container>

When you use the scope feature, Transloco will lazily load it, and merge it under the scope name into the current language.
Back to your example, if your file looks like this:
{
  "lib": {
     "This is the actual english string": "This is the actual english string",
  }
}

It doesn't matter if it's a lazy load scope or a static key, you have to use it following the JS rules:
<ng-container *transloco="let t; read: 'lib'">

{{ t['This is the actual english string'] }}

</ng-container>

Btw, we're working on a CLI tool that will help you with the development process extracts all the keys, and creates the files for you.

gotcha, thanks for the explanation


Minor style tweaks on Main UI

Adds Titles to Module links.
Moar Padding.

I'm fine with it if this looks good to you. :)


Adding branch reporting functions

I'm not married to how I implemented the new interface. Started as quick and dirty but I liked the feature so didn't want to just throw away the work.

New stuff. Seems good.
/lgtm

New stuff. Seems good.
/lgtm

🐚 ./doozer -g openshift-4.1 -i ose-metering-helm clone-sources
2019-05-16 03:33:45,990 INFO Using branch from group.yml: rhaos-4.1-rhel-7
2019-05-16 03:33:46,386 INFO Checking if target branch release-4.1 exists in git@github.com:operator-framework/helm.git
2019-05-16 03:33:46,828 INFO Attempting to checkout source 'git@github.com:operator-framework/helm.git' branch release-4.1 in: /tmp/working/sources/ose-metering-helm_helm
2019-05-16 03:33:55,300 INFO Registering source alias ose-metering-helm_helm: /tmp/working/sources/ose-metering-helm_helm
2019-05-16 03:33:55,310 INFO Checking if target branch release-4.1 exists in git@github.com:openshift/openshift-ansible.git
2019-05-16 03:33:55,960 INFO Attempting to checkout source 'git@github.com:openshift/openshift-ansible.git' branch release-4.1 in: /tmp/working/sources/rpm_openshift-ansible_openshift-ansible
2019-05-16 03:33:57,759 INFO Registering source alias rpm_openshift-ansible_openshift-ansible: /tmp/working/sources/rpm_openshift-ansible_openshift-ansible
2019-05-16 03:33:57,767 INFO Checking if target branch release-4.1 exists in git@github.com:openshift/service-idler.git
2019-05-16 03:33:58,260 INFO Target branch does not exist in git@github.com:openshift/service-idler.git, checking fallback branch master
2019-05-16 03:33:58,261 INFO Checking if target branch master exists in git@github.com:openshift/service-idler.git

uh... why does it keep going?

🐚 ./doozer -g openshift-4.1 -i ose-metering-helm config:scan-sources
2019-05-16 03:36:16,136 INFO Using branch from group.yml: rhaos-4.1-rhel-7
Traceback (most recent call last):
  File "./doozer", line 1853, in <module>
    main()
  File "./doozer", line 1834, in main
    cli(obj={})
  File "/home/lmeyer/.local/lib/python2.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/lmeyer/.local/lib/python2.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/lmeyer/.local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/lmeyer/.local/lib/python2.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/lmeyer/.local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/lmeyer/.local/lib/python2.7/site-packages/click/decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/home/lmeyer/.local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "./doozer", line 404, in config_scan_source_changes
    for meta, matches in runtime.scan_distgit_sources():
  File "/home/lmeyer/go/src/github.com/openshift/doozer/doozerlib/runtime.py", line 957, in scan_distgit_sources
    n_threads=100,
  File "/usr/lib64/python2.7/multiprocessing/pool.py", line 572, in get
    raise self._value
doozerlib.runtime.WrapException:
Original traceback:
Traceback (most recent call last):
  File "/home/lmeyer/go/src/github.com/openshift/doozer/doozerlib/runtime.py", line 78, in wrapper
    return func(*args, **kwargs)
  File "/home/lmeyer/go/src/github.com/openshift/doozer/doozerlib/runtime.py", line 955, in <lambda>
    lambda m: (m[0], m[0].distgit_repo(autoclone=False).matches_source_commit(builds)),
  File "/home/lmeyer/go/src/github.com/openshift/doozer/doozerlib/distgit.py", line 233, in matches_source_commit
    _, commit_hash = self.runtime.detect_remote_source_branch(dict(source_details))
TypeError: detect_remote_source_branch() takes exactly 3 arguments (2 given)

y'know what would really make this great... some unit tests :)

A) no idea why it keeps going... worked for me. Will test some more.
B) I didn't even touch that code. Looking...

If it helps, I rebased on master and I already had a number of repos cloned in my workspace.

Yeah... I'm seeing the issues now with it being updated and I am in fact
finding similar issues now, depending on what's already in my workspace.
Will take more testing. Not really important though... so I'll fix it up as
I have time.
Thanks Luke :)
On Thu, May 16, 2019 at 2:18 PM Luke Meyer<EMAIL_ADDRESS>wrote:

If it helps, I rebased on master and I already had a number of repos
cloned in my workspace.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openshift/doozer/pull/96?email_source=notifications&email_token=AAHJV2SINA57GE3JPZ7SGXTPVWQQXA5CNFSM4HND4V62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVSUWBI#issuecomment-493177605,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHJV2Q24O4D6KFWY7VXCN3PVWQQXANCNFSM4HND4V6Q
.


[FORMATTING] sql-formatter crash on create user with %

Input data
Which SQL and options did you provide as input?
create user u1@% identified by 'passwd';

Expected Output
create user u1 @% identified by 'passwd';

Actual Output

[!CAUTION]
It crash!
Error: Parse error: Unexpected "@% identif" at line 1 column 15.
SQL dialect used: "mysql".
    at mR.createParseError (https://unpkg.com/sql-formatter@latest/dist/sql-formatter.min.js:1:193195)
    at mR.tokenize (https://unpkg.com/sql-formatter@latest/dist/sql-formatter.min.js:1:192981)
    at yR.tokenize (https://unpkg.com/sql-formatter@latest/dist/sql-formatter.min.js:1:194676)
    at RA.tokenize (https://unpkg.com/sql-formatter@latest/dist/sql-formatter.min.js:1:227313)
    at RA.reset (https://unpkg.com/sql-formatter@latest/dist/sql-formatter.min.js:1:199524)
    at T.N.feed (https://unpkg.com/sql-formatter@latest/dist/sql-formatter.min.js:1:4085)
    at Object.parse (https://unpkg.com/sql-formatter@latest/dist/sql-formatter.min.js:1:227468)
    at oA.parse (https://unpkg.com/sql-formatter@latest/dist/sql-formatter.min.js:1:227663)
    at oA.format (https://unpkg.com/sql-formatter@latest/dist/sql-formatter.min.js:1:227197)
    at VA (https://unpkg.com/sql-formatter@latest/dist/sql-formatter.min.js:1:230203)

Usage

How are you calling / using the library? sql-formatter -l mysql file.sql
What SQL language(s) does this apply to? mysql
Which SQL Formatter version are you using? 14.0.0

Thanks for reporting. Looks like another bug in parsing MySQL.
I'm not really sure how to best handle these special characters in user management related statements. I think these characters don't have any other meaning in different contexts. Possibly could treat @ as an operator.

Oops! My bad. And thank you!


Embedded xcodeprojs in workspace #no-public-changes

First step for #479

No code updates
Adding IBAnimatable.xcworkspace
Adding two new xcodeproj:

IBAnimatable.xcodeproj (framework)
IBAnimatableApp.xcodeproj (demo / playground). In a long term process, I'm even wondering if we shouldn't make two demos: one for the full demo, and a second one for playgrounds

Reorganising sources: map Xcode groups with finder (I may have broken a few groups orders in Xcode, I will reorganise them if the PR is approved)
Updating paths for: travis, danger, cocoapods
Move all the framework sources in a directory Sources

One question: I know that, from the beginning, we separate storyboards and codes in the demo app. I'm personally a huge fan of this pattern because I find it hard to navigate, and find back the related files. What do you guys prefers about this? If you are ok to group them, I can update the PR.
I'm targeting master because it doesn't introduce any breaking changes, only internal restructuration, but it will be very hard to rebase any PRs due to these changes 😬

          1 Warning

:warning:
Big PR

  Generated by :no_entry_sign: Danger

@tbaranes you mean group each storyboard file with its respective view controller?
I do it both ways depending on the project. I agree that grouping them together would significantly help when working with the demo app. I would vote yes for this change 👍

That what I mean!

I just reordered xcodeproj groups (same as master), I think it's ready to go. My question about the storyboards organisation still here, but we can do it in a second a PR. If travis passes, and everything is ok with it, it's ok to go 💥

One question: I know that, from the beginning, we separate storyboards and codes in the demo app. I'm personally a huge fan of this pattern because I find it hard to navigate, and find back the related files. What do you guys prefers about this? If you are ok to group them, I can update the PR.

I prefer to group them by features. I don't know why I did it that way (separating storyboards and codes)


Fix: Do not return anything from constructor

This PR

[x] stops attempting to return a value from a constructor

Thank you, @iansltx!


Adds privacy page

Jira link
https://transformuk.atlassian.net/browse/HOTT-764
What?
I have added/removed/altered:

[x] Privacy page. This page is a direct copy of the privacy page here: https://www.gov.uk/help/privacy-notice

Why?
I am doing this because:

This is a better placeholder than what we have currently and will be updated later/railsified


moving progress animator into legacy view

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#5015  👈
#5011
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @malmstein and the rest of your teammates on  Graphite


node0.8.0 amd64

when calling profiler.takeSnapshot I get an error
node: symbol lookup error: xxx/node_modules/v8-profiler/build/Release/profiler.node: undefined symbol: _ZNK2v813HeapGraphNode17GetRetainersCountEv
tried both master and 3.6.2 branches

Same error on latest node-inspector and v8-profiler with node v0.11.14


Firewall templates: open edit box immediately after creation

User should edit rules directly after template has been created. Avoid disconnected actions (create + edit) and remove tags.

To be done in #4


Typescript build errors when using in app with React Router 6

I've migrated an app to React 18 / Router v6 and vite build results in these errors:
node_modules/@types/react-router-dom/index.d.ts:13:10 - error TS2305: Module '"react-router"' has no exported member 'match'.

13 import { match } from 'react-router';
            ~~~~~

node_modules/@types/react-router-dom/index.d.ts:19:5 - error TS2305: Module '"react-router"' has no exported member 'PromptProps'.

19     PromptProps,
       ~~~~~~~~~~~

node_modules/@types/react-router-dom/index.d.ts:20:5 - error TS2305: Module '"react-router"' has no exported member 'Prompt'.

20     Prompt,
       ~~~~~~

node_modules/@types/react-router-dom/index.d.ts:23:5 - error TS2305: Module '"react-router"' has no exported member 'RedirectProps'.

23     RedirectProps,
       ~~~~~~~~~~~~~

node_modules/@types/react-router-dom/index.d.ts:24:5 - error TS2724: '"react-router"' has no exported member named 'Redirect'. Did you mean 'redirect'?

24     Redirect,
       ~~~~~~~~

node_modules/@types/react-router-dom/index.d.ts:25:5 - error TS2305: Module '"react-router"' has no exported member 'RouteChildrenProps'.

25     RouteChildrenProps,
       ~~~~~~~~~~~~~~~~~~

node_modules/@types/react-router-dom/index.d.ts:26:5 - error TS2305: Module '"react-router"' has no exported member 'RouteComponentProps'.

26     RouteComponentProps,
       ~~~~~~~~~~~~~~~~~~~

node_modules/@types/react-router-dom/index.d.ts:31:5 - error TS2305: Module '"react-router"' has no exported member 'StaticRouterProps'.

31     StaticRouterProps,
       ~~~~~~~~~~~~~~~~~

node_modules/@types/react-router-dom/index.d.ts:32:5 - error TS2305: Module '"react-router"' has no exported member 'StaticRouter'.

32     StaticRouter,
       ~~~~~~~~~~~~

node_modules/@types/react-router-dom/index.d.ts:33:5 - error TS2305: Module '"react-router"' has no exported member 'SwitchProps'.

33     SwitchProps,
       ~~~~~~~~~~~

node_modules/@types/react-router-dom/index.d.ts:34:5 - error TS2305: Module '"react-router"' has no exported member 'Switch'.

34     Switch,
       ~~~~~~

node_modules/@types/react-router-dom/index.d.ts:35:5 - error TS2305: Module '"react-router"' has no exported member 'match'.

35     match,
       ~~~~~

node_modules/@types/react-router-dom/index.d.ts:37:5 - error TS2305: Module '"react-router"' has no exported member 'withRouter'.

37     withRouter,
       ~~~~~~~~~~

node_modules/@types/react-router-dom/index.d.ts:38:5 - error TS2305: Module '"react-router"' has no exported member 'RouterChildContext'.

38     RouterChildContext,
       ~~~~~~~~~~~~~~~~~~

node_modules/@types/react-router-dom/index.d.ts:39:5 - error TS2305: Module '"react-router"' has no exported member 'useHistory'.

39     useHistory,
       ~~~~~~~~~~

node_modules/@types/react-router-dom/index.d.ts:42:5 - error TS2724: '"react-router"' has no exported member named 'useRouteMatch'. Did you mean 'RouteMatch'?

42     useRouteMatch,
       ~~~~~~~~~~~~~

node_modules/@types/react-router-hash-link/index.d.ts:19:18 - error TS2320: Interface 'NavHashLinkProps' cannot simultaneously extend types 'NavLinkProps' and 'Omit<HashLinkProps, "style" | "className">'.
  Named property 'children' of types 'NavLinkProps' and 'Omit<HashLinkProps, "style" | "className">' are not identical.

19 export interface NavHashLinkProps extends NavLinkProps, Omit<HashLinkProps, 'className' | 'style'> { }

This seems to be caused by this dependency in yarn.lock:
"<EMAIL_ADDRESS>  version "5.3.3"
  resolved<EMAIL_ADDRESS>  integrity sha512-kpqnYK4wcdm5UaWI3fLcELopqLrHgLqNsdpHauzlQktfkHL3npOSwtj1Uz9oKBAzs7lFtVkV8j83voAz2D8fhw==
  dependencies:
    "@types/history" "^4.7.11"
    "@types/react" "*"
    "@types/react-router" "*"

"<EMAIL_ADDRESS>  version "2.4.6"
  resolved<EMAIL_ADDRESS>  integrity sha512-JOV4Q1N60tJJUPisS/u1jiXn8c4jX7ThQf8XavzZYIWOIv0RP17nbyI9YgEZh1r3APXpP9ZkU1ytrlv+1+8jcw==
  dependencies:
    "@types/history" "^4.7.11"
    "@types/react" "*"
    "@types/react-router-dom" "^5.3.0"

Is there something I can do about it?

Adding this to tsconfig.json fixed it - maybe there are better solutions?
{
  "compilerOptions": {
    "skipLibCheck": true
  }
}


Merge prTesting_201905281109 branch to master branch

Docs Build status updates of commit 3269819:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

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.


[8.x] Add new test case of withCount

withCount method is not only compute count of relate rows , It can compute sum or avg of relate fields

why? why closed


My OSX GUI seems to only partially function, while the CLI doom works as normal

What did you expect to happen?
When I open EMACS in GUI mode on OSX, I expect DOOM EMACS to open as normal.
What actually happened?
When I open DOOM EMACS on the GUI, the theme doesn't load, and the leader key doesn't function at all.

Describe your attempts to resolve the issue
I note that, when I open DOOM EMACS from the command, by using doom run it works fine and is fully functional. I also used the Doom sandbox from the GUI to load the vanilla doom EMACS, so my own configuration wouldn't be a factor. Nevertheless, it appears not to make a difference. The colors are still messed up and the leader key still doesn't work. I also tried doom doctor which says nothing is wrong, doom sync, doom build also complete without errors.
Steps to reproduce
Open DOOM EMACS on OSX in GUI mode. (Use the OSX launcher to open the GUI version.)
System Information
https://pastebin.com/s4TMxtsR

:warning: This issue was closed and marked for deletion because it does not meet the minimum requirements for a bug report. Reasons why this may have happened are listed below; I've checked off the ones that apply to your issue:

[X] Could not be reproduced with vanilla Doom in any of our test environments.
[ ] Vital information in your issue is inaccessible, missing, or insufficient.

[ ] Backtraces for errors.
[ ] M-x doom/info.
[ ] Insufficient explanation of the issue.
[ ] Steps to reproduce the issue.

[X] Issue cannot be acted on or investigated further because:

[X] Not enough information to act on.
[ ] It's too vague or open ended.
[ ] It's unclear what you are trying to say.
[ ] User's attitude is not constructive.

[ ] Issue is a support request or question. (belongs on Discord or Discourse not our issue tracker)
[X] Issue is unlikely to be a Doom issue. More plausible explanations: misconfiguration, hardware, the OS, shell environment, a plugin, a corrupt Emacs installation, etc.

This ruling is not absolute and can be reversed. Feel free to follow up with additional information or edit out the error in your earlier posts. Please consult our How to Debug Issues guide before you do (note: our discourse currently requires an account).
If you don't know where to go from here, I recommend our Discord or Discourse. Perhaps someone in our community has experienced what you have.
Otherwise, the timer will eventually elapse at this issue will be automatically deleted.
Sorry for the trouble and thank you for using Doom!

I apologize if this is inconvenient or you feel lost, but it takes a lot of time and work to support this project on my own, so our issue tracker is restricted to issues that are actionable, reproducible, or can be investigated in a reasonable amount of time. Issues that don't meet these requirements should be raised on [Discord](https://doomemacs.org/discord) or [Discourse](https://discourse.doomemacs.org) instead, and escalated to Github only once a cause has been identified and your private configuration has been ruled out.


SP5: render Legend into Image

This is a first step to allow rendering legend alone as Image , which can be converted into many type of picture formats (BMP, JPEG, etc.).
This should fix  #2934.

fix initialisation bug in PixelRects
add GetLegendImage() into Plot

@swharden tell me what you are thinking about this.

Hi @KroMignon, thank you for working on #2934! At first glance this looks fantastic
I see this is still "WIP" so let me know when you're ready to merge and I'll review it a little closer and merge it in good time
My only suggestion is to add XML docs to GetImage() to clarify what it does. Perhaps "Return the content of the legend as a standalone image" or something like that

Hello @swharden, sorry for the long delay since last update, I was sick with COVID 😷.
I made some changes to fix shadow rendering, but I am not sure if shadow is required in this case?
I also add optional parameters to limit height and/or width of the legend.
I would also propose to change the Image class to allow access to SKImage member to show it on screen.
Or perhaps create a shadow copy of it is required, I am not really aware about the good practices with Skia.

Hello @swharden, what do you think about this implementation?
Converting Legend into SKImage has for me the advantage that the user could convert it in any kind of picture format with help of the ScottPlot.Image class or display it on screen quickly with help of package SkiaImageView

I don't think it's ideal that Render and GetImage are near duplicates of each other.
Instead, I think both GetImage and Render should be implemented in terms of a private function which just draws the legend onto a given canvas at a given point. Then Render simply calls this on the canvas it's given once it has calculated where it should be placed based on its alignment, padding, etc. And GetImage simply creates a canvas, calls this private function, and returns the resulting image. Both will require sizing calculations, which probably also should be refactored into a private function.
As for SKImage vs ScottPlot.Image, I'm a little on the fence. If the user wants to modify the image or composite it onto their plottables, I don't think ScottPlot.Image is fit for purpose. But if they want to save the image to disk, I don't believe SKImage is fit for purpose. It is tempting to simply give them an SKImage and document that ScottPlot.Image provides facilities to save that to disk, but I'm unsure if we want to tie our API to Skia so strongly.

@bclehmann many thanks for your feedback.

Instead, I think both GetImage and Render should be implemented in terms of a private function which just draws the legend onto a given canvas at a given point. Then Render simply calls this on the canvas it's given once it has calculated where it should be placed based on its alignment, padding, etc. And GetImage simply creates a canvas, calls this private function, and returns the resulting image. Both will require sizing calculations, which probably also should be refactored into a private function.

I generally try to avoid code duplication, but sometimes it is more effective. I will check your suggestion more deeply, perhaps I find a way which is not "overengineered" / overcomplicated.

It is tempting to simply give them an SKImage and document that ScottPlot.Image provides facilities to save that to disk, but I'm unsure if we want to tie our API to Skia so strongly.

I do not understand the problem here, AFAIK ScottPlot 5 backend is Skia and not multi-backend targeted, or did I misunderstood something?

@swharden this PR comes with the following changes!

legend can be rendered into SKImage
legend image size can be constrained
fix legend item selection to not add hidden plotables
fix initialization bug in PixelRects

Hi @KroMignon, thanks for your extensive work on this! Thanks @bclehmann too for your input along the way.
I reworked the code a bit and now this is possible:
Plot plt = new();
var sig1 = plt.Add.Signal(Generate.Sin());
sig1.Label = "Sine";
plt.Legend.IsVisible = true;

Image img = plt.GetLegendImage();
img.Save("demo.png");

SvgImage svg = plt.GetLegendSvg();
svg.Save("demo.svg");

I created a SvgImage class that creates and exposes a SVG-backed Canvas that can get passed into the Legend for rendering, then it can get saved by the user at any time. Although the API original to this PR had users pass a filename into SaveLegendAsSvg(), I think this new design is a little more consistent internally. It also prevents exposing SkiaSharp types to the user.
The basic functionality works now so I'm going to merge this, but there is definitely room for improvement. SkImage does not implement IDisposable right now. Also code throughout the Legend class could be refactored to reduce duplicate processes like item measurement, paint creation, etc. It's a pretty difficult class to work in because it's so complicated, so there's a lot of room for improvement.
I don't want refining the legend to block development of the rest of ScottPlot 5 so I think this is fine to merge for now, but I welcome refinements along the way and will probably perform a deep refactor of the Legend class at some point.
Thanks again, I'm glad to have this in ScottPlot 5! 🚀

@swharden @bclehmann
I was not 100% happy with actual code, but had no time to reorganize/rewrite it.
@bclehmann gives interesting ideas, perhaps I can find time during the next days.
Thanks for merging it into code base.


Output not showing

For #51, the outputs do not display.

THanks, can you tell me where you are looking? I checked the first one (a limit) and it is showing up here: https://jverzani.github.io/CalculusWithJuliaNotes.jl/limits/limits.html#question-16

I'm looking at #51 the differential equations suite and getting:
LoadError: ArgumentError: Package OrdinaryDiffEq not found in current path.

Run import Pkg; Pkg.add("OrdinaryDiffEq") to install the
OrdinaryDiffEq package.

On Fri, Jan 5, 2024 at 2:08 PM john verzani @.***>
wrote:

THanks, can you tell me where you are looking? I checked the first one (a
limit) and it is showing up here:
https://jverzani.github.io/CalculusWithJuliaNotes.jl/limits/limits.html#question-16
—
Reply to this email directly, view it on GitHub
https://github.com/jverzani/CalculusWithJuliaNotes.jl/issues/120#issuecomment-1879138630,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASP6TYOIZ3REUU6RTXXPYQ3YNBFRNAVCNFSM6AAAAABBO2SL7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZGEZTQNRTGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ahh, thanks! I'll have a look.

Many thanks! Should be fixed now: https://jverzani.github.io/CalculusWithJuliaNotes.jl/ODEs/differential_equations.html


manifest is not using most recent alphaess libarary

After you explained the whole PyPi thing and that this addon has to rely on a lib to get the data I was looking around a bit and found your other repo which has a version of 0.0.3 since February.
Yet the manifest of this addon states
"requirements": ["alphaess==0.0.2"],
checking the container I can see that there realy is 0.0.2 (instead of 0.0.3) installed. Is there a reason for this are should I change the value in the manifest to 0.0.3?

0.03 is the version I’m working on now (very slowly) to try to get this all submitted into the mainline home assistant.  There’s new code that I’m writing for that which needs the changes to the library.  The code in this custom component isn’t using that newer library so it should stay at 0.02.
Charles Gillanders | Personal Account
<EMAIL_ADDRESS>Please consider the environment before printing this e-mail
On 23 Apr 2022, at 11:34, Tupsi @.***> wrote:

After you explained the whole PyPi thing and that this addon has to rely on a lib to get the data I was looking around a bit and found your other repo which has a version of 0.0.3 since February.
Yet the manifest of this addon states
"requirements": ["alphaess==0.0.2"],
checking the container I can see that there realy is 0.0.2 (instead of 0.0.3) installed. Is there a reason for this are should I change the value in the manifest to 0.0.3?
—
Reply to this email directly, view it on GitHubhttps://github.com/CharlesGillanders/homeassistant-alphaESS/issues/16, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMWX2MD73ID7PNHQWIWHRB3VGPG3VANCNFSM5UEQLISA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

ah thanks for explaining!


Unable to use the provider to manage dev instances of Clickhouse after upgrading to provider version 1.2.4, num_replicas not supported on dev instances

After upgrading to provider version 1.2.4, trying to apply terraform fails with the following error:
Error: Error Updating ClickHouse Service Scaling
with clickhouse_service.events
on clickhouse.tf line 42, in resource "clickhouse_service" "events":
resource "clickhouse_service" "events" {
Could not update service scaling, unexpected error: status: 400, body: {"requestId":"2b03ac68-e70b-4eb7-a0c5-4e6c54476de8","error":"BAD_REQUEST: request body.numReplicas: Number of replicas must be greater than 3 <number:0>","status":400}

As documented in the provider, num_replicas is only support on production instances. However, even when omitting the num_replicas configuration altogether, or passing null as the value, the provider still attempts to reconcile it.

Hi @jamiezieziula
Thanks for the report! We will take a look and keep you updated 👌🏻

hello @jamiezieziula and thanks for your report.
I tried replicating this by creating a new development tier service and I could not.
I assume the service you're witnessing this error on existed before 1.2.4 and the issue started only after the upgrade.
I also tried creating a dev service using version 1.2.3 and then upgrading to 1.2.4, still with no error.
Would it be possible to share the .tfstate file's content? we only need the num_replicas field of the service resource. Example:
"resources": [
    {
      "mode": "managed",
      "type": "clickhouse_service",
      "name": "service",
      "provider": "provider[\"registry.terraform.io/clickhouse/clickhouse\"]",
      "instances": [
        {
          "schema_version": 0,
          "attributes": {
            ...
            "num_replicas": null,
           ...

I'm also getting this error

I'm also getting this error

same question for you then, can you please provide the details I requested above?

num_replicas is null because it complains that you cannot provide it for development.

@whites11 - state file below:
    {
      "mode": "managed",
      "type": "clickhouse_service",
      "name": "events",
      "provider": "provider[\"registry.terraform.io/clickhouse/clickhouse\"]",
      "instances": [
        {
          "schema_version": 0,
          "attributes": {
           ...
            "name": "events-dev",
            "num_replicas": null,
            "tier": "development"
          },

As @mjroeleveld mentioned, it fails whether num_replicas is specified or not. We upgraded from provider version 0.0.4 to the latest 1.2.4. FWIW, the production services we mange via terraform (unsurprisingly) apply with no issue.

Hello, we pushed a fix to address this issue: https://github.com/ClickHouse/terraform-provider-clickhouse/releases/tag/v1.2.5 Please try this out and re-open if you have any issues. Thank you!


Couldnt read from all iothub partitions

Hey Varun,
I followed exact steps but there was one issue, i have 2 partitions on my iothub and source connector reads from just 1 partition not from other one.
I have tried with 1 and 2 partitions in kafka topic.
Please help sort it out.
Thanks

Hi,
In connect-iothub-source.properties, there are 2 properties related to this, can you please check if you have set them properly -
IotHub.Partitions=2
tasks.max=2
(the second is not required but recommended).
This is assuming you are running the connector in Standalone mode. In case you are using distributed mode, then you will have to make sure the same 2 properties are being set properly in the json payload when you make the rest api call to start the connector.
Thanks,
Varun

Maximum number of tasks that should be created for this connector.
More tasks means more parallelism. For optimal performance,
this should equal the number of Azure IoT Hub partitions
tasks.max=2
"IoT Hub" >> your hub >> "Endpoints" >> "Events" >> "Partitions"
IotHub.Partitions=2
The time from which to start retrieving messages from IoTHub.
The value should be in UTC and in the format yyyy-mm-ddThh:mm:ssZ
This setting is mutually exclusive with IotHub.Offsets.
If StartTime is provided, the Offsets value will be ignored.
IotHub.StartTime=2017-02-03T00:00:00Z
The offsets for each IoTHub partition from which to start retrieving messages
from IoTHub, as a comma separated string. For example, for 4 partitions,
the value would be something like "abc,lmn,pqr,xyz".
This setting is mutually exclusive with IotHub.StartTime.
If StartTime is provided, the Offsets value will be ignored.
IotHub.Offsets=
The size of each batch for retrieving entries from IoTHub. The max supported value is 999.
BatchSize=10
Other settings are related to iot hub.
i followed the same as suggested, and yes its a stand alone setup and i tries with multibroker (kafka) on same machine.
still its not clear why its not picking up another partition.
Any help if i am setting up kafka topic wrong to do so?
Thanks

A new change has been checked in that displays the partitions of the EventHub that the connector is reading from. I tested it and confirmed that it is indeed reading from all partitions of the test EventHub.
I will close this issue. If you are able to repro it, please re-open the issue and provide more details.


User Member List Issue

I do not know if it's just a better discord issue, but the member list is now on the side of the chatbox rather than within the container made for the theme. It was fine yesterday, but when I opened Discord - it appeared like this; I even tried repairing Better Discord to see if that was the issue.

can confirm, both member list and dm-profile thingie are broken


Implement Stack Class in Python

Hello, I'm a GSSoC '21 participant. I would like to work on the implementation of Stack Class in Python .
I have read the contribution guidelines as well I request you to kindly assign this issue to me.
@plazzy99 @nakul-19  @todi-2000 @rudrakshi99

I had an experience as I had worked on projects. I want to work on this issue. Please assign to me.

Duplicate of #516

Thank You for your response 😑


Images get automatically resized to 512x512 with img2img after updating

After the last update, whenever i select a 512x768 image in Web UI, it automatically resizes to 512x512
loaded input image of size 512x768 from ./img2img-tmp.png
resized input image to size 512x512
Running DDIM Sampling with 56 timesteps

Can confirm that images get resized even without --web server

The interaction between the dimensions of the init image and the width and height arguments changed with the most recent update. The previous behaviour was to ignore the passed image and height completely and to use whatever dimensions the image had (scaled to mutiples of 64). People were complaining that this isn't the way the other forks do it, and so now the init image is rescaled (with its aspect ratio maintained) to whatever width and height are specified. So you can get back to the original behavior by passing -W and -H with the dimensions of the image. The advantage of this is that you can take an arbitrary 2720x1532 JPEG photo and use it as an init image without fussing with it in advance.
But I see your problem. There are a couple of ways to fix this:

A command-line argument that will force the width and height to be taken from the init image, restoring the original behavior.
If you provide just width or height, the other dimension will be chosen so that it preserves the aspect ratio of the init image.

I think (1) is the less confusing alternative.

img2img resizing is still not working great even if you enter -W -H
When using the webUI, I used an image that was -W512 -H704. I entered those dimensions in the fields. My image was resized to 512 X 512 with black bars on the sides to maintain the aspect ratio, essentially making it 512 X  372 before upscaling.  I don't want lower resolution.

When I use the command line img2img and do the exact same thing with the same image, it instead resizes the image to 512 x 512 breaking the aspect ratio and putting on a black background that is the actual dimensions I input in the command line

To me it just made way more sense to just output the image exactly as it was. 99% of the time, that's what people want. I have to resize and downscale my images anyways to use with img2img to keep memory usage down.

@lstein like @cvar66 mentioned, i have the same problems.
If using the Web UI you can select any W and H in the fields but they don't work, they are bypassed. 512x512 is forced.
If using the console command line (without --web) you can indeed set -W and -H, but the image inside get resized anyway to 512x512 and blackbars added to fill the rest of 512x768, it's forced.
As you can see, the two black bars should not be there.

Personally I am used to the workflow of creating an initial image and resizing it manually. I think a boolean option for "A command-line argument that will force the width and height to be taken from the init image, restoring the original behavior" works best here.
Other Idea would be W and H = None by default, 512 if None in txt2img, InitImgSizeW/H if None in img2img

This was fixed about a week ago. The init image's dimensions are always used for the generated image unless --fit is provided on dream command line. Closing this issue as resolved.


ATS 7.1.3  crash   markParentDown

#0  0x00000000004e6186 in ParentRoundRobin::markParentDown(ParentResult*, unsigned int, unsigned int) ()
#1  0x00000000005b46e2 in HttpTransact::PPDNSLookup(HttpTransact::State*) ()
#2  0x000000000057fe26 in HttpSM::call_transact_and_set_next_state(void ()(HttpTransact::State)) ()
#3  0x00000000005809aa in HttpSM::do_hostdb_lookup() ()
#4  0x0000000000592b64 in HttpSM::set_next_state() ()
#5  0x000000000057fe02 in HttpSM::call_transact_and_set_next_state(void ()(HttpTransact::State)) ()
#6  0x0000000000591f0a in HttpSM::handle_api_return() ()
#7  0x000000000058a25e in HttpSM::state_api_callout(int, void*) ()
#8  0x0000000000591805 in HttpSM::state_api_callback(int, void*) ()
#9  0x00000000004db3b9 in TSHttpTxnReenable ()

@jrushford Can you take a look at this please?

@zwoop looking

@GarfieldLinux so the crash occurred because the parent address could not be resolved.  Do you have the core dump?  Can you share the values of the arguments in frame #1 to markParentDown() ie, &s->parent_result (looking to see if this was NULL) and the values of s->txn_conf-> parent_fail_threshold and parent_retry_time.
Also, can you share any other info and details you might have about the crash, parent.config line, etc..

@jrushford
records.config
CONFIG proxy.config.http.parent_proxy.retry_time INT 60
CONFIG proxy.config.http.parent_proxy.fail_threshold INT 10
gdb info(need Compile with -g, so just have a look at this):
(gdb) f 0
#0  0x00000000004e6186 in ParentRoundRobin::markParentDown(ParentResult*, unsigned int, unsigned int) ()
(gdb) info f
Stack level 0, frame at 0x2b27f652c520:
rip = 0x4e6186 in ParentRoundRobin::markParentDown(ParentResult*, unsigned int, unsigned int); saved rip 0x5b46e2
called by frame at 0x2b27f652c5a0
Arglist at 0x2b27f652c4b8, args:
Locals at 0x2b27f652c4b8, Previous frame's sp is 0x2b27f652c520
Saved registers:
rbx at 0x2b27f652c4f0, rbp at 0x2b27f652c4f8, r12 at 0x2b27f652c500, r13 at 0x2b27f652c508, r14 at 0x2b27f652c510, rip at 0x2b27f652c518
(gdb) info args
No symbol table info available.
(gdb) info locals
No symbol table info available.
(gdb)

@GarfieldLinux yeah, i can't tell was hoping to see what ParentResult was and the two unsigned int's.  I'll try and duplicate this.  It's triggered when the selected parent is un-resolvable.

If this is still an issue please reopen.


Add ability to pass nil to Config and get defaults

This is useful when passing in arguments from plug, and nesting the
scrivener params in something like "page" and the params happen to not be passed
Example:
def index(conn, _params) do
  page =
    User
    |> where([p], p.age > 30)
    |> Repo.paginate(conn.query_params["page"] || %{})
  #...
end

vs.
def index(conn, _params) do
  page =
    User
    |> where([p], p.age > 30)
    |> Repo.paginate(conn.query_params["page"])
  #...
end

I also noticed that the test expectations were the default scrivener provides, upon changing
them I noticed that the tests were failing. Tests were specifying "page_number" and the code as looking for "page", so I changed the code to look for page_number and the tests to use non-default values so you can actually see that they are being set

@coryodaniel Thanks for the PR. I actually fixed those tests (they were incorrect). They should be specifying page rather than page_number. Do you mind rebasing this on top of the new master?

Yeah no prob. What do you think about extending a configuration option for setting the page and page_size key names?
When using JSONAPI / JaSerializer the query params in the URLs look a little awkward:
?page[page]=10&page[page_size]=25
If you dig it customizing that I'll put it in a sep PR.

@coryodaniel I'd be open to seeing a PR around configurable names, but would prefer it to be separate from this one. Thanks for the ideas!


Enabling skipped modes to LL2 tests for AIX and Linux Platform

github.ibm.com/runtimes/backlog/issues/1107 - with ref. to the backlog issue made changes to verify that skipped tests are executed
The Skipped modes that is enabled are
109-CS,110-CS, 150-CS,159-CS,301,350,351,501,503,504,506,507,550,551,555,556,557,601,609,610,615,688.
hyc-runtimes-jenkins.swg-devops.com/job/Grinder_CR/6015/ - aix_ppc
hyc-runtimes-jenkins.swg-devops.com/job/Grinder_CR/6009/ - aix_ppc-64
hyc-runtimes-jenkins.swg-devops.com/job/Grinder_CR/6007/ - linux_x86-64
hyc-runtimes-jenkins.swg-devops.com/job/Grinder_CR/6008/ - linux_ppc
hyc-runtimes-jenkins.swg-devops.com/job/Grinder_CR/6010/ - linux_ppc-64
hyc-runtimes-jenkins.swg-devops.com/job/Grinder_CR/6011/ - linux_ppc-64_le
hyc-runtimes-jenkins.swg-devops.com/job/Grinder_CR/6013/ - s390x_linux
hyc-runtimes-jenkins.swg-devops.com/job/Grinder_CR/6043 - linux_x86
hyc-runtimes-jenkins.swg-devops.com/job/Grinder_CR/5079 - s390_linux

@llxia Can you review this Pull request to merge the changes?

If we enable for mixed, then either nocmprssptrs or cmprssptrs should be also enabled.

@renfeiw could you also review this PR?

@Edith-Mercy Could you please address this comment:

If we enable for mixed, then either nocmprssptrs or cmprssptrs should be also enabled.

@llxia For nocmprssptrs or cmprssptrs  enabling the modes in ottawa.csv is the first step as per my understanding, however, I'm not sure how to test these on jenkins runs (like what options or PLATFORM need to be specified to start the runs on these modes), Can you help me on the same..

@llxia  PRs to enable modes for  https://github.com/adoptium/TKG/pull/582 and https://github.com/adoptium/TKG/pull/527 are merged into this PR

@Edith-Mercy Thanks for working on this. But you closed this PR  and deleted the LL2_skipped_modes branch 2 weeks ago, please open a new one.

@llxia https://github.com/adoptium/TKG/pull/650 created new pull request


issue to connect

when I try to connect the integration, with kia ou Hyundai canada (I have both car) I have this error

@olivierjag2 thanks for filing this ticket about the trouble you're having.  It makes sense the kia and hyundai errors are the same they are nearly identical code within the CA region.
can you try it again after enabling debug logging for this integration
To enable logging, update your configuration.yaml like this, we can get more information in Configuration -> Logs page
logger:
  default: warning
  logs:
    custom_components.ha_kia_hyundai: debug
    kia_hyundai_api: debug

then attach/paste here the logs generated during the configuration flow. be_sure to remove the credentials from the logs you share
I am US/Kia so I haven't been able to test those code paths yet; but it is likely a simple typo I can fix within a few hours with the logs.

@olivierjag2 Please try again with the latest code in master.  I was able to reproduce the error you reported even with my invalid credentials, so I've fixed a couple syntax issues; hopefully that'll be all of them.

hello, same error after a modify file
here the log:
Logger: aiohttp.server
Source: custom_components/ha_kia_hyundai/api_cloud_ca.py:62
Integration: Kia/Hyundai (documentation, issues)
First occurred: 15:56:18 (1 occurrences)
Last logged: 15:56:18
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 181, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 157, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 252, in async_configure
result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 325, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/ha_kia_hyundai/config_flow.py", line 140, in async_step_auth
self.data[CONF_VEHICLES] = await api_cloud.get_vehicles()
File "/config/custom_components/ha_kia_hyundai/api_cloud_ca.py", line 32, in request_with_active_session_wrapper
return await func(*args, **kwargs)
File "/config/custom_components/ha_kia_hyundai/api_cloud_ca.py", line 62, in get_vehicles
api_vehicles = await self.api.get_vehicles(access_token=access_token)
File "/usr/local/lib/python3.9/site-packages/kia_hyundai_api/ca.py", line 146, in get_vehicles
await self._post_request_with_logging_and_errors_raised(
File "/usr/local/lib/python3.9/site-packages/kia_hyundai_api/ca.py", line 33, in request_with_logging_wrapper
response = await func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/kia_hyundai_api/ca.py", line 119, in _post_request_with_logging_and_errors_raised
pin = json_body.get("pin")
AttributeError: 'NoneType' object has no attribute 'get'

thanks for providing the logs, that error was in the api package this integration uses, I've fixed it there and updated master to use the fixed version of the package, please pull down the change to manifest.json from master and try it again.

Not sure if this should go here but I have a similar issue only in the US - I am unable to setup the vehicle - I get 'Unknown Error Occurred" I have snipped what I found in the logs.
Thanks
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 181, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 157, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 252, in async_configure
result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 325, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/ha_kia_hyundai/config_flow.py", line 144, in async_step_auth
await api_cloud.cleanup()
UnboundLocalError: local variable 'api_cloud' referenced before assignment
2021-12-24 22:30:21 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/config/custom_components/ha_kia_hyundai/config_flow.py", line 132, in async_step_auth
api_cloud = api_cloud_class(
TypeError: init() missing 1 required positional argument: 'pin'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 181, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 157, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 252, in async_configure
result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 325, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/ha_kia_hyundai/config_flow.py", line 144, in async_step_auth
await api_cloud.cleanup()
UnboundLocalError: local variable 'api_cloud' referenced before assignment

@rforbessr thanks for posting your logs, if you pull down the latest code those two errors from your logs should be resolved.
if your interested in the code changes generated from your logs:

the first error is the one I fixed yesterday
the second error was caused by the first but I missed it when I fixed the other error so now I've improved the code flow during an unexpected error

now I can connect but I can not choose the car

@olivierjag2 thank you for your patience, I pushed a fix that should now populate the list of vehicles.
I needed a sample response to get that fix working but was able to find one in the api package's documentation.  If you run into another error your debug logs could be very helpful.

@olivierjag2 thank you for your patience, I pushed a fix that should now populate the list of vehicles.
I needed a sample response to get that fix working but was able to find one in the api package's documentation.  If you run into another error your debug logs could be very helpful.

ok thx
now this error message

Logger: custom_components.ha_kia_hyundai.vehicle
Source: custom_components/ha_kia_hyundai/util.py:56
Integration: Kia/Hyundai (documentation, issues)
First occurred: 07:28:48 (2 occurrences)
Last logged: 07:29:03
Unexpected error fetching Vehicle xxxxxxxxxxxx data: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/config/custom_components/ha_kia_hyundai/util.py", line 53, in safely_get_json_value
value = value[x]
TypeError: 'NoneType' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/config/custom_components/ha_kia_hyundai/vehicle.py", line 112, in async_update_data
await self.api_cloud.update(vehicle=self)
File "/config/custom_components/ha_kia_hyundai/api_cloud_ca.py", line 32, in request_with_active_session_wrapper
return await func(*args, **kwargs)
File "/config/custom_components/ha_kia_hyundai/api_cloud_ca.py", line 180, in update
vehicle.ev_remaining_range_value = safely_get_json_value(
File "/config/custom_components/ha_kia_hyundai/util.py", line 56, in safely_get_json_value
value = value[int(x)]
TypeError: 'NoneType' object is not subscriptable

@olivierjag2 thanks for continuing to debug this with me, I pushed a fix that should resolve that to master.
fyi: that error was from the integration attempting to populate sensors that only exist on electric vehicles but shouldn't show up for your vehicle.

I installed your repo today (presumably has your latest fix) and I am not getting back a list of vehicles to select.  My sample response is as follows:
2021-12-28 11:25:36 DEBUG (MainThread) [kia_hyundai_api.us_kia] response text:{"status":{"statusCode":0,"errorType":0,"errorCode":0,"errorMessage":"Success with response body"},"payload":{"vehicleSummary":[{"vin":"KNDCC3LC7L5428408","vehicleIdentifier":"428408","modelName":"NIRO","modelYear":"2020","nickName":"Niro","generation":2,"extColorCode":"C3U","trim":"TOURING","imagePath":{"imageName":"2020-niro-touring-c3u.png","imagePath":"/content/dam/kia/us/owners/image/vehicle-app/2020/niro/touring/","imageType":"1","imageSize":{"length":"100","width":"100","uom":0}},"enrollmentStatus":0,"fatcAvailable":0,"telematicsUnit":1,"fuelType":3,"colorName":"DEEP CERULEAN","activationType":2,"mileage":"0","dealerCode":"PA004","mobileStore":[{"osType":0,"downloadURL":"https://itunes.apple.com/us/app/kia-access-with-uvo-link/id1280548773?mt=8","image":{"imageName":"iosImage.png","imagePath":"/content/dam/kia/us/owners/image/common/app/","imageType":"2","imageSize":{"length":"100","width":"100","uom":0}}},{"osType":1,"downloadURL":"https://play.google.com/store/apps/details?id=com.myuvo.link","image":{"imageName":"androidImage.png","imagePath":"/content/dam/kia/us/owners/image/common/app/","imageType":"2","imageSize":{"length":"100","width":"100","uom":0}}}],"supportedApp":{"appType":"5","appImage":{"imageName":"uvo-app.png","imagePath":"/content/dam/kia/us/owners/image/common/app/access/","imageType":"2","imageSize":{"length":"100","width":"100","uom":0}}},"licensePlate":"","psi":"","supportAdditionalDriver":0,"customerType":1,"projectCode":"DEHEV","headUnitDesc":"DAV2","provStatus":"4","enrollmentSuppressionType":0,"vehicleKey":"e6177de1-9003-45f9-a91c-66d9a738ca83"}]}}

@jakecolman I pushed a fix that should resolve the issue you had.  In my zeal to support other regions/brands then us kia I introduced a regression.

Thanks.  That was quick!  How quickly does HACS refresh with the newer repo?
On Tue, Dec 28, 2021 at 12:14 PM Brendan Dahl @.***>
wrote:

@jakecolman https://github.com/jakecolman I pushed a fix
https://github.com/dahlb/ha_kia_hyundai/commit/d49319eee969419274477874193ec1d9dbf7528b
that should resolve the issue you had. In my zeal to support other
regions/brands then us kia I introduced a regression.
—
Reply to this email directly, view it on GitHub
https://github.com/dahlb/ha_kia_hyundai/issues/43#issuecomment-1002203499,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADL7RIS4YB7L2T5YNPKE253UTHV6PANCNFSM5KW64YZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@jakecolman I'm not sure about HACS, but I think it directly interacts with github so there shouldn't be a delay unless it's caching, if the update doesn't show up in HACS try restarting HA to clear any caching HACS might be doing.

@dahlb HACS shows 1.3.2 as latest available from 3 days ago. I'm wondering whether you need to "publish" in some way for HACS to see it rather than just commit to master. I could just pull the code but I'd prefer letting hacsy manage it, if I can.

@jakecolman select master as the version in hacs for the latest changes, versions are currently only released on a schedule twice a week.

Yes, that worked. I didn't realize I could select master as the version.
The issues I reported are resolved. Thanks.
Sent from my Android phone. Please excuse my brevity and any typos.
On Tue, Dec 28, 2021, 8:36 PM Brendan Dahl @.***> wrote:

@jakecolman https://github.com/jakecolman select master as the version
in hacs for the latest changes, versions are currently only released on a
schedule twice a week.
[image: Screen Shot 2021-12-28 at 8 35 03 PM]
https://user-images.githubusercontent.com/54117/147619195-a99c49ac-1c98-4021-a71b-e06cfacebeca.png
—
Reply to this email directly, view it on GitHub
https://github.com/dahlb/ha_kia_hyundai/issues/43#issuecomment-1002354483,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADL7RIXRLDBFRFHLI5UR2ODUTJQ3LANCNFSM5KW64YZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@olivierjag2 @rforbessr are either of you still having any trouble installing the integration? otherwise I'm going to close this ticket.

Here is my log - The initial set up works - I can now see the integration but it has an error "Retrying setup: Could not convert string to float: "LO"
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 181, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 157, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 252, in async_configure
result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 325, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/ha_kia_hyundai/config_flow.py", line 138, in async_step_auth
await api_cloud.login()
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_hyundai.py", line 63, in login
self._access_token, _, _ = await self.api.login(
File "/usr/local/lib/python3.9/site-packages/kia_hyundai_api/us_hyundai.py", line 155, in login
await self._post_request_with_logging_and_errors_raised(
File "/usr/local/lib/python3.9/site-packages/kia_hyundai_api/us_hyundai.py", line 27, in request_with_logging_wrapper
response = await func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/kia_hyundai_api/us_hyundai.py", line 123, in _post_request_with_logging_and_errors_raised
return await self.api_session.post(url=url, json=json_body, headers=headers)
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 535, in _request
conn = await self._connector.connect(
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 542, in connect
proto = await self._create_connection(req, traces, timeout)
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 907, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.telematics.hyundaiusa.com:443 ssl:default [Connection reset by peer]
2021-12-30 13:01:02 ERROR (MainThread) [custom_components.ha_kia_hyundai.vehicle] Unexpected error fetching Vehicle MyVINNumberRedacted data: could not convert string to float: 'LO'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/config/custom_components/ha_kia_hyundai/vehicle.py", line 112, in async_update_data
await self.api_cloud.update(vehicle=self)
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_hyundai.py", line 297, in update
vehicle.climate_temperature_value = safely_get_json_value(
File "/config/custom_components/ha_kia_hyundai/util.py", line 61, in safely_get_json_value
value = callable_to_cast(value)
ValueError: could not convert string to float: 'LO'
2021-12-30 13:01:02 WARNING (MainThread) [homeassistant.config_entries] Config entry 'PALISADE (PALISADE)' for ha_kia_hyundai integration not ready yet: could not convert string to float: 'LO'; Retrying in background
2021-12-30 13:01:12 ERROR (MainThread) [custom_components.ha_kia_hyundai.vehicle] Unexpected error fetching Vehicle MyVINNumberRedacted data: could not convert string to float: 'LO'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/config/custom_components/ha_kia_hyundai/vehicle.py", line 112, in async_update_data
await self.api_cloud.update(vehicle=self)
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_hyundai.py", line 297, in update
vehicle.climate_temperature_value = safely_get_json_value(
File "/config/custom_components/ha_kia_hyundai/util.py", line 61, in safely_get_json_value
value = callable_to_cast(value)
ValueError: could not convert string to float: 'LO'
2021-12-30 13:01:25 ERROR (MainThread) [custom_components.ha_kia_hyundai.vehicle] Unexpected error fetching Vehicle MyVINNumberRedacted data: could not convert string to float: 'LO'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/config/custom_components/ha_kia_hyundai/vehicle.py", line 112, in async_update_data
await self.api_cloud.update(vehicle=self)
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_hyundai.py", line 297, in update
vehicle.climate_temperature_value = safely_get_json_value(
File "/config/custom_components/ha_kia_hyundai/util.py", line 61, in safely_get_json_value
value = callable_to_cast(value)
ValueError: could not convert string to float: 'LO'

The installation is working fine and I can see all the sensors.  Thanks.
On Thu, Dec 30, 2021 at 2:08 PM Richard Forbes @.***>
wrote:

Here is my log - The initial set up works - I can now see the integration
but it has an error "Retrying setup: Could not convert string to float: "LO"
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py",
line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line
504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py",
line 117, in impl
return await handler(request)
File
"/usr/src/homeassistant/homeassistant/components/http/security_filter.py",
line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py",
line 98, in forwarded_middleware
return await handler(request)
File
"/usr/src/homeassistant/homeassistant/components/http/request_context.py",
line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line
78, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line
181, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line
137, in handle
result = await result
File
"/usr/src/homeassistant/homeassistant/components/config/config_entries.py",
line 157, in post
return await super().post(request, flow_id)
File
"/usr/src/homeassistant/homeassistant/components/http/data_validator.py",
line 62, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py",
line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 252,
in async_configure
result = await self._async_handle_step(flow, cur_step["step_id"],
user_input)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 325,
in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/ha_kia_hyundai/config_flow.py", line 138,
in async_step_auth
await api_cloud.login()
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_hyundai.py",
line 63, in login
self._access_token, _, _ = await self.api.login(
File
"/usr/local/lib/python3.9/site-packages/kia_hyundai_api/us_hyundai.py",
line 155, in login
await self._post_request_with_logging_and_errors_raised(
File
"/usr/local/lib/python3.9/site-packages/kia_hyundai_api/us_hyundai.py",
line 27, in request_with_logging_wrapper
response = await func(*args, **kwargs)
File
"/usr/local/lib/python3.9/site-packages/kia_hyundai_api/us_hyundai.py",
line 123, in _post_request_with_logging_and_errors_raised
return await self.api_session.post(url=url, json=json_body,
headers=headers)
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 535,
in _request
conn = await self._connector.connect(
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line
542, in connect
proto = await self._create_connection(req, traces, timeout)
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line
907, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line
1206, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line
1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line
992, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host
api.telematics.hyundaiusa.com:443 ssl:default [Connection reset by peer]
2021-12-30 13:01:02 ERROR (MainThread)
[custom_components.ha_kia_hyundai.vehicle] Unexpected error fetching
Vehicle MyVINNumberRedacted data: could not convert string to float: 'LO'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py",
line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py",
line 147, in _async_update_data
return await self.update_method()
File "/config/custom_components/ha_kia_hyundai/vehicle.py", line 112, in
async_update_data
await self.api_cloud.update(vehicle=self)
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_hyundai.py",
line 297, in update
vehicle.climate_temperature_value = safely_get_json_value(
File "/config/custom_components/ha_kia_hyundai/util.py", line 61, in
safely_get_json_value
value = callable_to_cast(value)
ValueError: could not convert string to float: 'LO'
2021-12-30 13:01:02 WARNING (MainThread) [homeassistant.config_entries]
Config entry 'PALISADE (PALISADE)' for ha_kia_hyundai integration not ready
yet: could not convert string to float: 'LO'; Retrying in background
2021-12-30 13:01:12 ERROR (MainThread)
[custom_components.ha_kia_hyundai.vehicle] Unexpected error fetching
Vehicle MyVINNumberRedacted data: could not convert string to float: 'LO'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py",
line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py",
line 147, in _async_update_data
return await self.update_method()
File "/config/custom_components/ha_kia_hyundai/vehicle.py", line 112, in
async_update_data
await self.api_cloud.update(vehicle=self)
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_hyundai.py",
line 297, in update
vehicle.climate_temperature_value = safely_get_json_value(
File "/config/custom_components/ha_kia_hyundai/util.py", line 61, in
safely_get_json_value
value = callable_to_cast(value)
ValueError: could not convert string to float: 'LO'
2021-12-30 13:01:25 ERROR (MainThread)
[custom_components.ha_kia_hyundai.vehicle] Unexpected error fetching
Vehicle MyVINNumberRedacted data: could not convert string to float: 'LO'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py",
line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py",
line 147, in _async_update_data
return await self.update_method()
File "/config/custom_components/ha_kia_hyundai/vehicle.py", line 112, in
async_update_data
await self.api_cloud.update(vehicle=self)
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_hyundai.py",
line 297, in update
vehicle.climate_temperature_value = safely_get_json_value(
File "/config/custom_components/ha_kia_hyundai/util.py", line 61, in
safely_get_json_value
value = callable_to_cast(value)
ValueError: could not convert string to float: 'LO'
—
Reply to this email directly, view it on GitHub
https://github.com/dahlb/ha_kia_hyundai/issues/43#issuecomment-1003149449,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADL7RIVKD7UYBEVBHFWLLQTUTSUZJANCNFSM5KW64YZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@rforbessr I think your latest error is fixed in https://github.com/dahlb/ha_kia_hyundai/commit/d77c0e233954bdca3251282a2f94b96501f9e483 Ensure you're using version master from HACS to get that fix quickly.
I am sorry, I didn't mean to rush you, especially during the holidays.  This ticket has sprawled a bit and I wanted to make sure everything in it was addressed, and I was optimistic that the earlier fixes handled everything :)
PS: I am still new to github, but I think if I close an issue early you can still comment on it and I can reopen :)

No worries- not sure what happen but after about three or four hours it just worked - weird - I’ll let you know if I see anything else

It likely started working because the error you had was for an edge case
temperature, if the temperature went up that would've taken you out of the
edge case of LO (low) temperature. Still the updated code should handle
when the temperature goes down again :)
On Thu, Dec 30, 2021, 10:17 PM Richard Forbes @.***>
wrote:

No worries- not sure what happen but after about three or four hours it
just worked - weird - I’ll let you know if I see anything else
—
Reply to this email directly, view it on GitHub
https://github.com/dahlb/ha_kia_hyundai/issues/43#issuecomment-1003252662,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAANGZPCEYWE43ZQL4PD4NLUTUOGPANCNFSM5KW64YZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


Use the same USB device that the log message promises to use

Previously, the code would log the name of the USB device it was planning to open, but then inadvertently used a different variable (from an earlier loop) to actually open the device, which was different if multiple matching USB devices are present.

Nice catch, thanks.
BTW, I'm not too happy with get_hiddev() and how it just uses the first device if multiple are present. Should we add an option to specify which one to use? (vendor, USB port or similar)?