Storage blob batch Sample issues

Section Link1, Link2:

Reason:
Nullpointexception occurred
Suggestion:
Change to :
private BlobBatchAsyncClient batchAsyncClient = new BlobBatchClientBuilder(new BlobServiceClientBuilder()
                                                                                .endpoint(ENDPOINT)
                                                                                .sasToken(SASTOKEN).buildClient())
                                                                                .buildAsyncClient();

Section Link1, Link2, Link3, Link4, Link5, Link6:

Reason:
The required parameters are missing
Suggestion:
Change to :
        BlobContainerClient containerClient = blobServiceClient.getBlobContainerClient("<CONTAINER_NAME>");
        BlobClient blobClient1 = containerClient.getBlobClient("<BLOB_NAME1>");
        BlobClient blobClient2 = containerClient.getBlobClient("<BLOB_NAME2>");
        BlobClient blobClient3 = containerClient.getBlobClient("<BLOB_NAME3>");

Section Link:

Reason:
The required parameters are missing
Suggestion:
Change to new BlobServiceClientBuilder().endpoint("<YOUR_END_POINT>").sasToken("<YOUR_SAS_TOKEN>").buildClient();

Section Link:

Reason:
The blob URL is incorrect
Suggestion:
Change to:
    private String blobUrl = String.format("https://%s.blob.core.windows.net/containerName/blobName","<YOUR_STORAGE_ACCOUNT>");
    private String blobUrl2 = String.format("https://%s.blob.core.windows.net/containerName/blobName2","<YOUR_STORAGE_ACCOUNT>");
    private String blobUrlWithSnapshot = String.format("https://%s.blob.core.windows.net/containerName/blobName?snapshot=<DateTime>","<YOUR_STORAGE_ACCOUNT>");
    private String blobUrlWithLease = String.format("https://%s.blob.core.windows.net/containerName/blobNameWithLease","<YOUR_STORAGE_ACCOUNT>");

@jongio for notification

Closing due to merging the PR


Can this.$refs.camera.capture() capture the entire video instead of just a photo?

If it's possible, could you provide an example please? Many thanks.

@grumpykendal0622 I think it can, maybe using https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/captureStream
we can introduce a new method to capture a stream

any update on this ?

@devendra-kumar1 i have no plans on adding it, feel free to submit a PR.


BR: Wrong fan speed for A7

The A7 has the fan speed configurable between 1-5, 1 being 20% and 5 being 100%.
At the moment "fan speed 5" shows up as "fan speed 60%".

Thank you! I didn't know that since the A9 has 1-9. I'll make it detect the A7 and change the interval accordingly. I'll let you know in this issue when it has been pushed. It will probably take a few days.

I've just tried 0.0.4 and it's better, but not 100% correct :-)

As can be seen in the picture it shows 50% when it's on speed:2, when it should be 40% (2 out of 5 => 40%).
I assume it includes "0" (from speed_list) in the speed step calculation (100% / count(speed_list) = 16.66%) which makes it b0rk, as 0 is off and speed step should therefore be 20% as can be shown below.
speed	%
0	0%
1	20%
2	40%
3	60%
4	80%
5	100%

Also, I guess supported_features should be 5 instead of 9? Perhaps use speed_step calculation from "supported_features: 5" (100/5 => 20% as speed step) instead of speed_list?
I haven't looked deeper in the code, so take my guesses and assumptions lightly :)
Thanks again for the work you do with this integration! Let me know if you need any more information from me, happy to help out.

Thank you. Yes, I had a hard time getting it to work properly for me too, since as you pointed out 0% is off. I'll give it another round.
If you have time and knowledge you are welcome to try fix it and make a PR 🙂

It didn't work out for the A9 unfortunately.
homeassistant.components.websocket_api.http.connection
Source: util/percentage.py:21
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 20:04:51 (3 occurrences)
Last logged: 20:04:58

[140319028322800] The item "1.2000000000000002"" is not in "[1, 2, 3, 4, 5, 6, 7, 8, 9]"

[140319028322800] The item "3.4000000000000004"" is not in "[1, 2, 3, 4, 5, 6, 7, 8, 9]"

[140319028322800] The item "2.3"" is not in "[1, 2, 3, 4, 5, 6, 7, 8, 9]"

  File "/config/custom_components/wellbeing/fan.py", line 80, in percentage
    return ordered_list_item_to_percentage(self.speed_list, speed)
  File "/usr/src/homeassistant/homeassistant/util/percentage.py", line 21, in ordered_list_item_to_percentage
    raise ValueError(f'The item "{item}"" is not in "{ordered_list}"')
ValueError: The item "1.2000000000000002"" is not in "[1, 2, 3, 4, 5, 6, 7, 8, 9]"

@rasssta what values are you getting?

@rasssta More specifically in the code at the place where it crashes for me. I need to test with values for both appliances.

Not sure what you mean, also not sure how your items could be like that.
speed_list contains 1,2,3,4,5 as shown above, which is what's in use on line 80.

Not sure what happened with the integration and why I got that error. It works now. It must have been some weird value cached or something.


New File upload / link widget

High-level spec: https://github.com/frictionlessdata/ckanext-validation/issues/65#issuecomment-1335093859
Replace the current JS widget to upload / link to files (scheming's resource_url_upload preset) with a custom one that starts an upload in the background when a file is selected or linked.

For linked files I guess it makes sense to start the same process as uploads to create a resource in the background.
There should be an indication for the user that the file is being uploaded, ideally with a progress bar showing the percentage uploaded (if that's easy to implement) Once the endpoint has performed all the tasks (process file, create resource, infer schema) feedback should be displayed to the user, either that the file was uploaded successfully (:heavy_check_mark: ) or that there were errors (:x:)
As a first implementation I think we can try to do just one request and wait for all tasks to finish, if we see it takes too long we can look at splitting the uploading and wait for the rest of tasks to finish (doing a separate request, web sockets...)

Might be worth exploring https://github.com/datopian/datapub although that app itself involves more complex requirements which I'd like to avoid.Maybe we can reuse some of the components though


Turn relative URLs into absolute in the feed body

https://github.com/owncloud/news/issues/653#issuecomment-63164759
It would be awesome if this could be done with sanitation turned off (in case of using a filter for this)

I thinking about refactoring the filter module to be more flexible, so we can have different kind of content filters:

Filter to rewrite the external resources with absolute urls
Filter to sanitize the HTML for security reasons (replaced by HTMLpurifier in your case)
Filter that can rewrite only images src to use with a custom proxy (called by the application)
Filter to blacklist Ads
etc..

And we will be able to choose which filter we want to use with the config class.

Sounds good :+1:


Build on Xcode 8.2

Current coverage is 70.50% (diff: 100%)

No coverage report found for master at bde8115.

Powered by Codecov. Last update bde8115...8778d40


Encryption Feature

Creates an encrypted project archive for current project. Uses the cryptography.Fernet module to encrypt an archive (zip/tar.bz2) as a bytestream. The symmetric key for Fernet is derived using scrypt with a user-supplied password and 16-byte salt pulled from /dev/urandom.
Fernet uses AES-128-CBC with HMAC-SHA256 for message (archive) authentication. An alternative scheme using AES-256-GCM is under development to provide a stronger symmetric encryption cypher. AES-256-GCM is in the cryptography.hazmat modules, making it imperative to know exactly what is going on before developing a working cryptosystem (I definitely need to do more research before attempting :)

Awesome! Just glancing over the code this looks pretty good. My schedule is pretty hectic over the next few days but I'll make sure to look this over/merge it as soon as I can.

Alright, I looked through and noticed a few things.

The Session.encrypt() Session.decrypt() functions look a little weird. Is there a reason that these need to be async? decrypt() doesn't generate any deferreds (and there's a yield True which is a bit weird, you might have meant defer.returnValue) and Crypto.encrypt_project() doesn't return a deferred so there's no reason to yield it from Session.encrypt(). You may want to just remove the defer.inlineCallbacks decorator and just treat them as normal functions.
You can probably get rid of config.crypt_success and instead have decrypt() return whether it succeeded, or even better use a try/except block and have the program print an error, maybe do some cleanup, and quit if an exception is raised. Right now the program also crashes when creating a new project file because config.crypt_success doesn't get set to true and the program doesn't quit if it's false.
Is there an alternative to keeping the project salt with the project file? It would be much easier to only have to deal with one file rather than 2 if it's possible. Since we're not worrying about making the project file a standard format it might be possible to just make the first/last 16 bytes of the file be the salt rather than storing the salt in a separate file.
Consider using getpass for password entry instead of raw_input
Do some checks for if files/directories already exist append some random numbers until the filename doesn't exist. (For example crypt/ and project.archive).

This seems pretty good so far though, thanks again for putting in the work!

Roglew, I agree with your points, on most of them wasn't sure how they would fit in with the rest of the core project.

Both Session.encrypt() and Session.decrypt() don't need to be async. Just made them async because I saw most of the methods for Session were async. Didn't know if I needed to do that to make them play nice with Twisted. I'll change them to regular functions, and see if that fixes some of the issues.

I'll try to work out something to append the salt to the end of the encrypted archive, then strip that when decrypting. Slightly more complicated than the current scheme, but agree it would be worth it to cut down on number of files (especially just for a 16-byte string).

crypt_success was just to make Session.decrypt play nice with the rest of the startup when the user enters an incorrect password. I can most likely remove it without consequence when I change Session.decrypt and Session.encrypt to regular functions. I'll see if removing the conditional and crypt_success removes the crashes.

Was thinking of using getpass, just wasn't sure if adding another dependency was worth it. If you're cool with it I'll add it.

crypt/ and project.archive should only exist during a live crypto session, or if pappy dies in the middle of a project. So right now, I check to see if crypt/ exists, and resume the session to recover where the project left off. This is an attempt to salvage the project when an unexpected crash happens (e.g. computer crashes during middle of a session). If I appended random strings that would just start a new session, leaving the old crypto project files in the clear.

Hopefully should have the fixes done soon, and thanks for the feedback on the pull request :)

Great, thanks! I'll keep an eye out for the update.

@roglew just updated the project with the changes you asked for, with a couple exceptions. Haha took me a while to figure out how to get pappy to close cleanly without clobbering Twisted threads, but I think I got it now. "Threads are hard..." Let me know what you think of the updates, and if there are any more changes you would like to see.
I left out the name collision with crypt/ because the only time there would be a collision is if there was a successful decryption, the crypt_file didn't get deleted, and pappy exits uncleanly (e.g. from unexpected OS shutdown).
However, crypt_file gets deleted on every succesful decryption. If you still want me to add the random working directory naming, I can, but I don't see a need for it atm.

Great! It looks like it works pretty well. I'll merge it and add some docs to the README on the next release. Thank you so much for implementing this, it's really cool!


Refactor resolveExternalUri

This PR refactor resolveExternalUri

This changes the behavior. The try is intentionally inside the for so that if one iteration fails, we move on the next one


Can't add Norwegian cities

Just found this clock today and love the world clock option. However, I noticed that I can't add any Norwegian cities to it, having tried Oslo, Lillehammer and a few others. I am using just the .scr file, but I don't think that would matter. Other European cities were added without an issue.

The way I get the cities is by attempting to parse them out of the timezone's display name. Unfortunately this provides an inadequate list of city names. For example, there are no US or Canadian cities named in the original data, so after parsing out what is there I manually add in some US and Canadian ones.
According to https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones, Norway falls under W. Europe Standard Time and MS's list of cities for this is: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna.
So what you could do, until I have a better solution, is add one of those cities to your list, then edit it's name to be whatever you want.

The way I get the cities is by attempting to parse them out of the timezone's display name. Unfortunately this provides an inadequate list of city names. For example, there are no US or Canadian cities named in the original data, so after parsing out what is there I manually add in some US and Canadian ones.
According to https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones, Norway falls under W. Europe Standard Time and MS's list of cities for this is: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna.
So what you could do, until I have a better solution, is add one of those cities to your list, then edit it's name to be whatever you want.

That's an excellent workaround. Thanks for it and the great screensaver!

That's an excellent workaround. Thanks for it and the great screensaver!

FYI - The next build includes more cities. Oslo is one of them.

FYI - The next build includes more cities. Oslo is one of them.

Great, thanks!

Great, thanks!


"No TWP Phase and Eject Angle found in notes"

Thank you for the adaptation of this wonderful mod for RSS - super useful!!!
I get the error in the title when I click on the alarm details - using ver <IP_ADDRESS> - I don't see the phase angle when I turn on the map view.
Running RP-1 with express install + Principia on KSP 1.12.3.
Otherwise it seems to be working fine and the calculations are quite fine to work with, the helper in the map would be a bonus to see the parking orbit but I suppose it is limited in doing so because I run Principia?

Screenshot if it helps - I can also provide logs and whatever else you'd need to help troubleshoot.

Ah, this is annoying. It looks like KAC searches the text in the alarm for the eject angle, and then has a copy of the old code in TWP to draw the eject and phase angles. Since I changed both of these, someone will have to change KAC to match. Unfortunately, I can't fix this in TWP. Whoever eventually adopts KAC will have to change it on their side.
As a workaround, I guess the easiest way is to recreate the transfer in TWP's window; the buttons in TWP will work properly.


Database management online tool

Thank you for the contribution.
The service you add must have a description in the corresponding file, here database-management.md.
Please have a look at the other services and add a meaningful description of the service's free tier.


2Captcha

Hi.
OS: Kali Linux
I just wanted to confirm that I'm right in thinking that this script requires you to first add funds to 2captcha in order to work? Or is there a free version that I'm missing.
I ran the code and it appeared to be running fine except it couldn't get through the captcha.. I'm  guessing because my account does not have.
I'd be grateful for the clarification. Thanks.
Terminal output:

┌──(kali㉿kali)-[~/YandexMail-Account-Creator]
└─$ python3 creator.py                                                                                1 ⨯

    __  ___      _ __
   /  |/  /___ _(_) /
  / /|_/ / __ `/ / /
 / /  / / /_/ / / /
/_/  /_/\__,_/_/_/

    ___                               __
   /   | ______________  __  ______  / /_
  / /| |/ ___/ ___/ __ \/ / / / __ \/ __/
 / ___ / /__/ /__/ /_/ / /_/ / / / / /_
/_/  |_\___/\___/\____/\__,_/_/ /_/\__/

   ______                __
  / ____/_______  ____ _/ /_____  _____
 / /   / ___/ _ \/ __ `/ __/ __ \/ ___/
/ /___/ /  /  __/ /_/ / /_/ /_/ / /
\____/_/   \___/\__,_/\__/\____/_/

Auto Account Creator Script
Getting Chrome driver...
Proxy: PROXYADDRESSHERE:PROXYPASSWORD
ERROR_ZERO_BALANCE
No Recapchta possible...
Trying next proxy...
Traceback (most recent call last):
  File "/home/kali/YandexMail-Account-Creator/creator.py", line 283, in <module>
    wait.until(EC.element_to_be_clickable(
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/support/wait.py", line 71, in until
    value = method(self._driver)
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/support/expected_conditions.py", line 297, in __call__
    element = visibility_of_element_located(self.locator)(driver)
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/support/expected_conditions.py", line 128, in __call__
    return _element_if_visible(_find_element(driver, self.locator))
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/support/expected_conditions.py", line 415, in _find_element
    raise e
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/support/expected_conditions.py", line 411, in _find_element
    return driver.find_element(*by)
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element
    return self.execute(Command.FIND_ELEMENT, {
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidSessionIdException: Message: invalid session id

┌──(kali㉿kali)-[~/YandexMail-Account-Creator]
└─$

Hello, yes you do need in fact funds on your 2captcha account. 3USD is enough to create 3k accounts. Sadly there is no free trial for this.


feat: Add support for packages, imports, handler and runtimeVersion to snowflake_procedure resource

This PR adds support for the following optional parameters for PROCEDURE:

packages for Python and Java stored procedures
imports again for Python and Java
handler the target handler function
runtimeVersion required for Python procedures

Test Plan

The TestProcedureCreateWithOptionalParams test in procedure_test.go has been updated to include the added optional parameters

The getProcedure func includes a statement, which doesn't make a huge amount of sense given that we are using a handler, but the equivalent getPythonFunction in function_test.go does too, so I assume this is ok

Tested that a local version of the provider with the new params successfully deploys a procedure to Snowflake 🎉

Hey @sfc-gh-swinkler; would you mind approving this again please? I made a couple of changes that I hope will make the workflows that previously failed happy (docs and PR name).

This is awesome! Thank you @badge. I just sat down to add support for this and after opening the PR saw your better version here :) thanks for contributing

@sfc-gh-jhollan you're welcome! I think you might need to approve again for the workflows to run again?!

👍 really keen to see support for deploying Python procedures via Terraform. Any idea when this may be available in the provider?
Thanks!

@sfc-gh-swinkler / @sfc-gh-jhollan is there anything that needs doing to this PR before it can be merged in for the next release?

@sfc-gh-swinkler / @sfc-gh-jhollan when will this PR be merged？


Development

Improving convergence and some bugfixes

Codecov Report

Merging #65 into master will increase coverage by 0.05%.
The diff coverage is 46.03%.

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
+ Coverage   76.65%   76.71%   +0.05%
==========================================
  Files         288      288
  Lines       14484    14533      +49
==========================================
+ Hits        11103    11149      +46
- Misses       3381     3384       +3

Impacted Files
Coverage Δ

SpiceSharp/Properties/Resources.Designer.cs
33.33% <0%> (+33.33%)
:arrow_up:

...rp/Components/Semiconductors/MOS/Level1/Mosfet1.cs
100% <100%> (ø)
:arrow_up:

.../Base/Time/IntegrationMethods/IntegrationMethod.cs
96.29% <100%> (+0.04%)
:arrow_up:

...ceSharp/Simulations/Base/Time/TimeConfiguration.cs
88.23% <100%> (ø)
:arrow_up:

...IntegrationMethods/Spice/SpiceIntegrationMethod.cs
84.61% <16.66%> (-2.98%)
:arrow_down:

SpiceSharp/Simulations/Base/BaseSimulation.cs
68.7% <42.5%> (-0.39%)
:arrow_down:

...nents/Semiconductors/MOS/Level1/BiasingBehavior.cs
95.37% <50%> (+1.23%)
:arrow_up:

...ntegrationMethods/Spice/Trapezoidal/Trapezoidal.cs
54.94% <60%> (+1.68%)
:arrow_up:

... and 2 more

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 d5ab947...d45a391. Read the comment docs.

Codecov Report

Merging #65 into master will increase coverage by 0.05%.
The diff coverage is 46.03%.

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
+ Coverage   76.65%   76.71%   +0.05%
==========================================
  Files         288      288
  Lines       14484    14533      +49
==========================================
+ Hits        11103    11149      +46
- Misses       3381     3384       +3

Impacted Files
Coverage Δ

SpiceSharp/Properties/Resources.Designer.cs
33.33% <0%> (+33.33%)
:arrow_up:

...rp/Components/Semiconductors/MOS/Level1/Mosfet1.cs
100% <100%> (ø)
:arrow_up:

.../Base/Time/IntegrationMethods/IntegrationMethod.cs
96.29% <100%> (+0.04%)
:arrow_up:

...ceSharp/Simulations/Base/Time/TimeConfiguration.cs
88.23% <100%> (ø)
:arrow_up:

...IntegrationMethods/Spice/SpiceIntegrationMethod.cs
84.61% <16.66%> (-2.98%)
:arrow_down:

SpiceSharp/Simulations/Base/BaseSimulation.cs
68.7% <42.5%> (-0.39%)
:arrow_down:

...nents/Semiconductors/MOS/Level1/BiasingBehavior.cs
95.37% <50%> (+1.23%)
:arrow_up:

...ntegrationMethods/Spice/Trapezoidal/Trapezoidal.cs
54.94% <60%> (+1.68%)
:arrow_up:

... and 2 more

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 d5ab947...d45a391. Read the comment docs.


K8SPXC-1462: Restart PXC pods after monitor user password change

Problem:
monitor user could be used not only in pmm sidecar containers, but in custom mysqld-exporter sidecar container running near pxc. If these custom sidecars are using monitor user, they need a pod restart after password change, same as pmm sidecars.
Cause:
monitor user password update causes pxc pods restart only when pmm is enabled
Solution:
Restart PXC pods without checking if a PMM is enabled.
CHECKLIST
Jira

[ ] Is the Jira ticket created and referenced properly?
[ ] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[ ] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[ ] Is an E2E test/test case added for the new feature/change?
[ ] Are unit tests added where appropriate?
[ ] Are OpenShift compare files changed for E2E tests (compare/*-oc.yml)?

Config/Logging/Testability

[ ] Are all needed new/changed options added to default YAML files?
[ ] Did we add proper logging messages for operator actions?
[ ] Did we ensure compatibility with the previous version or cluster upgrade process?
[ ] Does the change support oldest and newest supported PXC version?
[ ] Does the change support oldest and newest supported Kubernetes version?

Test name
Status

affinity-8-0
passed

auto-tuning-8-0
passed

cross-site-8-0
failure

demand-backup-cloud-8-0
failure

demand-backup-encrypted-with-tls-8-0
failure

demand-backup-8-0
failure

haproxy-5-7
passed

haproxy-8-0
passed

init-deploy-5-7
passed

init-deploy-8-0
passed

limits-8-0
passed

monitoring-2-0-8-0
passed

one-pod-5-7
passed

one-pod-8-0
failure

pitr-8-0
failure

pitr-gap-errors-8-0
failure

proxy-protocol-8-0
passed

proxysql-sidecar-res-limits-8-0
passed

pvc-resize-5-7
passed

pvc-resize-8-0
passed

recreate-8-0
passed

restore-to-encrypted-cluster-8-0
failure

scaling-proxysql-8-0
passed

scaling-8-0
passed

scheduled-backup-5-7
passed

scheduled-backup-8-0
failure

security-context-8-0
failure

smart-update1-8-0
passed

smart-update2-8-0
passed

storage-8-0
passed

tls-issue-cert-manager-ref-8-0
passed

tls-issue-cert-manager-8-0
passed

tls-issue-self-8-0
passed

upgrade-consistency-8-0
passed

upgrade-haproxy-5-7
failure

upgrade-haproxy-8-0
failure

upgrade-proxysql-5-7
passed

upgrade-proxysql-8-0
failure

users-5-7
failure

users-8-0
passed

validation-hook-8-0
passed

We run 41 out of 41

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1816/commits/aac496425ef619d10e45f95a12cb653a26291fa8
image: perconalab/percona-xtradb-cluster-operator:PR-1816-aac49642

Test name
Status

affinity-8-0
passed

auto-tuning-8-0
passed

cross-site-8-0
failure

demand-backup-cloud-8-0
failure

demand-backup-encrypted-with-tls-8-0
failure

demand-backup-8-0
failure

haproxy-5-7
passed

haproxy-8-0
passed

init-deploy-5-7
passed

init-deploy-8-0
passed

limits-8-0
passed

monitoring-2-0-8-0
passed

one-pod-5-7
passed

one-pod-8-0
failure

pitr-8-0
failure

pitr-gap-errors-8-0
failure

proxy-protocol-8-0
passed

proxysql-sidecar-res-limits-8-0
passed

pvc-resize-5-7
passed

pvc-resize-8-0
passed

recreate-8-0
passed

restore-to-encrypted-cluster-8-0
failure

scaling-proxysql-8-0
passed

scaling-8-0
passed

scheduled-backup-5-7
passed

scheduled-backup-8-0
failure

security-context-8-0
failure

smart-update1-8-0
passed

smart-update2-8-0
passed

storage-8-0
passed

tls-issue-cert-manager-ref-8-0
passed

tls-issue-cert-manager-8-0
passed

tls-issue-self-8-0
passed

upgrade-consistency-8-0
passed

upgrade-haproxy-5-7
passed

upgrade-haproxy-8-0
passed

upgrade-proxysql-5-7
passed

upgrade-proxysql-8-0
passed

users-5-7
passed

users-8-0
passed

validation-hook-8-0
passed

We run 41 out of 41

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1816/commits/4b2d73606b1a98e20288bccbaa6f3f90802444f6
image: perconalab/percona-xtradb-cluster-operator:PR-1816-4b2d7360

Test name
Status

affinity-8-0
passed

auto-tuning-8-0
passed

cross-site-8-0
passed

demand-backup-cloud-8-0
passed

demand-backup-encrypted-with-tls-8-0
passed

demand-backup-8-0
passed

haproxy-5-7
passed

haproxy-8-0
passed

init-deploy-5-7
passed

init-deploy-8-0
passed

limits-8-0
passed

monitoring-2-0-8-0
passed

one-pod-5-7
passed

one-pod-8-0
passed

pitr-8-0
passed

pitr-gap-errors-8-0
passed

proxy-protocol-8-0
passed

proxysql-sidecar-res-limits-8-0
passed

pvc-resize-5-7
passed

pvc-resize-8-0
passed

recreate-8-0
passed

restore-to-encrypted-cluster-8-0
passed

scaling-proxysql-8-0
passed

scaling-8-0
passed

scheduled-backup-5-7
passed

scheduled-backup-8-0
passed

security-context-8-0
passed

smart-update1-8-0
passed

smart-update2-8-0
passed

storage-8-0
passed

tls-issue-cert-manager-ref-8-0
passed

tls-issue-cert-manager-8-0
passed

tls-issue-self-8-0
passed

upgrade-consistency-8-0
passed

upgrade-haproxy-5-7
passed

upgrade-haproxy-8-0
passed

upgrade-proxysql-5-7
passed

upgrade-proxysql-8-0
passed

users-5-7
passed

users-8-0
passed

validation-hook-8-0
passed

We run 41 out of 41

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1816/commits/a8caddbe76494e897624184c0c72e977f6a9fc06
image: perconalab/percona-xtradb-cluster-operator:PR-1816-a8caddbe

Test name
Status

affinity-8-0
passed

auto-tuning-8-0
passed

cross-site-8-0
passed

demand-backup-cloud-8-0
passed

demand-backup-encrypted-with-tls-8-0
passed

demand-backup-8-0
passed

haproxy-5-7
passed

haproxy-8-0
passed

init-deploy-5-7
passed

init-deploy-8-0
passed

limits-8-0
passed

monitoring-2-0-8-0
passed

one-pod-5-7
passed

one-pod-8-0
passed

pitr-8-0
passed

pitr-gap-errors-8-0
passed

proxy-protocol-8-0
passed

proxysql-sidecar-res-limits-8-0
passed

pvc-resize-5-7
passed

pvc-resize-8-0
passed

recreate-8-0
passed

restore-to-encrypted-cluster-8-0
passed

scaling-proxysql-8-0
passed

scaling-8-0
passed

scheduled-backup-5-7
passed

scheduled-backup-8-0
passed

security-context-8-0
passed

smart-update1-8-0
passed

smart-update2-8-0
passed

storage-8-0
passed

tls-issue-cert-manager-ref-8-0
passed

tls-issue-cert-manager-8-0
passed

tls-issue-self-8-0
passed

upgrade-consistency-8-0
passed

upgrade-haproxy-5-7
passed

upgrade-haproxy-8-0
passed

upgrade-proxysql-5-7
passed

upgrade-proxysql-8-0
failure

users-5-7
passed

users-8-0
passed

validation-hook-8-0
passed

We run 41 out of 41

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1816/commits/e4302acb9300e45048b8469d70b92f096c96dbd0
image: perconalab/percona-xtradb-cluster-operator:PR-1816-e4302acb

I agree with @hors, I don't think it's a good idea to restart PXC pods unless we know for sure that restart is needed.
@s10 how do you use monitor password in custom sidecar? env, envFromSecret or volume? maybe we can add a check for these and decide if restart is needed.

I use envFromSecret:
    sidecars:
    - name: metrics
      image: prom/mysqld-exporter:v0.15.1
      env:
        - name: MYSQLD_EXPORTER_PASSWORD
          valueFrom:
            secretKeyRef:
              name: pxc-dev-1-secrets
              key: monitor
      ports:
        - name: metrics
          containerPort: 9104
      args:
        - "--mysqld.username=monitor"
        - "--mysqld.address=localhost:3306"
        - "--collect.binlog_size"

It might be good to check keys for system usernames in env and envFromSecret of sidecar container and decide if it needs a restart. wdyt @hors @spron-in?

It might be good to check keys for system usernames in env and envFromSecret of sidecar container and decide if it needs a restart. wdyt @hors @spron-in?

It is a good idea.

I understand the desire to minimize the number of restarts, but also want to be sure that we are not overcomplicating it here.
I would not expect a user to change the password for monitor user too often or to change it when monitoring in some form is not enabled.
So we are going to implement more checks for quite a rare operation and the operation that actually justifies pod restart.
Am I looking at it wrong?

Test name
Status

affinity-8-0
passed

auto-tuning-8-0
passed

cross-site-8-0
passed

demand-backup-cloud-8-0
passed

demand-backup-encrypted-with-tls-8-0
passed

demand-backup-8-0
passed

haproxy-5-7
passed

haproxy-8-0
passed

init-deploy-5-7
passed

init-deploy-8-0
passed

limits-8-0
passed

monitoring-2-0-8-0
passed

one-pod-5-7
passed

one-pod-8-0
passed

pitr-8-0
passed

pitr-gap-errors-8-0
passed

proxy-protocol-8-0
passed

proxysql-sidecar-res-limits-8-0
passed

pvc-resize-5-7
failure

pvc-resize-8-0
passed

recreate-8-0
passed

restore-to-encrypted-cluster-8-0
passed

scaling-proxysql-8-0
passed

scaling-8-0
passed

scheduled-backup-5-7
passed

scheduled-backup-8-0
passed

security-context-8-0
passed

smart-update1-8-0
passed

smart-update2-8-0
passed

storage-8-0
passed

tls-issue-cert-manager-ref-8-0
passed

tls-issue-cert-manager-8-0
passed

tls-issue-self-8-0
passed

upgrade-consistency-8-0
passed

upgrade-haproxy-5-7
passed

upgrade-haproxy-8-0
passed

upgrade-proxysql-5-7
passed

upgrade-proxysql-8-0
passed

users-5-7
passed

users-8-0
passed

validation-hook-8-0
passed

We run 41 out of 41

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1816/commits/0b9e1deac0b01356724cb10f343655d89ba5fc01
image: perconalab/percona-xtradb-cluster-operator:PR-1816-0b9e1dea

@spron-in i really don't want to restart PXC pods blindly. we can always say user should restart pods themselves but if we want to do it in automatic way, i believe current changes look good.

Test name
Status

affinity-8-0
passed

auto-tuning-8-0
passed

cross-site-8-0
passed

demand-backup-cloud-8-0
passed

demand-backup-encrypted-with-tls-8-0
passed

demand-backup-8-0
passed

haproxy-5-7
passed

haproxy-8-0
passed

init-deploy-5-7
passed

init-deploy-8-0
passed

limits-8-0
passed

monitoring-2-0-8-0
passed

one-pod-5-7
passed

one-pod-8-0
passed

pitr-8-0
passed

pitr-gap-errors-8-0
passed

proxy-protocol-8-0
passed

proxysql-sidecar-res-limits-8-0
passed

pvc-resize-5-7
passed

pvc-resize-8-0
passed

recreate-8-0
passed

restore-to-encrypted-cluster-8-0
passed

scaling-proxysql-8-0
passed

scaling-8-0
passed

scheduled-backup-5-7
passed

scheduled-backup-8-0
passed

security-context-8-0
passed

smart-update1-8-0
passed

smart-update2-8-0
passed

storage-8-0
passed

tls-issue-cert-manager-ref-8-0
passed

tls-issue-cert-manager-8-0
passed

tls-issue-self-8-0
passed

upgrade-consistency-8-0
passed

upgrade-haproxy-5-7
passed

upgrade-haproxy-8-0
passed

upgrade-proxysql-5-7
passed

upgrade-proxysql-8-0
passed

users-5-7
passed

users-8-0
passed

validation-hook-8-0
passed

We run 41 out of 41

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1816/commits/7932056eb527703b9fd89282d4ab3a9c6259151a
image: perconalab/percona-xtradb-cluster-operator:PR-1816-7932056e

Test name
Status

affinity-8-0
passed

auto-tuning-8-0
passed

cross-site-8-0
passed

demand-backup-cloud-8-0
passed

demand-backup-encrypted-with-tls-8-0
passed

demand-backup-8-0
passed

haproxy-5-7
passed

haproxy-8-0
passed

init-deploy-5-7
passed

init-deploy-8-0
passed

limits-8-0
passed

monitoring-2-0-8-0
passed

one-pod-5-7
passed

one-pod-8-0
passed

pitr-8-0
passed

pitr-gap-errors-8-0
passed

proxy-protocol-8-0
passed

proxysql-sidecar-res-limits-8-0
passed

pvc-resize-5-7
passed

pvc-resize-8-0
passed

recreate-8-0
passed

restore-to-encrypted-cluster-8-0
passed

scaling-proxysql-8-0
passed

scaling-8-0
passed

scheduled-backup-5-7
passed

scheduled-backup-8-0
passed

security-context-8-0
passed

smart-update1-8-0
passed

smart-update2-8-0
passed

storage-8-0
passed

tls-issue-cert-manager-ref-8-0
passed

tls-issue-cert-manager-8-0
passed

tls-issue-self-8-0
passed

upgrade-consistency-8-0
passed

upgrade-haproxy-5-7
passed

upgrade-haproxy-8-0
passed

upgrade-proxysql-5-7
passed

upgrade-proxysql-8-0
passed

users-5-7
passed

users-8-0
failure

validation-hook-8-0
passed

We run 41 out of 41

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1816/commits/4e28b2e6da2f7cb7102171c997988f26f9a299b1
image: perconalab/percona-xtradb-cluster-operator:PR-1816-4e28b2e6

Test name
Status

affinity-8-0
passed

auto-tuning-8-0
passed

cross-site-8-0
passed

demand-backup-cloud-8-0
passed

demand-backup-encrypted-with-tls-8-0
passed

demand-backup-8-0
passed

haproxy-5-7
passed

haproxy-8-0
passed

init-deploy-5-7
passed

init-deploy-8-0
passed

limits-8-0
passed

monitoring-2-0-8-0
passed

one-pod-5-7
passed

one-pod-8-0
passed

pitr-8-0
passed

pitr-gap-errors-8-0
passed

proxy-protocol-8-0
passed

proxysql-sidecar-res-limits-8-0
passed

pvc-resize-5-7
passed

pvc-resize-8-0
passed

recreate-8-0
passed

restore-to-encrypted-cluster-8-0
passed

scaling-proxysql-8-0
passed

scaling-8-0
passed

scheduled-backup-5-7
passed

scheduled-backup-8-0
passed

security-context-8-0
passed

smart-update1-8-0
passed

smart-update2-8-0
passed

storage-8-0
passed

tls-issue-cert-manager-ref-8-0
passed

tls-issue-cert-manager-8-0
passed

tls-issue-self-8-0
passed

upgrade-consistency-8-0
passed

upgrade-haproxy-5-7
passed

upgrade-haproxy-8-0
passed

upgrade-proxysql-5-7
passed

upgrade-proxysql-8-0
passed

users-5-7
passed

users-8-0
passed

validation-hook-8-0
passed

We run 41 out of 41

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1816/commits/4e28b2e6da2f7cb7102171c997988f26f9a299b1
image: perconalab/percona-xtradb-cluster-operator:PR-1816-4e28b2e6

@inelpandzic please review

Test name
Status

affinity-8-0
passed

auto-tuning-8-0
passed

cross-site-8-0
passed

demand-backup-cloud-8-0
passed

demand-backup-encrypted-with-tls-8-0
passed

demand-backup-8-0
failure

haproxy-5-7
passed

haproxy-8-0
passed

init-deploy-5-7
passed

init-deploy-8-0
failure

limits-8-0
passed

monitoring-2-0-8-0
passed

one-pod-5-7
passed

one-pod-8-0
passed

pitr-8-0
passed

pitr-gap-errors-8-0
passed

proxy-protocol-8-0
passed

proxysql-sidecar-res-limits-8-0
passed

pvc-resize-5-7
passed

pvc-resize-8-0
passed

recreate-8-0
failure

restore-to-encrypted-cluster-8-0
passed

scaling-proxysql-8-0
passed

scaling-8-0
passed

scheduled-backup-5-7
passed

scheduled-backup-8-0
passed

security-context-8-0
passed

smart-update1-8-0
passed

smart-update2-8-0
passed

storage-8-0
passed

tls-issue-cert-manager-ref-8-0
passed

tls-issue-cert-manager-8-0
passed

tls-issue-self-8-0
passed

upgrade-consistency-8-0
passed

upgrade-haproxy-5-7
passed

upgrade-haproxy-8-0
passed

upgrade-proxysql-5-7
passed

upgrade-proxysql-8-0
passed

users-5-7
passed

users-8-0
passed

validation-hook-8-0
passed

We run 41 out of 41

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1816/commits/0a78eaf768de11c3fa2156cc42cee2b9e82bfc0f
image: perconalab/percona-xtradb-cluster-operator:PR-1816-0a78eaf7

Test name
Status

affinity-8-0
passed

auto-tuning-8-0
passed

cross-site-8-0
passed

custom-users-8-0
passed

demand-backup-cloud-8-0
passed

demand-backup-encrypted-with-tls-8-0
passed

demand-backup-8-0
passed

haproxy-5-7
passed

haproxy-8-0
passed

init-deploy-5-7
passed

init-deploy-8-0
passed

limits-8-0
passed

monitoring-2-0-8-0
passed

one-pod-5-7
passed

one-pod-8-0
passed

pitr-8-0
passed

pitr-gap-errors-8-0
passed

proxy-protocol-8-0
passed

proxysql-sidecar-res-limits-8-0
passed

pvc-resize-5-7
passed

pvc-resize-8-0
passed

recreate-8-0
passed

restore-to-encrypted-cluster-8-0
failure

scaling-proxysql-8-0
passed

scaling-8-0
passed

scheduled-backup-5-7
passed

scheduled-backup-8-0
passed

security-context-8-0
passed

smart-update1-8-0
passed

smart-update2-8-0
passed

storage-8-0
passed

tls-issue-cert-manager-ref-8-0
passed

tls-issue-cert-manager-8-0
passed

tls-issue-self-8-0
passed

upgrade-consistency-8-0
passed

upgrade-haproxy-5-7
passed

upgrade-haproxy-8-0
passed

upgrade-proxysql-5-7
passed

upgrade-proxysql-8-0
failure

users-5-7
passed

users-8-0
passed

validation-hook-8-0
passed

We run 42 out of 42

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1816/commits/fc65a9be98974c6d1b063fb32ca1c2460db10682
image: perconalab/percona-xtradb-cluster-operator:PR-1816-fc65a9be

@s10 Thank you for your contribution.


Channel Size

If my channel size for the custom dataset is 2. Where should i modify the channel size in the code level?

Hi @suhasiniselvam hope this pointer helps:
https://speechbrain.readthedocs.io/en/latest/experiment.html#tensor-format

Hello,
Is the problem still up @suhasiniselvam ?

Hello,
There is no activity for a very long time. I am closing this issue.
Feel free to reopen if needed. Thanks! :)


Syntax error

in render.js
function setAttribute(key, attribs, data) {
  let val = attribs[key]
  if (!val) return

  // TODO: check all non-strings here
  if (val.constructor === Object) return

  // attributes must be strings
  if (val === 0 || 1 * val) val = attribs[key] = '' + val

Condition 'val === 0' is always false at this point because the false branch of the condition '!val' at line 59 has been taken

Probably explains this: https://github.com/nuejs/nue/issues/227#issuecomment-1977741020


false positive link

hi @SuperKogito
I seem to have a link reported to have been broken see https://github.com/HPC-buildtest/buildtest-framework/runs/428310246?check_suite_focus=true but in reality it is working.
The actual link is https://www.hpcwire.com/2019/01/17/pfizer-hpc-engineer-aims-to-automate-software-stack-testing/ which is found but the url-checker is stating it is not found. I see a red X next to it.
I am using v0.1.2

Hello @shahzebsiddiqui
Thanks for reporting this, I think the error is due to short timeout on the url check but I need to further investigate. In the meantime, I just published the new release and to hide false positives you can use the white_listed_urls option.

yea i can do that for time being. It's not a big deal right now. Will close this and wanted to inform you about this bug.


Support lowercase changelog file

Closes #277
Finally got around to this. :) The code stood the test of time.
Unsure about testing this as the current tests fail for me locally:
    Cannot find module '/home/siilwyn/codeground/a-forks/changesets/packages/apply-release-plan/src/test-utils/simple-get-changelog-entry'
    Require stack:

      214 |   const changelogOpts = config.changelog[1];
      215 |   let changesetPath = path.join(cwd, ".changeset");
    > 216 |   let changelogPath = resolveFrom(changesetPath, config.changelog[0]);
          |                                  ^
      217 |
      218 |   let possibleChangelogFunc = require(changelogPath);
      219 |   if (possibleChangelogFunc.default) {

      at resolveFileName (node_modules/resolve-from/index.js:29:39)
      at resolveFrom (node_modules/resolve-from/index.js:43:9)

However I figured this is quite a simple change so it might not be needed.

Seems good to me, but it looks like they were conflicting opinions in the past about the changelog file name: https://github.com/changesets/changesets/pull/457

What if someone calls it Changelog.md? What about ChangeLog.md? Hardcoding only two options in the source (CHANGELOG.md and changelog.md) is just asking for case-sensitivity issues on platforms like Windows.
If this change is supposed to work reliably, it has to do a case-insensitive search for an existing changelog.md file in the package root.

First of just because I want it to work with lowercase doesn't mean it should work with all 'casings', I think having two reasonable options is enough.
Secondly working without case sensitivity is already the case on filesystems with no case-sensitivity support, as per Node.js guidelines I think it is good to respect the 'casing' when possible: https://nodejs.org/en/learn/manipulating-files/working-with-different-filesystems#adopt-a-superset-approach


How to use the early terminate module in wandb? I do not quite understand the explaination in docs.

I am trying to use wandb sweep to tune the hyperparameter in a model, and also try to use the hyperband early terminate method to accelerate it.
However, I don't understand how this mechanism works by looking up the docs https://docs.wandb.ai/guides/sweeps/define-sweep-configuration#early_terminate and the paper https://arxiv.org/abs/1603.06560.
In this paper, the author propose the concept of "resource". In my opinion, in the wandb setting, the "resource" should be num of training epochs. However, in the configuration of "early terminate", I can only see the parameter of "s", "eta", "min_iter" and "max_iter". And through the explaination of the docs, I do not understand the real meaning of them.
In the github examples, it is tough to see whether the early terminate takes effect, so I hope there will be a simple piece of code to explain how the early terminate works. I wonder if the logged metric shourld be "valid_acc".
I would be appreciated if anyone can help me understand what early terminate mechanism in wandb sweep actually do, especially the meaning of the parameters, and how to change the training code.

Hi @zlq147, thanks for your question! Here you have a more detailed explanation of the early termination, please let me know if this would be useful or if you have any other question.

Hi @zlq147, I wanted to follow up here! Was this information useful? Do you have any other question about this?

Hi @rbracco, sorry for the long delay here! Just wanted to let you know that I submitted your feedback internally to improve our docs and better explain how the early terminate module works. Thanks a lot for sharing the detailed explanation!

I'd also love to see some concrete examples without having to dive into the paper!

Same here. The docs are not clear IMHO.

Hi @luisbergua , just a follow up. Is there any progress on this issue? Facing same issue as stated above.

Hi
@luisbergua  any updates?

Hi @SuroshAhmadZobair @ziimiin14, apologies for the delay. I'll bump the priority of this with our Docs Team


Marathon cannot pull docker image from AWS ECR

Hi,
I followed this https://mesosphere.github.io/marathon/docs/native-docker-private-registry.html . However it seems does not work with AWS ECR even I configed to be able to pull from aws ecr using command line under all the user group.
The mesos slave log show that I have fetched and untar the docker.tar.gz (image)

The marathon last failure show:
Failed to launch container: Failed to 'docker -H unix:///var/run/docker.sock pull AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/cloud:otp10Mar2016v4': exit status = exited with status 1 stderr =

The docker API showing:
INFO[44509] POST /v1.21/images/create?fromImage=AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com%2Fcloud%3Aotp10Mar2016v4

INFO[44388] POST /v1.21/images/create?fromImage=AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com%2Fcloud%3Aotp10Mar2016v2

ERRO[44509] Handler for GET /v1.21/containers/AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/IMAGE_ID:TAG/json returned error: no such id: AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/IMAGE_ID:TAG
ERRO[44509] HTTP Error                                    err=no such id: AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/IMAGE_ID:TAG statusCode=404
INFO[44509] GET /v1.21/images/AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/IMAGE_ID:TAG/json
ERRO[44509] Handler for GET /v1.21/images/AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/IMAGE_ID:TAG/json returned error: No such image: AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/IMAGE_ID:TAG
ERRO[44509] HTTP Error                                    err=No such image: AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/IMAGE_ID:TAG statusCode=404
INFO[44509] POST /v1.21/images/create?fromImage=AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com%2Fcloud%3Aotp10Mar2016v4

PS: I am using Marathon version 0.15.2, Mesos 0.26.

You have to reauthenticate every 12 hours on AWS ECR to get new credentials which you can use in your docker pull  or .docker directory before you create your docker.tar.gz file.
I wonder if there is a aws-cli plugin/framework, which you can run automatically before each docker pull

I did the same thing. Even I manually login successfully from the worker itself, the marathon still cannot pull the image.
However, I found out this might be a bug from aws ecr and host it my self using marathon and it works great!

Seems a AWS ECR problem. Close this issue.

Hi! We'd love to help fix this issue. Feel free to reach out to me directly.

I'm having the same issue. Maybe it's a combination of ECR configs and my app definition, but can't seem to get this working.
Anybody have any luck?

My Workaround is right now to have a cronjob on every nide, which does an aws ecr get-login

I recommend  to move away from aws ecr because it seems not stable yet and I have encountered some funny issues with it (my last try was 2 months ago).
Instead, we host docker registry ourself using marathon on mesos. It is working very well now.

did anyone succeeded in this - as this is critical to me?

@OferE I use https://github.com/awslabs/amazon-ecr-credential-helper with a .docker/config.json like below:
{
    "credsStore":"ecr-login",
    "auths": {
        "123456789012.dkr.ecr.us-west-2.amazonaws.com": {
        }
    }
}

And I package it into a docker.tar.gz file and set it to marathon's "uris" parameter as described in https://mesosphere.github.io/marathon/docs/native-docker-private-registry.html, it worked.
But the .docker/config.json doesn't work with the new --docker_config option (see http://mesos.apache.org/documentation/latest/docker-containerizer/) which is brought in Mesos 1.0. I created the https://issues.apache.org/jira/browse/MESOS-6169 to track it.

@gengmao thanks for the info!

@OferE I found https://issues.apache.org/jira/browse/MESOS-6169 is not a bug.
Just remember to have the "auths" part in .docker/config.json, without it mesos-agent won't be able to pull docker image. Without it the https://github.com/awslabs/amazon-ecr-credential-helper can't pull image when docker build too, see https://github.com/awslabs/amazon-ecr-credential-helper/issues/9.
As long as your "auths" part exists (with your registry in it), the new --docker_config option works fine with ECR.

I would strongly recommend re-opening this issue @aquamatthias and at the very list provide a workaround. Happy to chime in with docs if that helps …

Hi everyone, hopefully this can help: https://aws.amazon.com/blogs/apn/automating-ecr-authentication-on-marathon-with-the-amazon-ecr-credential-helper/

@bchav Thanks for the documentation link.
@mhausenblas By the time this ticket was closed, it looked like an ECR issue. Happy to reopen.
We should document a manual setup for ECR with Marathon as described by @bchav.
@mhausenblas any help is appreciated.

@sascala can you add usage of ECR as referenced above to the docs?

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-4333. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-4333. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


This is wonderful

Thank you so much for your work. I've just successfully got the example to work with Unity 2019.4.19f1 with no issues, and I'm excited to continue exploring.
THANK YOU!

Ah, thank you 🙂 It's good to hear these examples are useful.


Feature: Add dynamic loading of localization files (the ability to easily create/test your own localizations, etc.)

Fixed by 1106ca5 commit


failure deleting metrics with long and winding names

When deleting metrics with the name that merits shortening for the purpose of naming tables/views the operation fails resulting in "relation not found" error or some such. I believe this is due to the fact that the original metric name is passed to the delete_series_catalog_row instead of the table name. I believe this fixes it (it did for me):
diff --git a/pkg/migrations/sql/idempotent/base.sql b/pkg/migrations/sql/idempotent/base.sql
index 308e2fe..8cabe3e 100644
--- a/pkg/migrations/sql/idempotent/base.sql
+++ b/pkg/migrations/sql/idempotent/base.sql
@@ -1963,7 +1963,7 @@ BEGIN
         GET DIAGNOSTICS rows_affected = ROW_COUNT;
         num_rows_deleted = num_rows_deleted + rows_affected;
     END IF;
-    PERFORM SCHEMA_CATALOG.delete_series_catalog_row(name, series_ids);
+    PERFORM SCHEMA_CATALOG.delete_series_catalog_row(metric_table, series_ids);
     RETURN num_rows_deleted;
 END;
 $$

Sorry, no PR, I'm not acquainted with the code enough, I believe some changes elsewhere are also needed to trigger migration and I won't have time in the nearest future to figure it out (or even look into figuring it out or generally create a PR).

Hey @hacker , thank you for pointing this out. Yes, it should be metric_table. I don't think there are any more changes required for this, so you can open a PR after doing the go generate ./....

@Harkishen-Singh please submit a PR for this

So here it comes. the generate part is what I didn't know.
Note, that I haven't tested it after rebasing on current master. Also, interestingly, when running generate atop of 0.4.1 git diff produced readable diff, whereas on the master it says "binary files differ". No idea why, possibly because the lines grew longer or something, just saying… Anyway, I hope your automated tests cover possible breakages, otherwise it's probably best to test before merging.


[Bug]: metadata value can not be unmarshaled

Preflight Checklist

[X] I could not find a solution in the documentation, the existing issues or discussions
[X] I have joined the ZITADEL chat

Environment
Self-hosted
Version
2.54.9
Database
None
Database Version
No response
Describe the problem caused by this bug
I'm using a Complement Token Action to populate some claims from user metadata. Occasionally, the action fails because it tries to unmarshal a metadata value into float64 type
{
  "caller": "/home/runner/work/zitadel/zitadel/internal/logstore/emitters/stdout/stdout.go:19",
  "level": "info",
  "msg": "log record emitted",
  "record": "{\"logDate\":\"2024-09-18T08:55:16.033524922Z\",\"took\":329021,\"message\":\"action run failed: json: cannot unmarshal number 4E7691546 into Go value of type float64\",\"logLevel\":\"error\",\"instanceId\":\"234593317696831512\"}",
  "time": "2024-09-18T08:55:16Z"
}

To reproduce

Add "4E7691546" to user metadata under any key
Add a Complement Token Action that copies that value into user claims

let  myValue = ctx.v1.user.getMetadata().metadata.find(v => v.key === "my_key")

if (myValue) {
  api.v1.claims.setClaim('my_claim', myValue.value);
}

Either obtain a JWT token or use an introspection to trigger the action and observe the result.

Screenshots
No response
Expected behavior
Claim is set successfully
Operating System
No response
Relevant Configuration
No response
Additional Context
No response

The problem lies in the metadataByteArrayToValue function
json.Unmarshal makes assumptions about the value type when unmarshaling into an interface{}, which, in this case, leads to an incorrect result.
A workaround is to quote the string value when writing metadata via the API. However, it's unclear how this would behave when the value is set through the console.


Replace "I don't know" with "I'm not sure"

Context
Based on the latest design reviews, we will be updating the wording for "I don't know" radio options to "I'm  not sure". I also removed an unused dont_know option for the name_has_changed validation that was missed in #297.
Link to Trello card
https://trello.com/c/rWjhzVVR/1049-replace-i-dont-know-with-im-not-sure
Checklist

[x] Attach to Trello card
[x] Rebased main
[x] Cleaned commit history
[x] Tested by running locally

 Replace "I don't know" with "I'm not sure"


pull request for e2e test at 12/31/2016 12:56:07

:white_check_mark: Validation status: passed
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.


Add !important to text transform utility classes

Again, these are utility classes, so using !important makes sense; see

http://davidtheclark.com/on-utility-classes/
https://css-tricks.com/when-using-important-is-the-right-choice/

CC: @mdo for review

Approved by mdo via Slack conversation.


Can't navigate to Users folder in Open

Is your feature request related to a problem? Please describe.

I'm always frustrated when I am opening the bot:
I can't enter the path, I can't even find Users folder!

Describe the solution you'd like

Describe alternatives you've considered

Additional context

@liweitian  can you help investigate this?

I would be cool to allow typing with autocomplete instead of having to use the list view to select a location

it seems this is another permission issue. The glob function in globby does not have the permission to scan some directory.


ci: Makefile targets to deploy jenkins jobs

make cisd_deploy # to deploy to ci.suse.de
make cioo_deploy # to deploy to ci.opensuse.org

doesn't work for me because my conf is in a different location but if it helps to automate things, +1

is there a job that deploys the other jobs via this make command?

is there a job that deploys the other jobs via this make command?

@dirkmueller Sorry, I don't understand.

@jdsn my original plan was to create a job in jenkins that would deploy on git merge the changes automatically.

Ah, sure (had the same idea about the jenkins job). Do you prefer to have it as part of this PR? Otherwise I will just create another PR.
Will do the README changes.

@dirkmueller @toabctl
Addressed the comments and created jjb job that updates our CI jobs automatically.


code ** doesn't execute fzf

Checklist

[X] I have read through the manual page (man fzf)
[X] I have searched through the existing issues
[X] For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version
0.53.0 (brew)
OS

[ ] Linux
[X] macOS
[ ] Windows
[ ] Etc.

Shell

[X] bash
[ ] zsh
[ ] fish

Problem / Steps to reproduce
Type code ** and then press <TAB>, it doesn't execute fzf?
The result is: code \*\*
How can I check what's the problem?

https://github.com/junegunn/fzf?tab=readme-ov-file#supported-commands should answer your question.
We may add code to the default list in the future.

Sorry, but I don't know how to show all directories like when I type cd **<TAB>
I don't know what should I put in <()
Here's my .bashrc settings:
_fzf_complete_code() {
  _fzf_complete --multi --reverse --prompt="code> " -- "$@" < <(
  )
}
[ -n "$BASH" ] && complete -F _fzf_complete_code -o default -o bashdefault code

I was suggesting that you just add _fzf_setup_completion path code to your .bashrc.
But we may add code to the list of the commands for which fuzzy completion is enabled by default so that is no longer necessary.

@junegunn oh, I see, thank you!!

May i know how should i using cd **<tab> in fish shell?


move styles into /web

Corresponds to https://github.com/UW-Madison-DoIT/uw-frame/pull/11

Screenshot of /web:

Besides the primary button being red (sarcasm), i approve :+1:

hahaha


xray: include direction from operation_name as span annotation

Commit Message: xray: include direction from operation_name as span annotation
Additional Description: Span name is received as operation name inside xray tracer. Which is ignore today. But instead can be included as direction value inside the xray's span/segment annotations.
Risk Level: Low
Testing: Unit Testing
Docs Changes: NA
Release Notes: NA
Platform Specific Features: NA

/retest

/assign-from @envoyproxy/first-pass-reviewers

/retest


Implementation on Qvhighlights

Hi, I wonder if the results of qvhighlights is got by running train_mr.py? Cause I face same data format problem when it comes to eval.py. tahnk u!😊

You can use my model checkpoints with their config for inference, and you should able to reproduce the numbers.
If you want to re-train it. Please load the pretrained weight and then set the parameter settings based on the config. and you can monitor the training logs, find the one with best val scores.


Adds pullable component to multiple entities.

I added the pullable (and anchorable) component to

stools
office chairs
vending machines
potted plants (not anchorable)
arcade machines
booze dispensers
chem dispensers
chem masters
fuel/water tanks

Some bugs I found

You can't actually anchor the chem master, booze dispenser, or chem dispenser as it thinks you're trying to put the wrench in the chem dispenser. #1500
I was forced to add the anchorable component to office chairs, as it crashed when it didn't have it. Something to do with the physics component.
Buckling someone to a chair and pulling the chair works fine. However, pulling them instead throws an exception. #1499

Is there a base item type that pullable could be added to as well?

Add it to the mop bucket too

Add it to the mop bucket too

Done


CSS fixes

Changes within DS CSS to:

Visually connect the footer block with the DS content in a more visually appealing way. Was previously to much whitespace.
Ensure AAF logo is not cutoff in Firefox

This PR also addresses security issues within dependencies.

Closes #93.


CSS icon turns into folder icon

VSCode Version: Version 1.12.2
OS Version: macOS 10.12.5 (16F73)

In Explorer tab, new css files turns into folder icons after I press enter.

Please provide also vscode-icons version and a list of used extensions (can be produced from Help > Report Issues).

Is this a vscode bug? We have no influence over that? I'm trying to reproduce...

 That's a lot of extensions to check against. From my side, I can't reproduce this issue.
@inhaq You may have to disable the other extensions one by one and observe the behavior.

I also cannot reproduce it. :/

Sorry, let me try to disable all the plugins and try it again.

(Except ours) ;)

It works fine alone. I'll check it with other plugins and update it here.

@inhaq any news on this matter?

@robertohuertasm didn't find the particular scenario again and it works fine with all plugins enabled now.

Then I'll close this. In case you can reproduce it please report back to this thread. Thanks @inhaq!


missing file

Hello,
The file ''imputation_visual_check.ipynb'' is missed.
would you please share it as well.

Hi Zahra @zsajadifar,😃 SAITS may be useful to you on the time-series imputation problem. You can try SAITS with PyPOTS https://github.com/WenjieDu/PyPOTS with only few lines of code. Please take a look if you're interested.


[CLI]: Importing from MLFlow into WandB breaks because of permissions

Describe the bug
I'm trying to transition from MLFlow to WandB. I have 8 projects in MLFlow with 10 runs each, and I'm trying to use the code that is recommended here: https://docs.wandb.ai/guides/track/public-api-guide#advanced
but I keep getting this error:

from wandb.apis.importers import MlflowImporter

overrides = {"entity": "imvaria", "project": "TESTING"}
importer = MlflowImporter(mlflow_tracking_uri="https://mlflow.imvaria.com/")

all_runs = list(importer.download_all_runs())
testing_runs = [run for run in all_runs if run.run.info.experiment_id == '41']

[importer.import_one(run, overrides=overrides) for run in screendx_runs]

wandb.errors.CommError: It appears that you do not have permission to access the requested resource. Please reach out to the project owner to grant you access. If you have the correct permissions, verify that there are no issues with your networking setup.(Error 403: Forbidden)

I definitely do have permission for MLFlow because I'm able to hit the server using the python API and view experiments and runs. I can't find anything related to permissions in WandB web app.
Thanks!
Additional Files
No response
Environment
WandB version: 0.14.0
OS: Ubuntu 20.04
Python version: 3.9.15
Versions of relevant libraries:
Additional Context
No response

Hey @angadkalra thanks for filing this!
This error suggests that you might not have permissions for that specific W&B entity and project.  Maybe you're logged into a different instance?
The easiest way to check permissions is probably to create a run with this snippet:
with wandb.init(entity="imvaria", project="TESTING"):
  run.log({'example': 1})

Just tried that snippet and it worked fine.

Looks like theres a new error now:
>>> importer.import_one(testing_runs[0], overrides=overrides)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/conda/envs/pytorch/lib/python3.9/site-packages/wandb/apis/importers/mlflow.py", line 108, in import_one
    super().import_one(run, overrides)
  File "/opt/conda/envs/pytorch/lib/python3.9/site-packages/wandb/apis/importers/base.py", line 301, in import_one
    self._import_one(run)
  File "/opt/conda/envs/pytorch/lib/python3.9/site-packages/wandb/apis/importers/base.py", line 306, in _import_one
    sm.send(run._make_summary_record())
  File "/opt/conda/envs/pytorch/lib/python3.9/site-packages/wandb/apis/importers/base.py", line 164, in _make_summary_record
    "_runtime": self.runtime(),  # quirk of runtime -- it has to be here!
  File "/opt/conda/envs/pytorch/lib/python3.9/site-packages/wandb/apis/importers/mlflow.py", line 78, in runtime
    return self.run.info.end_time // 1_000 - self.start_time()
TypeError: unsupported operand type(s) for //: 'NoneType' and 'int'

Hmm, that's strange.  Can you check using the mlflow API to see if this run has a start time?
Can you also share the mlflow server and client versions?

mlflow server and client is version 2.2.2
using mlflow python cli
>>> run.info
<RunInfo: artifact_uri='gs://mlflow/artifacts/41/cb5526e714af436c9f2daff47e218dcb/artifacts', end_time=None, experiment_id='41', lifecycle_stage='active', run_id='cb5526e714af436c9f2daff47e218dcb', run_name=('TESTING'), run_uuid='cb5526e714af436c9f2daff47e218dcb', start_time=1676577355963, status='RUNNING', user_id='ubuntu'>

It looks like this run is still running -- is that correct?
status='RUNNING'

Are you trying to import a running run, or is the run already finished and maybe there's some logging issue on the MLFlow side?
I think in either case, we can guard for this.
For completeness, can you try importing a run that has an end_time?  I think your code would look something like this:
testing_runs = [run for run in all_runs if run.run.info.end_time is not None]

So here's what's happening. All my MLFlow project runs are status='FINISHED', but when I'm trying to import into WandB, it doesn't like the run name because it contains stuff like ':' or '/', so when I rename the MLFlow run in MLFlow, it changes the status to RUNNING, and then importing it becomes impossible.

Oh interesting, that sounds like a different issue.
So for your case, I think we can make two patches:

We'll add handling for incompatible strings (maybe replace : and / with __)
We'll add a dummy value for end_time so you can still import runs with status RUNNING

Yup I think that should be fine! I can post here if I run into any more issues. When do you think that patch will be available for download?

I keep getting this...can you tell me whats wrong with my run name?

ValueError: Artifact name may only contain alphanumeric characters, dashes, underscores, and dots. Invalid name:
"Train-Val split version 3 ResNet-50 - rmv confusing neg labels - Train Lung Harvard NLST NY-SBU - Lung 3 sites val - SSA 3.1.6"

@andrewtruong Hey man, any help with previous comment?

Hey @angadkalra, thanks for your patience!
I think your run name is fine, but our handling for Artifacts doesn't like that it has spaces -- looking into this now.

@angadkalra can you try this branch to see if it works for you?
https://github.com/wandb/wandb/tree/andrew/mlflow-importer-fixes

@angadkalra can you try this branch to see if it works for you? https://github.com/wandb/wandb/tree/andrew/mlflow-importer-fixes

Thanks for helping! Do you have instructions to install wandb package for a specific branch manually?
I'm guessing:

uninstall current pip package for wandb
checkout wandb repo, switch to your branch, install that branch (instructions for this needed)
run python code to login to wandb and try importing mlflow runs

The easiest way is to pip install the branch directly.
Try this:
pip install git+https://github.com/wandb/wandb.git@andrew/mlflow-importer-fixes

So I installed the branch and confirmed it was able to log a simple metric to a test project. Then I tried importing one mlflow run into the same test project, and it gave me this:
(Pdb) importer.import_one(testing_runs[1], overrides=overrides)
409 response executing GraphQL.
{"errors":[{"message":"run imvaria/TESTING/cb5526e714af436c9f2daff47e218dcb was previously created and deleted; try a new run name","path":["upsertBucket"]}],"data":{"upsertBucket":null}}
wandb: ERROR Error while calling W&B API: run imvaria/TESTING/cb5526e714af436c9f2daff47e218dcb was previously created and deleted; try a new run name (<Response [409]>)
409 response executing GraphQL.

So I changed the project name in overrides and it gave me this:
importer.import_one(testing_runs[1], overrides=overrides)
*** ValueError: Path is not a file: /tmp/tmpmr7kxnpd/ckpts

Hi @angadkalra, does /tmp/tmpmr7kxnpd/ckpts exist on your machine? It looks like it may be expecting a file and not a dir.
CC: @andrewtruong

Hey @angadkalra, it seems like you're generating some data to test this out.  If that's the case, can you please share:

The script you're using to add data to MLFlow
The script you're using to import data from MLFlow into W&B?

That will make debugging a lot easier.  Thanks!

@andrewtruong I'm not generating any extra data to test this out. I have 10 experiments with a few runs each already in our MLFlow server from past projects, and I'm just trying to port some of the important ones over.
This is the exact code I'm using to import mlflow runs into wandb:
from wandb.apis.importers import MlflowImporter

overrides = {"entity": "imvaria", "project": "TESTING"}
importer = MlflowImporter(mlflow_tracking_uri="https://mlflow.imvaria.com/")

all_runs = list(importer.download_all_runs())
testing_runs = [run for run in all_runs if run.run.info.experiment_id == '41']

[importer.import_one(run, overrides=overrides) for run in testing_runs]

Hi @angadkalra, does /tmp/tmpmr7kxnpd/ckpts exist on your machine? It looks like it may be expecting a file and not a dir.
CC: @andrewtruong

This path exists on my machine but I never created it explicitly and it seems to contain the artifacts for a single experiment run in MLFlow...I have no idea why or how it got created...and I'm not referencing it in my code at all

So the artifacts contained in the dir /tmp/tmpmr7kxnpd/ are the exact artifacts that failed to get imported over when I tried importing a single run from MLFlow into WandB. It's the first run in my experiment in MLFlow with ID == '41'. So maybe the wandb script is creating this directory while it's importing?

Hi @angadkalra, for a little background we don't typically write to /tmp unless the WANDB_DIR either doesn't exist or is unwritable. Could you try setting the env variable WANDB_DIR to a directory that exists and run again as a quick check?

Hi @angadkalra, I just wanted to follow up and see if setting WANDB_DIR helped here?

This is the code I tried to execute:
from wandb.apis.importers import MlflowImporter

overrides = {"entity": "imvaria", "project": "TESTING"}
importer = MlflowImporter(mlflow_tracking_uri="https://mlflow.imvaria.com/")

all_runs = list(importer.download_all_runs())
testing_runs = [run for run in all_runs if run.run.info.experiment_id == '41']
importer.import_one(testing_runs[1])

This is the current error I get:
403 response executing GraphQL.
{"errors":[{"message":"permission denied","path":["upsertBucket"],"extensions":{"code":"PERMISSION_ERROR"}}],"data":{"upsertBucket":null}}
wandb: ERROR Error while calling W&B API: permission denied (<Response [403]>)
It appears that you do not have permission to access the requested resource. Please reach out to the project owner to grant you access. If you have the correct permissions, verify that there are no issues with your networking setup.(Error 403: Forbidden)
Traceback (most recent call last):
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/sdk/lib/retry.py", line 131, in __call__
    result = self._call_fn(*args, **kwargs)
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/sdk/internal/internal_api.py", line 285, in execute
    return self.client.execute(*args, **kwargs)  # type: ignore
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/vendor/gql-0.2.0/wandb_gql/client.py", line 52, in execute
    result = self._get_result(document, *args, **kwargs)
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/vendor/gql-0.2.0/wandb_gql/client.py", line 60, in _get_result
    return self.transport.execute(document, *args, **kwargs)
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/sdk/lib/gql_request.py", line 56, in execute
    request.raise_for_status()
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.wandb.ai/graphql

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/sdk/internal/sender.py", line 977, in send_run
self._init_run(run, config_value_dict)
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/sdk/internal/sender.py", line 1015, in _init_run
    server_run, inserted, server_messages = self._api.upsert_run(
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/apis/normalize.py", line 73, in wrapper
    raise err
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/apis/normalize.py", line 41, in wrapper
    return func(*args, **kwargs)
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/sdk/internal/internal_api.py", line 1690, in upsert_run
    response = self.gql(
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/sdk/internal/internal_api.py", line 257, in gql
    ret = self._retry_gql(
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/sdk/lib/retry.py", line 147, in __call__
    retry_timedelta_triggered = check_retry_fn(e)
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/util.py", line 907, in check_retry_fn
    return fallback_retry_fn(e)
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/util.py", line 849, in no_retry_auth
    raise CommError(
wandb.errors.CommError: It appears that you do not have permission to access the requested resource. Please reach out to the project owner to grant you access. If you have the correct permissions, verify that there are no issues with your networking setup.(Error 403: Forbidden)
Traceback (most recent call last):
  File "/imvaria/data/import_mlflow_into_wandb.py", line 8, in <module>
    importer.import_one(testing_runs[1])
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/apis/importers/mlflow.py", line 108, in import_one
    super().import_one(run, overrides)
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/apis/importers/base.py", line 301, in import_one
    self._import_one(run)
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/apis/importers/base.py", line 311, in _import_one
    sm.send(run._make_artifact_record())
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/apis/importers/base.py", line 196, in _make_artifact_record
    art = wandb.Artifact(self.display_name(), "imported-artifacts")
File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/wandb/sdk/wandb_artifacts.py", line 169, in __init__
    raise ValueError(
ValueError: Artifact name may only contain alphanumeric characters, dashes, underscores, and dots. Invalid name: "Train-Val split version 3 ResNet-50 with Lung vs Rest - confusing labels - Train data - 3 sites val - SSA 3.1.6"

@angadkalra, could you try setting your API key in the Env variable WANDB_API_KEY?
Also, it may be worth trying to log this to your personal entity instead of the team. I see, that you should have access to the team but this could be a bug.

@nate-wandb My API key is set already. I'm able to train models and log all metrics, parameters, and ckpts to my wandb server.

Hey @angadkalra, the error you're getting looks like this line here:
ValueError: Artifact name may only contain alphanumeric characters, dashes, underscores, and dots. Invalid name: "Train-Val split version 3 ResNet-50 with Lung vs Rest - confusing labels - Train data - 3 sites val - SSA 3.1.6"

This contains invalid characters which previously should have failed, but we added a fix a few weeks ago that should have addressed this.
Can you please confirm you're using that branch?  I think one way to identify this in your code is to check if the helper function exists and changes the name as we expect.
run = testing_runs[0]
name = "Train-Val split version 3 ResNet-50 with Lung vs Rest - confusing labels - Train data - 3 sites val - SSA 3.1.6"
result = run._handle_incompatible_strings(name)

result

Alternatively, the next release is Tuesday, June 6th.  After that time you can pip install wandb directly

@andrewtruong Thanks for the reply!
I didn't realize the branch named changed from "fixes" to "118", so I had installed latest version of wandb instead...I'll re-install the merged branch and try my code again.

Can you try this in your own personal entity?  I think that should work.
If it does, try making yourself an admin of the Imvaria entity and then importing to that.

@andrewtruong I'm the only member and I'm an admin:

@andrewtruong So I tried on personal entity:
Tried this first:

Then tried importing a single mlflow run:
403 response executing GraphQL.
{"errors":[{"message":"permission denied","path":["upsertBucket"],"extensions":{"code":"PERMISSION_ERROR"}}],"data":{"upsertBucket":null}}
wandb: ERROR Error while calling W&B API: permission denied (<Response [403]>)
It appears that you do not have permission to access the requested resource. Please reach out to the project owner to grant you access. If you have the correct permissions, verify that there are no issues with your networking setup.(Error 403: Forbidden)
Traceback (most recent call last):
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/sdk/lib/retry.py", line 131, in __call__
    result = self._call_fn(*args, **kwargs)
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/sdk/internal/internal_api.py", line 320, in execute
    return self.client.execute(*args, **kwargs)  # type: ignore
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/vendor/gql-0.2.0/wandb_gql/client.py", line 52, in execute
    result = self._get_result(document, *args, **kwargs)
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/vendor/gql-0.2.0/wandb_gql/client.py", line 60, in _get_result
    return self.transport.execute(document, *args, **kwargs)
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/sdk/lib/gql_request.py", line 56, in execute
    request.raise_for_status()
  File "/home/angad_imvaria_com/.conda/envs/model-training/lib/python3.9/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.wandb.ai/graphql

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/sdk/internal/sender.py", line 953, in send_run
    self._init_run(run, config_value_dict)
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/sdk/internal/sender.py", line 991, in _init_run
    server_run, inserted, server_messages = self._api.upsert_run(
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/apis/normalize.py", line 73, in wrapper
    raise err
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/apis/normalize.py", line 41, in wrapper
    return func(*args, **kwargs)
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/sdk/internal/internal_api.py", line 1727, in upsert_run
    response = self.gql(
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/sdk/internal/internal_api.py", line 292, in gql
    ret = self._retry_gql(
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/sdk/lib/retry.py", line 147, in __call__
    retry_timedelta_triggered = check_retry_fn(e)
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/util.py", line 908, in check_retry_fn
    return fallback_retry_fn(e)
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/util.py", line 850, in no_retry_auth
    raise CommError(
wandb.errors.CommError: It appears that you do not have permission to access the requested resource. Please reach out to the project owner to grant you access. If you have the correct permissions, verify that there are no issues with your networking setup.(Error 403: Forbidden)

My WANDB_DIR is set but it keeps trying to write to /tmp:
Traceback (most recent call last):
  File "/imvaria/data/import_mlflow_into_wandb.py", line 8, in <module>
    importer.import_one(testing_runs[1])
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/apis/importers/mlflow.py", line 123, in import_one
    super().import_one(run, overrides)
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/apis/importers/base.py", line 316, in import_one
    self._import_one(run)
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/apis/importers/base.py", line 326, in _import_one
    sm.send(run._make_artifact_record())
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/apis/importers/base.py", line 202, in _make_artifact_record
    art.add_file(path, name)
  File "/home/angad_imvaria_com/.local/lib/python3.9/site-packages/wandb/sdk/artifacts/local_artifact.py", line 377, in add_file
    raise ValueError("Path is not a file: %s" % local_path)
ValueError: Path is not a file: /tmp/tmpvfy3g_my/ckpts

@andrewtruong any idea?

@angadkalra, when you ran this to your personal entity did you set entity in the overrides argument? If so, could you try not setting this? I can move the project for you if we find that this works. I just want to see if this is related to using the entity argument.

Hi @angadkalra, I wanted to see if you still wanted to investigate this and if you had a chance to try the above?

Yes I will try ASAP, sorry for the delay!

@nate-wandb So I tried not setting the entity argument and same error happens. I think this is what the problem is:
File "/home/angad/.local/lib/python3.9/site-packages/wandb/apis/importers/base.py", line 202, in _make_artifact_record
  art.add_file(path, name)

So path is /tmp/tmpw3188232/ckpts, and that dir has all the ckpts from the MLFlow run I'm trying to import, but it contains 5 files and art.add_file(...) isn't working because it thinks path is a file and not a dir. I think you need to loop through all files in path dir.

Hi @angadkalra, this makes sense. We have a function art.add_dir() as well that it looks like we need to apply if the path is a directory rather than pointing to a single file. I've submitted a ticket to the engineering team and can follow up once we have a fix on this.
Thank you, Nate

Thanks so much! Please let me know when fixed.

Hi @angadkalra , just wanted to confirm if this issue was resolved with the release around June 6th, or if you're still encountering issues.  Thanks.

@tristan-spaulding2 hey! I will update to the latest and rerun my code. Feel free to close this issue because I probably won't be able to test for a while! I can always reopen if this problem persists.
Thanks for your work!


Make requirement more clear

@mgreenegit : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-


draft-06/draft-07 support?

Hello from the JSON Schema specification team!
Does this project intend to update to more recent drafts?  We have published some release migration notes and are happy to answer any questions that might come up.
Sometime before the end of the year, we will be re-organizing our implementations page to highlight implementations that support at least draft-06.  Implementations supporting draft-04 and older will still be on the site, but not as visible.

In theory I don't see why not.

Would love to see this update :)

me too !

https://github.com/gavinwahl/postgres-json-schema/pull/13


Clear OR Close All Connections

when i want create new connection how can close all previous  connections that exist?
Actually i don't want create more than one connection. sometimes i need do reconnet , and in this situation i first set null WebSocket (WebSocket=null) for clearing previous connection and after that create a new connection but previous connection is exist yet still.
how can manage this state and clear or close all connections?

Setting null to WebSocket? Like this?
WebSocket ws = ...;
ws = null;

Assigning null to a variable (ws in the example above) does not have any effect. It results in that you just lose a reference to the WebSocket object which is pointed to by ws.
Call WebSocket.disconnect() method to close the connection.


Storage package

Create a generic package to handle database

Create a new generic Redis package
Add Postgres support

Are we going to use MySQL / PQ at the same time?

only Postgres, but to change the SQL provides is easily just one line

@Pantani do you use Pg as NoSql db?

We as use as SQL (Relational) db

@Pantani Could you justify use of PG next time when making such radical changes

@Pantani Could you justify use of PG next time when making such radical changes

Yes.
This PR don't make changes, only introduce a new package to handle databases. The database changes going to be in another PR. We need a better database with queries to handle the xpub things. I going to explain better and create a readme in the next PR


Allow user to decide where to install it; and don't put it in C:\JupyterLab per default

Description
Hi all,
I noticed during the installation that I cannot change the folder where the app is installed. It goes directly to C:\JupyterLab which is not recommended by Microsoft and also messy imho.
Reproduce
Install JupyterLab Desktop (version 3.1.12-1) on Windows.
Expected behavior
Would it be possible to install the App in "C:\Program Files" (for all users) or "C:\Users\username\AppData\Local..." where also other programs are installed?
Context

Operating System and version: Windows 10 20h2
JupyterLab version:  3.1.12-1

@haesleinhuepf Thanks for reporting this. Due to some limitations in our installer configuration, we needed to use a fixed but commonly available installation path for Windows. We will be working on adding flexibility.

One more hint on Windows:
Beneath the Microsoft Guidelines there is another important thing: todays higher performance PCs very often have a high speed SSD for the OS and some fat old hard disk drive for all that mass stuff, bloatware suites etc. Since the SSDs are more expensive the terabytes counted spaces are on the cheaper drives. That's why it is really annoying when tools don't permit to select drives and folders - it might force to buy another piece of hardware, although the fat drive is nearly empty.

I hope to be able to modify the installation path. Thank you guys

@haesleinhuepf Due to some limitations in our installer configuration, we needed to use a fixed but commonly available installation path for Windows

2.5 years later the situation is still the same. The user really shouldn't learn about this after installing the software. Because I, as an end user, intend to try it (see below why), install it with the intention to install it to a custom location, don't get the option to pick the path during install, and have to spend additional time finding out where it is installed to be able to uninstall it. If it's not technically possible to set a custom path for whatever reason, (even if it's for so long, which is fair), I think it's as fair to at least explicitly notify the user about the hardcoded install path straight in the installer dialog.
PS: If the above looks like a rant, blame the welcome bot :D The only reason why I tried the Windows installer was because I did not find an AppImage.  I only found https://github.com/jupyterlab/jupyterlab-desktop/issues/456 (which is almost two years old as well btw) and the automated bot post with zero further feedback only makes the whole issue look even worse than it is.


Added Properties data Populated in the UI

Fixed Alignment issue in properties window @yaichenbaum  fixed the alignment

Potential deployment issues related to this PR have been noted.


Add coronovirus facts

Hey @siaw23 I would love to contribute on this. Please let me know the details of this issue if possible

Hi! Thanks for jumping aboard!
The idea is to create a YAML of coronavirus stats. These facts can be found on government health websites like in the links below. Once there's a YAML file in place a new command can be created in /lib/cli.rb to pick at random some fact and display it. So then the command would be kovid fact to display a random fact from the YAML file.
https://www.cdc.gov/coronavirus/2019-ncov/symptoms-testing/share-facts.html
https://www.who.int/health-topics/coronavirus#tab=tab_1

I'll be closing this. Please feel free to reopen if you'll like to work on this. @anubhav8421


chore: make some links root-relative

same as https://github.com/sveltejs/svelte/pull/14825

preview: https://svelte-dev-git-preview-kit-13237-svelte.vercel.app/
this is an automated message


Error while trying to train

After running 'python train.py -opt options/train/train_SRResNet.yml' with DIV2K dataset,I get this error:
`export CUDA_VISIBLE_DEVICES=0,1
Traceback (most recent call last):
File "/data/thrc_shx/PycharmProjects/mmsr-master/codes/train.py", line 312, in
main()
File "/data/thrc_shx/PycharmProjects/mmsr-master/codes/train.py", line 46, in main
init_dist()
File "/data/thrc_shx/PycharmProjects/mmsr-master/codes/train.py", line 26, in init_dist
dist.init_process_group(backend=backend, **kwargs)
File "/home/thrc_shx/anaconda3/envs/py36pytorch/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 406, in init_process_group
store, rank, world_size = next(rendezvous(url))
File "/home/thrc_shx/anaconda3/envs/py36pytorch/lib/python3.6/site-packages/torch/distributed/rendezvous.py", line 119, in _env_rendezvous_handler
raise _env_error("RANK")
ValueError: Error initializing torch.distributed using env:// rendezvous: environment variable RANK expected, but not set
Process finished with exit code 1`
Any help is very much appreciated.

RESOLVED!!

RESOLVED!!

Could tell me how to  RESOLVED? ths


Add feature to bring your own secret resource

Hi this PR seeks to implement functionality to load existing secrets as environment variables in the pod.
The rationale behind this PR:
We use a controller that retrieves secrets from an external system and creates them in kubernetes. This PR would allow us to deploy this helmchart which simply consumes the existing secret provisioned by the controller.

Hello,
thank you for your commit. Before I merge it, can you be so kind and add test cases as well?
Thank you.

Sure! I'm not to familiar with the testing so I hope I did the right thing here.

Hi @bokysan ,
Can I politely ask you to have another look at this PR?
Thanks!

Sorry, missed it -- merging now!

Absolutely no problem :). Thank you very much for your time. Cheers!


SSL certificate problem

I m getting following error while installing with command line.

com/Homebrew/install/master/install)"
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

Is it possible to install without using curl? Can i download the master zip and install it manually?

What version of OS X are you on?

I m on 10.11.4 @MikeMcQuaid El mac el capitan

Can you still reproduce it? It could be GitHub was having an intermittent issue.

Yes i m still having issue. Please check the screenshot. Can i download source and install manually?

What happens if you view that URL in a browse on the same machine? Are you SSHd into that machine or using a local console?

it opens on browser. It is my local computer not in VM.

What does which curl show? What does curl https://github.com show?

which curl returns
/Applications/XAMPP/xamppfiles/bin/curl
curl github.com shows same issue
$ curl https://github.com
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

Can you try using /usr/bin/curl instead of the XAMPP curl ?

how to do that @javian . Actually i m new to commands lines. Some examples would be awesome.

/usr/bin/curl https://github.com

it works when i do /usr/bin/curl https://github.com
but this issue when i do
 /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
output on screen shot

@kingkarki Follow the instructions to intent to reinstall.

Finally it worked with this
/usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
First i had to uninstall  with this
/usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
Thank you @MikeMcQuaid and @javian you guys are awesome.

@kingkarki You probably should also have a look at your PATH setting since XAMPP seems to have a higher priority which might cause issues similar to this one in other places.

Yes you are right. Where can i find path variables on mac?

@MikeMcQuaid As requested on #630:
'What happens if you view that URL in a browse on the same machine?'
It opens in the browser, as shown in the screenshot attached by kingkarki above.
"Are you SSHd into that machine or using a local console?"
The issue happens when trying to build a VM via packer, which communicates with it via SSH, however all the checks following instructions in this thread were done by manually typing in the local command line of a VM (also built with Packer).
"What does which curl show?"
/usr/bin/curl
"What does curl https://github.com show?"
It displays the html from the page in the terminal

@chocolatewheelchair Not sure what your issue is; it sounds like it could be an issue with the VM or the version. Sorry!


skopeo build system does not work inside a container

I typically develop in containers these days, and the -v syntax refers to my host which ironically enough had a copy of skopeo installed into the same path and hilarity ensued.
I am too serious a person for hilarity so I would like a solution instead.
I am thinking if we packaged all the source into the image before running everything instead of using a volume, all would be good. It will slow down the build a little bit but not too much.
Host builds can just be go build I guess? Is that an issue?

I don't think we're actually getting anything by building in a container
right now because of the vendoring.
On Tue, Feb 21, 2017 at 11:40 AM, Miloslav Trmač<EMAIL_ADDRESS>wrote:

What is the issue and the failure path exactly?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/projectatomic/skopeo/issues/311#issuecomment-281456784,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABJ62Us7EJgcDpnpwUNsJwHvIjUDuQtks5rez3EgaJpZM4MHNM0
.

Steps to reproduce / expected results / actual results?

Sure, so do something like this:
docker run -it -v /var/run/docker.sock:/var/run/docker.sock golang

Install the deps you need, etc., And attempt to build containers/storage.
On Wed, Feb 22, 2017 at 11:36 AM, Miloslav Trmač<EMAIL_ADDRESS>wrote:

Steps to reproduce / expected results / actual results?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/projectatomic/skopeo/issues/311#issuecomment-281777868,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABJ68C-EVXSMXE6wqlWKA38vIxyAQT7ks5rfI4_gaJpZM4MHNM0
.

@erikh Is this still something you are interested in?  Does it work within Podman?

Nowadays we primarily advertise the non-container make binary-local which should have no issues with running inside a container.
If that is not sufficient clear steps to reproduce / expected results / actual results would still help with triaging.