[ListView] Not updating as expected

Hi, I have been using list view in my application.  It does not update the state of individual rows once I have changed their property. I am doing it like this:
  rowData.showMenuDiv =  !rowData.showMenuDiv;
  this.setState({ dataSource : this.state.dataSource });

But only the first row responds correctly and the rest are not updated correctly. I have also tried making a new array and assigning it like:
 rowData.showMenuDiv =  !rowData.showMenuDiv;
 var newArray = oldDataArray.splice()
 this.setState({ dataSource : dataSource.cloneWithRows(newArray) });

But this didn't work at all.
The only solution that is working, is by creating a new data source and assigning it the updated array
like:
  rowData.showMenuDiv = !rowData.showMenuDiv;
 var dataSource = new ListView.DataSource
                              ( {rowHasChanged: (r1, r2) => ( r1.showMenuDiv != r2.showMenuDiv )});
  this.setState({ dataSource : dataSource.cloneWithRows(oldDataArray) });

Please explain if I am doing any thing wrong in the top two methods. Or the method I am using to update rows is correct (the last method)?

Is this considered a bug? It seems to be a pretty common problem
http://stackoverflow.com/questions/33436902/how-force-redraw-listview-when-this-state-changed-but-not-the-datasource
http://stackoverflow.com/questions/33426760/react-native-listview-not-updating-on-data-change


Mauro oto/using rspecs documentation format

Hey @etagwerker, @lubc,
This PR adds an article about RSpec's formatting options.
Please check it out, thanks!

@mauro-oto Maybe it would be nice to say that you can put the flag in the .rspec file. So you don't have to write it in each run.

@etagwerker done! :+1:


Enabled dependabot auto merging

Codecov Report

Merging #1223 (9b73099) into master (1a621f5) will increase coverage by 17.47%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           master     #1223       +/-   ##
============================================
+ Coverage   82.52%   100.00%   +17.47%
============================================
  Files          22        12       -10
  Lines        2535       262     -2273
  Branches      391        46      -345
============================================
- Hits         2092       262     -1830
+ Misses        443         0      -443

Flag
Coverage Δ

backend
100.00% <ø> (ø)

frontend
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/frontend/BackButton.svelte

src/frontend/Introduction.svelte

src/frontend/StepHeader.svelte

src/frontend/Confirmation.svelte

src/frontend/FolderSelection.svelte

src/frontend/Moving.svelte

src/frontend/ContinueButton.svelte

src/frontend/Done.svelte

src/frontend/index.ts

src/frontend/App.svelte


Migrate Malta to holiday_groups, add l10n support

Proposed change

Migrate Malta to holiday_groups, add l10n support.
Also introduce appropriate historical holiday introduction date as seen in NATIONAL HOLIDAYS AND OTHER PUBLIC HOLIDAYS ACT from its 1980 amendment onwards (the earliest version online in-full).
Type of change

[ ] New country/market holidays support (thank you!)
[ ] Supported country/market holidays update (calendar discrepancy fix, localization)
[x] Existing code/documentation/test/process quality improvement (best practice, cleanup, refactoring, optimization)
[ ] Dependency upgrade (version update)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (a code change causing existing functionality to break)
[ ] New feature (new python-holidays functionality in general)

Checklist

[x] I've followed the contributing guidelines
[x] This PR is filed against beta branch of the repository
[x] This PR doesn't contain any merge conflicts and has clean commit history
[x] The code style looks good: make pre-commit
[x] All tests pass locally: make test, make tox (we strongly encourage adding tests to your code)
[x] The related documentation has been added/updated (check off the box for free if no updates is required)

Later, we need to add observed holidays, absent in 2005-2020, according to National Holidays and Other Public Holidays Act (Cap 252).

+1 here, it should be at least en_MT

Agree - I'm making the changes ATM, IMO for standardization purposes Canada's en should also probably be changed to en_US IMO

Later, we need to add observed holidays, absent in 2005-2020, according to National Holidays and Other Public Holidays Act (Cap 252).

IMO unless I read wrong, the 2005 and 2021 amendments to the law have no effect on the current implementation since it's still a holiday, no in lieus are added or removed, just that it no longer counts as paid holidays in terms of wages or vacation leaves between 2005-2020 as seen here

IMO unless I read wrong, the 2005 and 2021 amendments to the law have no effect on the current implementation since it's still a holiday, no in lieus are added or removed

Yes, you're right! 👍 Day off is not transferred to Monday, but simply added to the vacation.

Merged into beta!
Thank you!


[Epic] Integration Tests

Step executing integration test scenarios to be added to the Build and Pull Request GitHub Actions. The integration test should perform the following actions:

Deploy sap/xsk docker image to Kubernetes or Kyma cluster.
Invoke Dirigible REST APIs in order to Import and Publish the *.zip samples or designated integration test projects.
Invoke sample's REST APIs in order to determine whether the test passed successfully or not.

Note: the integration test should be time tolerant (e.g. 1-2 min.), so that all Dirigible synchronizers should have enough time to pass successfully.

Invoke sample's REST APIs to unpublish and delete the created artefacts in the SAP HANA Cloud instance.

Failure case:
If there's failure (in the test or caused by a synchronizer), the logs should be dumped in the action for debugging purposes.
Issues in epic

[ ] #750
[x] #163
[x] #1059
[x] #458
[x] #604

Consider parallel executions

Maybe if we run consecutively - when stop the previous to start new one.

I'm thinking to cache some steps if we can try to use actions/cache@v2 for steps - Setup sapmachine JDK 11, Download sapmachine JDK 11

This issue is closed as the project is no longer maintained


Subaru: POC for longitudinal control

Description POC for Subaru Global longitudinal control. For acceleration, there are 2 signals - cruise_throttle and cruise_rpm that are basically throttle and rpm target requests. Scaling values used in carcontroller are roughly modeled by plotting and observing stock acc signals and testing. Brake request is single linear signal with 0-400 scale.
Stock AEB/PCB is passed through but I'm not a fan of stock implementation.
The general idea for logitudinal control is that eyesight is not engaged by rewriting the feedback signals from car. openpilot generates the required signals for lateral and longitudinal control and dash display.
POC is usable and I have used it for testing the openpilot vision only performance from time to time. Last time I tested I had an issue with newer opendbc versions causing can disconnects after ignition that faulted eyesight. opendbc commit referenced in current commit is last known good version. I will rebase and clean things up once I figure this out.
Verification Tested on 2018 Crosstrek

I did some testing on long branch and eyesight starts faulting on startup after opendbc 859fea7ded706516f4b963218a3c9cf543f39c2a (CAN FD support in packer + parser)
Last working opendbc commit is 0ccc718b1a35316cf6f553bf220f25b156e67c63
I will post relevant routes once they are uploaded

Working subaru-long-c2 route: 05bca04dfbdca165|2022-08-17--22-23-55
Eyesight fault on startup: 05bca04dfbdca165|2022-08-17--22-29-26

I did some testing on subaru long branch and Eyesight also faults when rebased to latest master. I tracked down the commit using preserved subaru-long-c2 branch and fault starts after opendbc commit 859fea7ded706516f4b963218a3c9cf543f39c2a (CAN FD support in packer + parser).

I would check if any signals are overlapping.

I tested the subaru dbc files

I did some testing on subaru long branch and Eyesight also faults when rebased to latest master. I tracked down the commit using preserved subaru-long-c2 branch and fault starts after opendbc commit 859fea7ded706516f4b963218a3c9cf543f39c2a (CAN FD support in packer + parser).

I would check if any signals are overlapping.

I tested loading subaru dbc files using cantools and there are no overlapping signals. I created one signals overlap for testing and cantools reported it correctly.

with latest version / feature-subaru-long branch I get during startup
opendbc/can/parser.cc: 0x3AC MISSING
opendbc/can/parser.cc: 0x119 MISSING
opendbc/can/parser.cc: 0x3AC MISSING
opendbc/can/parser.cc: 0x3AC MISSING
opendbc/can/parser.cc: 0x3AC MISSING
opendbc/can/parser.cc: 0x3AC MISSING
opendbc/can/parser.cc: 0x3AC MISSING
opendbc/can/parser.cc: 0x322 MISSING
opendbc/can/parser.cc: 0x321 MISSING
opendbc/can/parser.cc: 0x322 MISSING
opendbc/can/parser.cc: 0x321 MISSING
opendbc/can/parser.cc: 0x322 MISSING
opendbc/can/parser.cc: 0x321 MISSING
opendbc/can/parser.cc: 0x322 MISSING
opendbc/can/parser.cc: 0x321 MISSING
opendbc/can/parser.cc: 0x322 MISSING
opendbc/can/parser.cc: 0x321 MISSING
opendbc/can/parser.cc: 0x3AC MISSING
opendbc/can/parser.cc: 0x3AC MISSING
opendbc/can/parser.cc: 0x3AC MISSING

I tried to comment out can_valid checks in opendbc/can/parser.cc (can_valid is always true) and set all frequency checks in carstate to 1 but eyesight still faulted

I made some progress narrowing down the issue - Eyesight does not fault if I allow forwarding of Brake_Status and CruiseControl messages in panda safety. I added debug output to subarucan to print the sent Brake_Status and CruiseControl messages
working, subaru-long-c2 branch:
send cruisecontrol
[576, 0, b'\xd4\x05\x00\xa46\x00\x08\xab', 2]
send brake_status
[316, 0, b'\x0f/\x00\x00\x00\x00@c', 2]
send brake_status
[316, 0, b'\x00 \x00\x00\x00\x00@c', 2]
send brake_status
[316, 0, b'\x01!\x00\x00\x00\x00@c', 2]
send cruisecontrol
[576, 0, b'\xd6\x06\x00\xa46\x00\x08\xac', 2]
send brake_status
[316, 0, b'\x02"\x00\x00\x00\x00@c', 2]
selfdrive/boardd/boardd.cc: got 736 bytes CarParams
selfdrive/boardd/boardd.cc: panda 0: setting safety model: 11, param: 0, alternative experience: 1
send brake_status
[316, 0, b'\x03#\x00\x00\x00\x00@c', 2]
send brake_status
[316, 0, b'\x04$\x00\x00\x00\x00@c', 2]
send cruisecontrol
[576, 0, b'\xd7\x07\x00\xa46\x00\x08\xac', 2]
send brake_status
[316, 0, b'\x05%\x00\x00\x00\x00@c', 2]
send brake_status
[316, 0, b'\x06&\x00\x00\x00\x00@c', 2]

not working, subaru-feature-long:
send cruisecontrol
[576, 0, b'\xa8\n\x00\xa0\x06\x00\x08\xae', 2]
send brake_status
[316, 0, b'\x03#@\x03\x00\x00\x00`', 2]
send brake_status
[316, 0, b'\x04$@\x03\x00\x00\x00`', 2]
send brake_status
[316, 0, b'\x05%@\x03\x00\x00\x00`', 2]
selfdrive/boardd/boardd.cc: got 1408 bytes CarParams
selfdrive/boardd/boardd.cc: panda 0: setting safety model: 11, param: 2, alternative experience: 1
send brake_status
[316, 0, b'\x06&@\x03\x00\x00\x00`', 2]
send brake_status
[316, 0, b"\x07'@\x03\x00\x00\x00`", 2]
send brake_status
[316, 0, b'\x08(@\x03\x00\x00\x00`', 2]
send cruisecontrol
[576, 0, b'\xab\x0c\x00\xa0\x06\x00\x08\xaf', 2]
send brake_status
[316, 0, b'\t)@\x03\x00\x00\x00`', 2]
send brake_status
[316, 0, b'\n*@\x03\x00\x00\x00`', 2]
send cruisecontrol
[576, 0, b'\xad\r\x00\xa0\x06\x00\x08\xb0', 2]

Eyesight faults when the panda safety mode is set

I split the 46bit Brake_Status Signal1 signal to two 23bit signals in test branch and that fixed eyesight fault. I'll see if I can fix opendbc large values issue but I may need help with that.

CAN Parser bug fixed and opendbc has been bumped on master with the fix.

not directly relevant but I had to add the if sys.platform.startswith("linux"): conditions back in common/realtime.py because on macos pre-commit checks fail with mypy errors
common/realtime.py:35: error: Module has no attribute "sched_setscheduler"
common/realtime.py:40: error: Module has no attribute "sched_setaffinity"

I moved the dev environment to ubuntu and reverted linux platform checks. Also moved ES_Status and ES_Brake to can1 for GEN2, so all route tests are passing now.

Stock AEB PR https://github.com/commaai/openpilot/pull/28052

the required changes are already implemented in feature-subaru-long-2023-07-02 branch, I will merge soon after testing

Superseded by https://github.com/commaai/openpilot/pull/28872 - closing this


fix: creating change requests in private cloud UI

Changes
This PR came from a bug identified when trying to create change requests / scheduled changes when using the UI directly in the flagsmith-private-cloud image.
Investigation into showed that it was using a template that hadn't been updated and that there were in fact 3 different index files (1 handlebars and 2 index.html).
I've consolidated this to 2 (since handlebars doesn't work in all situations) and improved the webpack processes (removed a lot of the unnecessary bash statements to rely on webpack only).
How did you test this code?
Built the image locally with the workflows logic also included and verified that I can create a change request / schedule a change to a feature.

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (6f830e2) 95.64% compared to head (f9f186a) 95.64%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2953   +/-   ##
=======================================
  Coverage   95.64%   95.64%
=======================================
  Files        1012     1012
  Lines       29182    29181    -1
=======================================
  Hits        27911    27911
+ Misses       1271     1270    -1

Files
Coverage Δ

api/app/views.py
63.63% <0.00%> (+2.76%)
:arrow_up:

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


Route [tickets.data] not defined

Hi, After moving my laravel project to another computer I am facing this issue
Route [tickets.data] not defined. (View: C:\wamp64\newroot\vendor\kordy\ticketit\src\Views\bootstrap4\index.blade.php)

I have Changed the routes in ticketit_settings (both value and default) to C:\wamp64\newroot\vendor/kordy/ticketit/src/routes.php
I have also did php artisan config:clear , php artisan cache:clear , php artisan config:cahce
unfortunately still I have no luck
the route http://localhost/tickets-admin gets open ( Im logged in with a admin user)
the route http://localhost/tickets-install is 404
running Laravel 6.17.1
running kordy ticket  v0.4.9
how can I fix this ?

Please install a fresh version on the new computer. Or empty the data from settings db table.
Further you could use php artisan route:list and php artisan route:clear to debug the issue


  There still seems to be an intermittent issue with Azure claiming the Standard Core limit is 10, not 100.  That's an order of magnitude difference.

 There still seems to be an intermittent issue with Azure claiming the Standard Core limit is 10, not 100. That's an order of magnitude difference.

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

ID: c7a4f16d-190f-a1c0-fab0-5a9065554166
Version Independent ID: 0dab3702-f14f-7fb8-f9d7-e39be7230ab5
Content: Service quotas and region availability - Azure Container Instances
Content Source: articles/container-instances/container-instances-quotas.md
Service: container-instances
GitHub Login: @tomvcassidy
Microsoft Alias: tomcassidy

@jsmith-speedeon
Thanks for your feedback! We will investigate and update as appropriate.

@jsmith-speedeon
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

Thanks for your contribution to our documentation
We sincerely apologize for the delayed response. Unfortunately, we have been unable to review this issue in a timely manner. However, we are making overall enhancements to our content. We are closing this issue for now as there has been no activity for a while. If you feel that the problem persists, please respond to this issue with additional information.
?
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


Change dashboard layout

@SwanandD121
There should be no other content in the region where the navbar is present.
Changes suggested -

move the what's happening div down so that it is not in the same line as the navbar.

home, notifications and other icons should be on the left with the search bar on the right

what's happening and trends today - these three divs should be in the same line, horizontally

increase the width of the posts block to increase focus on the posts and enhace user UI.

remove the user profile page from the landing page and add an icon in the navbar for the user to view and edit his profile

increase the size of icons

duplicate


istio 1.9.2 spec.values.global.multiCluster.enabled=true isn't rendering any multicluster configuration

Bug description
When upgrading from 1.9.1 to 1.9.2 the multicluster configuration for my replicated control-planes is being removed, even being explicitly enabled in the istio operator config.
my istio-operator config includes:
  values:
    multiCluster:
        enabled: true
        clusterName: "myawesomecluster"
        globalDomainSuffix: "myawesomecluster.mymesh.com"
        includeEnvoyFilter: true

when rendering the config template using istio-1.9.2 and comparing it with my 1.9.1-running-config, I see the multicluster related objects are not being rendered in 1.9.2 (DestinationRule, EnvoyFilter, Gateway)
[ ] Docs
[X] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[X] Upgrade
Expected behavior
below is the diff from 1.9.1 and 1.9.2 showing the removals. When multiCluster=enabled the below configuration should continue to be rendered
-kind: DestinationRule
-metadata:
-  labels:
-    app: istio-ingressgateway
-    istio: ingressgateway
-    release: istio
-    visibility: private
-  name: istio-multicluster-ingressgateway
-  namespace: istio-system
-spec:
-  host: '*.mymesh.com'
-  trafficPolicy:
-    tls:
-      mode: ISTIO_MUTUAL

-apiVersion: networking.istio.io/v1alpha3
-kind: EnvoyFilter
-metadata:
-  name: istio-multicluster-ingressgateway
-  namespace: istio-system
-  labels:
-    app: istio-ingressgateway
-    istio: ingressgateway
-    visibility: private
-    release: istio
-spec:
-  workloadSelector:
-    labels:
-      istio: ingressgateway
-  configPatches:
-  - applyTo: NETWORK_FILTER
-    match:
-      context: GATEWAY
-      listener:
-        portNumber: 15443
-        filterChain:
-          filter:
-            name: "envoy.filters.network.sni_cluster"
-    patch:
-      operation: INSERT_AFTER
-      value:
-        name: "envoy.filters.network.tcp_cluster_rewrite"
-        typed_config:
-          "@type": "type.googleapis.com/istio.envoy.config.filter.network.tcp_cluster_rewrite.v2alpha1.TcpClusterRewrite"
-          cluster_pattern: "\\.myawesomecluster.mymesh.com$"
-          cluster_replacement: ".svc.cluster.local"

-apiVersion: networking.istio.io/v1alpha3
-kind: Gateway
-metadata:
-  name: istio-multicluster-ingressgateway
-  namespace: istio-system
-  labels:
-    app: istio-ingressgateway
-    istio: ingressgateway
-    visibility: private
-    release: istio
-    istio.io/rev: default
-    install.operator.istio.io/owning-resource: unknown
-    operator.istio.io/component: "IngressGateways"
-spec:
-  selector:
-    istio: ingressgateway
-  servers:
-  - hosts:
-    - "*.myawesomecluster.mymesh.com"
-    port:
-      name: tls
-      number: 15443
-      protocol: TLS
-    tls:
-      mode: AUTO_PASSTHROUGH
----

Steps to reproduce the bug
Enable multiCluster under spec.values.global using istio-1.9.2 isn't producing the expected configuration
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
istio 1.9.2
helm v3.5.3+g041ce5a
How was Istio installed?
istio-operator
Environment where the bug was observed (cloud vendor, OS, etc)
AWS/EKS Cluster -- but not relevant to this case.
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

seems like has to do with the new gateway templates, haven't figured it out how to use it yet tho
https://github.com/istio/istio/compare/1.9.1...1.9.2#diff-c14fe05b4227a3c8a0310a2c7fc92e0e7ef1630c367b8ec8259f27b5ab0b7256R123

reopening as even after adding
values:
    gateways:
      istio-ingressgateway:
        injectionTemplate: gateway

to the operator config, the multiCluster configuration is never rendered.
spec.components looks like this:
ingressGateways:
      - name: istio-ingressgateway
        namespace: istio-gateways
        enabled: true
        k8s:
          env:
            # sni-dnat adds the clusters required for AUTO_PASSTHROUGH mode
            - name: ISTIO_META_ROUTER_MODE
              value: "sni-dnat"
          serviceAnnotations:
            service.beta.kubernetes.io/aws-load-balancer-internal: "true"

referenced from:


Preparatory PR for some fixed price guide refactoring

This first PR only changes a little logic to make some endpoints testable with ruby but is otherwise just adding tests. If these look good I'll clean up the other servers to pass the tests then start addressing each of the issues directly.

[x] adds tests for fixed price guide
[x] adds config helper
[x] cleans up style nits for ruby server for fixed-price

CI is failing because I haven't applied the fixes to the other server languages.

Jeepers. This took a long time to get tests passing 😅


update the README.md

The link shown in the picture still points to the previous repository, where there are no precompiled firmware. Maybe update to: https://github.com/OWASP/IoTGoat/releases.

Good eye. Updated


Updated zh-CN localization to 0.3.3, and added untranslated parts

Updated zh-CN localization to 0.3.3, and added untranslated parts

Thank you @SweetDream0256 for the contribution!


Localisation of timepicker

Hi.
Is it possible to set the timepicker to 24:00 display?
And to change the language for days and months ?
Thanks in advance.

You can use moment locales to set the language for day and month, and change some date formatting options - see https://github.com/ripjar/material-datetime-picker/issues/89#issuecomment-278151106.
I'm open to a PR to make the date formatting more customisable (by exposing moment format strings as options).

This changes output, but not  the language inside the datetimepicker right ?

Ahh I was using an outdated version :)

Is it possible to translate the OK and Cancel buttons?

Yes - #129 addresses this, but it needs a few changes before I can merge it.

How can i looking foto the perfect time


Review: Feature/retries

This is for review and discussion.  This implements retries for the CHECKS.
I find it more efficient to set a low WAIT value, and have the system retry the checks until they succeed rather than guess a long WAIT time for a single check.
This code adds a RETRIES variable that can be set in CHECKS (defaults to 5).
I have added an outer loop to the checks loop that simply retries until the checks succeed.  If after RETRIES times they do not, then it fails in a manner similar to the way it used to.

Useful diff here.
@joshco can you add documentation and paste some sample log output for us?

working on it

I have pushed an update with documentation and examples
see updates to: https://github.com/joshco/dokku/blob/feature/retries/docs/application-deployment.md#zero-downtime-deploy
Which describes the feature and links to a new detail page on checks with examples and log output
https://github.com/joshco/dokku/blob/feature/retries/docs/checks-examples.md

@michaelshobbs what do you think about this?

Do we want the checks to run when someone merely updates an environment variable?  This currently happens today.  If an admin is updating a series of variables in separate statements, this can take a long time if the checks have to run every time

I would think so. You want to verify your changes still work, so how would this be any different?

@josegonzalez I'm not too excited about retries necessarily but I definitely understand the scenario where it would be helpful.
However, it would seem that in this implementation we will attempt all retries even in the case of an error response. What if we just retried on timeout or specific responses? Just spitballing here. I'd like to avoid retrying X times when the app may be clearly failing for a legitimate reason.

Regarding the config changes, the only way for an app to "see" said changes, it to restart and thus employ the zero-downtime checks.

+1 @michaelshobbs .  Retry on timeout is what I'd prefer, rather than "always retry"

OK.  I will work on making it only retry if it is a connect timeout and if an error happens then stop retrying

@joshco in thinking further on this, i'm not sure we want to add more complexity here. perhaps we should just try it out as is.
specifically i was thinking about how sometimes the checks will fail because the instance/machine is overloaded and the /exec script is taking awhile to get to starting up the app. in this case, you'd get a connection refused. you would also get this result if the startup failed for a legitimate reason....so, its impossible to distinguish between the two. in the first case, i'd want a retry and in the second case, i'd want a failure....

@joshco also, do we want to pull anything from #1072

I will look into it.
I'll have an updated pull request by wednesday

It's actually even more complicated than that.  Another ambiguous area is curl failure modes.
the existing (pre-my-changes) checks script uses the --fail flag for curl which tells curl to treat server errors (>=400 ) as failures.  Eg, curl exits with an error code.
This allows a check for '/' to work properly since a 500 error will no longer match an empty regex.  It would without the --fail flag. (I attempted to remove --fail, but then empty regex checks started passing when a 500 was received due to default curl behavior)
In the code:
 # Capture HTTP response or CURL error message
    if OUTPUT=$(curl -# $CURL_ARGS 2>&1) ; then
      # OUTPUT contains the HTTP response
      if [[ ! "$OUTPUT" =~ $EXPECTED ]] ; then
        dokku_log_warn "$LOG_URL: expected to but did not find: \"$EXPECTED\""
        #exit 1
        UNCHECKED=$(expr $UNCHECKED + 1 )

      fi
    else
      # Failed to connect/no response, OUTPUT contains error message
      dokku_log_warn "$OUTPUT"
      #exit 2
      UNCHECKED=$(expr $UNCHECKED + 1 )

    fi
  done

Consequently, HTTP server errors fall into the else case where curl connection timeout errors fall.  To distinguish between the two, the code has to have a nested if to determine which curl error occurred.
eg, 7 == couldnt connect, 22 == HTTP error >=400

see all curl error codes: http://curl.haxx.se/libcurl/c/libcurl-errors.html

another complexity is that there are other codes like 6 == couldn't resolve host (dns) which are connection problems.  Are we clear on if a retry or fail is the right approach for everyone?  Or is the answer, "well, maybe"?
The latter was my initial thinking.  It's too hard to know a consistent answer for all apps so I did "retry all" as it is less costly to wait longer when needed and retry to see if the error clears itself up.
The alternative would be the dev needing to go edit/commit a new CHECKS file to increase the WAIT to a time long enough to avoid transient/temporary load based delays.  This is wasteful, because now we are always waiting a long time for errors that rarely occur.
As far as 	@MatthewMueller 's pull request, it's clever, nc can perhaps better deal with non-http containers, however, it's likely to cause errors in the app logs itself (connect/empty/disconnect)
And it only checks that the app answers the socket, not that it does anything conclusively operational.  Eg, the rails database error would not be caught.
What I'm working on now is a nested if block to make an intelligent guess.  I agree that it may be more complexity than we want, but I figured I'd put it together for us all to review and see if we want it or just stick with retry_all behavior for now.
I'm also going to explore allowing the CHECKS file to include a command line that points to a user provided script that can run their own app specific check.  This can return success or failure.  This would allow for non-http apps that are hard for a standardized dokku script to handle.
stay tuned...

My 2¢.
After playing with my PR more, it's not a great solution or default. I don't know that there's going to be a generalized solution without a CHECKS file.

while exploring the user provided SCRIPT...
I was thinking that the smart thing to do is to run the user provided script inside the new container, however, I can't seem to make this work.  I'm trying to do a docker run with the container ID, but this isnt working.
Here is an example of just trying to run 'ls'
remote:        Running docker run 55acabf105ef ls
remote: Unable to find image '55acabf105ef:latest' locally
remote: Pulling repository 55acabf105ef
remote: time="2015-03-31T02:17:28Z" level="fatal" msg="Error: image library/55acabf105ef:latest not found"

I've tried using the full and concat ID.  Am I missing something, is this not possible given the state of a container?
As a test I'm running a docker ps just before the docker run, which shows the container
remote: CONTAINER ID        IMAGE                         COMMAND
 CREATED             STATUS              PORTS                    NAMES
remote: 55acabf105ef        dokku/tcfpledge2:latest       "/start web"
 6 seconds ago       Up 5 seconds                                 trusting_jang

I've built the selective retry function (only retry connection timeouts, fail 500 errors etc)
At this point, I'm inclined to suggest that we stick with the retry all behavior.  The more I think about it the more I'm worried we can't catch all of the cases where retry should happen.
Another example would be a procfile that starts multiple processes such as rails web server, resque, job worker, or even an inline database.  In these environments it is possible that one will start before the other.  So you may have the web front end answering requests but getting errors trying to connect to resque, which is still in the process of starting.
In such a case, the right thing to do is to wait it out as the errors will stop once startup is complete.
It is here on a separate branch outside this pull request
https://github.com/joshco/dokku/blob/feature/retries_selective/plugins/checks/check-deploy
https://github.com/joshco/dokku/blob/feature/retries_selective/plugins/checks/check-deploy#L163-L182
Here is the example output:
remote: -----> Deploying tcfpledge2...
remote: -----> Running pre-flight checks
remote: -----> Attempt 1/6 Waiting for 5 seconds ...
remote:        CHECKS expected result:
remote:        http://localhost/ => ""
remote:  !
remote: curl: (7) Failed to connect to <IP_ADDRESS> port 5000: Connection refused
remote:  !    Check attempt 1/6 failed.  Retrying...
remote: -----> Attempt 2/6 Waiting for 5 seconds ...
remote:        CHECKS expected result:
remote:        http://localhost/ => ""
remote:  !
remote: curl: (7) Failed to connect to <IP_ADDRESS> port 5000: Connection refused
remote:  !    Check attempt 2/6 failed.  Retrying...
remote: -----> Attempt 3/6 Waiting for 5 seconds ...
remote:        CHECKS expected result:
remote:        http://localhost/ => ""
remote: Non Retryable CURL error 22
remote:  !
remote: curl: (22) The requested URL returned error: 500 Internal Server Error
remote: =====> tcfpledge2 container output:
remote:        => Booting Thin
remote:        => Rails 4.2.0 application starting in production on http://<IP_ADDRESS>:5000
remote:        => Run `rails server -h` for more startup options
remote:        => Ctrl-C to shutdown server
remote:        Thin web server (v1.6.3 codename Protein Powder)
remote:        Maximum connections set to 1024
remote:        Listening on <IP_ADDRESS>:5000, CTRL+C to stop
remote:        Started GET "/" for <IP_ADDRESS> at 2015-03-31 02:59:43 +0000
remote:        [Rollbar] Reporting exception: could not connect to server: Connection refused
remote:         Is the server running on host "<IP_ADDRESS>" and accepting
remote:         TCP/IP connections on port 5431?
remote:        [Rollbar] Exception not reported because Rollbar is disabled
remote:        PG::ConnectionBad (could not connect to server: Connection refused
remote:         Is the server running on host "<IP_ADDRESS>" and accepting
remote:         TCP/IP connections on port 5431?
remote:        ):
remote:          vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in `initialize'
[---snip---]

@joshco bump :)

I don't get it.  See my last comment.  I was waiting for feedback.
What are my next steps?

i'm fine with retry all to start. although what happens if retries is set to 0. do we get one run at least? basically i'd like a wait to disable the retry but still get the check run once.

I will have an update tuesday

Ready for review.
I addressed your point by moving from "RETRIES" to "ATTEMPTS.
ATTEMPTS=0 means don't run the checks.  Useful if you want to skip the checks and can be overridden by DOKKU_CHECKS_ATTEMPTS
ATTEMPTS=1 means run only once
ATTEMPTS=N means try N attempts

@michaelshobbs this looks good to me :)

@joshco thanks for reworking this.
I don't understand the naming of the UNCHECKED variable... It's tracking failures? Might be good to rename this.
We'll want to make sure this passes linting.
In ./plugins/checks/check-deploy line 113:
  ATTEMPT=$(expr $ATTEMPT + 1 )
            ^-- SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].

In ./plugins/checks/check-deploy line 170:
        UNCHECKED=$(expr $UNCHECKED + 1 )
                    ^-- SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].

In ./plugins/checks/check-deploy line 176:
      UNCHECKED=$(expr $UNCHECKED + 1 )
                  ^-- SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].

Updated

New lint errors:
linting...

In ./plugins/checks/check-deploy line 112:
  ATTEMPT=$(( $ATTEMPT + 1 ))
              ^-- SC2004: $ on variables in (( )) is unnecessary.

In ./plugins/checks/check-deploy line 169:
        FAILEDCHECKS=$(( $FAILEDCHECKS + 1 ))
                         ^-- SC2004: $ on variables in (( )) is unnecessary.

In ./plugins/checks/check-deploy line 174:
      FAILEDCHECKS=$(( $FAILEDCHECKS + 1 ))
                       ^-- SC2004: $ on variables in (( )) is unnecessary.
make: *** [lint] Error 123

What is the command to run that lint so I can check it myself?

Check out the docs here: http://progrium.viewdocs.io/dokku/development/testing

updated

:+1:

Good work @joshco! This is going out in the next release tonight!

<3!!!!

Awesome. Glad to help out!


Routing strategy seems to break due to router entering an infinite loop when noAuthGuard is doing an async operation

@juanmesa2097 routing strategy seems to break due to router entering an infinite loop when noAuthGuard is doing an async operation, for example rather checking whats in the subject on load- what if we want the page to survive page refreshes by checking a session on the server.. sync operations seems to work fine but not async
const test = () => {
  return new Promise((res, rej) => {
    setTimeout(() => {
      res(true);
    });
  });
};

async canActivate() {
  const isLoggedIn = await test();
    if (isLoggedIn) {
      this.router.navigate([Path.App]);
      return false;
    }
    return true;
}

Originally posted by @s1eeper888 in https://github.com/juanmesa2097/angular-boilerplate/issues/121#issuecomment-772519375

@s1eeper888 for async operations you can return a promise or an observable. Since you need to handle a side effect which is to redirect the user if is logged in, I think the best choice is to convert the promise into an observable and use the tap operator to handle side effects.
const test = (): Promise<boolean> => {
  return new Promise((res, rej) => {
    setTimeout(() => {
      res(true);
    }, 3000);
  });
};

canActivate(
    next: ActivatedRouteSnapshot,
    state: RouterStateSnapshot
  ):
    | Observable<boolean | UrlTree>
    | Promise<boolean | UrlTree>
    | boolean
    | UrlTree {
    return from(test()).pipe(
      tap((isLoggedIn) => {
        if (isLoggedIn) {
          this.router.navigate([Path.App]);
        }
      })
    );
  }

Please, let me know if this works for you.

@juanmesa2097 doh.. man I did not have my coffee this morning! hehe. Thanks @juanmesa2097

@s1eeper888 haha anytime.


Support for iCloud photos on iOS

Sorry to be a bother, but there seem to be some issues when using iCloud photo library with this plugin. Selecting images that have been downloaded to the device works fine, but image assets that haven't been downloaded to the device return null, as per Apples documentation: https://developer.apple.com/library/ios/documentation/AssetsLibrary/Reference/ALAsset_Class/#//apple_ref/occ/instm/ALAsset/defaultRepresentation
To provide better compatibility with iOS 8 and forward I'd suggest using the Photos Framework instead, unfortunately I don't have the time right now to do it myself and supply a PR... :disappointed:

Hi, please see this PR I intend to review and integrate in this plugin.
There is one caveat: it breaks iOS 6/7 compatibility, so we'd exclude 14% of the userbase.
With iOS 9 around the corner these figures will likely significantly drop but still I expect some pain.

Oh wow, I should've read up a bit first on the original repo.. :) Thanks a bunch for your quick reply, looking forward to the update!

Hi - Is there any movement on this now that ios9 has dropped?

Hey @nod, pre-8 usage has dropped to 9%, and folks wanting to target it can use the old version of the plugin so yeah let's do this soon!

:+1:

Hi all,
I've just submitted an update for icloud compatibility to the master branch - a highly modified version of the aforementioned PR.
The PR broke backward compatibility and removed a few features on iOS (passing in width and quality f.i.).
Please give it a spin and I'll release it shortly.

Glorious! Thank ou very much. Will do so and report back

@EddyVerbruggen thanks for working on this feature - just checked on an iphone 6 running iOS 9.1.1 and ran across an issue.
It looks like attempting to select photos from a device which syncs photos with iCloud creates a bunch of “virtual galleries” out of random photos, but doesn't see the photos in each gallery. Is there some parameter i need to set to enable this, or did I miss something? I've attached a screenshot of the behavior.

Thanks!

It's fixed in updated version of the plugin. So closing this for now.


[libvorbis] Fix UWP builds

This PR adds a patch to add missing defines to build the UWP versions. The defines do not affect the windows builds as they will just remove warnings about deprecated functions. However, with UWP builds, the deprecated functions caused build errors. The add defines permit the use of these deprecated functions.

Thanks for the changes!
Three additional modifications I made during the merge:

Bumped the package version to correspond with source changes
I moved the application of patches outside the if()/endif() because otherwise users who previously built libvorbis for desktop would not get the patches applied.
I switched to the preferred vcpkg_apply_patches command.


this will be closed

this will be closed

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against a18fa51d9283a8e0b051cba21768e1d095a1951e


Research / figure out how to transfer data from insight catalog (on AWS S3) securely/with authentication

Since real user data will be in S3, we must access it in some secure way from the insights website. Therefore I must research how to access data from S3 securely.
Acceptance Crit

Plan for accessing data from S3 securely.

Just kidding we're hard-coding a signed url from S3 and running it locally


How do we create date only column from add-spofield?

Hello,
Could you please let me know how do we create date only field using add-spofield -type datetime?
Thanks

Hi!
unfortunately this is pretty complex... be ready for a bit of 'obscure' PowerShell:
Connect-SPOnline -Url <yoursite>
$ctx = Get-SPOContext
$field = Add-SPOField -DisplayName "yourname" -InternalName "etc.etc." -Type DateTime
$datefield = [Microsoft.SharePoint.Client.ClientContext].GetMethod("CastTo").MakeGenericMethod([Microsoft.SharePoint.Client.FieldDateTime]).Invoke($ctx,$field)
$datefield.DisplayFormat = [Microsoft.SharePoint.Client.DateTimeFieldFormatType]::DateOnly
$datefield.Update()
Execute-SPOQuery

I will work on an update to the add-spofield field so that we actually return a datetime field when we create one (and other field types too).

I implemented a change in the cmdlets, which will be made availabe with the November release of the cmdlets. The moment that one is released you can do:
$field = Add-SPOField -DisplayName "yourname" -InternalName "etc.etc." -Type DateTime
$field.DisplayFormat = [Microsoft.SharePoint.Client.DateTimeFieldFormatType]::DateOnly
field.Update()
Execute-SPOQuery

Thanks a lot Erwin


Update .dsb references to .dab

Updates the new file extension for distributed application bundles.

thank you :+1:
if you are in it, can you also rename dsb files in examples? :wink:

@kadel i already did in https://github.com/skippbox/kompose/pull/183 :) needs to just be murged

ahh, sorry,  I missed that

+1
merging.


Use window.crypto.getRandomValues(), a CSPRNG

Math.random() is not a cryptographically strong Random Number
Generator.
https://stackoverflow.com/questions/5651789/is-math-random-cryptographically-secure
window.crypto.getRandomValues() is now well supported by browsers:
http://caniuse.com/#search=crypto.getRandomValues
getDiceroll() now accepts one argument, which is an Integer
specifying how may die rolls should be performed at once. This is more
efficient than calling for a single random value in a loop. It defaults
to a five die roll.

Closing due to lack of interest in pulling upstream. I'll maintain my fork, which includes this security fix, which can be found at https://www.rempe.us/diceware https://github.com/grempe/diceware


BUILD: Update IAR support in CMakeLists.txt

Applied the same change as in mbed-crypto for using this as a sub
project with the IAR toolchain.
Signed-off-by: TTornblom<EMAIL_ADDRESS>Description
Split CMAKE_C_FLAGS settings for IAR to mimic the GCC and CLANG settings.
The old settings was causing issues with mbed-crypto when building TF-M with the IAR toolchain due to multiple settings of "-Ohz" when using it as a subproject.
This is a proactive fix for similar issues with mbedtls.
Status
READY
Requires Backporting
NO
Migrations
NO
Additional comments
Any additional information that could be of interest
Todos

[ ] Tests
[ ] Documentation
[ ] Changelog updated
[ ] Backported

Steps to test or reproduce
Outline the steps to test or reproduce the PR here.

Thanks @TTornblom for your contribution here. We'll have to put this on hold for now since our IAR tests are not currently executing due to license issues.


ioredis connection error

Trying to run the server, I get following error:
[ioredis] Unhandled error event: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
    at Object.exports._errnoException (util.js:1012:11)
    at exports._exceptionWithHostPort (util.js:1035:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14)
I'm running the server from localhost (input.json has http://localhost as address). Tried it under Windows, as well as Ubuntu and got the same error.

I have the same error did you have any luck?


permissions: improve default needs

Avoids to add a default need for superuser role if allow_by_default property is set to True.

Co-Authored-by: Sébastien Délèze<EMAIL_ADDRESS>

Sorry, I didn't see this PR until now......allow_by_default was added for migration purposes when we moved from DynamicPermissions to the new Permissions. The allow_by_default feature I'd rather see removed from Invenio-Access as it has potential to be used wrongly. I think the permissions should be explicit so if any user should be able to access, you explicitly declare the permission as such using the any_user Permission(any_user).


Stress test with official Blender Demo files

Describe the bug
The Blender Foundation hosts a couple of official demo files on their website. It would be great if all/most/some of those could be exported as expected without errors.
Those files are quite sophisticated, so it would be a good stress test. I'm also aware that not all features/aspects of a model can be exported (e.g. materials not using the principled BRDF shader).
To Reproduce
I'm gonna give steps for one particular file, the "Hi, my name is Amy" file:

Go to this web page and click the "Download" button to load the 220 MB file
Open said file with Blender
Try to export a glTF file (I tried both the entire scene or just the head mesh)
See error

Python: Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/__init__.py", line 626, in execute
    return gltf2_blender_export.save(context, export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 46, in save
    json, buffer = __export(export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 63, in __export
    __gather_gltf(exporter, export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 75, in __gather_gltf
    active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py", line 39, in gather_gltf2
    animations += __gather_animations(blender_scene, export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py", line 83, in __gather_animations
    animations_, merged_tracks = gltf2_blender_gather_animations.gather_animations(_blender_object, merged_tracks, len(animations), export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 76, in gather_animations
    animation = __gather_animation(blender_action, blender_object, export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 114, in __gather_animation
    channels=__gather_channels(blender_action, blender_object, export_settings),
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 149, in __gather_channels
    return gltf2_blender_gather_animation_channels.gather_animation_channels(
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py", line 74, in gather_animation_channels
    channel = __gather_animation_channel(
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py", line 202, in __gather_animation_channel
    sampler=__gather_sampler(channels, blender_object, export_settings, bake_bone, bake_channel, bake_range_start, bake_range_end, action_name, driver_obj),
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py", line 254, in __gather_sampler
    return gltf2_blender_gather_animation_samplers.gather_animation_sampler(
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py", line 67, in gather_animation_sampler
    input=__gather_input(channels, blender_object_if_armature, non_keyed_values,
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py", line 235, in __gather_input
    keyframes = gltf2_blender_gather_animation_sampler_keyframes.gather_keyframes(blender_object_if_armature,
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py", line 231, in gather_keyframes
    mat = get_bone_matrix(
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 90, in wrapper_bonecache
    result = func(*args)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py", line 177, in get_bone_matrix
    drivers_to_manage = get_sk_drivers(obj_driver)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 117, in wrapper_skdriverdiscover
    result = func(*args)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_drivers.py", line 55, in get_sk_drivers
    idx = shapekeys_idx[sk_name]
KeyError: 'XZ_Wrist_Up.L'

Expected behavior
A valid glTF file that can be loaded by reference viewers
Screenshots

Version

OS: macOS 11.4
Blender Version 2.93 / glTF-Blender-IO 1.6.16

Thanks!

Can you please test with blender 3.0 alpha / master ?
This is probably #1415 , so already fixed.

Sure!
version: 3.0.0 Alpha, branch: master, commit date: 2021-07-16 19:29, hash: 118803893e65, type: Release
build date: 2021-07-16, 20:02:04
io_scene_gltf2 (version: (1, 7, 17)
Similar result:
20:15:40 | INFO: Starting glTF 2.0 export
20:15:41 | WARNING: Animation target pose.bones["IK-Hand_Parent not found
20:15:41 | WARNING: Animation target pose.bones["IK-Hand_Parent not found
20:15:41 | WARNING: Animation target pose.bones["FK-Hand not found
20:15:41 | WARNING: Animation target pose.bones["GRP-Lip_Top not found
20:15:41 | WARNING: Animation target pose.bones["FK-Upperarm_Parent not found
20:15:41 | WARNING: Animation target pose.bones["FK-Thigh_Parent not found
20:15:41 | WARNING: Animation target pose.bones["FK-Thigh_Parent not found
20:15:41 | WARNING: Animation target pose.bones["FK-Upperarm_Parent not found
20:15:41 | WARNING: Animation target pose.bones["FK-Hand not found
20:15:41 | WARNING: Animation target pose.bones["IK-Hand not found
Python: Traceback (most recent call last):
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/__init__.py", line 637, in execute
    return gltf2_blender_export.save(context, export_settings)
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 46, in save
    json, buffer = __export(export_settings)
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 63, in __export
    __gather_gltf(exporter, export_settings)
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 77, in __gather_gltf
    active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings)
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py", line 39, in gather_gltf2
    animations += __gather_animations(blender_scene, export_settings)
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py", line 83, in __gather_animations
    animations_, merged_tracks = gltf2_blender_gather_animations.gather_animations(_blender_object, merged_tracks, len(animations), export_settings)
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 76, in gather_animations
    animation = __gather_animation(blender_action, blender_object, export_settings)
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 114, in __gather_animation
    channels=__gather_channels(blender_action, blender_object, export_settings),
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 149, in __gather_channels
    return gltf2_blender_gather_animation_channels.gather_animation_channels(
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py", line 74, in gather_animation_channels
    channel = __gather_animation_channel(
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py", line 202, in __gather_animation_channel
    sampler=__gather_sampler(channels, blender_object, export_settings, bake_bone, bake_channel, bake_range_start, bake_range_end, action_name, driver_obj),
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py", line 254, in __gather_sampler
    return gltf2_blender_gather_animation_samplers.gather_animation_sampler(
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py", line 67, in gather_animation_sampler
    input=__gather_input(channels, blender_object_if_armature, non_keyed_values,
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py", line 235, in __gather_input
    keyframes = gltf2_blender_gather_animation_sampler_keyframes.gather_keyframes(blender_object_if_armature,
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py", line 231, in gather_keyframes
    mat = get_bone_matrix(
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 90, in wrapper_bonecache
    result = func(*args)
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py", line 177, in get_bone_matrix
    drivers_to_manage = get_sk_drivers(obj_driver)
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 117, in wrapper_skdriverdiscover
    result = func(*args)
  File "/Users/aa/sdk/blender-git/build_darwin/bin/Blender.app/Contents/Resources/3.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_drivers.py", line 59, in get_sk_drivers
    idx = shapekeys_idx[sk_name]
KeyError: 'XZ_Wrist_Up.L'

hth

Ok...
This is summer break, I am AFK for the next 3 weeks, but I will have a look after

No need to hurry. Enjoy your time off!

Problem identified. Linked to muted drivers on shapekeys.
Here is a minimalist file to reproduce the issue
driver_muted.blend.zip

Thanks for the fix.
When I tested exporting said file again I seem to be running into the next problem:
19:03:06 | INFO: Starting glTF 2.0 export
19:03:07 | WARNING: Animation target pose.bones["IK-Hand_Parent not found
19:03:07 | WARNING: Animation target pose.bones["IK-Hand_Parent not found
19:03:07 | WARNING: Animation target pose.bones["FK-Hand not found
19:03:07 | WARNING: Animation target pose.bones["GRP-Lip_Top not found
19:03:07 | WARNING: Animation target pose.bones["FK-Upperarm_Parent not found
19:03:07 | WARNING: Animation target pose.bones["FK-Thigh_Parent not found
19:03:07 | WARNING: Animation target pose.bones["FK-Thigh_Parent not found
19:03:07 | WARNING: Animation target pose.bones["FK-Upperarm_Parent not found
19:03:07 | WARNING: Animation target pose.bones["FK-Hand not found
19:03:07 | WARNING: Animation target pose.bones["IK-Hand not found
19:03:07 | WARNING: Animation target pose.bones["IK-Hand_Parent not found
19:03:07 | WARNING: Animation target pose.bones["IK-Hand_Parent not found
19:03:07 | WARNING: Animation target pose.bones["FK-Hand not found
19:03:07 | WARNING: Animation target pose.bones["GRP-Lip_Top not found
19:03:07 | WARNING: Animation target pose.bones["FK-Upperarm_Parent not found
19:03:07 | WARNING: Animation target pose.bones["FK-Thigh_Parent not found
19:03:07 | WARNING: Animation target pose.bones["FK-Thigh_Parent not found
19:03:07 | WARNING: Animation target pose.bones["FK-Upperarm_Parent not found
19:03:07 | WARNING: Animation target pose.bones["FK-Hand not found
19:03:07 | WARNING: Animation target pose.bones["IK-Hand not found
Python: Traceback (most recent call last):
  File "/Users/aa/sdk/glTF-Blender-IO/addons/io_scene_gltf2/__init__.py", line 637, in execute
    return gltf2_blender_export.save(context, export_settings)
  File "/Users/aa/sdk/glTF-Blender-IO/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 46, in save
    json, buffer = __export(export_settings)
  File "/Users/aa/sdk/glTF-Blender-IO/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 63, in __export
    __gather_gltf(exporter, export_settings)
  File "/Users/aa/sdk/glTF-Blender-IO/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 77, in __gather_gltf
    active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings)
  File "/Users/aa/sdk/glTF-Blender-IO/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py", line 39, in gather_gltf2
    animations += __gather_animations(blender_scene, export_settings)
  File "/Users/aa/sdk/glTF-Blender-IO/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py", line 83, in __gather_animations
    animations_, merged_tracks = gltf2_blender_gather_animations.gather_animations(_blender_object, merged_tracks, len(animations), export_settings)
  File "/Users/aa/sdk/glTF-Blender-IO/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 76, in gather_animations
    animation = __gather_animation(blender_action, blender_object, export_settings)
  File "/Users/aa/sdk/glTF-Blender-IO/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 125, in __gather_animation
    __link_samplers(animation, export_settings)
  File "/Users/aa/sdk/glTF-Blender-IO/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 208, in __link_samplers
    animation.channels[i].sampler = __append_unique_and_get_index(animation.samplers, channel.sampler)
AttributeError: 'NoneType' object has no attribute 'sampler'

location: <unknown location>:-1

Re-open the issue would be appreciated. Otherwise let me know if I should raise another issue.
Cheers

@atteneder I just pushed a fix

@julienduroure nice!
next obstacle:
07:58:08 | INFO: Starting glTF 2.0 export
07:58:11 | WARNING: Animation target pose.bones["IK-Hand_Parent not found
07:58:11 | WARNING: Animation target pose.bones["IK-Hand_Parent not found
07:58:11 | WARNING: Animation target pose.bones["FK-Hand not found
07:58:11 | WARNING: Animation target pose.bones["GRP-Lip_Top not found
07:58:11 | WARNING: Animation target pose.bones["FK-Upperarm_Parent not found
07:58:11 | WARNING: Animation target pose.bones["FK-Thigh_Parent not found
07:58:11 | WARNING: Animation target pose.bones["FK-Thigh_Parent not found
07:58:11 | WARNING: Animation target pose.bones["FK-Upperarm_Parent not found
07:58:11 | WARNING: Animation target pose.bones["FK-Hand not found
07:58:11 | WARNING: Animation target pose.bones["IK-Hand not found
Python: Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/__init__.py", line 626, in execute
    return gltf2_blender_export.save(context, export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 46, in save
    json, buffer = __export(export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 63, in __export
    __gather_gltf(exporter, export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 75, in __gather_gltf
    active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py", line 39, in gather_gltf2
    animations += __gather_animations(blender_scene, export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py", line 83, in __gather_animations
    animations_, merged_tracks = gltf2_blender_gather_animations.gather_animations(_blender_object, merged_tracks, len(animations), export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 76, in gather_animations
    animation = __gather_animation(blender_action, blender_object, export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 114, in __gather_animation
    channels=__gather_channels(blender_action, blender_object, export_settings),
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py", line 149, in __gather_channels
    return gltf2_blender_gather_animation_channels.gather_animation_channels(
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py", line 74, in gather_animation_channels
    channel = __gather_animation_channel(
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py", line 202, in __gather_animation_channel
    sampler=__gather_sampler(channels, blender_object, export_settings, bake_bone, bake_channel, bake_range_start, bake_range_end, action_name, driver_obj),
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py", line 254, in __gather_sampler
    return gltf2_blender_gather_animation_samplers.gather_animation_sampler(
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py", line 67, in gather_animation_sampler
    input=__gather_input(channels, blender_object_if_armature, non_keyed_values,
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py", line 235, in __gather_input
    keyframes = gltf2_blender_gather_animation_sampler_keyframes.gather_keyframes(blender_object_if_armature,
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 65, in wrapper_cached
    result = func(*args)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py", line 231, in gather_keyframes
    mat = get_bone_matrix(
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 90, in wrapper_bonecache
    result = func(*args)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_sampler_keyframes.py", line 177, in get_bone_matrix
    drivers_to_manage = get_sk_drivers(obj_driver)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_cache.py", line 117, in wrapper_skdriverdiscover
    result = func(*args)
  File "/Applications/Blender.app/Contents/Resources/2.93/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_drivers.py", line 55, in get_sk_drivers
    idx = shapekeys_idx[sk_name]
KeyError: 'XZ_Wrist_Up.L'

Still with same file?
I exported it yesterday with Blender 2.93 and master addon, without any crash

I beg your pardon. My dual-addon setup accidentally fell back to version 1.6.something.
With 1.7.23 the export finishes now!
I cannot view the result in 3 different glTF viewers though (no errors, but scene does not show up at all)....I'll investigate / debug the results now.
Thanks!

The file contains the main character as a collection instance (CH-rain). The glTF exporter only creates a root level node (named CH-rain), but not the actual character's (rig) full hierarchy.
I tried Apply -> Make Instances Real to work around this. Result:

Animation is broken in Blender now (after refresh or reloading the file)
It seems like Bone nodes are exported twice now in the glTF and the "wrong" copy (which is not referenced in the scene) is being used in skin.joints :/

I assume animated collection instances have never been tested and thus are not supported. Would be great if it was added or otherwise a warning/error shows up (ideally with workaround explanation).
To clarify: this scene/issue is not a high priority to me. Do what you like with my observations, but no pressure from my side.
Thanks!

A complete refactoring (for better collection instance management) is in progress in #1378
I will test this file with the  #1378 branch

Note: With Master branch, I am able to see (not perfect) results in both https://sandbox.babylonjs.com/ and https://gltf-viewer.donmccurdy.com/
What viewer did you use?

I used Don's viewer as well, the official glTF sample viewer and my own (glTFast/Unity)
I exported with bpy.app.version == (2, 93, 3) and current master ( 1.7.23 - ae019ea5c4fd5b5482393474adbeebb7a37b4aa1 ) with default settings.
Here's the result (JSON part only):
rain_restaurant.gltf.zip
What stands out to me is that node CH-rain_proxy(which I believe is supposed to hold the character mesh) is missing and node CH-rain is empty.
export log:
08:22:15 | INFO: Starting glTF 2.0 export
08:22:15 | INFO: Extracting primitive: Cube.001
08:22:15 | INFO: Primitives created: 1
08:22:15 | INFO: Extracting primitive: Torus.010
08:22:15 | INFO: Primitives created: 1
08:22:15 | INFO: Extracting primitive: Cube.003
08:22:15 | INFO: Primitives created: 2
08:22:15 | INFO: Extracting primitive: Cylinder
08:22:15 | INFO: Primitives created: 2
08:22:15 | INFO: Extracting primitive: Cylinder.001
08:22:15 | INFO: Primitives created: 1
08:22:15 | INFO: Extracting primitive: Cylinder.002
08:22:15 | INFO: Primitives created: 1
08:22:15 | INFO: Extracting primitive: GEO-rain_gums_upper_Data
08:22:17 | INFO: Primitives created: 2
08:22:17 | INFO: Extracting primitive: GEO-rain_gums_lower_Data
08:22:17 | INFO: Primitives created: 2
08:22:17 | INFO: Extracting primitive: GEO-rain_tongue_Data
08:22:17 | INFO: Primitives created: 1
08:22:17 | INFO: Extracting primitive: GEO-rain_eyebrows_Data
08:22:17 | INFO: Primitives created: 1
08:22:17 | WARNING: There are more than 4 joint vertex influences.The 4 with highest weight will be used (and normalized).
08:22:17 | INFO: Extracting primitive: GEO-rain_eyelashes_Data
08:22:17 | INFO: Primitives created: 1
08:22:17 | INFO: Extracting primitive: GEO-rain_head_Data
08:22:18 | INFO: Primitives created: 1
08:22:18 | WARNING: There are more than 4 joint vertex influences.The 4 with highest weight will be used (and normalized).
08:22:18 | INFO: Extracting primitive: GEO-rain_body_Data
08:22:20 | INFO: Primitives created: 1
08:22:20 | WARNING: There are more than 4 joint vertex influences.The 4 with highest weight will be used (and normalized).
08:22:20 | INFO: Extracting primitive: GEO-rain_scarf_Data
08:22:20 | INFO: Primitives created: 1
08:22:20 | WARNING: There are more than 4 joint vertex influences.The 4 with highest weight will be used (and normalized).
08:22:21 | INFO: Extracting primitive: GEO-rain_shoes_Data
08:22:21 | INFO: Primitives created: 4
08:22:21 | INFO: Extracting primitive: Cube
08:22:21 | INFO: Primitives created: 1
08:22:21 | INFO: Extracting primitive: GEO-rain_top_Data
08:22:21 | INFO: Primitives created: 1
08:22:21 | WARNING: There are more than 4 joint vertex influences.The 4 with highest weight will be used (and normalized).
08:22:22 | INFO: Extracting primitive: GEO-rain_jeans_Data
08:22:22 | INFO: Primitives created: 1
08:22:22 | WARNING: There are more than 4 joint vertex influences.The 4 with highest weight will be used (and normalized).
08:22:25 | INFO: Extracting primitive: GEO-rain_body_nomask_Data
08:22:27 | INFO: Primitives created: 2
08:22:27 | WARNING: There are more than 4 joint vertex influences.The 4 with highest weight will be used (and normalized).
08:22:27 | WARNING: There are more than 4 joint vertex influences.The 4 with highest weight will be used (and normalized).
08:22:28 | INFO: Extracting primitive: Sphere.014
08:22:28 | INFO: Primitives created: 1
08:22:28 | INFO: Extracting primitive: Sphere.004
08:22:28 | INFO: Primitives created: 1
08:22:28 | INFO: Extracting primitive: Data_GEO-rain_hair_main
08:22:28 | INFO: Primitives created: 1
08:22:28 | WARNING: There are more than 4 joint vertex influences.The 4 with highest weight will be used (and normalized).
08:22:30 | INFO: Extracting primitive: GEO-rain_hair_ponytail_Data
08:22:30 | INFO: Primitives created: 1
08:22:30 | INFO: Extracting primitive: GEO-rain_hair_strand_Data
08:22:30 | INFO: Primitives created: 1
08:22:30 | INFO: Extracting primitive: GEO-rain_hairband_Data
08:22:30 | INFO: Primitives created: 1
08:22:30 | INFO: Extracting primitive: Sphere.003
08:22:30 | INFO: Primitives created: 3
08:22:31 | INFO: Extracting primitive: Circle
08:22:31 | INFO: Primitives created: 1
08:22:31 | WARNING: Animation target pose.bones["IK-Hand_Parent not found
08:22:31 | WARNING: Animation target pose.bones["IK-Hand_Parent not found
08:22:31 | WARNING: Animation target pose.bones["FK-Hand not found
08:22:31 | WARNING: Animation target pose.bones["GRP-Lip_Top not found
08:22:31 | WARNING: Animation target pose.bones["FK-Upperarm_Parent not found
08:22:31 | WARNING: Animation target pose.bones["FK-Thigh_Parent not found
08:22:31 | WARNING: Animation target pose.bones["FK-Thigh_Parent not found
08:22:31 | WARNING: Animation target pose.bones["FK-Upperarm_Parent not found
08:22:31 | WARNING: Animation target pose.bones["FK-Hand not found
08:22:31 | WARNING: Animation target pose.bones["IK-Hand not found
08:22:31 | WARNING: Animation target pose.bones["IK-Hand_Parent not found
08:22:31 | WARNING: Animation target pose.bones["IK-Hand_Parent not found
08:22:31 | WARNING: Animation target pose.bones["FK-Hand not found
08:22:31 | WARNING: Animation target pose.bones["GRP-Lip_Top not found
08:22:31 | WARNING: Animation target pose.bones["FK-Upperarm_Parent not found
08:22:31 | WARNING: Animation target pose.bones["FK-Thigh_Parent not found
08:22:31 | WARNING: Animation target pose.bones["FK-Thigh_Parent not found
08:22:31 | WARNING: Animation target pose.bones["FK-Upperarm_Parent not found
08:22:31 | WARNING: Animation target pose.bones["FK-Hand not found
08:22:31 | WARNING: Animation target pose.bones["IK-Hand not found
08:23:16 | INFO: Finished glTF 2.0 export in 61.413681983947754 s

Regards


Drop python 3.7 and support 3.13 in main CI

Fixed the failure in main CI.
Run actions/setup-python@v5
Installed versions
  Version 3.7 was not found in the local cache
  Error: The version '3.7' with architecture 'arm64' was not found for macOS 14.5.
  The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

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

Project coverage is 99.20%. Comparing base (f2ddd8a) to head (215c325).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #159   +/-   ##
=======================================
  Coverage   99.20%   99.20%
=======================================
  Files           7        7
  Lines         252      252
=======================================
  Hits          250      250
  Misses          2        2

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


TypeError on validation_steps in model.fit_generator

I keep getting TypeError on validation_step. I looked up on stackoverflow and tried few ones but cannot solve this issue. Has anyone solved this issue?
/home/airikiho/anaconda3/envs/py27/lib/python2.7/site-packages/keras/callbacks.py:494: RuntimeWarning: Early stopping requires val_dice_loss available!
  (self.monitor), RuntimeWarning)
Traceback (most recent call last):
  File "train.py", line 174, in <module>
    validation_steps=np.ceil(float(len(ids_valid_split)) / float(batch_size)))
  File "/home/airikiho/anaconda3/envs/py27/lib/python2.7/site-packages/keras/legacy/interfaces.py", line 88, in wrapper
    return func(*args, **kwargs)
  File "/home/airikiho/anaconda3/envs/py27/lib/python2.7/site-packages/keras/engine/training.py", line 1939, in fit_generator
    callbacks.on_epoch_end(epoch, epoch_logs)
  File "/home/airikiho/anaconda3/envs/py27/lib/python2.7/site-packages/keras/callbacks.py", line 77, in on_epoch_end
    callback.on_epoch_end(epoch, logs)
  File "/home/airikiho/anaconda3/envs/py27/lib/python2.7/site-packages/keras/callbacks.py", line 496, in on_epoch_end
    if self.monitor_op(current - self.min_delta, self.best):
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'

Fix here.


Get resource list should check if the "types" input is provided

The following line in hs_core.hydroshare.users.py does not check if types is provided as an input.
if not any((group, user, owner, from_date, to_date, start, count, keywords, dc, full_text_search, public)):
        raise NotImplemented("Returning the full resource list is not supported.")

This line should be changed to
if not any((group, user, owner, from_date, to_date, start, count, keywords, dc, full_text_search, public,types)):
        raise NotImplemented("Returning the full resource list is not supported.")

Closing since merged in March


LogicTech TrackMan Marble Left Handed Enhancements

Existing enhancement assumes a right-handed user and it is impractical for a left-handed user. This adds a left-handed version which simply flips the use of the Mouse four and five buttons around so that the enhancements can be used by left-handed users.

Thanks!


Project Monitoring V2 Introduction and Release Documents

Create documents that cover an introduction to project monitoring v2. Present them to the Opni team and post them internally.

The transition to the Opni team is complete, and all hand offs have been finished. Marking as complete.


Fix ContactBundle

Postgres doesn't share the default ordering by ID. We have to specify the ordering.
I'm not 100% certain as yet what the default ordering is but it's not stable with respect to id and, as such, we were getting different failures on different test runs. Fun!
Tasks

[x] Add Change log entry
[ ] Solicit feedback

Closing in favour of #1742


Missing 'archive_info' while converting pip package causes rez-pip crash

When running rez-pip2 on ShotGrid's latest version of their tk-core package, the process crashes trying to get a archive_info key in the package's dictionary.
Environment

Windows 10
Rez version 2.112.0
Rez python version 3.7
rez-pip 0.3.1

To Reproduce

Install new rez-pip
rez-pip2<EMAIL_ADDRESS>--python-version 3.7

Expected behavior
Successful install.
Actual behavior
(Rez) λ rez-pip2<EMAIL_ADDRESS>--python-version 3.7
INFO     Installing requested packages for Python 3.7.9
Traceback (most recent call last):
  File "C:\Python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Program Files\Rez\Scripts\rez-pip2.exe\__main__.py", line 7, in <module>
  File "c:\program files\rez\lib\site-packages\rez_pip\cli.py", line 318, in run
    _run(args, pipArgs, pipWorkArea)
  File "c:\program files\rez\lib\site-packages\rez_pip\cli.py", line 183, in _run
    pipArgs,
  File "c:\program files\rez\lib\site-packages\rez_pip\pip.py", line 138, in getPackages
    packageInfo = PackageInfo.from_dict(rawPackage)
  File "c:\program files\rez\lib\site-packages\dataclasses_json\api.py", line 70, in from_dict
    return _decode_dataclass(cls, kvs, infer_missing)
  File "c:\program files\rez\lib\site-packages\dataclasses_json\core.py", line 217, in _decode_dataclass
    infer_missing)
  File "c:\program files\rez\lib\site-packages\dataclasses_json\core.py", line 172, in _decode_dataclass
    field_value = kvs[field.name]
KeyError: 'archive_info'

Installing from a git repo isn't supported since we only support installing wheels. But rez-pip should give a nice error. It shouldn't go that far.
You could pip wheel<EMAIL_ADDRESS>and then rez-pip install <path to wheel> I think. I'm on my phone so I can't confirm.

#48

Umm, the workaround I proposed doesn't work. I'll have to add support for installing local wheels.

@brycegbrazen Can you try with https://github.com/JeanChristopheMorinPerso/rez-pip/pull/75?
You can install it and then do
pip wheel --no-deps<EMAIL_ADDRESS>
and then
rez-pip2 sgtk*.whl

or you can also use
rez-pip2 sgtk -- --find-links .

My immediate attempts failed. I tried first to activate the venv that is created by Rez. I installed Rez in C:/Program Files/Rez, and I am then running the venv's activate file in C:/Program Files/Rez/Scripts.
I was able to create the .whl file by running pip wheel --no-deps<EMAIL_ADDRESS>as you mentioned which created the .whl file in my current directory, which was C:/Program Files/Rez/Scripts.
The problems came when I tried to run rez-pip2 as you mentioned above. Firstly, rez-pip2 sgtk*.whl didn't work, it gave this error:
(Rez) λ rez-pip2 sgtk*.whl
INFO     Installing requested packages for Python 3.7.9
WARNING: Requirement 'sgtk*.whl' looks like a filename, but the file does not exist
ERROR: sgtk*.whl is not a valid wheel filename.
rez_pip.exceptions.PipError: Failed to run pip command: 'python.exe c:\\program files\\rez\\lib\\site-packages\\rez_pip\\data\\pip.pyz install -q sgtk*.whl --disable-pip-version-check --dry-run --ignore-installed --python-version=3.7.9 --only-binary=:all: --disable-pip-version-check --report C:\\Users\\BRYCE~1.GAT\\AppData\\Local\\Temp\\pip-install-outputbhkdbqex'

Pip reported this:

WARNING: Requirement 'sgtk*.whl' looks like a filename, but the file does not exist
ERROR: sgtk*.whl is not a valid wheel filename.

However, after running either:
rez-pip2 sgtk-0.20.26-py3-none-any.whl

or
rez-pip2 sgtk -- --find-links .

gives me this error instead:
(Rez) λ rez-pip2 sgtk -- --find-links .
INFO     Installing requested packages for Python 3.7.9
INFO     Resolved 1 dependencies for python 3.7.9
INFO     Downloading...
INFO     Downloaded 1 wheels
INFO     Installing sgtk-0.20.26 wheel
Traceback (most recent call last):
  File "C:\Python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Program Files\Rez\Scripts\rez-pip2.exe\__main__.py", line 7, in <module>
  File "c:\program files\rez\lib\site-packages\rez_pip\cli.py", line 329, in run
    _run(args, pipArgs, pipWorkArea)
  File "c:\program files\rez\lib\site-packages\rez_pip\cli.py", line 212, in _run
    package, pathlib.Path(wheel), installedWheelsDir
  File "c:\program files\rez\lib\site-packages\rez_pip\install.py", line 86, in installWheel
    with installer.sources.WheelFile.open(wheelPath) as source:
  File "C:\Python37\lib\contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "c:\program files\rez\lib\site-packages\installer\sources.py", line 162, in open
    with zipfile.ZipFile(path) as f:
  File "C:\Python37\lib\zipfile.py", line 1240, in __init__
    self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Program%20Files\\Rez\\Scripts\\sgtk-0.20.26-py3-none-any.whl'

Based on what I'm seeing, it's due to the space in between "Program" and "Files" in the path. Not sure if this is something we can deal with though. I did verify that the file does indeed exist at that location.
I can try putting the wheel in a location where the path does not have a space next.

Yep creating the wheel in a path with no spaces worked fine and was able to create the Rez package as expected 💯

@JeanChristopheMorinPerso Question: Isn't a pip install from a directory supposed to create a wheel? So that shouldn't cause any issues with using rez-pip with a Git URL? I saw this bit in the pip documentation, but it's not super clear to me if passing a Git URL has special behavior regarding wheels.

Thanks for testing! I'll take a note of the white space issue.

Question: Isn't a pip install from a directory supposed to create a wheel? So that shouldn't cause any issues with using rez-pip with a Git URL? I saw this bit in the pip documentation, but it's not super clear to me if passing a Git URL has special behavior regarding wheels.

You are right that when running pip install ., pip will indeed create a wheel. The only thing pip (and any other python installers) can install are wheels. When installing<EMAIL_ADDRESS>pip will clone the repository, checkout the reference (v0.20.26) and it will do the equivalent of pip install .which will create a wheel and install it (note that it doesn't really callspip install .`, but it's easier to illustrate like this).
The thing is that when you rez-pip something, pip install isn't used to install the packages. It's only used to get the list of packages to download (something like pip install <package> --dry-run --quiet --report /tmp/asd). That's described in https://rez-pip.readthedocs.io/en/latest/faq.html#why-can-t-it-install-python-2-packages (which admittedly could be improved).
In other words, the issue you are seeing (minus the exception that shoudn't be raised in the first place) is https://github.com/JeanChristopheMorinPerso/rez-pip/issues/48. Here, we can replace sdist (source distribution, .tar.gz) with git. The result is the same.


Update Composer dependencies (2022-02-04-00-13)

Visual regression test passed!
View the visual regression test report


iOS readme section

The iOS section of the Readme.md isn't clear with the prerequisites of running a clean base project.
Please correct me if I'm wrong, but the current base project seems to require a robovm call in the ios build.gradle file. Mobivm seems to require a real signing (iosSkipSigning = false) with a real iosSignIdentity and iosProvisioningProfile.
I'm curious as to what everyone's experience with iOS setup have been like, and if we can add anything to the readme to help future liftoffers.

Yeah, this would be handy to know. I have mostly copied what I can from gdx-setup's iOS projects, but their code seems even more tangled than liftoff's. Since I don't have a Mac, and I'm not really willing to go the Hackintosh route if I don't own any iOS devices to test on, I'm dependent on user recommendations here. @JojoIce seems to have made some progress on iOS, and has given some really valuable guidance for what to do in iOS projects. I think the last few bugs with the generated projects should be fixed in the latest release, Release <IP_ADDRESS>, but I don't know what else is needed for setup. Any help is appreciated!

The last version did not fully work, so I have not tested that, but I don't think that the projects created by liftoff has any other requirements compared to other projects (gdx-setup or homemade). If it isn't liftoff specific then I think it belongs at libgdx documentation (quite possible that needs updating). But I am not quite sure of what is referred to. I build and sign my app from Eclipse using RoboVM plugin and a distribution cert, and I don't think anything will be needed to change in the files generated from liftoff for that, but maybe if you want to distribute it in other ways it will be needed. Or maybe there is a more clever way to create iOS distributions with gradle today and that is what it relates to. If so please share.

@JojoIce I've tried on IntelliJ using the MobiVM 2.3.12 plugin, but I'm having some trouble installing it on both device and virtual device. Which flavor of provisioning profile and signing identity are you using? Is it App ID/iOS App Development?

First off I looked into your suggestion a bit better and I guess that is to enter some configuration in gradle settings and then use gradle instead of the plugin to generate the IPA. It looks like it could be a better fit especially if you want to automate steps, so that might be a thing to consider for liftoff. It could even be an idea for a setting in the GUI. I use one wildcard profile for all my games, so that would be sweet to have that automatically in the file. I have not yet tested the gradle approach though so I don't know the detail really.
Regarding profiles (sorry @tommyettinger for derailing agin. Tell us to take it elsewhere if you want this strictly for the specific issue). All I really know is that it is a real pain. Probably best to ask in the iOS section of LibGdx Discord. However I think that you need a distribution profile and certificate if you want to upload to apple (even just for internal testing) and development if you just hook up your device to you mac. What I also know is that thousands of things can go wrong with this (even if you have the profile and cert right) and if they can go wrong they will do so. Also using "auto" for selecting profile and cert generally goes wrong for me, so I always specify the specific one.

No problem with derailing here; I don't follow any of this conversation yet so I'm hoping I can absorb some useful info. The Discord is indeed a good choice; link here.

Ok. I've found some success with some help of some colleagues. I'm still new to this so I'm curious if this makes sense to anyone, and if you have the same experience. Feel free to correct me.
Prerequisite for all iOS development is to create a certificate signing request from Keychain Access app, either a distribution or development certificate using that signing request, identifier that matches the app.id field in robovm.properties, and a provisioning profile (either ad hoc for distribution cert or development for development cert) with that identifier. If using development cert/profile, you need to add the UDID of the device to the provisioned list.
We can install the cert and the profile by just double clicking on them. Then we can create the IPA using MobiVM Plugin for IntelliJ. The plugin has a Create IPA window which lets you select the appropriate signing identity, and provisioning profile. It seems like x86 is not supported so you cannot install the app on a virtual device. You must have a physical device.
Here's the part that tripped me up. How you install on the physical device matters. This is the way it worked for me: Open Xcode's Devices with command+shift+2. Click the + under Installed Apps. Select the .app file that was created with the IPA.
With all that, I now have Super Koalio working using the <IP_ADDRESS> version of gdx-liftoff on my iPhone.

If that makes sense, I think we should write something like that in the readme so others won't have to suffer like I did.

stosho has informed me that for development, instead of Creating IPA using MobiVM Plugin, we can follow step 5 here: https://medium.com/@bschulte19e/deploying-your-libgdx-game-to-ios-in-2020-4ddce8fff26c
The cert/profile must to be the dev flavor for the run config.

@tommyettinger I think we have pretty much the entirety of the extremely long setup summarized here. We'll leave it up to you if you want to put any of it into the readme. None of it is liftoff specific, but neither is any of the documented very well in any gdx docs.
As for the optional robovm config, I think we can punt that. It would be good info for anyone doing CICD, but maybe not as much for small shop game devs like us.

Well that link you provided is written by MrSthalfelge, who I think is also a committer of LibGdx, so that must be legit. Shame that it is not in the libGdx wiki. I think adding the link to the liftoff documentation would be very helpful, as that seems to be the best current description around. The list above from @auraxangelic actually also holds some great information that is not part of step 4 from the mendium site, and that is probably where many get it wrong, so that would be very useful to have documented somewhere. Maybe a subpage on the wiki here, as it is not directly liftoff but very useful to most who want to use iOS after creating project with liftoff.


TrustID

Decentralized Identity solution compatible with different Hyperledger platforms. Right now available with Hyperledger Fabric.

@securekey could you confirm sponsorship please ?

@securekey could you confirm sponsorship please ?

You mean @troyronda.

@securekey could you confirm sponsorship please ?

You mean @troyronda.

Ah sorry my bad... It didn't auto complete in the interface and at Troy's github page the only @ was securekey, so I figured that would be his handle... i figured wrong :-(

Yes.

@vipinsun @tkuhrt  are willing to accept the lab?
Thank you!

@mtnieto  : Can you rebase this PR so that it can be merged?

@mtnieto : Can you rebase this PR so that it can be merged?

Hi @tkuhrt I have just merged last changes.


remove ML documentation

Docs Build status updates of commit 434effd:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-autogen/microsoft-cognitiveservices-speech-sdk/index.yml
:warning:Warning
View (azure-node-latest)
Details

docs-ref-autogen/overview/CognitiveServices/CustomVisionTraining.yml
:warning:Warning
View (azure-node-latest)
Details

docs-ref-mapping/reference.yml
:white_check_mark:Succeeded

docs-ref-services/machine-learning.md
:white_check_mark:Succeeded

docs-ref-autogen/microsoft-cognitiveservices-speech-sdk/index.yml

[Warning] Uid(microsoft-cognitiveservices-speech-sdk) has already been defined in docs-ref-autogen/microsoft-cognitiveservices-speech-sdk/index.yml.

docs-ref-autogen/overview/CognitiveServices/CustomVisionTraining.yml

[Warning] Uid(azure.nodejs.sdk.landingPage.services.Cognitive.Services.Bing.VisualSearch) has already been defined in docs-ref-autogen/overview/CognitiveServices/BingVisualSearch.yml.

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


File is not rendering properly

Hi there,
First of all thanks for this lib, it's amazing and waaaay better than everything in swagger-codegen.
However, the file type in multipart creates a text field...
Did I miss something?
See here:

Here is my endpoint:
paths:
  /pdf:
    post:
      summary: Converts a new document to PDF
      description: Max upload = 10 MB
      consumes:
        - multipart/form-data
      produces:
        - application/pdf
      parameters:
        - in: formData
          name: file
          type: file
          description: The file to upload.
      responses:
        '200':
          description: Conversion went successfully
          schema:
            type: file
        '400':
          description: Invalid input

Thanks for reporting.
I got it running on my local, but let me test a bit more. :-)

Hey,
Yeah, I think you need to mod your rendering library a bit and then you should have it :)
I have not that much time to do it but I guess that you just need to change this line:
https://github.com/twskj/livedoc/blob/master/livedoc.js#L181 to accept a file type :) (however the layout will look shit, you may need a hidden button strategy 😉 ).

It's a little more than that. Additionally, on ajax call sending out I gotta add a few lines to handle multi-part/form data. And rendering the preview body a bit.

Hmm yeah ok I see :)
Also, I have a PDF as response, could be nice to handle that in an iframe but that's really a specific use-case. (I could implement it if needed)

We can open a separate issue to discuss this. ;-)

Finally get it out the door but still debating whether I should include the upload data into the preview pane or not. I'll leave it out for now just because when the file is getting too big it's just gonna become a liability than a help. Any thought?

I'll close for now. Feel free if you find it's not working for you