Build failed in linux

Discussed in https://github.com/atom/atom/discussions/23470

Originally posted by detronetdip January 11, 2022
I have cloned the atom repo in my local system and was trying to build it as mentioned in the docs but when i run script/bootstarp it is showing me a large list of errors.
Can anyone help me to build atom from source code in Linux?

Finally after running following commands my issue has resolved.
sudo apt install build-essential
npm i -g  node-gyp-build
sudo apt install libsecret-1-dev
 npm install -g node-pre-gyp
sudo apt install libxkbfile-dev


24292222

24292222
Originally posted by @dram2040 in https://github.com/gruntjs/grunt-contrib-coffee/issues/191#issuecomment-960898544

Esri Whitepaper - ArcGIS Secure Mobile Implementation Patterns.pdf


Internal Error Bug Report [Automatically Created via App]

Version: 0.0.1 build 1
Error: get 'https://images.paramount.tech/uri/mgid:arc:imageassetref:shared.southpark.us.en:212399ca-1b1f-40c7-8546-995165535b1d&width=192&height=108&crop=true': HTTP error: 400 Bad Request

Thanks for the bug report. What episodes does this occur on and what region are you in?


clientid for Openhab embedded

[2019-05-02 06:16:56] Connecting to MQTT broker ...
[2019-05-02 06:16:56] Connection error with result code 2 - Connection Refused: identifier rejected.
I am using the Openhab Embedded MQTT and looks like it requires a clientid.  Is there a way to add that to the config.ini?

We've already had this discussion. Have a look here: #65


C4996 error and warning with Visual Studio

Using latest commit, C4996 errors and warnings spew on every string manipulation function calls:

std::strcpy (Warning)
std::strcat (Warning)
std::copy (Error - compile fail) on non-iterator/pointer destination

Error	C4996	'std::copy::_Unchecked_iterators::_Deprecate': Call to 'std::copy' with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
changing std::copy(m_start, m_end, buf.data()); to std::copy(m_start, m_end, buf.begin()); fix this problem.

warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
I think turning off the warning like proposed on #453 before might be enough but probably not a clean solution.

Thanks for reporting! I had some headaches taking over the code with strcat/strlen, but it seemed more elegant compared to a manual search for the \0 byte. However, this manual search can be done in a for loop in this setting, so it shall be safe to replace the array<char, N> by a std::vector<char> or std::string with respective reservation of N bytes.

Since dealing with string here, In my opinion the std::string with reservation of N bytes approach is a better choice. There will be no need to call strcat/strcpy or do it manually since we got + operator and = operator. The strlen you mentioned isn't affected and still can be used, but switching to .length() is recommended.
There is only one usage of strlen on array data I found in latest commit
const auto data_end = m_buf.begin() + strlen(m_buf.data());

const bool value_is_int_like =
      std::none_of(m_buf.begin(), data_end, [](const char c)
      {
           return (c == '.' or c == 'e' or c == 'E');
      });

which then can be switched to .cbegin(), .cend() instead.

The rationale for using std::array<char, N> instead of a std::string in this context was to avoid heap allocations, which is the performance bottleneck.

Well both std::string and std::vector does heap allocation. So for performance critical, I think ignoring the warning worth it, since we control the input data ".", "-0.0" and "0.0".

Another solution
#if defined(_MSC_VER)
#define JSON_STRCPY strcpy_s
#define JSON_STRCAT strcat_s
#define JSON_STROUT(out, buflen) out, buflen
#else
#define JSON_STRCPY std::strcpy
#define JSON_STRCAT std::strcat
#define JSON_STROUT(out, buflen) out
#endif

Then call like this
JSON_STRCAT(JSON_STROUT(m_buf.data(), m_buf.size()), ".0");
and finally
#undef JSON_STRCAT
#undef JSON_STRCPY
#undef JSON_STROUT

I did some refactoring to avoid the unsafe calls, see 83a9c60dbda7ab81a34f38cce037440316311eac. I combined a call to strlen and a std::none_of to a single for loop and unrolled stdcpy/ strcat to a sequence of assignments. What do you think?

@prsyahmi Could you please try with the most recent version?

The code looks good and it compiles fine here, no more warning and error 👍


Update metrics-server version to latest 0.7.1 in components.json

A new version of metrics-server is released on Mar-27-2024 (just few weeks back). Getting the latest version due to CVE in existing version 0.7.0. The release notes of metrics-server is available here https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.7.1
What type of PR is this?
/kind feature
What this PR does / why we need it:
A new version of metrics-server is released on Mar-27-2024 (just few weeks back). Getting the latest version due to CVE in existing version 0.7.0.
Which issue(s) this PR fixes:
Fixing CVE in the existing version 0.7.0. The release notes of metrics-server is available here https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.7.1
Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.148%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2414

Relevant Lines:
3050

💛  - Coveralls


WIP: Allow users to set data alignment within netcdf4 files

Closes https://github.com/Unidata/netcdf-c/issues/2177
I'm really not sure how to make this "backward" compatible with older versions.

A couple of immediate questions.

What is the use case(s) for this?
Can this be done by a separate (new) API function that must be called after nc_create, but before anything is written to the file?

The main usecase for this is to memorymap large arrays in an alligned fashion. This enables efficient transfer of data between SSDs, network interfaces, and RAM.
I'll look to see if i can do this later after opening.

I honestly tried to look through the documentation, it isn't clear that you can change the FAPL after creation.
From the examples, they seem to open a file, copy the FAPL, then close it, then reopen it with a different FAPL.
I also posted the question on the forum, but I need to get moderated. It should appear
https://forum.hdfgroup.org/c/hdf5
in a few days i guess

Sorry, looking at the source, it is clear that it is a "copy" of the FAPL.
https://github.com/HDFGroup/hdf5/blob/develop/src/H5F.c#L152

I will have to think about this.

As we discussed in the other thread, alignment has to be set before the file open. When netcdf-c opens a file, it will use the alignment setting to call the HDF5 alignment function when it creates the FAPL...

On the HDF5 forum, it is confirmed that it must be specified at open time:
https://forum.hdfgroup.org/t/dynamically-change-the-file-access-property-list/9314/3


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/63105

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/65215

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/68355

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/73912

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/78544

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/82709

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/87563

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/88300

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/89214

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/93393

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/95525


[EmitC] Run canonicalizer after the conversion

In order to make this work allocation of uninitialized stack variables is now done through calls to iree_alloca. This shrinks the static library C sample by ~900 bytes in release mode.
Progress on #6737

The problem is that emitc.constant ops are used in a way so that they are not constant. E.g. there is code similar to
  func @myfunc() {
    %0 = "emitc.constant"() {value = 0 : i32} : () -> i32
    %1 = "emitc.constant"() {value = 0 : i32} : () -> i32
    %2 = emitc.apply "&"(%0) : (i32) -> !emitc.opaque<"int32_t*">
    %3 = emitc.apply "&"(%1) : (i32) -> !emitc.opaque<"int32_t*">
    emitc.call "write_to_ptrs"(%2, %3) : (!emitc.opaque<"int32_t*">, !emitc.opaque<"int32_t*">) -> ()
    return
  }

which mlir-opt --canonicalize transforms into
  func @myfunc() {
    %0 = "emitc.constant"() {value = 0 : i32} : () -> i32
    %1 = emitc.apply "&"(%0) : (i32) -> !emitc.opaque<"int32_t*">
    %2 = emitc.apply "&"(%0) : (i32) -> !emitc.opaque<"int32_t*">
    emitc.call "write_to_ptrs"(%1, %2) : (!emitc.opaque<"int32_t*">, !emitc.opaque<"int32_t*">) -> ()
    return
  }

So the actual challenge is to model stack variables. Generating emitc.call ops to alloca() seemed reasonable, but you're right that using alloca() is dangerous. Therefore, we probably need something else to model on the EmitC dialect side as well as code that can be emitted as valid C and C++.

I'll propose an emitc.variable op which should fix most of the problems we're currently facing.

Superseded by #8424 .


Add payment price to checkout and order

What I'm trying to achieve
I would like to be able to have a fee for payment listed separately in checkout and order. Specifically I need to add a "Cash on Delivery" payment option, which should have an additional cost based on a selected channel. Once the CoD option is selected the checkout summary should be updated with proper fee displayed and total recalculated.
Describe a proposed solution

Add price field to PaymentGateway type.
Add paymentPrice to Checkout and Order models, similarly to shippingPrice.
Add checkoutPaymentUpdate mutation, which would populate paymentPrice based on the price in selected payment gateway and would recalculate total.

Adjustments for Avalara:

Add new field that would store Handling tax code (default OH010000).
Handle translating order's paymentPrice into Avalara line, taking into account the configured tax code.

https://developer.avalara.com/avatax/dev-guide/shipping-and-handling/taxability-of-handling-charges/
Other solutions I've tried and won't work
I was thinking about adding a product that would serve as payment fee and then add it's ID to payment gateway's configuration. However not having a payment price on the checkout model requires doing some acrobatics on the frontend as I'd have to add line item to checkout once the CoD option gets selected and remove it if payment option gets changed. Additionally I'd have to filter out this special product from the summary. Incorporating payment price into Saleor would be much more convenient.
Screenshots or mockups
How it could look like in checkout:

Adjustments for Avalara:

@CossackDex @timuric, any thought on that? Is it a feature worth adding to the Saleor roadmap?

We thought internally about that, but then:

you mix shipping with payment costs, which could have different taxes, which is a blocker for us,
you still need a payment method, so you end up with a dummy one.


[GLUTEN-1632][CH]Daily Update Clickhouse Version (20230607)

Auto commit by gluten daily build, please check the build status and merge it if it's green.

Run Gluten Clickhouse CI


Repo sync for protected CLA branch

The pull request is created from main638043931395056939sync_temp to main to fix git push error for protected CLA branch

Learn Build status updates of commit e1006eb:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


[Feature] Allow to use student submissions as an example submission

Checklist

[x] I tested all changes and all related features with different users (student, tutor, editor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Server: I followed the coding and design guidelines.
[x] Server: I added multiple integration tests (Spring) related to the features (with a high test coverage)
[x] Server: I added @PreAuthorize and check the course groups for all new REST Calls (security)
[x] Server: I implemented the changes with a good performance and prevented too many database calls
[x] Server: I documented the Java code using JavaDoc style.
[x] Client: I followed the coding and design guidelines.
[x] Client: I added multiple integration tests (Jest) related to the features (with a high test coverage)
[x] Client: I added authorities to all new routes and check the course groups for displaying navigation elements (links, buttons)
[x] Client: I documented the TypeScript code using JSDoc style.
[x] Client: I added multiple screenshots/screencasts of my UI changes
[x] Client: I translated all newly inserted strings into English and German.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.

Motivation and Context

Fixes #3825
Example submission is useful to train tutors before the assessment period. Instructor sometimes looks at the random student submission and decides to use this submission as an example submission. For that, instructor has to copy the text/model element and the assessment of the submission. This PR introduces new “Import as Example Submission” button in the assessment page. With this feature, instructor able to copy the student submission with its assessment, then instructor can find this newly created example submission in the board.
Description

Example submission is available for Modeling and Text exercise. Import Example Submission button is added in assessment-header-component, the corresponding event functions are defined in modeling-assessment-editor.component and text-submission-assessment.component

New route for import API is defined in ExampleSubmissionResource, and the corresponding api call service is defined in example-submission.service

importStudentSubmissionAsExampleSubmission() is introduced to use corresponding copySubmission functions depending exercise type.

While working on this implementation, I noticed some problems.  Since it affects the functionality of this feature, so this PR also covers bugfixing for them:
Bugfix:  If the text exercise has already example submission, there is Internal Server Error when we want to Import the Text Exercise.

This happens because some text-block variables(e.g addedDistance, cluster, positionInCluster) can be null.  Because, addedDistance is only needed for feedback suggestions, and copied text-blocks are not part of the cluster. When we copy the text blocks these null variables cause NullPointerException. So, the corresponding null checks are added for copyTextBlocks in TextExerciseImportService

Bugfix: After copying the submission with its assessment, the feedback references are not matched with text-block ids which is copied from original submission.

After creating new text block, submission, result, feedback entries by referencing the original submission, the feedback references still match with original text block ids. So, I introduced new function called updateFeedbackReferencesWithNewTextBlockIds() in TextExerciseImportService. So, the assessment of new submission will be shown properly after importing the text exercise.

Also refactored the client testBed configuration to speed-up tests for (text-submission-assessment.component.spec.ts and example-submission.service.spec.ts ) (because it took so long while I was working on tests)
Steps for Testing

Login Artemis
Navigate to Course Management
Find/create modeling and text exercises (Instructor)
The exercise should have at least one student submission to utest the functionality, if your exercise already have one skip this step, otherwise submit new submisison as Student
As an Instructor, assess the student submission, save the assessment then you should see “Import as Example Submission” button.
Click that, then go to Example Submission page for that exercise.
The example submission should be clisted in there, open the submission, confirm that it is copied properly with its assessment.

Testing Steps For Bugfix:

Login Artemis
Navigate to Course Management
Find/create text exercises (Instructor)
Text exercise must have at least one example submission, do not forget to assess the example submission.
Then go back to Exercises page, Click “Import Text Exercise” button, choose the exercise that you created in previous steps.
Change the name if you want (you can find the imported exercises easily afterwards), click “Import”.
Confirm that there is no Internal Server Error.
Go to Example Submissions page for the imported exercise.
Check the example submission, , confirm that it is copied properly with its assessment.

Review Progress

Code Review

[x] Review 1
[x] Review 2

Manual Tests

Test for Import as Example Submission button functionality

[x] Test 1
[x] Test 2

Test for Import Text Exercise with Example Submissions (Bugfix)

[x] Test 1 (From Current Course to Another Course)
[x] Test 2 (From Current Course to Same Course)

Test Coverage

*only covered new functions
ExampleSubmissionService.java 89%
TextExerciseImportService.java 100%
ExampleSubmissionResource.java 86%
example-submission.service.spec.ts 100%
text-submission-assessment.component.spec.ts 68%
modeling-assessment-editor.component.spec.ts 75%
Screenshots

Import as Example Submission Button in Assessment Page

Example Submission board for the respective exercise

I have a question regarding the import of example submission. When assessing student's submission I added additional feedback shown in the image below

hi @MerlinMehmed ! thanks for testing it. so you override the assessment right? If you add the feedback after you already used this submission as an example submission, it won't be displayed in the example submission. Because, when you click this Import button, it copies the current submission and creates new one, so the newly created example submission is not associated student submission directly.

I am not completely sure what is the use case of the feedback but with it, the assessment is graded for 6/10 points and the example submission has 1/10 points just because the feedback is missing. Am I using it wrong and is it correct that this part is not copied?

I thought that instructor may want to override the assessment after importing the student submission. Import button will be activated, when the assessment has been submitted once. So that, he/she can create different combinations of this assessment to use these example submission in training process of assessment.  Is this more clear from your side?

I also tested the functionality for import example submission for text and modelling exercise in TS1
It works as expected 🎉 @imstreetspirit


Restructured fetching logic to make it clearer

The restructuring not only makes it easier to debug and extend, but also fixes #20 due to not calling the Youtube library unless explicitly desired by the user.

@GreenDiscord Hi, could you take a look at this please? 😄

For sure, as always, is it tested to be working?

It works for me, but I honestly still don't understand some parts of the program, so I might be missing something that I just didn't think to test 😅 It also doesn't check Spotify as a backup in case Apple failed to find anything anymore, but I think that was sort of misleading to do anyways 😅

Actually, it might be good idea to ask @Choomai if it solves their issue before merging 😅

It works for me, but I honestly still don't understand some parts of the program, so I might be missing something that I just didn't think to test 😅 It also doesn't check Spotify as a backup in case Apple failed to find anything anymore, but I think that was sort of misleading to do anyways 😅

Only reason I had the option to choose is if spotify had different album work vice versa.

Ah, I see, that makes sense 😅  I'll look into how to best keep the functionality, then 😅

@GreenDiscord Now it should be checking other sources if the preferred ones fail. I also added try-catch-finally around the Youtube fetching code, so now it won't crash anymore, just print the error.
By the way, would you happen to know what the error @Choomai is getting (it's posted at #20) might mean? 😅

@GreenDiscord It appears to be working as intended with this last commit. Do you have any concerns about the new code? 😄

This all good now?


utils: build both SHADED and original jars

Description
This PR builds two jars for utils project

cloud-utils-<IP_ADDRESS>-SNAPSHOT.jar : will be built into cloudstack-<IP_ADDRESS>-SNAPSHOT.jar (installed on management server) and systemvm/target/agent.zip (copied into system vms).
cloud-utils-<IP_ADDRESS>-SNAPSHOT-SHADED.jar , will be installed as /usr/share/cloudstack-common/lib/cloudstack-utils.jar

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan package

@weizhouapache a [SF] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6891

@blueorangutan test

@weizhouapache a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan test ubuntu22 kvm-ubuntu22

@weizhouapache a [SF] Trillian-Jenkins test job (ubuntu22 mgmt + kvm-ubuntu22) has been kicked to run smoke tests

Hi @weizhouapache thanks for the PR - can you explain, the advantage of this, for systemvms aren't we copying all dependency jars?

can you explain why @weizhouapache ? It seems the jars are the same and only one needs to be built.

@rohityadavcloud @DaanHoogland

Without this PR (main)

During build, it creates cloud-utils-<IP_ADDRESS>-SNAPSHOT.jar which contains some dependencies, see below
https://github.com/apache/cloudstack/blob/3b05797344c15a9fbd6bee4ecd38281b677f24a2/utils/pom.xml#L267-L273
The jar will be installed as /usr/share/cloudstack-common/lib/cloudstack-utils.jar so we can use it to encrypt/decrypt values, for example,
# java -classpath /usr/share/cloudstack-common/lib/cloudstack-utils.jar com.cloud.utils.crypt.EncryptionCLI -p password -i testinput -v
Input: testinput
Encrypted: 0SrcIiIutYYQ43s4pc9e93MUCXELM0T7uHj4UFB5sfD+IhW9rQ==

# java -classpath /usr/share/cloudstack-common/lib/cloudstack-utils.jar com.cloud.utils.crypt.EncryptionCLI -p password -i 0SrcIiIutYYQ43s4pc9e93MUCXELM0T7uHj4UFB5sfD+IhW9rQ== -d -v
Input: 0SrcIiIutYYQ43s4pc9e93MUCXELM0T7uHj4UFB5sfD+IhW9rQ==
Encrypted: testinput

This jar file will be copied to system vms  (as /usr/local/cloud/systemvm/cloud-utils-<IP_ADDRESS>-SNAPSHOT.jar).
There are two issues

The dependencies are also included in cloud-client-ui-<IP_ADDRESS>-SNAPSHOT.jar and deployed to management server (as part of /usr/share/cloudstack-management/lib/cloudstack-<IP_ADDRESS>-SNAPSHOT.jar). so it is not needed to built into cloudstack-<IP_ADDRESS>-SNAPSHOT.jar twice.

In the testing of PR #7131, it causes that system vms do not have any logs (see discussions after https://github.com/apache/cloudstack/pull/7131#issuecomment-1692211705) , which because log4j jars exists in the directory /usr/local/cloud/systemvm/ and is also built into cloud-utils-<IP_ADDRESS>-SNAPSHOT.jar

With this PR

During build, there are two jars
(1) cloud-utils-<IP_ADDRESS>-SNAPSHOT.jar : will be built into cloudstack-<IP_ADDRESS>-SNAPSHOT.jar (installed on management server) and systemvm/target/agent.zip (copied into system vms). This does not have any dependencies. The system vm log issue with #7131 can be solved.
(2) cloud-utils-<IP_ADDRESS>-SNAPSHOT-SHADED.jar , will be installed as /usr/share/cloudstack-common/lib/cloudstack-utils.jar. This package has some dependencies and can be used separately (no need to include log4j jars in the path)

ok so this depends on #7131  to make any sense, but it removes the need of a new command line for the encryption tools :+1:

ok so this depends on #7131 to make any sense, but it removes the need of a new command line for the encryption tools 👍

yes,
moreover, no need to install log4j-core and log4j-api in /usr/share/cloudstack-common/lib/  cc @JoaoJandre

Hi @weizhouapache thanks for the PR - can you explain, the advantage of this, for systemvms aren't we copying all dependency jars?

@rohityadavcloud
the jars in system vms are not changed, except cloud-utils.
this avoids some jar dependencies to be loaded twice (1 jar in directory, 1 jar in cloud-utils.jar) during the start of java process in system vms and management servers, which might cause some problems.

[SF] Trillian test result (tid-7555)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 38981 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t7555-xenserver-71.zip
Smoke tests completed. 111 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestVmAutoScaling>:setup
Error
0.00
test_vm_autoscaling.py

test_01_cancel_host_maintenace_with_no_migration_jobs
Error
307.52
test_host_maintenance.py

test_02_cancel_host_maintenace_with_migration_jobs
Error
1160.30
test_host_maintenance.py

[SF] Trillian test result (tid-7557)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 41146 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t7557-kvm-centos7.zip
Smoke tests completed. 109 look OK, 4 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_02_upgrade_kubernetes_cluster
Failure
553.16
test_kubernetes_clusters.py

ContextSuite context=TestVmAutoScaling>:setup
Error
0.00
test_vm_autoscaling.py

test_05_vmschedule_test_e2e
Failure
389.86
test_vm_schedule.py

test_02_cancel_host_maintenace_with_migration_jobs
Error
0.46
test_host_maintenance.py

test_03_cancel_host_maintenace_with_migration_jobs_failure
Error
0.54
test_host_maintenance.py

test_01_cancel_host_maintenance_ssh_enabled_agent_connected
Failure
20.47
test_host_maintenance.py

test_03_cancel_host_maintenance_ssh_disabled_agent_connected
Failure
20.51
test_host_maintenance.py

test_04_cancel_host_maintenance_ssh_disabled_agent_disconnected
Failure
32.51
test_host_maintenance.py

[SF] Trillian test result (tid-7556)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 43123 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t7556-vmware-67u3.zip
Smoke tests completed. 108 look OK, 5 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_02_trigger_shutdown
Failure
336.64
test_safe_shutdown.py

ContextSuite context=TestVmAutoScaling>:setup
Error
0.00
test_vm_autoscaling.py

test_01_unmanage_vm_cycle
Error
65.08
test_vm_lifecycle_unmanage_import.py

test_01_create_volume
Failure
135.51
test_volumes.py

test_02_cancel_host_maintenace_with_migration_jobs
Error
0.41
test_host_maintenance.py

test_03_cancel_host_maintenace_with_migration_jobs_failure
Error
0.49
test_host_maintenance.py

[SF] Trillian test result (tid-7559)
Environment: kvm-ubuntu22 (x2), Advanced Networking with Mgmt server u22
Total time taken: 51885 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t7559-kvm-ubuntu22.zip
Smoke tests completed. 110 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_list_vms_metrics_admin
Error
3609.72
test_metrics_api.py

test_list_vms_metrics_history
Error
5.51
test_metrics_api.py

test_list_volumes_metrics_history
Error
5.59
test_metrics_api.py

ContextSuite context=TestVmAutoScaling>:setup
Error
0.00
test_vm_autoscaling.py

test_02_cancel_host_maintenace_with_migration_jobs
Error
0.47
test_host_maintenance.py

test_03_cancel_host_maintenace_with_migration_jobs_failure
Error
0.50
test_host_maintenance.py

test_01_cancel_host_maintenance_ssh_enabled_agent_connected
Failure
20.52
test_host_maintenance.py

test_03_cancel_host_maintenance_ssh_disabled_agent_connected
Failure
11.47
test_host_maintenance.py

test_04_cancel_host_maintenance_ssh_disabled_agent_disconnected
Failure
31.63
test_host_maintenance.py

@blueorangutan test matrix

@weizhouapache a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-7575)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 40969 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t7575-xenserver-71.zip
Smoke tests completed. 111 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestVmAutoScaling>:setup
Error
0.00
test_vm_autoscaling.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Failure
445.58
test_vpc_redundant.py

[SF] Trillian test result (tid-7577)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 45162 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t7577-kvm-centos7.zip
Smoke tests completed. 110 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestVmAutoScaling>:setup
Error
0.00
test_vm_autoscaling.py

test_05_vmschedule_test_e2e
Failure
268.61
test_vm_schedule.py

test_02_cancel_host_maintenace_with_migration_jobs
Error
0.33
test_host_maintenance.py

test_03_cancel_host_maintenace_with_migration_jobs_failure
Error
0.42
test_host_maintenance.py

test_01_cancel_host_maintenance_ssh_enabled_agent_connected
Failure
56.70
test_host_maintenance.py

test_03_cancel_host_maintenance_ssh_disabled_agent_connected
Failure
0.12
test_host_maintenance.py

test_04_cancel_host_maintenance_ssh_disabled_agent_disconnected
Failure
0.10
test_host_maintenance.py

[SF] Trillian test result (tid-7576)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 74232 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t7576-vmware-67u3.zip
Smoke tests completed. 87 look OK, 26 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestHostControlState>:setup
Error
3.96
test_host_control_state.py

test_01_add_delete_kubernetes_supported_version
Error
0.06
test_kubernetes_supported_versions.py

ContextSuite context=TestListIdsParams>:setup
Error
0.00
test_list_ids_parameter.py

ContextSuite context=TestRouterDns>:setup
Error
0.00
test_router_dns.py

ContextSuite context=TestLoadBalance>:setup
Error
0.00
test_loadbalance.py

ContextSuite context=TestRouterDnsService>:setup
Error
0.00
test_router_dnsservice.py

ContextSuite context=TestRouterServices>:setup
Error
0.00
test_routers.py

ContextSuite context=TestMetrics>:setup
Error
0.00
test_metrics_api.py

ContextSuite context=TestIsolatedNetworks>:setup
Error
0.00
test_routers_network_ops.py

ContextSuite context=TestRedundantIsolateNetworks>:setup
Error
0.00
test_routers_network_ops.py

ContextSuite context=TestRouterIpTablesPolicies>:setup
Error
0.00
test_routers_iptables_default_policy.py

ContextSuite context=TestVPCIpTablesPolicies>:setup
Error
0.00
test_routers_iptables_default_policy.py

test_01_sys_vm_start
Failure
0.13
test_secondary_storage.py

ContextSuite context=TestServiceOfferings>:setup
Error
1516.50
test_service_offerings.py

ContextSuite context=TestVMWareStoragePolicies>:setup
Error
0.00
test_storage_policy.py

test_02_create_template_with_checksum_sha1
Error
65.63
test_templates.py

test_03_create_template_with_checksum_sha256
Error
65.64
test_templates.py

test_04_create_template_with_checksum_md5
Error
65.58
test_templates.py

test_05_create_template_with_no_checksum
Error
65.58
test_templates.py

ContextSuite context=TestTemplates>:setup
Error
6.82
test_templates.py

ContextSuite context=TestVmAutoScaling>:setup
Error
0.00
test_vm_autoscaling.py

test_01_deploy_vm_on_specific_host
Error
1.27
test_vm_deployment_planner.py

test_02_deploy_vm_on_specific_cluster
Error
1.25
test_vm_deployment_planner.py

test_03_deploy_vm_on_specific_pod
Error
1.28
test_vm_deployment_planner.py

test_04_deploy_vm_on_host_override_pod_and_cluster
Error
1.31
test_vm_deployment_planner.py

test_05_deploy_vm_on_cluster_override_pod
Error
1.27
test_vm_deployment_planner.py

ContextSuite context=TestDeployVM>:setup
Error
0.00
test_vm_life_cycle.py

test_01_offline_migrate_VM_and_root_volume
Error
1.31
test_vm_life_cycle.py

test_02_offline_migrate_VM_with_two_data_disks
Error
1.26
test_vm_life_cycle.py

test_03_live_migrate_VM_with_two_data_disks
Error
1.28
test_vm_life_cycle.py

test_04_migrate_detached_volume
Error
1.33
test_vm_life_cycle.py

ContextSuite context=TestVAppsVM>:setup
Error
1518.41
test_vm_life_cycle.py

ContextSuite context=TestVMLifeCycle>:setup
Error
1522.49
test_vm_life_cycle.py

test_01_unmanage_vm_cycle
Error
6.47
test_vm_lifecycle_unmanage_import.py

ContextSuite context=TestUnmanageVM>:teardown
Error
6.50
test_vm_lifecycle_unmanage_import.py

ContextSuite context=TestVMSchedule>:setup
Error
0.00
test_vm_schedule.py

test_change_service_offering_for_vm_with_snapshots
Error
1.30
test_vm_snapshots.py

ContextSuite context=TestVmSnapshot>:setup
Error
9.39
test_vm_snapshots.py

ContextSuite context=TestCreateVolume>:setup
Error
0.00
test_volumes.py

ContextSuite context=TestVolumes>:setup
Error
1516.08
test_volumes.py

ContextSuite context=TestIpv6Vpc>:setup
Error
0.00
test_vpc_ipv6.py

ContextSuite context=TestVPCRedundancy>:setup
Error
0.00
test_vpc_redundant.py

ContextSuite context=TestVPCNics>:setup
Error
0.00
test_vpc_router_nics.py

ContextSuite context=TestRVPCSite2SiteVpn>:setup
Error
0.00
test_vpc_vpn.py

ContextSuite context=TestVPCSite2SiteVPNMultipleOptions>:setup
Error
0.00
test_vpc_vpn.py

ContextSuite context=TestVpcRemoteAccessVpn>:setup
Error
0.00
test_vpc_vpn.py

ContextSuite context=TestVpcSite2SiteVpn>:setup
Error
0.00
test_vpc_vpn.py

test_02_cancel_host_maintenace_with_migration_jobs
Error
1.54
test_host_maintenance.py

test_03_cancel_host_maintenace_with_migration_jobs_failure
Error
1.68
test_host_maintenance.py

@blueorangutan package

@weizhouapache a [SF] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan LLpackage

Packaging result [LL]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6170

Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6934

@weizhouapache a [LL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

[LL]Trillian test result (tid-6727)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 37920 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t6727-xenserver-71.zip
Smoke tests completed. 112 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestVmAutoScaling>:setup
Error
0.00
test_vm_autoscaling.py

[LL]Trillian test result (tid-6729)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 38458 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t6729-kvm-centos7.zip
Smoke tests completed. 110 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_08_upgrade_kubernetes_ha_cluster
Failure
3652.56
test_kubernetes_clusters.py

test_09_delete_kubernetes_ha_cluster
Failure
0.05
test_kubernetes_clusters.py

ContextSuite context=TestKubernetesCluster>:teardown
Error
82.50
test_kubernetes_clusters.py

ContextSuite context=TestVmAutoScaling>:setup
Error
0.00
test_vm_autoscaling.py

test_02_cancel_host_maintenace_with_migration_jobs
Error
0.28
test_host_maintenance.py

test_03_cancel_host_maintenace_with_migration_jobs_failure
Error
0.35
test_host_maintenance.py

test_01_cancel_host_maintenance_ssh_enabled_agent_connected
Failure
17.30
test_host_maintenance.py

test_03_cancel_host_maintenance_ssh_disabled_agent_connected
Failure
20.34
test_host_maintenance.py

test_04_cancel_host_maintenance_ssh_disabled_agent_disconnected
Failure
28.04
test_host_maintenance.py

[LL]Trillian test result (tid-6728)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 38923 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t6728-vmware-67u3.zip
Smoke tests completed. 109 look OK, 4 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestVmAutoScaling>:setup
Error
0.00
test_vm_autoscaling.py

test_01_unmanage_vm_cycle
Error
50.16
test_vm_lifecycle_unmanage_import.py

test_01_create_volume
Failure
132.09
test_volumes.py

test_02_cancel_host_maintenace_with_migration_jobs
Error
0.29
test_host_maintenance.py

test_03_cancel_host_maintenace_with_migration_jobs_failure
Error
0.34
test_host_maintenance.py

@blueorangutan test matrix

@weizhouapache a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-7607)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 38198 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t7607-kvm-centos7.zip
Smoke tests completed. 111 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestVmAutoScaling>:setup
Error
0.00
test_vm_autoscaling.py

test_02_cancel_host_maintenace_with_migration_jobs
Error
0.37
test_host_maintenance.py

test_03_cancel_host_maintenace_with_migration_jobs_failure
Error
0.41
test_host_maintenance.py

test_01_cancel_host_maintenance_ssh_enabled_agent_connected
Failure
17.38
test_host_maintenance.py

test_03_cancel_host_maintenance_ssh_disabled_agent_connected
Failure
20.45
test_host_maintenance.py

test_04_cancel_host_maintenance_ssh_disabled_agent_disconnected
Failure
28.37
test_host_maintenance.py

[SF] Trillian test result (tid-7605)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 41214 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t7605-xenserver-71.zip
Smoke tests completed. 112 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestVmAutoScaling>:setup
Error
0.00
test_vm_autoscaling.py

@blueorangutan package

@weizhouapache a [SF] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6945

[SF] Trillian test result (tid-7606)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 47611 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t7606-vmware-67u3.zip
Smoke tests completed. 108 look OK, 5 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_08_upgrade_kubernetes_ha_cluster
Failure
698.09
test_kubernetes_clusters.py

ContextSuite context=TestVmAutoScaling>:setup
Error
0.00
test_vm_autoscaling.py

test_01_unmanage_vm_cycle
Error
67.84
test_vm_lifecycle_unmanage_import.py

test_01_create_volume
Failure
135.45
test_volumes.py

test_02_cancel_host_maintenace_with_migration_jobs
Error
0.37
test_host_maintenance.py

test_03_cancel_host_maintenace_with_migration_jobs_failure
Error
0.45
test_host_maintenance.py

@blueorangutan LLtest matrix

@weizhouapache a [LL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@weizhouapache @JoaoJandre should this be merged with the log4j2 PR? it seems to only be relevant in that context, is it?

@weizhouapache @JoaoJandre should this be merged with the log4j2 PR? it seems to only be relevant in that context, is it?

@DaanHoogland
this is an independant PR, which can fix the issue with system vms in the log4j PR.

@weizhouapache @JoaoJandre should this be merged with the log4j2 PR? it seems to only be relevant in that context, is it?

@DaanHoogland this is an independant PR, which can fix the issue with system vms in the log4j PR.

yes, and it is only needed if the log4j PR is merged, right?

@weizhouapache @JoaoJandre should this be merged with the log4j2 PR? it seems to only be relevant in that context, is it?

@DaanHoogland this is an independant PR, which can fix the issue with system vms in the log4j PR.

yes, and it is only needed if the log4j PR is merged, right?

it can reduce the package size of cloudstack packages (~4M for cloudstack-agent/common/usage/management)

again, this PR is separated. it does not matter if the log4j PR is merged or not.
The trillian tests for log4j PR do not work without this PR, unless trillian is modified.

[LL]Trillian test result (tid-6733)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 39588 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t6733-kvm-centos7.zip
Smoke tests completed. 113 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

@rohityadavcloud
does this looks good to you ?

[LL]Trillian test result (tid-6732)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 43720 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7912-t6732-vmware-67u3.zip
Smoke tests completed. 113 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

@weizhouapache I did some basic tests and it LGTM. I also tested this with #7131 and it does solve the issue. I added the log4j2 dependencies to the shaded jar and the system VM logs did not break.

good, thanks for testing @JoaoJandre


9c9media articles

Checklist

[X] I'm reporting a site feature request
[X] I've verified that I'm running yt-dlp version 2021.12.27. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Canada
Example URLs
https://vancouverisland.ctvnews.ca/james-bay-wolf-located-tranquilized-by-conservation-officers-police-say-1.4783618
Description
When video is embedded in an article the video does not download.
Direct link to the video DOES download correclty.
(video URL of example above: https://vancouverisland.ctvnews.ca/video?clipId=1885573&jwsource=em)
Thanks
Ringo
Verbose log
>yt-dlp.py -v "https://vancouverisland.ctvnews.ca/james-bay-wolf-located-tranquilized-by-conservation-officers-police-say-1.4783618"
[debug] Command-line config: ['-v', 'https://vancouverisland.ctvnews.ca/james-bay-wolf-located-tranquilized-by-conservation-officers-police-say-1.4783618']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2021.12.27 [6223f67a8] (zip)
[debug] Python version 3.6.6 (CPython 64bit) - Windows-10-10.0.14393-SP0
[debug] exe versions: ffmpeg 4.3.2-2021-02-02-full_build-www.gyan.dev, ffprobe 4.3.2-2021-02-02-full_build-www.gyan.dev, rtmpdump 2.4
[debug] Optional libraries: sqlite
[debug] Proxy map: {}
[debug] [CTVNews] Extracting URL: https://vancouverisland.ctvnews.ca/james-bay-wolf-located-tranquilized-by-conservation-officers-police-say-1.4783618
[CTVNews] 1.4783618: Downloading webpage
[download] Downloading playlist: 1.4783618
[CTVNews] playlist 1.4783618: Collected 0 videos; downloading 0 of them
[download] Finished downloading playlist: 1.4783618

Can an article have more than 1 video?

Can an article have more than 1 video?

It does not appear so, but there is often a "video selection carousel" either under or to the side of the main video:
https://www.tsn.ca/australian-open-denis-shapovalov-leylah-annie-fernandez-soonwoo-kwon-erin-routliffe-1.1747219
https://ottawa.ctvnews.ca/covid-19-hospitalizations-up-tuesday-in-ottawa-1.5744621
https://vancouverisland.ctvnews.ca/grandma-arrives-at-airport-in-t-rex-costume-1.4490861

The first url is invalid but the rest should work with the PR.


Bug fixed for result return no value

Bug fixed for result return no value

still has bug. will fix again


Wrong release version

In the 0.12.2 release the version in flask/__init__.py is still 0.12.2-dev
This is causing problems with programs checking the flask version.

I can bump it, but what problems is it causing?

It's causing problems with onionshare on archlinux.
It boils down to:
In [1]: from flask import __version__ as flask_version

In [2]: from distutils.version import StrictVersion

In [3]: StrictVersion(flask_version)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-3-5a786cd67f67> in <module>()
----> 1 StrictVersion(flask_version)

/usr/lib/python3.6/distutils/version.py in __init__(self, vstring)
     38     def __init__ (self, vstring=None):
     39         if vstring:
---> 40             self.parse(vstring)
     41
     42     def __repr__ (self):

/usr/lib/python3.6/distutils/version.py in parse(self, vstring)
    135         match = self.version_re.match(vstring)
    136         if not match:
--> 137             raise ValueError("invalid version number '%s'" % vstring)
    138
    139         (major, minor, patch, prerelease, prerelease_num) = \

ValueError: invalid version number '0.12.2-dev'

Flask 0.12.2, the released version, has __version__ = '0.12.2', which is correct. Flask master, the dev version, has __version__ = '0.13-dev', which is also correct. Flask has always used "-dev" for it's dev designator. The version scheme we use is PEP 440 compliant and has not changed format as far as I can remember.
It looks like while the onionshare AUR allows python-flask-git as an alternative to python-flask, it doesn't actually expect its version scheme. It should use pkg_resources.parse_version instead of distutils.version.StrictVersion (or at least LooseVersion if you don't want to depend on setuptools).

The released version does not! bb83ae9
https://github.com/pallets/flask/blob/bb83ae9843fd1e170a97139d489399c4823ba779/flask/__init__.py

at least not the archive generated in github. I didn't try pypi

That's weird, I'll check our release script. The only supported builds are on PyPI though, which do have the right versions.

Looks like I need to report a bug to the Arch package maintainer though. Funnily enough, I use Arch but have never had a reason to check its Flask package. I wonder if other distros have the same problem.

Reported to Arch here: https://bugs.archlinux.org/task/54288
Reported to onionshare here: https://github.com/micahflee/onionshare/issues/442

I know for a fact that arch doesn't like using pypi to fetch python packages...
Either way I think github tags should be identical to the builds. There is no reason why this shouldn't be the case

Totally agree. Can't adjust the old ones, but we'll fix this for the next release.

We can possibly upload sdists on GitHub too.

OK, 0.12.2 sdist is uploaded to GitHub: https://github.com/pallets/flask/releases/download/0.12.2/Flask-0.12.2.tar.gz. These URLs should work for Arch. Should be able to use the GitHub API to upload these as part of the release process. https://developer.github.com/v3/repos/releases/#upload-a-release-asset

The tag has been fixed. Arch needs to rebuild their package.


Fix a rare case where FarmEvent occurrences fail to execute after FBO…

…S Re-Boot on Express machines.
To re-produce this case one also needs a large number of past Executions for the FarmEvent.
The root problem is due to farm_event_worker/sequence_event calling build_calendar before NervesTime
has successfully synchronized the OS System Clock.
Improve CPU efficiency on Express bots in Firmware by using the C-based code in Circuits.UART to perform
the Line Framing for the Farmduino MCU serial link.

Merged via https://github.com/FarmBot/farmbot_os/pull/1409


Double quoted identifiers are colored with wrong color (data type color)

Description
Set color in Preferences to some noticeable, for example, pink.

Use this code:
-- DROP FUNCTION public.get_customer_balance(int4, timestamp);

CREATE OR REPLACE FUNCTION public."Get_customer_balance1"("P_customer_id" integer, "P_effective_date" timestamp without time zone)
 RETURNS numeric
 LANGUAGE plpgsql
AS $function$
       --#OK, WE NEED TO CALCULATE THE CURRENT BALANCE GIVEN A CUSTOMER_ID AND A DATE
       --#THAT WE WANT THE BALANCE TO BE EFFECTIVE FOR. THE BALANCE IS:
       --#   1) RENTAL FEES FOR ALL PREVIOUS RENTALS
       --#   2) ONE DOLLAR FOR EVERY DAY THE PREVIOUS RENTALS ARE OVERDUE
       --#   3) IF A FILM IS MORE THAN RENTAL_DURATION * 2 OVERDUE, CHARGE THE REPLACEMENT_COST
       --#   4) SUBTRACT ALL PAYMENTS MADE BEFORE THE DATE SPECIFIED
DECLARE
    "V_rentfees" DECIMAL(5,2); --#FEES PAID TO RENT THE VIDEOS INITIALLY
    "V_overfees" INTEGER;      --#LATE FEES FOR PRIOR RENTALS
    "V_payments" DECIMAL(5,2); --#SUM OF PAYMENTS MADE PREVIOUSLY
BEGIN
    SELECT COALESCE(SUM("Film"."Rental_rate"),0) INTO "V_rentfees"
    FROM "Film", "Inventory", "Rental"
    WHERE "Film"."Film_id" = "Inventory"."Film_id"
      AND "Inventory"."Inventory_id" = "Rental"."Inventory_id"
      AND "Rental"."Rental_date" <= "P_effective_date"
      AND "Rental"."Customer_id" = "P_customer_id";

    SELECT COALESCE(SUM(IF(("Rental"."Return_date" - "Rental"."Rental_date") > ("Film.Rental_duration" * '1 day'::interval),
        (("Rental"."Return_date" - "Rental"."Rental_date") - ("Film"."rental_duration" * '1 day'::interval)),0)),0) INTO "V_overfees"
    FROM "Rental", "Inventory", "Film"
    WHERE "Film"."Film_id" = "Inventory"."Film_id"
      AND "Inventory"."Inventory_id" = "Rental.Inventory_id"
      AND "Rental"."Rental_date" <= "P_effective_date"
      AND "Rental"."Customer_id" = "P_customer_id";

    SELECT COALESCE(SUM("Payment"."Amount"),0) INTO "V_payments"
    FROM "Payment"
    WHERE "Payment"."Payment_date" <= "P_effective_date"
    AND "Payment"."Customer_id" = "P_customer_id";

    RETURN "V_rentfees" + "V_overfees" - "V_payments";
END
$function$
;

Here is a result:

DBeaver Version
Community Edition <IP_ADDRESS>407250946
Operating System
Windows 10
Database and driver
PostgreSQL 16
PostgreSQL JDBC Driver 42.7.2
Steps to reproduce
No response
Additional context
No response

I'm not sure if it is the same bug or different.
Here is another case to check.
Notice the red color for quoted identifiers in select-statement.
create schema "tmp";

CREATE TABLE "tmp"."Order" (
    "Id" varchar(128) NOT NULL
);

select *, l."Id"
from "tmp"."Order" as l;

thank you for the report

please also check this weird behavior:
CREATE OR REPLACE VIEW public."HelloWorld"
AS SELECT
    "Id",
    "Name",
    "Value",
    "Column2",
    "Column3",
    "Column4",
    "Column5",
    "Column6"
   FROM "SomeTable";


👥 Integrate Auth0 Prod with AzureAD Devl

User Story
As a DP team member
I want to allow our users to be able to make use of our main identity.
So that we can test using AzureAD/Groups on our apps and tools while we wait on our applications proxy to be updated.
Other info
Slack discussion here
App in Auth0

Value

Questions / Assumptions / Hypothesis

Definition of done

[x] Auth0 connection created and tested
[x] Test Rshiny notebook tested
[x] Created a group and applied RBAC
[x] Identity team to then allow Auth0 integration in Prod

Reference
How to write good user stories

AzureAD group needs to match the Auth0 name
Testing completed with Dev App against dev and now prod ID.

Diagram and further discussion here

App owners to test

Slack discussion thread here
Friday Slack huddle here
App owners have been contacted so closing issue.
New issues to be created out of feedback from users.


WebApp-to-SQLDB connectivity via MSI WITHOUT Tokens

I would like to use MSI to authenticate WebApp to SQLDB..
Essentially is this possible?

Register MSI in SQLDB ( as a user?) and grant adequate privileges.
Connection string (in web.config) has a reference to MSI
Azure pixie dust is sprinkled
My webapp can now access sqldb

Question: Does this pixie dust exist? If so, can you please point me in that direction.

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

ID: a93ee241-6e6c-12c6-cb14-7c5275bda78d
Version Independent ID: 9db0ec07-7ee2-a27e-66da-eb04487a0d11
Content: Managed Service Identity in App Service and Azure Functions
Content Source: articles/app-service/app-service-managed-service-identity.md
Service: app-service
GitHub Login: @mattchenderson
Microsoft Alias: mahender

This is indeed possible! @cephalin is actually working on a topic which covers this exact scenario, and I believe it should be ready soon, but perhaps he can comment.

@mattchenderson Awesome.. Cant wait to hear about the solution!
You guys are kickass.. response times are unbelievable!! Go-Az :)

Here's a link to the published article: https://docs.microsoft.com/azure/app-service/app-service-web-tutorial-connect-msi

#please-close

@vancourse We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Thank you, Matthew. I will go through the documentation!
-Ravi
On Fri, Apr 20, 2018 at 1:28 PM, Matthew Henderson<EMAIL_ADDRESS>
wrote:

Here's a link to the published article: https://docs.microsoft.com/
azure/app-service/app-service-web-tutorial-connect-msi
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/7456#issuecomment-383213288,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEvrrPcfXtSS_4Inktcc2yV3vBYrI8ZVks5tqkT5gaJpZM4Tcbj3
.

Matt,
After reviewing the link above, turns out that we need to use Access Tokens in this approach..
Would you happen to have an example wherein I can store a reference to KV/ConnectionStringSecret directly in ConnectionString - and have AppSvc retrieve the value directly?

@vancourse We don't have support for this, although it's an area we're exploring. Are you basically looking to use existing connection string code? I'd like to understand the concern with the access token approach.

Matthew,
I like the access token approach. However, it would mean I have to open up
different apps ( in a microservice world ) and patch each app. Moreover, I
then have to fork between the dev/localdb connectivity vs azure db
connectivity... I am trying to keep my code free of target-env-specific
code..
Since this is such a generic functionality, I was hoping that Azure has a
built-in mechanism to handle the connectivity between Resource-1 and
Resource-2, provided Resource-1's MSI has RBAC permissions set for
accessing Resource-2.
More specifically, if WebApp is running under an MSI identity, which is
created as a user with grants in SQL DB.. shouldn't my app simply be able
to access the SQLServer? What is the necessity for accessTokens? ( Hoping
that the underlying Service Fabric takes care of the necessary
authentication ).
Cheers
On Tue, Apr 24, 2018 at 2:31 PM, Matthew Henderson<EMAIL_ADDRESS>
wrote:

@vancourse https://github.com/vancourse We don't have support for this,
although it's an area we're exploring. Are you basically looking to use
existing connection string code? I'd like to understand the concern with
the access token approach.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/7456#issuecomment-384086756,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEvrrFV0bfrNySR2eXA7Agf7oN9AcLZIks5tr5nCgaJpZM4Tcbj3
.

Noted. We've had some conversations with the various library teams about this. I definitely agree about the target-env-specific code. I don't have a good answer for your at the moment, but I think things will improve as we continue to build out MSI.


Update Gradle to 2.10.

Current coverage is 63.35%

Merging #93 into master will increase coverage by +3.75% as of 3f12e4f

@@            master     #93   diff @@
======================================
  Files           93      80    -13
  Stmts         2550    2235   -315
  Branches       280     265    -15
  Methods
======================================
- Hit           1520    1416   -104
+ Partial         91      85     -6
+ Missed         939     734   -205

Review entire Coverage Diff as of 3f12e4f

Powered by Codecov. Updated on successful CI builds.

LGTM


Nightly build for windows installer

Big Bang releasing with the annoy tagging...

https://docs.github.com/ja/repositories/releasing-projects-on-github/about-releases

Each file included in a release must be under 2 GiB. There is no limit on the total size of a release, nor bandwidth usage.

https://docs.github.com/ja/repositories/releasing-projects-on-github/automatically-generated-release-notes

ファイル名フィールドに、.github/release.yml と入力します。 これで、.github ディレクトリに release.yml という新しいファイルが作成されます。

😮 I didn't know...

The nightly build feature is a GoReleaser Pro feature.

🙄

Even if I implement this, https://github.com/kachick/dotfiles/issues/851 break all of Windows experience

Way of https://github.com/kachick/nixpkgs-reviewing-workspace/blob/a28b1871e6613f9931816fa313bcbf828a41fdb2/review.bash#L10-L13 might be enough

If a user not login to GitHub, who can not download artifacts from run. 🤔


We got a error message like ”Can't find netstandard2.0.0“. Could you give me a hand?

When we use Visual Studio Test task it doesn't work and shows a error message:
##[error]Unhandled exception ocurred: System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of
its dependencies. The system cannot find the file specified.
It seems there isn't netstandard2.0.0 in our test machine  when we run the Visual Studio Test task.  Is there some suggestions about how to solve the error?

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

ID: 16bd8dd1-7650-8c18-2553-38a8bc54e892
Version Independent ID: f9fa517a-7adc-e327-d12e-256295a1ed52
Content: Visual Studio Test task - Azure Pipelines
Content Source: docs/pipelines/tasks/test/vstest.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @PBoraMSFT
Microsoft Alias: pbora

May be this could help.
https://developercommunity.visualstudio.com/content/problem/929883/visual-studio-test-task-cannot-find-dotnetstandard.html

@tjlcast -- thank you for your question.
@ronniemacapobre -- thank you for your answer.  That link indicates this error has been fixed.
I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.

We have observed that this task problem has been solved and it works normanlly. If similar problems appear next time, as a customer, how can we know the latest updates of these problems and their impacts in time. For example, when to fix it.


Remember history between connections

Hi there..
Currently when Lounge reconnects / get restarted, all history is lost - would be nice if this wasn't the case :)

Duplicates #110. (See #253)

#110 is closed but history seems not to be restored when the server restarts. Anyone confirms ?

It's not restored on server restart. But there is a PR to do it #663.


IGattCharacteristic.ReadInterval Exception

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[X] iOS
[X] Android
[ ] UWP

PLATFORMS THAT YOU CANNOT FILE ISSUES ON RIGHT NOW: Tizen, watchOS, tvOS, macOS
Feature Library

[X] BluetoothLE Client

Version of Library
Shiny.BlueetoothLE <IP_ADDRESS>69
Version of OS(s) listed above with issue
Android 10
Steps to Reproduce
It seems that some Android/iOS devices do have a limitation of can only be subscribed to a maximum of 16 notifications (across multiple devices). I could not found any documentation of this, but I could reproduce it on Moto G8 and some other phones. If I try to subscribe to more than 16 notifications, some devices automatically are disconnected. On the Samsung A71 this does not happen at all, but happens on some newer and other older phones, there is no rule.
I do need to connect to 8 devices at the same time, and subscribe to 5 to 6 notifications each. To work around this limitation, I subscribe to only 2 notifications on each device (the ones I need to get the value quickly) and for the remaining, I do use IGattCharacteristic.ReadInterval to read its values every 2 seconds.
Actual Behavior
If for some reason, the reading fails on IGattCharacteristic.ReadInterval, the app will raise an exception and the application will close.
Expected Behavior
Have some way to detect and handle this error without the application crashing.
[mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: Shiny.BluetoothLE.BleException: Failed to read characteristic
[mono-rt]   at Shiny.BluetoothLE.GattCharacteristic+<>c__DisplayClass5_0.<Read>b__2 () [0x00036] in <ae276a9eb0c44eefb2695d7d2544ce44>:0

[mono-rt] --- End of stack trace from previous location where exception was thrown ---

[mono-rt]

[mono-rt]   at Shiny.BluetoothLE.Internals.PeripheralContext+<>c__DisplayClass21_01[T].<Invoke>b__0 (System.Threading.CancellationToken ct) [0x000ee] in <ae276a9eb0c44eefb2695d7d2544ce44>:0

[mono-rt]   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow (System.Exception exception) [0x00000] in /_/Rx.NET/Source/src/System.Reactive/Internal/ExceptionServicesImpl.cs:19

[mono-rt]   at System.Reactive.ExceptionHelpers.Throw (System.Exception exception) [0x00000] in /_/Rx.NET/Source/src/System.Reactive/Internal/ExceptionServices.cs:16

[mono-rt]   at System.Reactive.Stubs+<>c.<.cctor>b__2_1 (System.Exception ex) [0x00000] in /_/Rx.NET/Source/src/System.Reactive/Internal/Stubs.cs:16

[mono-rt]   at System.Reactive.AnonymousSafeObserver1[T].OnError (System.Exception error) [0x00010] in /_/Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs:62

[mono-rt]   at System.Reactive.Sink1[TTarget].ForwardOnError (System.Exception error) [0x00000] in /_/Rx.NET/Source/src/System.Reactive/Internal/Sink.cs:60

[mono-rt]   at System.Reactive.Linq.ObservableImpl.Switch1+_+InnerObserver[TSource].OnError (System.Exception error) [0x0002f] in /_/Rx.NET/Source/src/System.Reactive/Linq/Observable/Switch.cs:114

[mono-rt]   at System.Reactive.Sink1[TTarget].ForwardOnError (System.Exception error) [0x00000] in /_/Rx.NET/Source/src/System.Reactive/Internal/Sink.cs:60

[mono-rt]   at System.Reactive.Sink2[TSource,TTarget].OnError (System.Exception error) [0x00000] in /_/Rx.NET/Source/src/System.Reactive/Internal/Sink.cs:94

[mono-rt]   at System.Reactive.AutoDetachObserver1[T].OnErrorCore (System.Exception exception) [0x00000] in /_/Rx.NET/Source/src/System.Reactive/Internal/AutoDetachObserver.cs:77

[mono-rt]   at System.Reactive.ObserverBase1[T].OnError (System.Exception error) [0x0001c] in /_/Rx.NET/Source/src/System.Reactive/ObserverBase.cs:59

[mono-rt]   at System.Reactive.SafeObserver1+WrappingSafeObserver[TSource].OnError (System.Exception error) [0x00002] in /_/Rx.NET/Source/src/System.Reactive/Internal/SafeObserver.cs:46

[mono-rt]   at System.Reactive.Sink1[TTarget].ForwardOnError (System.Exception error) [0x00000] in /_/Rx.NET/Source/src/System.Reactive/Internal/Sink.cs:60

[mono-rt]   at System.Reactive.Linq.ObservableImpl.Throw'1+_+<>c[TResult].<Run>b__2_0 (System.Reactive.Linq.ObservableImpl.Throw'1+_[TResult] this) [0x00000] in /_/Rx.NET/Source/src/System.Reactive/Linq/Observable/Throw.cs:37

[mono-rt]   at System.Reactive.Concurrency.Scheduler+<>c__75'1[TState].<ScheduleAction>b__75_0 (System.Reactive.Concurrency.IScheduler _, System.ValueTuple'2[T1,T2] tuple) [0x00000] in /_/Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Simple.cs:65

[mono-rt]   at System.Reactive.Concurrency.ImmediateScheduler.Schedule[TState] (TState state, System.Func'3[T1,T2,TResult] action) [0x0000e] in /_/Rx.NET/Source/src/System.Reactive/Concurrency/ImmediateScheduler.cs:41
[mono-rt]   at System.Reactive.Concurrency.Scheduler.ScheduleAction[TState] (System.Reactive.Concurrency.IScheduler scheduler, TState state, System.Action'1[T] action) [0x0001c] in /_/Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Simple.cs:61

[mono-rt]   at System.Reactive.Linq.ObservableImpl.Throw'1+_[TResult].Run (System.Reactive.Concurrency.IScheduler scheduler) [0x00000] in /_/Rx.NET/Source/src/System.Reactive/Linq/Observable/Throw.cs:37

[mono-rt]   at System.Reactive.Linq.ObservableImpl.Throw'1[TResult].Run (System.Reactive.Linq.ObservableImpl.Throw'1+_[TResult] sink) [0x00000] in /_/Rx.NET/Source/src/System.Reactive/Linq/Observable/Throw.cs:23

[mono-rt]   at System.Reactive.Producer'2[TTarget,TSink].SubscribeRaw (System.IObserver'1[T] observer, System.Boolean enableSafeguard) [0x00060] in /_/Rx.NET/Source/src/System.Reactive/Internal/Producer.cs:125

[mono-rt]   at System.Reactive.Producer'2[TTarget,TSink].Subscribe (System.IObserver'1[T] observer) [0x0000e] in /_/Rx.NET/Source/src/System.Reactive/In
[libc] FORTIFY: pthread_mutex_lock called on a destroyed mutex (0xa9fe606c)

[libc] Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 12868 (.celmi.appcelmi), pid 12868 (.celmi.appcelmi)
[RefBase] RefBase: Explicit destruction, weak count = 0 (in 0xacea70d8)
[RefBase] CallStack::getCurrentInternal not linked, returning null
[RefBase] CallStack::logStackInternal not linked

ReadInterval isn't doing anything special, so it should be tossing the exception out to your subscribe to manage.  Do you have a reproducible sample?  Are you trapping exceptions in the Subscribe?
Please choose terms/titles that aren't so dramatic.  Something like "ReadInterval uncatchable error" or something similar.  Lastly, since it seems you're using this project in a professional manner and you've filed several issues in the past - please consider sponsoring the project or submitting PR's in the future.

The problem was happening because I was not trapping the exception on the onError of the Subscribe. Actually, I didn't realize that after onNext I could also put a method for onError. Sorry for it.
And sorry for the title, I'll be more careful when posting new issues.
Thanks again time for the great library,  I really hope someday to submit some PR's to it or even sponsoring the project!

The problem was happening because I was not trapping the exception on the onError of the Subscribe. Actually, I didn't realize that after onNext I could also put a method for onError. Sorry for it.
And sorry for the title, I'll be more careful when posting new issues.
Thanks again time for the great library, I really hope someday to submit some PR's to it or even sponsoring the project!


bug

https://github.com/AmyangXYZ/sgo/blob/09a6a37c22f9164391bc7a55ceb947c53b39b789/templates.go#L59
this line should be modified to 'files = append(files, filename[len(tpl.Dir)-1:])'

I see, can you make a PR for this?


Unsubscribing from AsyncEvent does not work.

Describe the bug
When unsubscribing from an AsyncEvent nothing is unsubscribed.
Which component is your bug related to?

AsyncEvent

To Reproduce
Run the code below.
Every time MyFunc is executed the number of handlers in _myEvent increases.
Expected behavior
When unsubscribing from an event the handler is removed from _myEvent.
Code example
private AsyncEvent<EventArgs> _myEvent = new();

public event Func<EventArgs, Task> MyEventAsync
{
    add => _myEvent.AddHandler(value);
    remove => _myEvent.RemoveHandler(value);
}

public MyFunc()
{
    MyEventAsync += Handler;
    MyEventAsync -= Handler;
}

private Task Handler(EventArgs arg)
{
    throw new NotImplementedException();
}

Thank you for reporting this issue. It will be fixed in version 4.1.

Thank you for reporting this issue. It will be fixed in version 4.1.
Hi, I want to check if this bug has been resolved yet.
It was stated before closing that it would be fixed in version 4.1. I am currently using version <IP_ADDRESS>6 and the issue still persists

There are Unit Tests for that (see class AsyncEvent_Tests). Please let me know which scenario is not covered.


Stepper Horizontal Responsive

Problem description
Make Horizontal Stepper Responsive
Link to minimally-working code that reproduces the issue

Versions

Material-UI: latest
React: latest
Browser: Chrome

dupe of #5786

@stunaz I don't think it's a duplicate of https://github.com/callemall/material-ui/issues/5786, because there is an issue with step connector, here is the issue with a length of horizontal stepper - it's not responsive at all.
I have the same issue. As a temporary solution for small screens, I used a media query to hide all titles apart from a title of active step.

Well I said dupe, because the most common way of dealing with responsiveness of this component is use
vertical on small screens.  Having a prop to hide titles is also an option, see https://github.com/callemall/material-ui/issues/6251

FYI @vdolgishev there is now a <MobileStepper/> component in the v1-alpha branch.

Maybe somebody will need. If you need stepper in mobile try this

          {steps[activeStep]}

        <Stepper activeStep={activeStep} style={{ padding: '24px 0px 24px 0px' }}>
          {steps.map((label, index) => {
            const props = {};
            const labelProps = {};
            if (this.isStepOptional(index)) {
              labelProps.optional = <Typography variant="caption">Optional</Typography>;
            }
            if (this.isStepSkipped(index)) {
              props.completed = false;
            }
            return (
              <Step style={{ width: 24, padding: 0 }} key={label} {...props}>
                <StepLabel {...labelProps}></StepLabel>
              </Step>
            );
          })}
        </Stepper>

I think this is still an issue unless I am doing something wrong with my code...
Expected behaviour: the connector should become smaller until it doesn't exist...
Actual behaviour: The 'last' connector isn't responsive at all and in fact stays the same length as it was on loading - even going over the last progress 'cricle'. Example below:

Code:
      <Stepper
        activeStep={this.props.ticketStatus}
        alternativeLabel
        classes={{
          root: classes.root
        }}
      >
        {numberTasks.map(label => {
          return (
            <Step
              key={label}
              classes={{
                root: classes.step
              }}
            >
              <StepLabel
                classes={{
                  alternativeLabel: classes.alternativeLabel,
                  labelContainer: classes.labelContainer
                }}
                StepIconProps={{
                  classes: {
                    root: classes.step,
                    completed: classes.completed,
                    active: classes.active,
                    disabled: classes.disabled
                  }
                }}
              >
                {labels[label - 1]}
              </StepLabel>
            </Step>
          );
        })}
      </Stepper>

is there a way to make dots in middle of stepper ?

like this breadcrumb example


Issue 6390 - Fixes emoji positioning

Details
This issue addresses some positioning issues for emojis in iOS.
Some changes affects other platforms, but minor changes.
Fixed Issues
$ https://github.com/Expensify/App/issues/6390
Tests

QA Steps
To test: App/src/pages/home/HeaderView.js
Needs a default room, with a subtitle.
Look at the room subtitle.
Emoji should be fully visible, no positioning change on other platforms.
Adding/removing the emoji should not change the text position.
To test: App/src/pages/ReportDetailsPage.js
Needs a default room, with a subtitle.
Go to the room details.
Emoji should be fully visible, the component had height: 16px; paddingBottom: 24px; now it has height: 20px; paddingBottom: 20px;.
The text is basically ~4px lower with this.
Adding/removing the emoji should not change the text position.
To test: App/src/pages/home/sidebar/OptionRow.js
Go to a chat, send an emoji
Go back to chat list
Emoji should be fully visible, the description component had height: 16px; paddingTop: 4px; now it has height: 20px; paddingTop: 0px;.
The text moves a ~1px up with the change.
Adding/removing the emoji should not change the text position.
To test the input
Go to Workspace, General Settings, on the Name input, add and remove an emoji.
On iOS, before the fix, the text will move as you add or remove the emoji.
 Could you please check the screenshots and tell us if this is fine?

I don't understand why the text input components are being touched when this issue is about fixing how emojis display in the chats list. Can someone help me understand? Thanks!

Just to clarify, how did that scope get added here? Seems like that should be a separate project?

Okay looks like it was discussed to group these together in the issue, cc @roryabraham

Just to clarify, how did that scope get added here? Seems like that should be a separate project?

@shawnborton yeah, @parasharrajat and I wondered if we should split it or not, but sounded smaller than turned into...

Well, as mentioned "Well, I am not yet sure of the best solution to fix it. I would have to dig into the code for that. But I would say that this is additional to the main issue so we can still proceed with the main issue and fix all the know issues and think about the input later in detail. I will report the issue separately and then we can explore there."
I think it's better to split the Textinput issue into a separate one. So I am reporting it on Slack.
we can proceed with the rest of the issues.
is it fine? @roryabraham @sidferreira

@parasharrajat @roryabraham @shawnborton revered input changes

Awaiting Shawn's input before final review.

I think this looks good to me, thanks!

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @roryabraham in version: 1.1.21-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@roryabraham  @sidferreira @parasharrajat How can we create default room, with a subtitle?
When we select new room There is no "subtitle" option.

@mvtglobally for development purposes I forced those cases, I'm not sure how to create it as well... It seems to require admin rights or something...

@mvtglobally since:

That's not yet a mainline use-case
@sidferreira verified that case on dev
All the others are a pass

I think that gives me enough confidence to check this off and run the deploy.

🚀 Deployed to production by @sketchydroide in version: 1.1.22-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


How does the example work?

I'm not seeing you importing any of your package files in main.dart , I get these error when I use one of the style
Compiler message:
lib/new_records.dart:161:27: Error: Getter not found: 'PageTransitionType'.
                    type: PageTransitionType.scale,
                          ^^^^^^^^^^^^^^^^^^
lib/new_records.dart:160:17: Error: Method not found: 'PageTransition'.
                PageTransition(
                ^^^^^^^^^^^^^^

Maybe you should add this  import 'package:page_transition/page_transition.dart'; which worked for me. Great package btw.

Thanks for the issue but if you look at the package installation tab you will find how to import packages.


pay.bbw.sv webpage has broken link

Clicking "Connect the Bitcoin Beach Lightning node" link at https://pay.bbw.sv sends user to a 404. Appears to be because it has /testnet/ in the URL.

Change from 1ml to mempool.space


libcap: 2.47 -> 2.48

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libcap/versions.
meta.description for libcap is: "Library for working with POSIX capabilities"
meta.homepage for libcap is: "https://sites.google.com/site/fullycapable"
meta.changelog for libcap is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.48 with grep in /nix/store/bwvn2gh527z9mvg3fkvv4xd4ifqf542h-libcap-2.48

directory tree listing: https://gist.github.com/2ea72ae7edc154185132daa7f87d54b0

du listing: https://gist.github.com/d98d4a706d1a5647c4c26f994944194e

Rebuild report (if merged into master) (click to expand)

34102 total rebuild path(s)

12427 package rebuild(s)

12423 x86_64-linux rebuild(s)
10848 i686-linux rebuild(s)
202 x86_64-darwin rebuild(s)
10629 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
AusweisApp2
EBTKS
EmptyEpsilon
Literate
MIDIVisualizer
MMA
OSCAR
OVMF
OVMF-CSM
OVMF-secureBoot
R
SDL
SDL2
SDL2_gfx
SDL2_image
SDL2_mixer
SDL2_net
SDL2_ttf
SDL_Pango
SDL_gfx
SDL_gpu
SDL_image
SDL_mixer
SDL_net
SDL_sound
SDL_stretch
SDL_ttf
Sylk
_1oom
_1password-gui
_20kly
_3mux
_90secondportraits
a2jmidid
abbaye-des-morts
abcde
abcl
abiword
abootimg
abuse
accountsservice
acme-sh
acoustidFingerprinter
acsccid
act
adapta-gtk-theme
adementary-theme
adlplug
adminer
adobe-reader

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bwvn2gh527z9mvg3fkvv4xd4ifqf542h-libcap-2.48 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libcap https://github.com/r-ryantm/nixpkgs/archive/a8bf1921617b900aac2b317696b5b7eafb7b95ae.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bwvn2gh527z9mvg3fkvv4xd4ifqf542h-libcap-2.48
ls -la /nix/store/bwvn2gh527z9mvg3fkvv4xd4ifqf542h-libcap-2.48/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings

Changelog looks okay. https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.i1gs41qd00yd


bug: Deep extending gitbrowse.remote_patterns overwrites defaults

Did you check docs and existing issues?

[X] I have read all the snacks.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of snacks.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.10.2
Operating system/version
Darwin Kernel Version 24.1.0 arm64
Describe the bug
Setting opts.gitbrowse.remote_patterns seems to cause the defaults to be overwritten, instead of adding to them.
Using this config:
    {
      "folke/snacks.nvim",
      priority = 1000,
      lazy = false,
      keys = {
        { "<leader>gB", function() Snacks.gitbrowse() end, desc = "Git Browse", },
      },
      opts = function(_, opts)
        opts.gitbrowse = vim.tbl_deep_extend("error", opts.gitbrowse or {}, {
          remote_patterns = {
            { "^ssh://git@some%.custom%.host/(.*)/(.*)%.git$",  "https://some.custom.host/projects/%1/repos/%2" },
          },
          url_patterns = {
            ["some%.custom%.host"] = {
              file = "/browse/{file}?at={branch}#{line}",
            },
          },
        })
      end,
    },

Causes git repos for some.custom.host to work, but all others seem to break now, for example GitHub:
   Info  15:07:14 notify.info Git Browse Opening [origin](https://git@github.com:futile/nixos-config.git/blob/main/dotfiles/nvim/lua/plugins/base.lua#L30)

Because the url pattern still seems to be correct, I assume that it's remote_patterns that broke.
I think it might be this "force" that causes the default remote_patterns to be replaced instead of extended:
https://github.com/folke/snacks.nvim/blob/985be4a759f6fe83e569679da431eeb7d2db5286/lua/snacks/init.lua#L76
Steps To Reproduce

Use a config that sets or extends opts.gitbrowse.remote_patterns.
Use Snacks.gitbrowse() in a repo that should be covered by the defaults, but not by the used config.
Instead of properly opening using the defaults, only a log message is shown, with a wrong url.

Expected Behavior
The defaults to still work when adding custom remote_patterns.
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/snacks.nvim",
opts = function(_, opts)
        opts.gitbrowse = vim.tbl_deep_extend("error", opts.gitbrowse or {}, {
          remote_patterns = {
            { "^ssh://git@some%.custom%.host/(.*)/(.*)%.git$",  "https://some.custom.host/projects/%1/repos/%2" },
          },
          url_patterns = {
            ["some%.custom%.host"] = {
              file = "/browse/{file}?at={branch}#{line}",
            },
          },
        })
      end,
 },
    -- add any other plugins here
  },
})

remote_patterns is a list, so you should use vim.list_extend instead on remote_patterns explicitly.

remote_patterns is a list, so you should use vim.list_extend instead on remote_patterns explicitly.

Thanks, that's helpful! I guess then an open question could be whether this kind of extension should be the default (i.e., when using opts = {} instead of opts = function(_, opts) ...), because it seems more intuitive. Or maybe an example config could also help here.

I don't think it should be the default because it depends on the object you want to operate. url_patterns for example is a key/value dictionary-like table. Users should use whichever is correct based on the object they want to operate. You could do
{
  "folke/snacks.nvim",
  opts = function(_, opts)
    opts.gitbrowse.remote_patterns = vim.list_extend(opts.gitbrowse.remote_patterns, {
      { "your_custom_pattern", "custom_replace" },
    })
  end,
}

Or if you use lazy.nvim as your package manager you can do the following
{
  "folke/snacks.nvim",
  opts_extend = { "gitbrowse.remote_patterns" },
  opts = {
    remote_patterns = {
      { "custom_pattern", "custom_replace" },
    },
  },
}

The option opts_extend of lazy.nvim the package manager allows users to define lists as regular tables and lazy.nvim will extend the corresponding list with your custom settings instead of overwriting as it would happen normally.

That doesn't work like that. The extend can only work for config options that have already been set in a lazy spec.
But those options are not set anywhere and are just the defaults in snacks.
Just copy the patterns in your own config.

That doesn't work like that. The extend can only work for config options that have already been set in a lazy spec.
But those options are not set anywhere and are just the defaults in snacks.

Yeah, that's what it looks like to me as well (still useful to know about opts_extend).

Just copy the patterns in your own config.

Would it make sense to export defaults from the gitbrowse module so I could reference that? Otherwise I'll just copy the patterns, but that way I won't automatically get new patterns that are added to the upstream here.

@futile you can now change the config after it has been resolved.
See https://github.com/folke/snacks.nvim/tree/main?tab=readme-ov-file#-configuration

Wow, awesome, thank you so much!!

FYI: this also solved my issue/request #34


Paste via keyboard, not via right mouse cursor

A brief description

Right now I can only paste text into the bash via the right mouse button. I would like to be able to do it like on Linux by "CTRL + V" (paste). How can I accomplish this in the WSL?

Expected results

I can paste text via keyboard shortcuts.

Your Windows build number

14393.0

oh god not this discussion again

For Context:
We at the console team have been vigorously discussing this over the last week especially. It's unfortunately not a simple fix, so it's definitely not coming in the next release. @bitcrazed assures me it's on his hi-pri list for the next release (after the Creator's Update), so look for news on this some time after that.
I can assure you, this is most definitely something on the backlog.

Please don't do this!!!  Actual Linux clipboard behavior is completely mad.

I am glad to read, that you are on this and we are in the same picture.

@fpqc Ideally, what I'd like to have happen is allow for the user to pick which buttons they'd like to be the copy-paste actions, whether it be Ctrl+C/V, Ctrl+Shift+C/V, Right click, middle click, whatever. That way each user can set it to exactly what they'd like it to be, and they know then that C-c isn't going through to kill the process because it's mapped to Copy, or C-v doesn't scroll-up-command in emacs because it's enabled as the paste key.
User choice is key here, and making it configurable is the goal, and making it configurable requires a lot more than a week of dev time.

@zadjii-msft What about select-to-copy-mode like barebones X does?  Also related, Shift+arrowkeys drops you into selection mode right now.  I hope that might be able to be disabled, as I use it for tmux.  I noticed that you did fix control+arrowkeys already!  Thanks!

@zadji-msft: Making it configurable would certainly be nice (I like the right click though). But I'd really prefer, if you'd NOT copy the Linux semantics by default, where a mouse click doesn't paste the content in the clipboard, but whatever is currently highlighted.

Does anybody know alternative terminal programs which are adapting the functionality from the Bash and allow a functionality like this?

@jepster wslttt and wsl-terminal both use mintty as the terminal emulator, which I think may support a keyboard-paste.

Just a hint. Pretty old school shortcut, which is SHIFT + INS, works almost everywhere ;-) Including original cmd.exe and other kinds of terminals.

Just copy OS X's behavior, replacing Cmd with Alt...they got it right on that front.

Coming from Linux, I'm REALLY missing ctrl+shift+c/v. This right click business is just awkward

Where did this get fixed?

@clounie https://blogs.msdn.microsoft.com/commandline/2018/04/13/copy-and-paste-arrives-for-linuxwsl-consoles/
Regular user will get this on the next Feature Update. (~September)

Is there a good reason to not enable it by default other than "just in case"? Considering it's enabled by default in bash on Ubuntu, I find it hard to imagine enabling by default being an annoyance for more than a tiny handful of people. Conversely, not having it "just work" was most likely an annoyance for everyone who is subscribed to this issue. Please consider enabling by default in the very near future.


I am having trouble save the Keras model.

I keep the models in the series after I train them. I get this error when trying to save the model in the series.
Fetch argument <tf.Variable 'block1_conv1/kernel:0' shape=(3, 3, 3, 64) dtype=float32> cannot be interpreted as a Tensor. (Tensor Tensor("block1_conv1/kernel/Read/ReadVariableOp:0", shape=(3, 3, 3, 64), dtype=float32) is not an element of this graph.)

python 3.6.4
tensorflow 1.14.0
keras 2.3.1
Model is compile.
        from keras.applications.mobilenet_v2 import MobileNetV2
        from keras.applications.mobilenet_v2 import preprocess_input
        base_model = MobileNetV2(weights=weight, include_top=False, input_shape=(img_size, img_size, 3))
        print("MobileNetV2 model is uploading... ")
        # Last layers flatten and activation
        x = base_model.output
        x = Flatten()(x)
        predictions = Dense(numberOfClass, activation='softmax')(x)
        model = Model(inputs=base_model.input, outputs=predictions)
        # Model Compile
        model.compile(optimizer=rate_opt('Adam', lr),
                        loss=loss,
                        metrics=['accuracy'])
        return model
    except Exception as err:
        print(str(err)+"\nFault in mdlcmp.")
        pass

Model training...
Model savig
    try:
        newFileName = self.output_model_name.text()
        os.chdir(newModelPath)
        os.mkdir(newFileName)
        os.chdir(newModelPath+'/'+newFileName)
        selectMdl = int(self.allModels.currentText().replace("Fold", ""))-1
        if(len(self.output_model_path.text()) > 0):
            model_json = mdls[selectMdl].to_json()
            with open(newFileName+'.json', 'w') as json_file:
                json_file.write(model_json)
            print(len(mdls))
            print(mdls[selectMdl].summary())
            mdls[selectMdl].save_weights(newFileName+'.h5')
            print("Model saved...")
        pass
    except Exception as err:
        print(str(err)+"\nThe model weigths could not be saved!!!")
        pass


PostgresSagaSqlSchema is class to cteate table method sql_createTable…

When call JdbcSagaStore.createSchema() method, it gives an error about the database "syntax error".
It is because of the generated sql code inside the PostgresSagaSqlSchema#createSchema method.
Currently, this is the output:
create table if not existsSagaEntry (
  sagaId varchar(255) not null,
  revision varchar(255),
  sagaType varchar(255),
  serializedSaga bytea,
  primary key (sagaId)
);

but should be
create table if not exists SagaEntry (
  sagaId varchar(255) not null,
  revision varchar(255),
  sagaType varchar(255),
  serializedSaga bytea,
  primary key (sagaId)
);

This PR adjusts it simply by addind a missing empty space between exists and the table name.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @Dilsh0d, thanks for providing such PR.
I would like to ask you to change the target branch to 4.5.3 branch instead of master as this is a bug fix and we would like it to be included in out next release.
Also, signing the CLA might be needed from your side.
KR,

Ok sure.

As @lfgcampos already requested, would you mind changing the pull request to point to branch axon-4.5.x?

I'll be taking the stance your time does not allow adjusting the base branch of this PR, @Dilsh0d.
Hence, I'll just merge it.
Next to that, I'll be ignoring the test results, as those are not impacted by your changes.
Other work is underway to make those more resilient.
After merging, I will cherry-pick your change to the axon-4.5.x branch so that it'll be a part of the 4.5.3 release.