Run k6 against local Nuxt on PRs

Fixes

Part of https://github.com/WordPress/openverse-infrastructure/issues/1031 by @obulat
Depends on and is blocked by #4908.
Description

Run k6 against a locally running Nuxt in PRs. This acts as an integration test of the k6 tests themselves, as well as an informal performance test of the local Nuxt application (albeit, without constraints or anything to normalise the results).
I'm not comfortable yet failing this check if any of the k6 requests fail, because I don't know how reliable it will be to run these tests in the GitHub runner with its specific resources constraints. We can evaluate that in this PR and add it now or later if we like.
Testing Instructions

Check out the new CI step in this PR and see that it makes sense. It should leave a comment with the k6 text summary.
Checklist

[x] My pull request has a descriptive title (not a vague title likeUpdate index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[N/A] I tried running the project locally and verified that there are no visible errors.
[N/A] I ran the DAG documentation generator (ov just catalog/generate-docs for catalog
PRs) or the media properties generator (ov just catalog/generate-docs media-props
for the catalog or ov just api/generate-docs for the API) where applicable.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Okay, the tests are getting throttled when they make API calls. That makes sense. Because these are only local tests meant to test the frontend (and to ensure the tests themselves work), I think it's appropriate to incorporate talkback here. I'll generate new tapes, and have a commit soon to add that.

Finally! It works! Mostly! Yay! I'll push some last tidy-up changes and then undraft this, though it is still blocked on #4908. @obulat any chance you will have an opportunity to review these monorepo PRs, if not also the infrastructure one?

Another method of reducing the tape size, is we could minify parts of them, or perhaps the entire tape. It's nice for them to be inspectable when that's needed, but really we could probably leave them minified by default... It would certainly make the line counts less surprising when adding new tapes!

Another method of reducing the tape size, is we could minify parts of them, or perhaps the entire tape. It's nice for them to be inspectable when that's needed, but really we could probably leave them minified by default... It would certainly make the line counts less surprising when adding new tapes!

I do use the tape contents sometimes, e.g. when trying to find which id is being opened from the search page - to make sure that the tape exists, or to add exactly that tape.

Yes, but you need to install production translations (which the CI step does using setup-env with locales: "production"). This is a pre-existing issue with these test scripts. If you remember why and we can change it to use the ar so we can use the test locales (or we can import the current fa strings as a new testing locale?) works for me.

Oh, I didn't realize it was using the production locales :)
I think I might have wanted to change a locale that doesn't exist. Maybe we should try to change it back to ar and see if anything breaks? I don't think it would break anything, and I don't think we need to test non-existent locale.

I'll push a change to use ar instead of fa and then merge this provided things pass :slightly_smiling_face:
We can also opt to make locales configurable if we want to run against more or different locales in live environments.


blockstore: send duplicate proofs for chained merkle root conflicts

alternative implementation of #102
Contributes to solana-labs#34897

Codecov Report
Attention: Patch coverage is 96.36964% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 81.9%. Comparing base (2e91155) to head (19a153d).
Report is 8 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##           master     #835    +/-   ##
========================================
  Coverage    81.8%    81.9%
========================================
  Files         851      851
  Lines      231724   231985   +261
========================================
+ Hits       189647   190004   +357
+ Misses      42077    41981    -96


Parameter to overwrite s3 path when exporting to s3

As a user of cloud-storage-etl-udfs,
I want to be able to customise the export so that a second run on the same BUCKET_PATH overwrites the contents of such path instead of adding new exa_export_N files.
This is useful when your BUCKET_PATH is partitioned as s3a://my-bucket/parquet/export/sales_positions/YYYYMMDD/and you want to reprocess one day.
Example call:
EXPORT SALES_POSITIONS
INTO SCRIPT ETL.EXPORT_PATH WITH
  BUCKET_PATH    = 's3a://my-bucket/parquet/export/sales_positions/'
  OVERWRITE_PATH  = true
  S3_ACCESS_KEY  = 'MY_AWS_ACCESS_KEY'
  S3_SECRET_KEY  = 'MY_AWS_SECRET_KEY'
  S3_ENDPOINT    = 's3.MY_REGION.amazonaws.com'
  PARALLELISM    = 'iproc(), floor(random()*4)';

Hello @belenaj,
Thanks for your feedback!
That is good idea! Since we already create a filesystem object, it should be possible to delete the path if it exists.
I will try to prioritize these for the future releases.
Please do not hesitate to open Github issue or reach out if there are any other issues!

hi @morazow ,
do you have any estimated release dates for this feature?
thanks!

Hey @belenaj,
Sorry, no estimation at the moment. Since you are asking again about it, we can plan it as one of the next tasks for the coming weeks. :)
Thanks for collaboration and feedback!

yes please! this would be very helpful for us since now we have manually to delete the bucket path before exporting to make sure we dont generate dups.
Thanks!

Hey @belenaj,
The recent release version adds a user overwrite parameter to remove files from the export path.
Please give it a try!

Hi @morazow I guess we can close this issue now?
Regards,
J.

Yes, correct.


Check block needs updating before updating it

setBlock commands simply update blocks regardless of whether they need updating or not. Change RemoteSession to check the block type and data before updating the block.
As per the fork https://github.com/thouis/CanaryRaspberryJuice

Changed in version 1.3


az cli Log Analytics example doesnt work

If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli

Extension name (the extension in question)
Log Analystics
Description of issue (in as much detail as possible)
I got errors when running the query example provided in this page even I have log analytics extension installed.
https://docs.microsoft.com/en-us/cli/azure/ext/log-analytics/monitor/log-analytics?view=azure-cli-latest#ext_log_analytics_az_monitor_log_analytics_query
az monitor log-analytics query -w --analytics-query "AzureActivity | summarize count() by bin(timestamp, 1h)" -t P3DT12H

The error message:
UnknownError: code: BadArgumentError - , The request had some invalid properties

monitor

Please try TimeGenerated instead of timestamp.


Mark window array tests as xfail for databricks.

Mark the tests test_window_aggregate_udf_array_from_python as xfail for databricks since they are failing on databricks and not sure how long it will take to fix it.
Signed-off-by: Firestarman<EMAIL_ADDRESS>

build

build

build

build

build

build


[Feature] Build formal trait definitions

make sure we can install definition and helm charts with plugin system
make sure we have enough traits{ route, auto-scaler}

priority 1

[ ] ServiceExpose

[ ] Traffic Split

[ ] rollout

priority 2

[ ] Sidecar

This issues will be covered in #198 , closing


[Legacy DB] Drop project_imported_sites table

not being used anymore

There are 4 old projects which are still use these data:
projects' ids
58
60
101
1057

close since still using


uncaught error make the action never be taken anymore?

hello,
I noticed that if a effects throw a error which not be catched,  then dispatch the same action will never call the effect anymore.
I want to konw if i am understand correctly,  and why this?

That's probably because your sagas crashed. You need to implement proper error handling. redux-saga is kinda the interpreter of what you yield and handle it on its terms - within the same call stack, so if there is an error somewhere it cannot recover for you to the consistent point. You need to write some try/catch occasionally. It depends what error was thrown though.
Could you provide a code example of the described behaviour? The issue is desribed really vaguely now.

Going to close this, if you have any further questions - please just ask :)


SUS doesn't display properly on Chrome, because of interaction between shinyDashboard and reactiveVariables

We need to drop shinyDashboard and remake the top-level UI with a navbar.
This also means relocating the title bar a sidebar, which allows us to consolidate all the module-specific controls in one place.

This has been fixed with the development version of mapdeck.


Android/iOS Camera Support planned?

Is there any plan for supporting android+ios camera?
Instead of picking the video+image from gallery, directly by take a photo/video?

Hi @trexxon-nanno! That's a really good idea! I'll try to add this feature next month 😄


Inappropriate status code for /v3/spaces when unauthorized

Issue
Calling the /spaces endpoint of the V3 API with a space GUID that the user associated with the access token isn't permitted to retrieve returns HTTP 404 - Not Found (CF-ResourceNotFound) instead of HTTP 403 - Forbidden (CF-NotAuthorized) like it used to in V2.
Steps to Reproduce

Create a space and make sure only User A has permission to see/get details about it.
Get an access token for the CF API as a different User (i. e. User B)
Request /v3/spaces/:id with the space GUID of Step 1 and the access token of Step 2.

Expected result
The response should be HTTP 403 - Forbidden with CF-NotAuthorized as error title.
Current result
The response is HTTP 404 - Not Found with CF-ResourceNotFound as error title.
Possible Fix
The /v3/spaces/:id endpoint should behave the same way as V2 did and return the appropriate 403 status code.

This is intentional.
The v2 APIs can be inconsistent in this behavior, but in general the v3 APIs will prefer returning a 404 over a 403 for authenticated (but unauthorized to read the resource) users to avoid leaking information about the existence of said resource.
We're following this bit of the spec:

An origin server that wishes to "hide" the current existence of a forbidden target resource MAY instead respond with a status code of 404 Not Found.

Thanks for the clarification.


test35 unified into test_increment.vim

Hi, Bram and list
I noticed that the test35 can be unified into test_increment.vim.  so I did it.:muscle:
Please include this.
--
Best regards,
Hirohito Higashi (a.k.a. h_east) :cat2::dash:

Hirohito Higashi wrote:

Hi, Bram and list
I noticed that the test35 can be unified into test_increment.vim.  so
I did it. Please include this.

Thanks.
--
I wish there was a knob on the TV to turn up the intelligence.
There's a knob called "brightness", but it doesn't seem to work.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


Use optional fields in grpc response messages

Maybe don't use optional fields, but use additional boolean has_result field.

Not necessary. protobuf version 3 fields are already optional by default. Use "HasField" method in Python to check if field is null.


self-documenting endpoint for issue #10

Description

This is a very simple fix, I simply changed the endpoint to return the docstring of the selected predict function. Personally, I think this is the best way to keep it "self-documenting" and keeping the description in one place only. Let me know if you have problems with this approach.
Also, I added an __init__.py file to the algorithms folder to make it a valid Python package.
Reference to official issue

#10
How Has This Been Tested?

Modified the test_endpoint_documentation test to make sure that calls return the appropriate docstring.
CLA

[x] I have signed the CLA; if other committers are in the commit history, they have signed the CLA as well

Travis test failed due to Git LFS issues probably.
warning: Clone succeeded, but checkout failed.

You can inspect what was checked out with 'git status'

and retry the checkout with 'git checkout -f HEAD'

@lamby Fixed. But test failed again due to LFS issues

@reiinakano Thanks. Lets see how those tests do before merging, but please squash your commits so we don't have an ugly "fix tests" commit ;)

Hi @lamby, Github has a one click option to squash all commits when merging to master. It's what most open source projects do now. Wouldn't that be enough? This branch will be deleted after merging anyway.


[DATA-RQ] MAVSA

What is the estimated difficulty of this data request?
Easy
What is the Source / Url of this Data
https://www.mav-sa.com.ar/#
What is the format of the data source
HTML table
What is the name of the new datasets or datasets?
There are 8 datasets, related to 4 HTML tables from the quoted source.
Those HTML tables have bottoms that determine what kind of segment it belongs to (except in the case the last table, "caucion pesos").
Don't include " - Totales Operados" in the dataset name
The naming rule is: Financial - Argentina - MAVSA - ASSET - SEGMENT- Daily. So, the 8 datasets will be:
Financial - Argentina - MAVSA - CPD ECHEQ - Avalado- Daily.
Financial - Argentina - MAVSA - CPD ECHEQ - Garant.- Daily.
Financial - Argentina - MAVSA - CPD ECHEQ - No Garant. - Daily.
Financial - Argentina - MAVSA - CPD ECHEQ - Warant - Daily.
Financial - Argentina - MAVSA - PAGARÉ - Avalado - Daily.
Financial - Argentina - MAVSA - PAGARÉ - No Garant. - Daily.
Financial - Argentina - MAVSA - FCE - No Garant. - Daily.
Financial - Argentina - MAVSA - Caucion Pesos - Daily.

In which repository will it be?
Pending
Which are the Entities of the new dataset
[Date, Plazo]
What data should be extracted?
Extract the data from each corresponding HTML table. Add a column (as long as the table itself, format YYYY-MM-DD) at the beginning of the dataset, named "Date", which will be set as entity.

Please, bear in mind that when uploading to the database, it has to be done without deleting existing content by using:
deleteMissingFromDB = False
alphacast.datasets.dataset(datasetId).upload_data_from_df(df,
deleteMissingFromDB = False, onConflictUpdateDB = True)

Acabo de realizar el pull request con la solución.
Muchas gracias.
Saludos.


Change app font

Change the app font

Have updated the font in design file, have mentioned in design system as well which font to follow;
https://www.figma.com/design/m5eMFTKD391AiJAXaEzgxB/Bitcoin-Keeper?node-id=0-1&t=V1lDK5dWZzYb9bz4-1
Inter Font family:
Inter.zip

Verified this issue on keeper app v 1.2.20(419)


MINOR: Increase security test timeouts for transient failures

We see this test fail from time to time. After investigation, it seems the 5s timeouts are too tight. This patch increases them to 30s.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

I will go ahead and merge since the fix is trivial and the build doesn't validate system tests.


Failure when running Non-System Apple Software Updates

I have tried to run Non-System Apple Software Updates on both Super v3.0 and v4.0 yet it appears to keep failing.
Logs show failure\retry\failure then the "Installing Apple Software Updates" popup stays on screen and will not quit.
Aside from fixing the Non-System Apple Software Updates deployment, it's odd that the popup doesn't terminate and show an "Update Failed" prompt.
LOGS:
asu-workflow.log
Wed Nov 08 19:45:38 [SCRUBBED] super[88882]: **** S.U.P.E.R.M.A.N. 4.0.0 - INSTALL NON-SYSTEM UPDATES VIA SOFTWAREUPDATE START ****
Wed Nov 08 19:47:39 [SCRUBBED] super[88882]: **** S.U.P.E.R.M.A.N. 4.0.0 - INSTALL NON-SYSTEM UPDATES VIA SOFTWAREUPDATE FAILED ****
Wed Nov 08 19:47:39 [SCRUBBED] super[88882]: Error: Installation of non-system Apple software updates failed to start after waiting for 120 seconds.
Wed Nov 08 19:47:58 [SCRUBBED] super[88882]: **** S.U.P.E.R.M.A.N. 4.0.0 - INSTALL NON-SYSTEM UPDATES VIA SOFTWAREUPDATE START ****
Wed Nov 08 19:49:59 [SCRUBBED] super[88882]: **** S.U.P.E.R.M.A.N. 4.0.0 - INSTALL NON-SYSTEM UPDATES VIA SOFTWAREUPDATE FAILED ****
Wed Nov 08 19:49:59 [SCRUBBED] super[88882]: Error: Installation of non-system Apple software updates failed to start after waiting for 120 seconds.
super.log
Wed Nov 08 19:45:26 [SCRUBBED] super-starter[88834]: **** S.U.P.E.R.M.A.N. 4.0.0 - LAUNCHDAEMON ****
Wed Nov 08 19:45:28 [SCRUBBED] super[88882]: **** S.U.P.E.R.M.A.N. 4.0.0 - SUPER STARTUP WORKFLOW ****
Wed Nov 08 19:45:31 [SCRUBBED] super[88882]: Status: Mac computer with Apple silicon running: macOS Ventura 13.6-22G313
Wed Nov 08 19:45:31 [SCRUBBED] super[88882]: Status: Last macOS startup was: 2023-10-25:15:57:00
Wed Nov 08 19:45:31 [SCRUBBED] super[88882]: Status: Current GUI user name: [SCRUBBED]
Wed Nov 08 19:45:37 [SCRUBBED] super[88882]: Status: System is managed by Jamf Pro [SCRUBBED].[SCRUBBED].0 hosted at: https://[SCRUBBED].[SCRUBBED].[SCRUBBED]:[SCRUBBED]/
Wed Nov 08 19:45:37 [SCRUBBED] super[88882]: Status: macOS update/upgrade workflows automatically authenticated via Jamf Pro API with --auth-mdm-failover-to-user=NOSERVICE,SOFT,HARD,BOOTSTRAP.
Wed Nov 08 19:45:38 [SCRUBBED] super[88882]: **** S.U.P.E.R.M.A.N. 4.0.0 - CHECK SOFTWARE UPDATES/UPGRADE ****
Wed Nov 08 19:45:38 [SCRUBBED] super[88882]: Status: No available macOS minor updates or they may be deferred via configuration profile.
Wed Nov 08 19:45:38 [SCRUBBED] super[88882]: Status: 1 available non-system update(s).
Wed Nov 08 19:45:38 [SCRUBBED] super[88882]: Status: Recommended (non-system) update 1: Safari17.1VenturaAuto-17.1
Wed Nov 08 19:45:38 [SCRUBBED] super[88882]: Status: A macOS major upgrade is available: macOS Sonoma 14.1.1
Wed Nov 08 19:45:38 [SCRUBBED] super[88882]: Warning: To install macOS major upgrades you must enable the --install-macos-major-upgrades option.
Wed Nov 08 19:45:38 [SCRUBBED] super[88882]: Status: Restarting workflow automatic zero date.
Wed Nov 08 19:45:38 [SCRUBBED] super[88882]: Status: Restarting all deadline counters.
Wed Nov 08 19:45:38 [SCRUBBED] super[88882]: **** S.U.P.E.R.M.A.N. 4.0.0 - NON-SYSTEM SOFTWARE UPDATE ****
Wed Nov 08 19:45:38 [SCRUBBED] super[88882]: IBM Notifier: Installing non-system Apple software updates notification.
Wed Nov 08 19:45:38 [SCRUBBED] super[88882]: softwareupdate: Starting non-system Apple software updates installation workflow, check /Library/Management/super/logs/asu-workflow.log for more detail.
Wed Nov 08 19:47:39 [SCRUBBED] super[88882]: Error: Installation of non-system Apple software updates failed to start after waiting for 120 seconds.
Wed Nov 08 19:47:39 [SCRUBBED] super[88882]: Status: Restarting various softwareupdate daemon processes...
Wed Nov 08 19:47:41 [SCRUBBED] super[88882]: Status: Starting full check for all available system software...
Wed Nov 08 19:47:41 [SCRUBBED] super[88882]: softwareupdate: Waiting for available Apple software updates...
Wed Nov 08 19:47:54 [SCRUBBED] super[88882]: Status: No available macOS minor updates or they may be deferred via configuration profile.
Wed Nov 08 19:47:54 [SCRUBBED] super[88882]: Status: 1 available non-system update(s).
Wed Nov 08 19:47:54 [SCRUBBED] super[88882]: Status: Recommended (non-system) update 1: Safari17.1VenturaAuto-17.1
Wed Nov 08 19:47:54 [SCRUBBED] super[88882]: mdmclient: Waiting for available macOS major upgrades...
Wed Nov 08 19:47:58 [SCRUBBED] super[88882]: Status: A macOS major upgrade is available: macOS Sonoma 14.1.1
Wed Nov 08 19:47:58 [SCRUBBED] super[88882]: Warning: To install macOS major upgrades you must enable the --install-macos-major-upgrades option.
Wed Nov 08 19:47:58 [SCRUBBED] super[88882]: Warning: Failed to install all non-system Apple software updates.
Wed Nov 08 19:47:58 [SCRUBBED] super[88882]: softwareupdate: Starting non-system Apple software updates installation workflow, check /Library/Management/super/logs/asu-workflow.log for more detail.
Wed Nov 08 19:49:59 [SCRUBBED] super[88882]: Error: Installation of non-system Apple software updates failed to start after waiting for 120 seconds.
Wed Nov 08 19:49:59 [SCRUBBED] super[88882]: Status: Restarting various softwareupdate daemon processes...
Wed Nov 08 19:49:59 [SCRUBBED] super[88882]: Warning: Failed to install all non-system Apple software updates after multiple attempts, trying again in 60 minutes.
Wed Nov 08 19:49:59 [SCRUBBED] super[88882]: Exit: super is scheduled to automatically relaunch at: 2023-11-08:20:49:00
Wed Nov 08 19:49:59 [SCRUBBED] super[88882]: **** S.U.P.E.R.M.A.N. 4.0.0 - CLEAN EXIT ****

Use v4.0.1...  and try again please.

Tested with v4.0.1. No luck.
ASUListCache =     (
    "Safari17.1VenturaAuto",
    "MSU_UPDATE_23B81_patch_14.1.1_major"
);
AuthJamfClient = 1;
AuthJamfComputerID = [Scrubbed];
AuthMDMFailoverToUser = "NOSERVICE,SOFT,HARD,BOOTSTRAP";
DeadlineCountFocus = 3;
DeadlineCountSoft = 3;
DeadlineDaysHard = 3;
DeferralTimerMenu = "60,180,300,480,1440";
DisplayHelpButtonString = "[Scrubbed]";
DisplayIconFileCachedOrigin = "/System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/Resources/SoftwareUpdate.icns";
DisplayWarningButtonString = "https://support.apple.com/en-us/HT201222";
InstallNonSystemUpdatesWithoutRestarting = 1;
InstallRapidSecurityResponses = 1;
MacLastStartup = "2023-10-25:15:57:00";
NextAutoLaunch = "2023-11-09:16:17:00";
SuperStatus = "Thu Nov 09 15:17:22: Pending: Failed to install all non-system Apple software updates after multiple attempts, trying again in 60 minutes.";
SuperVersion = "4.0.1";
VerboseMode = 1;
macOSBetaProgramCache = 0;
macOSNewestMarketingNameCache = "macOS Sonoma";
macOSNewestVersionCache = "14.1.1";

What does the asu-workflow.log show?

Same as before, and this is the output with Verbose logging enabled.
Thu Nov 09 15:13:01 [SCRUBBED] super[73962]: **** S.U.P.E.R.M.A.N. 4.0.1 - INSTALL NON-SYSTEM UPDATES VIA SOFTWAREUPDATE START ****
Thu Nov 09 15:15:01 [SCRUBBED] super[73962]: **** S.U.P.E.R.M.A.N. 4.0.1 - INSTALL NON-SYSTEM UPDATES VIA SOFTWAREUPDATE FAILED ****
Thu Nov 09 15:15:02 [SCRUBBED] super[73962]: Error: Installation of non-system Apple software updates failed to start after waiting for 120 seconds.
Thu Nov 09 15:15:22 [SCRUBBED] super[73962]: **** S.U.P.E.R.M.A.N. 4.0.1 - INSTALL NON-SYSTEM UPDATES VIA SOFTWAREUPDATE START ****
Thu Nov 09 15:17:22 [SCRUBBED] super[73962]: **** S.U.P.E.R.M.A.N. 4.0.1 - INSTALL NON-SYSTEM UPDATES VIA SOFTWAREUPDATE FAILED ****
Thu Nov 09 15:17:22 [SCRUBBED] super[73962]: Error: Installation of non-system Apple software updates failed to start after waiting for 120 seconds.

What about the asu-list.log? It's strange because there's zero feedback from softwareupdate in that asu-workflow.log... not something I've ever seen.

asu-list.log
2023-11-09 15:40:05.797 softwareupdate[83052:41571858] XType: Using static font registry.
Software Update Tool
Finding available software
Software Update found the following new or updated software:

Label: Safari17.1VenturaAuto-17.1
Title: Safari, Version: 17.1, Size: 162063KiB, Recommended: YES,

Im seeing the same thing we had to turn off Non system updates and have folks do the 17.1  Safari update manually on 13.6.1

So while I can't replicate non-macOS updates failing (they always seem to work for me)... there are improvements in the non-macOS update workflow that should prevent the notifications from "hanging".
https://github.com/Macjutsu/super/releases/tag/v4.0.2


How to use Value

Hello, I updated the version flag on webkit2gtk recently and found webkit2gtk::JavascriptResult deprecated its previous 2 method and now suggest using get_js_value which return Option<javascriptcore::Value>.
But after I searching its doc, it doesn't have any method at all.
Whats the proper way to use it? Should I recast it to ValueRef?

It seems like the gir file of this library could now be used to auto-generate the Rust code using gir as it seems to contain everything needed.
I don't have much time to do this right now, but if somewant wants to make a PR, I'll accept it!


Can't build devleopment branch using Unity page instructions.

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
L515

Firmware Version
<IP_ADDRESS>

Operating System & Version
{Win 10)

Kernel Version (Linux Only)

Platform
PC

SDK Version
2.36 development branch}

Language
unity }

Segment

Issue Description
I am trying to run a build for the development branch to test if the L515 will work now.  I'm using instructions at:  https://github.com/IntelRealSense/librealsense/tree/master/wrappers/unity
I can get through the CMake step which creates the files in the build folder.  However, it then asks me to open the realsense.sln project, but there is only a file named "librealsense.sln".  If I open the file "librealsense.sln" with Visual Studio 2019 it tells me it cannot reference "realsense.sln".
I then tried to change the target for the C# wrappers to .NET 3.5 and it tells me 3.5 will not run System.xaml.
If I try to run the Unity examples without rebuilding the code, I have to use the old version of the unitypackage file and am assuming that's why I can't connect to the L515.
Any help?
Is it looking for the wrong files?

assembly name of intel.realsense.dll is wrong. the assembly name is currently "intel.realsensed" who realsensed this realsense in the past should fix it.

I tried to build 2.37 from github and had problems with atlcom.h and similar headers missing,.  I read some github issue here that said an atl installer had been added to your installer.  reinstalled everything including visual studio 2019 and still was not able to build.
I installed the binary 2.37(pre release) SDK installer and 2.37 unitypackage  and lidar works with realsense viewer but not unity..  unity 2019.3.13 Windows 10 L515 Fimrware <IP_ADDRESS>
even newer device D455 works with Unity on windows using the new 2.37 unitypackage.

Hi @VisibleMeasurement
I see you were able to get things working based on your comments on the other github thread:  https://github.com/IntelRealSense/librealsense/issues/6859
There looks like others that were not able to get it working, if you can outline what you've done that would be great.
*If we don’t hear from you in 7 days, this issue will be closed.

I did manage to get the L515 running in Unity, but I did not compile the code myself.  I used the newest unity package that was compiled by the RealSense team.  With that assest set loaded, I could open the default project provided and see the camera running in Unity.  Functionality was very similar to RealSense Viewer, so still have work to do before implementing anything more, like SLAM.

Thanks for the update @VisibleMeasurement

@VisibleMeasurement
Is there anything else needed on this one?
*If we don’t hear from you in 7 days, this issue will be closed.


lualine theme breaks when use light theme

The lualine don't shows the correct color when use light theme, after 053562c; I think it might caused by changes for invert_colors.

The same problem. Lualine breaks down.

Should be fixed now!

Thanks!

I think the light theme is still broken all the other themes give correct mode colors, except light theme.


models : userSchema.method is not defined.

under :- models/user.js change userSchema.method  to userSchema.methods.

@jesus7110 status?


Feature request: tagged with semantic versioning but not released , tag detection support

I propose support tag mode.
Now some softwares are released by semver, but not all.
And other somes not released software but that is tagged with semver.
Therefore I request to support above .

pr is welcome

Sure,
I think that slowly.


Use secondary colour for selection controls

As the Material Design guidelines suggest:

Selection controls use an app’s accent color.

Currently we use the light blue for the selected state. To me it doesn't look "highlighted". Should we use a green tone instead, since green is our accent and selection colour? Like this:

This is a big discussion (but a great one) to have 👍
Right now (or previously at least), the way we used color was not in the same way as material design.
we used saturation to indicate importance and hierarchy (that is why we have 3 shades of all colors).
A important element (such as the FAB) would have a more saturated color and a less important element would tend more to gray/desaturated.
This got messed up however since we have had a lot of requirements to make the color more ergonomic to look at for longer periods of time. Some people find the material design contrasting colors hard to work with and the saturation based system we tried to use was confusing to explain and use.
The green color has been used for selection but also for "status: success" so it is a bit unclear right now what it is associated with.
I have wanted to "rebalance" the colors for a long time but it is a high cost/low gain situation.
I would like to reduce the number of colors and only use a color for one purpose each.
I think the color palette we have is pretty good but the reason behind them has been lost between design, requirements and lack of information.
I have experimented with more "monotone" themes that would skip a lot of the associations and just focus on a aesthetic consistency usin color palettes from [https://color.adobe.com/sv/explore/?filter=most-popular&time=month](adobe kuler ) and the popular [https://draculatheme.com/](Dracula theme) used by many sofware products.
As for this case with the checkboxes, i am not sure.
I think it should definetly be a talking point when/if we get to talking about color balance in a proper way

https://storage.googleapis.com/material-design/publish/material_v_12/assets/0Bzhp5Z4wHba3XzREV0lBeEZfWVE/palette-perfect-how-material-design-makes-color-easy.mp4

It would also be possible to skip the white all together and go full out on a colored UI, like:
https://s.tmimgcdn.com/scr/58300/monsteradmin-dashboard-admin-template_58393-original.jpg
This could solve the dark theme issue and just have one single "half-dark" theme

should we try to create a main/accent color concept like the material guidelines state?

Maybe we should. The accent colour can highlight controls (checkbox, switch, etc)
But white as the main colour? I think it should be blue. But cards should be white. As you said, our cards are not dominant, so I think white cards are still in line with material design.

I might try something like that then, feel free to try as well :)
I was more thinking of using white as a "color" more in the same way we would use other colors


(BOLT-XXXX) Allow configuration of BoltSpec via Rspec

This commit facilitates setting inventory and config for BoltSpec::Run methods using memoized helper methods from RSpec. BoltSpec will attempt to look up a bolt_inventory or bolt_config method from RSpec and use that if :config or :inventory is not set in the call to run_*.

CLA signed by all contributors.

@lucywyman you cant use memoized helpers in before. Regardless of this change. http://www.betterspecs.org/#let


Issue 1574: Update Contributing document

Changes:

reorganized content

Note: I've removed the sections below, maybe they belong in https://github.com/vmware/versatile-data-kit/wiki/Dev-Guide. Open to suggestions.

Structure of the project
How to build, debug
How to make a new VDK release
CI

I created an issue for the remaining work around moving the info to the dev guide - https://github.com/vmware/versatile-data-kit/issues/1782
Just give me go ahead, @gary-tai, and I will merge this PR.


TouchAction Perform acts differently in Java and C#

Hi,
The Perform method for TouchAction in Java binding performs a ClearParameters action. However, in the C# binding, the Clear is not performed!
As a result, if I reuse the same TouchAction variable for a second series of actions, it transmits a double action to the Appium server! Could you please fix the inconsistency?
Thanx,
yaacov weingarten
Perfecto Mobile

That wasn't under my use case but is good to know.
This is a super simple fix and will be done before next release.
Ciao,
Astro
Sent from my phone
On Jan 19, 2016, at 01:47, Yaacov Weingarten<EMAIL_ADDRESS>wrote:
Hi,
The Perform method for TouchAction in Java binding performs a ClearParameters action However, in the C# binding, the Clear is not performed!
As a result, if I reuse the same TouchAction variable for a second series of actions, it transmits a double action to the Appium server! Could you please fix the inconsistency?
Thanx,
yaacov weingarten
Perfecto Mobile
—
Reply to this email directly or view it on GitHub.

Yeah. I've toticed it. It is easy to get it fixed.

Any news on this "easy" issue?

@yaacovw
Sorry for the late response. There is a lot of work on migration to node server 1.5.
I was trying to investigate and now I think that it is not the bug.
I "corrupted" one test a little bit.
        [Test()]
        public void SimpleTouchActionTestCase()
        {
            IList<AppiumWebElement> els = driver.
               FindElementsByClassName("android.widget.TextView");

            int number1 = els.Count;

            TouchAction tap = new TouchAction(driver);
            tap.Tap(els[1], 10, 5, 2);
            tap.Perform();
            tap.Perform();

            els = driver.FindElementsByClassName("android.widget.TextView");

            Assert.AreNotEqual(number1, els.Count);
}

and it passed.

There is a fragment of a server output.
https://gist.github.com/TikhomirovSergey/74493102f86fb1373ba7
As you can see it was performed twice, not three times.
1
2
Is it expected behavior?
What about Java Client. I think the bug is on the Java Client side.
Here is a sample:
@Test
  public void MultiGestureSingleActionTest() throws InterruptedException {
    TouchAction action0 = new TouchAction(driver).tap(100,300);
    action0.perform();
    action0.perform();
  }

It passes too but the tapping is performed once.
Server output
only single tapping
If you take a look at sources (AppiumDriver, TouchAction) then you can find that TouchAction can't be reused now and it is needed to be built again (!!!)
So it is most likely I'll fix java client.
@yaacovw I'm waiting for your answer. If I have described your concerns correctly then please close this issue. Please provide a use case otherwise.

Now Java client is fixed


(FACT-1426) Add s390x support for acceptance

This commit modifies the ruby and sles acceptance tests to accommodate
support for the s390x architecture on the zlinux platform.

CLA signed by all contributors.

👍


a suit of sentient armor timer is wrong

correct respawn timer is 14:30m
currently eqtool shows 6m
https://wiki.project1999.com/A_suit_of_sentient_armor

Can you give me a slain message from logs?
The code looks correct so there something missing here

Can you find anything for me on this? it should be correct in the program..

gonna close this until more info is added


VisualStudio CloudFormation template editor shows invalid key for FileSystemConfigs

Hi,
Visual studio template editor throws validation error for FileSystemConfigs, Similar to issues #133 and #663
https://github.com/aws-samples/aws-lambda-efs-samples/blob/master/2-lambda-template/template.yaml

This could require schema updation.

This is fixed in the  AWS Toolkit for Visual Studio 2017 and 2019 version <IP_ADDRESS>.


fetchPage in a tranasction hangs

Introduction
fetchPage({tranascting}) hangs forever, transaction does not work
Steps to reproduce issue
e.g.
await bookshelf.transaction(async transacting => {
  files = await File
    .query({whereNot: {location: 'asdf'}})
    .fetchPage({transacting})
    // .fetchAll({transacting})
  await transacting.commit()
})

the above hangs forever. Uncommenting / switching to fetchAll works.
Expected behaviour
transacting should work
Actual behaviour
Promise hangs forever

@mfbx9da4 What version of bookshelf do you encounter this issue?

├─<EMAIL_ADDRESS>

👍

Possibly fixed in #1625. Can you try that PR and see if it fixes your problem?


remove abbr tags to redouce mouse pointer changes

Remove abbr tags, they change the moue pointer inconsistently to objects that look like "?"

removed abbr tags


Shorten path on windows

This supersedes https://github.com/gradle/gradle/pull/13474
In short, it shorten the generated test directory length on windows, by removing more characters from test class name and method name.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

Sorry some internal error occurs, please contact the administrator @blindpirate

@bot-gradle test CA

OK, I've already triggered CompileAll build for you.

@bot-gradle test QFN

Sorry I don't understand what you said, please type @bot-gradle help to get help.

@bot-gradle test RFN

OK, I've already triggered ReadyForNightly build for you.

@bot-gradle test RFN

Sorry some internal error occurs, please contact the administrator @blindpirate

OK, I've already cancelled the old build and triggered a new ReadyForNightly build for you.

@bot-gradle test RFN

OK, I've already cancelled the old build and triggered a new ReadyForNightly build for you.

I merged it for distributed test.


Styling tabs icons

For some reason I haven't been able to style the icons in the editor's tabs... Cannot use .tab .title::before in my stylesheet to up the font size. Can somebody help me on that?

@Thegreen0ne Are you using the file-icons package? It probably needs a stronger selector or !important  should also work, like:
.tab .title::before {
  font-size: 24px !important;
}

Haha works perfect thanks!


Switching desktop issue

Describe the bug
When starting an orbTK application, then change desktop, the orbTk application becomes black. It will only update upon a trigger (clicking a button or resizing the window).
Note that clicking a button while not seing the button is a real challenge
To Reproduce
Steps to reproduce the behavior:

Start application
Switch to other desktop
Switch back to the desktop on which the application was started

Expected behavior
The original widgets and colors should be rendered when switching back to the desktop.
Screenshots
The screenshot shows the same application started twice. Both where black when switching back to the desktop, but I clicked a button on the right application.

Note; there is also a black square on the right image, this is where the screenshot application was just before taking the screenshot.
Desktop (please complete the following information):
I am on ArchLinux
λ ~/ uname -a
Linux copernicus 5.3.13-arch1-1 #1 SMP PREEMPT Sun, 24 Nov 2019 10:15:50 +0000 x86_64 GNU/Linux

I run Xfce4 with i3 as wm on Xorg with Intel:

xf86-video-intel 1:2.99.917+897+g0867eea6-
extra/xorg-server 1.20.6-1
xfce4 4.14.0-1
i3-wm 4.17.1-1

@hanckmann I had the same issue today, because I've tested for the first time a tilling window manager and I really like it, thank you 😃. On the next days I will evaluate winit as window backend, maybe this would fix some issues. I keep you updated.

@DaniellMesquita you should ask this in the Redox chat https://redox-os.org/community/.

@hanckmann could it closed=


$extensions vendor proprietary keys get validated

Ran into a warning where I believe is not intended?
{
  "radius": {
    "xs": {
      "$type": "dimension",
      "$value": "4px",
      "$extensions": {
        "pro.getds": {
          "value": "4px"
        }
      }
    }
  }
}

Output:
Group radius.xs.$extensions.pro.getds has "value". Did you mean "$value"?
|
|    6 |         "$value": "4px",
|    7 |         "$extensions": {
| >  8 |           "pro.getds": {
|      |           ^
|   9  |             "value": "4px"
|   10 |           }

According to DTCG - "each tool MUST use a vendor-specific key whose value MAY be any valid JSON data."
I'd think that if the value member is inside $extensions, it should not be validated so it would allow vendors to define any valid JSON format.

Thanks for raising! Fixed in 0.2.5


scissor box cleanup

these changes should cleanup the scissor box settings.

closing this PR in favor of a larger 0.5.0 release PR

As a note to aid 0.5.0 development, in this PR I see where the old scissor test state is restored with the GL state on exit but I don't see where the scissor test is updated/disabled when entering the Looking Glass context? Expected another gl.disable(SCISSOR_TEST) or similar per https://github.com/Looking-Glass/looking-glass-webxr/issues/35


Add bastions, SSH users and configs

Towards https://github.com/giantswarm/roadmap/issues/634

This is still untested, but I copied it from the MC bootstrap where it's tested already so should be mostly fine. I'll try to give it a try tomorrow.

Linter says:
[ERROR] templates/list.yaml: unable to parse YAML: error converting YAML to JSON: yaml: line 138: did not find expected '-' indicator

I guess it's still something I introduced in the template?

Tested:
$ ssh -A -J<EMAIL_ADDRESS><EMAIL_ADDRESS>-- hostname
pawe1-default-infra-bhd6g-7b2jd


Retrieve cookies ?

would it be possible to retrieve the cookies sent by the browser at the beginning of the connection?

Yes, although the docs don't surface this information as clearly as they could.
From http://websockets.readthedocs.org/en/stable/api.html?highlight=request_headers#websockets.protocol.WebSocketCommonProtocol:

Once the handshake is complete, request and response HTTP headers are available:

as a MIME Message in the request_headers and response_headers attributes
as an iterable of (name, value) pairs in the raw_request_headers and raw_response_headers attributes

All you need to do is to feed websocket.request_headers.get('Cookies') to th]e cookie parser provided in the standard library.

Cookies without s works ^^

Great. If you have a suggestion to improve the documentation, let me know and I'll reopen this ticket.


Update to Swift 4.2

@snowzurfer Can you change the .swift-version file to 4.2 please and the podspec line s.pod_target_xcconfig =  { 'SWIFT_VERSION' => '4.0' }

@opalorange np, there you go

@opalorange want me to squash the commits into one?

No need to do that

@snowzurfer This is released 2.0.0


why webpack decide without me to use "web" as target?

'web' is default value for target.

I think this parameter is to mandatory to  have default value. Imagine you go to bank and ask to withdraw some money from the card. And unexpected to you there was default value about 1000000 dollars. Ooops!

It's called webpack...


Requires Puppeteer/Chromium?

I've been trying to get this work and I've encountered this requires not only Node.js/npm as indicated but also Puppeteer and Chromium to work.
I'm using a shared hosting to deploy it, Database is connected, Node/Npm works, however I keep running into this:
(node:121) [DEP0040] DeprecationWarning: The `punycode` module is deprecated.
Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Database Connected!
/home/user/WhatsAppCabBookingBot/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241
            reject(new Error([
                   ^
Error: Failed to launch the browser process!
[128:128:0728/081319.031726:ERROR:resource_bundle.cc(987)]
Failed to load /home/user/WhatsAppCabBookingBot/node_modules/whatsapp-web.js/node_modules/puppeteer/.local-chromium/linux-982053/chrome-linux/resources.pak
Some features may not be available.
[warn] epoll_create: Too many open files

TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

    at onClose (/home/user/WhatsAppCabBookingBot/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241:20)
    at ChildProcess.<anonymous> (/home/user/WhatsAppCabBookingBot/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:232:79)
    at ChildProcess.emit (node:events:532:35)
    at ChildProcess._handle.onexit (node:internal/child_process:294:12)

I would appreciate any kind of help fixing these puppeteer errors.
Thank you.

try with
node 20 or 21
NODE_OPTIONS='--trace-deprecation'

sudo apt-get update -y then -> sudo apt install -y libatk-bridge2.0-0 && sudo apt install -y libxkbcommon-x11-0 && sudo apt-get install -y libxdamage-dev
sudo apt-get install chromium-browser

sudo apt-get install gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 li-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 li libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget libgbm-dev

In case of chromium issue :
node node_modules/puppeteer/install.js

Please try to uninstall whatsapp-web.js dependency from package.json and reinstall it again.


MacOS 11.0.1 Can't be Open Visual Studio Code - 47

VS Code Insider and Stable on macOS 11.0.1 (Big Sur):

Error open Visual Studio Code v1.51.1

Can you please provide additional information? What error is shown?

I have the same issue.My mac doesnt show any issue


Lower severity of "skipped" lines to "Debug"?

I have thought a bit about lowering the level of logs on the "skipped" lines to "Debug", so that only what is actually applied is output by default, how do we feel about that? We would get the full list if setting the verbosity to Debug on the command line.
I think it would make it easier to see what wat actually run in the output.
Thoughts?

The colours do come "for free" (i.e., it is already implemented) ;)
https://github.com/erikbra/grate/blob/6ede10426d71cebd467a4e38fa63d62e0ca926ae/grate/Infrastructure/GrateConsoleFormatter.cs#L75
I see the back compat challenge, however, I don't feel 100% backwards compat should be a goal. If we want, we might introduce a --roundhouse-compat switch, which sets output level to debug, and sets the migration table names to "Roundhouse" (and maybe some more?)


PhysicalSpotLight, ShapedAreaLight, and example of how to use lights

When I first add a cube, it looks black.

Does this help? https://codesandbox.io/s/react-three-gpu-pathttracer-gltf-lights-3t7bqu?file=/src/App.js

It'll look something like
import { PhysicalSpotLight } from "three-gpu-pathtracer";
extend({ PhysicalSpotLight });

<physicalSpotLight [...] />

Thanks! We will take a lok at this once we gear up for a major. The major will wrap all of the upstream helpers in React. As of now, you can use the extend syntax to use these features.


[Feature Request] switch input method bulit-in ascii_mode

Can DBus change the  ascii_mode of IME (e.g.  libpinyin)? If possible, it's better to use English in command mode and remain the state in insert mode, after all, we'd used to use Shift rather than Win+Space to switch state. By the way, It doesn't work well with systray, how can I turn the debug message on?

Can DBus change the ascii_mode of IME (e.g. libpinyin)?

I don't think it could switch ascii_mode by sending cmd to D-Bus, It relates to your IME but not D-Bus.

By the way, It doesn't work well with systray

It seems that the plugin using ibus engine instead of dbus-send. What's your DESKTOP_SESSION of env value?  [[ $DESKTOP_SESSION == "gnome" && -x $(command -v dbus-send) ]] if true will use dbus-send, other wise ibus engine.
I have tested on KDE that works, so I will delete the condition code about gnome. Maybe I will delete the redundant code about switching using ibus engine, because ibus depend on dbus, and dbus including dbus-send(information from arch linux pacman).

how can I turn the debug message on?
There isn't any debug code in the source. It's hard code for echo message in demo. I'm so sorry about that.

Finally, thank you for your report.

Can DBus change the ascii_mode of IME (e.g. libpinyin)?

I don't think it could switch ascii_mode by sending cmd to D-Bus, It relates to your IME but not D-Bus.

By the way, It doesn't work well with systray

It seems that the plugin using ibus engine instead of dbus-send. What's your DESKTOP_SESSION of env value?  [[ $DESKTOP_SESSION == "gnome" && -x $(command -v dbus-send) ]] if true will use dbus-send, other wise ibus engine.
You can run shell under bin directory. such as init.sh, if value of itype equal 'dbus',vim will exec dbus_ibus_switch.sh get_input or set_input.

how can I turn the debug message on?

There isn't any debug code in the source. It's hard code for echo message in demo. I'm so sorry about that.
Finally, thank you for your report.

It is gnome-xorg,  please update to support


Include field contour in ISOXML generation from GeoJSON

Hi,
I am using isoxml-js to convert spraying maps from GeoJSON to ISOXML. I am using the example script create.ts, and check the results using https://isoxml-viewer.dev4ag.com/.
I addition to the treatment areas that are already covered in the example, I would like to include the contour of the field in the ISOXML file, and I am having trouble with this.
This is very probably not an error but rather me missing a step when building the ISOXML. I tried searching through the code to understand what I am doing wrong, but I think I only scratched the surface this far. If this isn't too much effort, any help would be appreciated!
In order to include the field contour, starting from create.ts, I tried adding either a partField entity or an ExtendedPolygon entity to the isoxmlManager by adding the code below before saving ISOXML as zip file. But the field contour still isn't visible when viewing the resulting file in isoxml-viewer.
const geoJSONfieldData = JSON.parse(readFileSync(join(__dirname, '../data/contour2.geojson'), 'utf-8'))
const partField = isoxmlManager.createEntityFromAttributes(TAGS.Partfield, {
    PartfieldDesignator: "field"
}) as ExtendedPartfield
partField.boundaryFromGeoJSON(geoJSONfieldData, isoxmlManager)
isoxmlManager.registerEntity(partField)
isoxmlManager.rootElement.attributes.Partfield = [partField]

Or
const geoJSONfieldData = JSON.parse(readFileSync(join(__dirname, '../data/contour2.geojson'), 'utf-8'))
const polygon = ExtendedPolygon.fromGeoJSON(geoJSONfieldData, PolygonPolygonTypeEnum.Mainfield, isoxmlManager)[0]
isoxmlManager.registerEntity(polygon)

I will keep investigating on my side. Many thanks in advance,
Thibaut

@tvoirand The first approach (with partfield creation) looks good to me, the second one (with polygon creation) is not quite correct because you don't create a partfield, only geometry not linked with anything in the ISOXML file.
What is missing in your snippet is adding a reference to your partfield into your task:
    ....
    const partFieldRef = isoxmlManager.registerEntity(partField)
    task.attributes.PartfieldIdRef = partFieldRef
    ...

This link is important - if your partfield is not linked to any task, it can't be used properly. For example, in ISOXML Visualization tool, we start iterate over tasks and show only partfields linked to those tasks. We ignore all the partfields that are not linked to any task.
Could you please try the fix above and tell me if it works? If not, I'll create a separate working example for creating tasks with partfields...

@aparshin I tried this fix and it works correctly. Thank you!
Duly noted for your explanation about linking partfield to a task.
By the way, I now realize that there's already an example illustrating this in create_partfield.ts. Even though this other example doesn't combine partfield and grid creation in the same task, the information I missed about linking partfield was there, and I would have solved my problem if I had read all usage examples before looking at the code.
Thanks again for your help.

@tvoirand you are welcome! let me know if you have any other issues.


Add space between async keyword and arrow functions

Fixes #896

You must run ./build and commit the changes.  The build does code clean up and generation.


Support for multiple data stores, one with user data, one with API data.

I believe this was resolved with the introduction of WTADataConfiguration?


1.0 issue

Hi, I get this:
ERROR: LoadError: LoadError: UndefVarError: readstring not defined
Stacktrace:
 [1] getproperty(::Module, ::Symbol) at ./sysimg.jl:13
 [2] top-level scope at none:0
 [3] include at ./boot.jl:317 [inlined]
 [4] include_relative(::Module, ::String) at ./loading.jl:1038
 [5] include at ./sysimg.jl:29 [inlined]
 [6] include(::String) at /Users/knopp/.julia/dev/LibSerialPort/src/LibSerialPort.jl:2
 [7] top-level scope at none:0
 [8] include at ./boot.jl:317 [inlined]
 [9] include_relative(::Module, ::String) at ./loading.jl:1038
 [10] include(::Module, ::String) at ./sysimg.jl:29
 [11] top-level scope at none:2
 [12] eval at ./boot.jl:319 [inlined]
 [13] eval(::Expr) at ./client.jl:389
 [14] top-level scope at ./none:3
in expression starting at /Users/knopp/.julia/dev/LibSerialPort/src/high-level-api.jl:416
in expression starting at /Users/knopp/.julia/dev/LibSerialPort/src/LibSerialPort.jl:192
ERROR: LoadError: Failed to precompile LibSerialPort [8d099cbf-8da3-5ec2-a1c2-df122ad121d3] to /Users/knopp/.julia/compiled/v1.0/LibSerialPort/UB8VU.ji.

If I remove the Base. in front of readstring then it seems to work.

ping @scls19fr since you are working on that file in #25

With Julia 0.7
$ julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.7.0 (2018-08-08 06:46 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-apple-darwin14.5.0

julia> readstring
readstring (generic function with 4 methods)

julia> Base.readstring
readstring (generic function with 4 methods)

With Julia 1.0
$ julia10
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.0.0 (2018-08-08)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> readstring
ERROR: UndefVarError: readstring not defined

julia> Base.readstring
ERROR: UndefVarError: readstring not defined

I think it should be
read(f, String)

That's odd because @andrewadare removed readstring in https://github.com/andrewadare/LibSerialPort.jl/commit/61674ec9a8054b46f02fa8a6a2688c7743ef3feb

that is clear, in julia 0.7 the function is there but deprecated. Call it with readstring(IOBuffer()) and you will see it.

Are you sure that readstring is still present in master version of LibSerialPort?
In
https://github.com/andrewadare/LibSerialPort.jl/blob/master/test/test-high-level-api.jl#L9
it have been changed... and other places also (I think)
Could you show me in this repository where you find it?

ok this was false alarm. I needed to update the git repo


fastlane login & keychain problem with Jenkins

New Issue Checklist

[V ] Updated fastlane to the latest version
[V ] I have read the Contribution Guidelines

Issue Description
Hi ,may I ask a question about FASTLANE_SESSION & FASTLANE_PASSWORD from fastlane Credential Manager
It’s both work at terminal and I can retrieve them
FASTLANE_SESSION
<EMAIL_ADDRESS>#<== execute spaceauth update session
it’s works after doing fastlane spaceauth -u<EMAIL_ADDRESS>Credential Manager
fastlane fastlane-credentials add --username<EMAIL_ADDRESS>Password: *********
Credential xxx@xxx.com:********* added to keychain.
Retrive Credential from keychain
security find-internet-password -ws<EMAIL_ADDRESS>password=xxxxxx <===== works!!
but both fail at my Jenkins CI machine shell, how to solve this problem??
fastlane login & keychain problem with Jenkins
login to Jenkins User terminal
#################################################
fastlane spaceship get session
fastlane spaceauth -u<EMAIL_ADDRESS>export FASTLANE_SESSION='---\n- !ruby/object:HTTP::Cookie\n  name: DES5c148586dfd451e55afbaaa5f62418f91\n  value: XXXX\n'
Fastlane Credential Manager store at keychain
Adding Credentials
fastlane fastlane-credentials add --username<EMAIL_ADDRESS>Password: *********
Credential xxx@xxx.com:********* added to keychain.
Retrive Credential from keychain
security find-internet-password -ws<EMAIL_ADDRESS>both work at CI Machine Terminal, but fail at Jenkins service
#################################################
MY Jenkins CI Machine shell
Jenkins Execute shell
##############################################################
#!/bin/bash -lx
export FASTLANE_SESSION='---\n- !ruby/object:HTTP::Cookie\n  name: DES5c148586dfd451e55afbaaa5f62418f91\n  value: XXXX\n'
echo $FASTLANE_SESSION #<=====  donsn’t work???
#export FASTLANE_PASSWORD=security find-internet-password -ws<EMAIL_ADDRESS>echo $FASTLANE_PASSWORD # <========= empty
#fastlane action setup_jenkins --verbose #<===== works
fastlane deliver --verbose #<=======fail, need login session or credential password
Cleanup a file fastlane creates that prevents the repo to be clean at the end of the run
#rm -Rf fastlane/report.xml
###############################################################
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

export 'FASTLANE_SESSION=---\n- !ruby/object:HTTP::Cookie\n  name: DES5c148586dfd451e55afbaaa5f62418f91\n  value: XXXX\n'
937 react-text: 4942   /react-text 	+ FASTLANE_SESSION='---\n- !ruby/object:HTTP::Cookie\n  name: DES5c148586dfd451e55afbaaa5f62418f91\n  value: XXXX\n'
938 react-text: 4947   /react-text 	+ echo '---\n-' '!ruby/object:HTTP::Cookie\n' name: 'DES5c148586dfd451e55afbaaa5f62418f91\n' value: 'XXXX\n'
939 react-text: 4952   /react-text 	---\n- !ruby/object:HTTP::Cookie\n name: DES5c148586dfd451e55afbaaa5f62418f91\n value: XXXX\n
940 react-text: 4957   /react-text 	+ export FASTLANE_PASSWORD=security find-internet-password -ws<EMAIL_ADDRESS>941 react-text: 4962   /react-text 	+ FASTLANE_PASSWORD=security
942 react-text: 4967   /react-text 	/Users/Shared/Jenkins/tmp/hudson8964587714233045216.sh: line 7: export: find-internet-password': not a valid identifier 943 react-text: 4972   /react-text 	/Users/Shared/Jenkins/tmp/hudson8964587714233045216.sh: line 7: export: -ws': not a valid identifier
944 react-text: 4977   /react-text 	/Users/Shared/Jenkins/tmp/hudson8964587714233045216.sh: line 7: export<EMAIL_ADDRESS>not a valid identifier 945 react-text: 4982   /react-text 	+ echo security 946 react-text: 4987   /react-text 	security 947 react-text: 4992   /react-text 	+ fastlane cert --verbose 948 react-text: 4997   /react-text 	Successfully loaded Appfile at path '/Users/Shared/Jenkins/Home/workspace/JenkinsTest/fastlane/Appfile' 949 react-text: 5002   /react-text 	- app_identifier: 'com.test.test.JenkinsTest' 950 react-text: 5007   /react-text 	- apple_id<EMAIL_ADDRESS>951 react-text: 5012   /react-text 	- team_id: 'U2847EE6SS' 952 react-text: 5017   /react-text 	------- 953 react-text: 5022   /react-text 	 954 react-text: 5027   /react-text 	+---------------+-----------------------------------------------------------+ 955 react-text: 5032   /react-text 	|                          Summary for cert 2.9.0                           | 956 react-text: 5037   /react-text 	+---------------+-----------------------------------------------------------+ 957 react-text: 5042   /react-text 	| development   | false                                                     | 958 react-text: 5047   /react-text 	| force         | false                                                     | 959 react-text: 5052   /react-text 	| username      |<EMAIL_ADDRESS>                                        | 960 react-text: 5057   /react-text 	| team_id       | XXXXXXXXXX                                                | 961 react-text: 5062   /react-text 	| keychain_path | /Users/Shared/Jenkins/Library/Keychains/login.keychain-db | 962 react-text: 5067   /react-text 	+---------------+-----------------------------------------------------------+ 963 react-text: 5072   /react-text 	 964 react-text: 5077   /react-text 	INFO [2017-01-21 20:49:42.44]: Starting login with user<EMAIL_ADDRESS>965 react-text: 5082   /react-text 	Loading session from environment variable 966 react-text: 5087   /react-text 	The login credentials for<EMAIL_ADDRESS>seem to be wrong 967 react-text: 5092   /react-text 	The password was taken from the environment variable 968 react-text: 5097   /react-text 	Please make sure it is correct 969 react-text: 5102   /react-text 	Please run this tool again to apply the new password 970 react-text: 5107   /react-text 	 971 react-text: 5112   /react-text 	Looking for related GitHub issues on fastlane/fastlane... 972 react-text: 5117   /react-text 	Search query: The request could not be completed because: 973 react-text: 5122   /react-text 		Invalid User Credentials 974 react-text: 5127   /react-text 	 975 react-text: 5132   /react-text 	URL: https://api.github.com/search/issues?q=The%20request%20could%20not%20be%20completed%20because:%0A%09Invalid%20User%20Credentials+repo:fastlane/fastlane 976 react-text: 5137   /react-text 	➡  Getting 'invalid username and password combination' 977 react-text: 5142   /react-text 	   https://github.com/fastlane/fastlane/issues/6977 [open] 4 💬 978 react-text: 5147   /react-text 	   a week ago 979 react-text: 5152   /react-text 	 980 react-text: 5157   /react-text 	➡  Pilot Fails with 'invalid request body' message 981 react-text: 5162   /react-text 	   https://github.com/fastlane/fastlane/issues/7523 [closed] 2 💬 982 react-text: 5167   /react-text 	   5 weeks ago 983 react-text: 5172   /react-text 	 984 react-text: 5177   /react-text 	➡  Deliver fails with invalid request body 985 react-text: 5182   /react-text 	   https://github.com/fastlane/fastlane/issues/6710 [closed] 24 💬 986 react-text: 5187   /react-text 	   25 Oct 2016 987 react-text: 5192   /react-text 	 988 react-text: 5197   /react-text 	and 7 more at: https://github.com/fastlane/fastlane/search?q=The%20request%20could%20not%20be%20completed%20because:%0A%09Invalid%20User%20Credentials&type=Issues&utf8=✓ 989 react-text: 5202   /react-text 	 990 react-text: 5207   /react-text 	🔗 You can ⌘ + double-click on links to open them directly in your browser. 991 react-text: 5218   /react-text 	/Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.9.0/spaceship/lib/spaceship/client.rb:96:in login': [!] The request could not be completed because: (Spaceship::Client::InvalidUserCredentialsError)
992 react-text: 5223   /react-text 		Invalid User Credentials
993 react-text: 5228   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.9.0/spaceship/lib/spaceship/portal/spaceship.rb:22:in login' 994 react-text: 5233   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.9.0/spaceship/lib/spaceship/portal/spaceship.rb:77:in login'
995 react-text: 5238   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.9.0/cert/lib/cert/runner.rb:17:in login' 996 react-text: 5243   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.9.0/cert/lib/cert/runner.rb:27:in run'
997 react-text: 5248   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.9.0/cert/lib/cert/runner.rb:6:in launch' 998 react-text: 5253   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.9.0/cert/lib/cert/commands_generator.rb:33:in block (2 levels) in run'
999 react-text: 5258   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:178:in call' 1000 react-text: 5263   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:178:in call'
1001 react-text: 5268   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:153:in run' 1002 react-text: 5273   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/runner.rb:446:in run_active_command'
1003 react-text: 5278   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.9.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:38:in run!' 1004 react-text: 5283   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/delegates.rb:15:in run!'
1005 react-text: 5288   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.9.0/cert/lib/cert/commands_generator.rb:49:in run' 1006 react-text: 5293   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.9.0/cert/lib/cert/commands_generator.rb:11:in start'
1007 react-text: 5298   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.9.0/fastlane/lib/fastlane/cli_tools_distributor.rb:45:in take_off' 1008 react-text: 5303   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.9.0/bin/fastlane:15:in <top (required)>'
1009 react-text: 5308   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/bin/fastlane:22:in load' 1010 react-text: 5313   /react-text 		from /Users/Shared/Jenkins/.fastlane/bin/bundle/bin/fastlane:22:in '
1011 react-text: 5318   /react-text 	Build step 'Execute shell' marked build as failure
1012 react-text: 5323   /react-text 	[BFA] Scanning build for known causes...
1013 react-text: 5328   /react-text 	[BFA] No failure causes found
1014 react-text: 5333   /react-text 	[BFA] Done. 0s
1015 react-text: 5338   /react-text 	Finished: FAILURE

Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.2

Ruby
2.2.4

Bundler?
false

Git
git version 2.10.1

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.12.2 (16C67)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.9.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Runs all the tests"
  lane :jenk do
    cert
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    gym # Build your app - more options available
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
app_identifier "com.test.test.JenkinsTest" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "xxxxxxxxxx"  # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.9.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

i18n
0.7.0

json
1.8.1

thread_safe
0.3.5

tzinfo
1.2.2

minitest
5.4.3

activesupport
<IP_ADDRESS>

CFPropertyList
2.3.4

claide
1.0.1

colored
1.2

nanaimo
0.2.3

xcodeproj
1.4.2

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.0

multipart-post
2.0.0

word_wrap
1.0.0

babosa
1.0.2

highline
1.7.8

commander
4.4.3

excon
0.54.0

faraday
0.11.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161129

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.0.1

gh_inspector
1.0.3

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.1.0

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.9.22

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.0

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.1.2

bundler
1.13.7

faraday_middleware
0.11.0

generated on: 2017-01-21

@dinneo it seems you are storing credentials under the default keychain (login).
When you are logged in remotely, e.g. using SSH, this one isn't visible/unlocked.
Try doing a:
security unlock-keychain -s ~/Library/Keychains/login.keychain

(and enter your user password) before retrieving the deliver credential using  find-internet-password
You might need to do the same as part of your build process.

Hi @dinneo - please be careful about posting info returned from spaceauth into public places. You need to protect that value the same as you would as a username and password! 👍

@lacostej are we supposed to not use the default keychain now?

@jeeftor I am not sure if there is an official recommendation regarding the default or non default keychain. At our place, we don't use the default one. And it causes us a few issues, e.g. #7932
Anyway, @dinneo should make sure his keychain is unlocked before he starts using it.

@dinneo
add #!/bin/bash -l to the beginning of your shell command then call your build script.

Hi @lacostej
It's works!! Thank you!!
I can't imagine that cause different result, why the behavior is different between login and ssh??

Hi @jinjorge
This worked for me.
The only problem i had was to get the credentials into the login keychain (i resorted to login in macos with jenkins user and run the commands on terminal and then allow the access to all of the credential - probably there are better ways to do this, but it worked).
The remaining issue was just a question of environment when running the script that launches fastlane, and adding the "-l" to the bash she-bang works like a charm.


add ability to build c shared-library for processGeneratorConfig

add C type compatible wrapper function for processGeneratorConfig
add build-so Make target for generating C share-object file

Thanks for the PR! What's the context here for the C wrapper?

@TheRealHaoLiu will you need the shared object included as an artifact on GitHub releases?

@mprahl does the github release process able to build multiarch? how would i be able to try that?

Does compiling the shared object respect GOARCH?


[WIP] Filter password

Hmm, I feel like this filter is too heavy for the feature. https://docs.djangoproject.com/en/1.9/howto/error-reporting/#filtering-error-reports Is much more efficient.


v4.0.0-beta.6 breaks project

Version
v4.0.0-beta.6
Hello,
I've just updated to v4.0.0-beta.6 for testing, and it fails to mount the first app rendering.
v4.0.0-beta.5 works great by the way, I don't really know what is the big change in beta6 that make it breaks :/
The full error is:
Uncaught (in promise) TypeError: Cannot read property '_currentElement' of null
    at ReactCompositeComponentWrapper._updateRenderedComponent (ReactCompositeComponent.js:745)
    at ReactCompositeComponentWrapper._performComponentUpdate (ReactCompositeComponent.js:724)
    at ReactCompositeComponentWrapper.updateComponent (ReactCompositeComponent.js:645)
    at ReactCompositeComponentWrapper.performUpdateIfNecessary (ReactCompositeComponent.js:561)
    at Object.performUpdateIfNecessary (ReactReconciler.js:157)
    at runBatchedUpdates (ReactUpdates.js:150)
    at ReactReconcileTransaction.perform (Transaction.js:140)
    at ReactUpdatesFlushTransaction.perform (Transaction.js:140)
    at ReactUpdatesFlushTransaction.perform (ReactUpdates.js:89)
    at flushBatchedUpdates (ReactUpdates.js:172)
    at ReactUpdatesFlushTransaction.close (ReactUpdates.js:47)
    at ReactUpdatesFlushTransaction.closeAll (Transaction.js:206)
    at ReactUpdatesFlushTransaction.perform (Transaction.js:153)
    at ReactUpdatesFlushTransaction.perform (ReactUpdates.js:89)
    at Object.flushBatchedUpdates (ReactUpdates.js:172)
    at ReactDefaultBatchingStrategyTransaction.closeAll (Transaction.js:206)
    at ReactDefaultBatchingStrategyTransaction.perform (Transaction.js:153)
    at Object.batchedUpdates (ReactDefaultBatchingStrategy.js:62)
    at Object.enqueueUpdate (ReactUpdates.js:200)
    at enqueueUpdate (ReactUpdateQueue.js:24)
    at Object.enqueueElementInternal (ReactUpdateQueue.js:216)
    at ReactMount.js:288
    at Object.scrollMonitor (ReactMount.js:276)
    at Object._updateRootComponent (ReactMount.js:287)
    at Object._renderSubtreeIntoContainer (ReactMount.js:374)
    at render (ReactMount.js:422)
    at main.js:32

My main.js file uses react-async-component and react-hot-loader as described:
/* globals document */

import 'babel-core/register';
import 'babel-polyfill';

import FastClick from 'fastclick';
import React from 'react';
import {render} from 'react-dom';
import {withAsyncComponents} from 'react-async-component';
import injectTapEventPlugin from 'react-tap-event-plugin';
import {AppContainer} from 'react-hot-loader';

import Root from './app/Root/index';
import configureStore from './app/configureStore/index';

const store = configureStore();

FastClick.attach(document.body);
// Needed for onTouchTap
// http://stackoverflow.com/a/34015469/988941
injectTapEventPlugin();

const root = document.getElementById('root');

const renderApp = (RootElement) => {
    const app = (<AppContainer key={Math.random()}>
        <RootElement {...{store}} />
    </AppContainer>);

    withAsyncComponents(app).then((result) => {
        const {appWithAsyncComponents} = result;
        render(appWithAsyncComponents, root);
    });
};

if (process.env.NODE_ENV !== 'production') {
    if (module.hot) {
        module.hot.accept('./app/Root/index', () =>
            System.import('./app/Root/index').then(module =>
                renderApp(module.default),
            ),
        );
    }
    renderApp(Root);
}
else {
    const app = <Root {...{store}} />;

    withAsyncComponents(app).then((result) => {
        const {appWithAsyncComponents} = result;
        render(appWithAsyncComponents, root);
    });
}

I can only provide these pieces of information for now...
I'm investigating.

This particular commit is the breaker : https://github.com/ReactTraining/react-router/commit/45649fd3cc6fbe4c5b89c3d0506f8f076c3fa6ed?diff=split

Ok, just found why...
I was decalring my Routes with <Route {...props} />
The conversation from the 45649fd?diff=split made it clear.
We cannot pass props to a Route, is it possible to add a warning when someone try to achieve this?
It would be great!


Infer Value Range from the Levels information

Some questionnaires (like Diagnosis_KSADS from the HBN dataset) do not have Value Range column but this information could be inferred using the levels, which are provided.

I like this idea, but the more I'm thinking about it the more I feel like we should exclude non-BIDS-valid fields in the data dictionary JSONs... I think they should be added to the end of the Description of any field. What do you think? This thought is based on https://bids-specification.readthedocs.io/en/stable/02-common-principles.html#tabular-files.


Support for x.509 Certificate mode security

Hi,
Does Leshan server supports x.509 certificate security mode? If yes please guide me to load the certificates and also share some logs for the same.
Thank you

Leshan server should support x.509 certificate.
For the Leshan server demo, there is command line option to set X509 certificate configuration :
 -ks,--keystore <arg>      Set the key store file. If set, X.509 mode is
                           enabled, otherwise built-in RPK credentials are
                           used.
 -ksp,--storepass <arg>    Set the key store password.
 -kst,--storetype <arg>    Set the key store type.
                           Default: jks.
 -ksa,--alias <arg>        Set the key store alias to use for server
                           credentials.
                           Default: leshan.
 -ksap,--keypass <arg>     Set the key store alias password to use.

For more detail, you can look at the code of LeshanServerDemo.
If this is not clear to you, I advice you to read more about java KeyStore (you can look at Keytool, KeyToolExplorer too)
If you build your LWM2M server using the Leshan library, just use the builder :
    /**
     * Set the {@link PrivateKey} of the server which will be used for RawPublicKey(RPK) and X509 DTLS authentication.
     */
    public LeshanServerBuilder setPrivateKey(PrivateKey privateKey) {
        this.privateKey = privateKey;
        return this;
    }

    /**
     * <p>
     * Set the CertificateChain of the server which will be used for X509 DTLS authentication.
     * </p>
     * For RPK the public key will be extract from the first X509 certificate of the certificate chain. If you only need
     * RPK support, use {@link LeshanServerBuilder#setPublicKey(PublicKey)} instead.
     */
    public LeshanServerBuilder setCertificateChain(X509Certificate[] certificateChain) {
        this.certificateChain = certificateChain;
        return this;
    }

    /**
     * The list of trusted certificates used to authenticate devices.
     */
    public LeshanServerBuilder setTrustedCertificates(Certificate[] trustedCertificates) {
        this.trustedCertificates = trustedCertificates;
        return this;
    }

HTH.

@sbernard31  Thanks for information provided. This is for Leshan Server. I am also looking for Leshan Bootstrap Server with x.509 Certificate mode.

For bootstrap server, there is nothing like that for now :(
When this PR(#350) will be integrated, a workaround will be possible by providing a custom DTLSConnectorConfig.
If you have time, you can provide a PR by inspiring yourself of what is done for Leshan Server.
I advice your to based your work on this branch as before there was no builder for Leshan bootstrap Server.

@sbernard31 Ohh!! Thanks for the information. I have one more query, which all keystore types are supported? Where can i see the supported keystore types?

I'm not sure to understand the question ?
Keystore is only needed for LeshanServerDemo, and it that case you can specify the type of Keystore you are using :
 -kst,--storetype <arg>    Set the key store type.
                           Default: jks.

The available type does not depend on Leshan but rather on the JVM you are using or library you have in your classpath. (http://www.pixelstech.net/article/1408345768-Different-types-of-keystore-in-Java----Overview)

I suppose the issue/question can be closed.

@sbernard31 Thanks a lot for the information.
How do I confirm that I have configured my leshan server properly with x.509 certificate mode properly??
I started the server as follows,
$> java -jar leshan-server-demo.jar -slp 5680 -ks leshan_keystore.jks -ksp password -ksa leshan_alias -ksap password -wp 8081
When I tried to connect I am getting handshake failure, I'm not seeing any certificates in the SERVER_HELLO & SERVER_HELLO_DONE packet.
The Server is sending Cipher suite as " Cipher Suite: TLS_PSK_WITH_AES_128_CBC_SHA256 (0x00ae)"  is this correct? As OMA spec says following cipher suites to be supported for x.509 certificate mode

TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 as defined in [RFC7251].
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 as defined in [RFC5289].

What are the Cipher Suites supported by Lehsan?

I suspect this is your client which asks for this cipher.

@sbernard31 I am facing new issue with Leshan server.
First time my client connect's successfully with server with Certificate mode.
After I reboot and try to connect, handshake will fail. I did not change certificates after reboot.
On server command line, I will get the following lines,
_INFO: Aborting handshake with peer [/Device_IP:57373]: The client's CertificateVerify message could not be verified.
Aug 16, 2017 8:15:57 PM org.eclipse.californium.scandium.dtls.CertificateVerify verifySignature
SEVERE: Could not verify the client's signature.
java.security.SignatureException: Could not verify signature
at sun.security.ec.ECDSASignature.engineVerify(ECDSASignature.java:325)
at java.security.Signature$Delegate.engineVerify(Unknown Source)
at java.security.Signature.verify(Unknown Source)
at org.eclipse.californium.scandium.dtls.CertificateVerify.verifySignature(CertificateVerify.java:202)
at org.eclipse.californium.scandium.dtls.ServerHandshaker.receivedCertificateVerify(ServerHandshaker.java:356)
at org.eclipse.californium.scandium.dtls.ServerHandshaker.doProcessMessage(ServerHandshaker.java:294)
at org.eclipse.californium.scandium.dtls.Handshaker.processMessage(Handshaker.java:406)
at org.eclipse.californium.scandium.DTLSConnector.processOngoingHandshakeMessage(DTLSConnector.java:812)
at org.eclipse.californium.scandium.DTLSConnector.processDecryptedHandshakeMessage(DTLSConnector.java:799)
at org.eclipse.californium.scandium.DTLSConnector.processHandshakeRecordWithConnection(DTLSConnector.java:783)
at org.eclipse.californium.scandium.DTLSConnector.processHandshakeRecord(DTLSConnector.java:719)
at org.eclipse.californium.scandium.DTLSConnector.receiveNextDatagramFromNetwork(DTLSConnector.java:448)
at org.eclipse.californium.scandium.DTLSConnector.access$200(DTLSConnector.java:117)
at org.eclipse.californium.scandium.DTLSConnector$3.doWork(DTLSConnector.java:330)
at org.eclipse.californium.scandium.DTLSConnector$Worker.run(DTLSConnector.java:1571)
Caused by: java.security.SignatureException: Invalid encoding for signature
at sun.security.ec.ECDSASignature.decodeSignature(ECDSASignature.java:400)
at sun.security.ec.ECDSASignature.engineVerify(ECDSASignature.java:322)
... 14 more
Caused by: java.io.IOException: Invalid encoding: redundant leading 0s
at sun.security.util.DerInputBuffer.getBigInteger(Unknown Source)
at sun.security.util.DerValue.getPositiveBigInteger(Unknown Source)
at sun.security.ec.ECDSASignature.decodeSignature(ECDSASignature.java:385)
... 15 more
Aug 16, 2017 8:36:07 PM org.eclipse.californium.scandium.DTLSConnector terminateOngoingHandshake
INFO: Aborting handshake with peer [/<device_IP>:65253]: The client's CertificateVerify message could not be verified._
Please let me know, if this is expected from server!
Thank you :)

@sbernard31  One more question, if I did not de-register my client and if I try to register again, will it affect anything at server side? ( With security in both cases )

Please let me know, if this is expected from server!

No this is not expected. I will try to reproduce this on my side but I have no x509 LwM2m client on hand for now. (maybe a scandium issue)

if I did not de-register my client and if I try to register again, will it affect anything at server side? ( With security in both cases )

No, it should be ok.

Thanks for the confirmation @sbernard31.
May be you can try with openssl client but I am not sure about reproducing this issue with openssl client.

Thanks for the confirmation @sbernard31.
May be you can try with openssl client but I am not sure about reproducing this issue with openssl client.

Which client are you using ?

@sbernard31  We have enhanced wakaama client.

Which DTLS stack ?

Hi,
I am trying to connect x509 certificate DTLS mode between Leshan client and Leshan server by using Leshan Demo project.  But there is no success connection. Can you please any one help me to fix this.
Thanks,
Yashodha

@YashodhaGangadharappa It would be better if you share some logs.
I suspect handshake is failing, use proper certificates.
you can find list of commands to generate certificates and also sample certificates here -
https://github.com/eclipse/leshan/tree/master/leshan-integration-tests/credentials

Hi Karthik,
Here is my changes to enable the x509 certificate mode to connect client to server.
Step 1: Started the leshan server with the below keystore details
String keyStoreType ="JKS";
String keyStorePath = "serverKeyStore.jks";
String keyStorePass = "server";
String keyStoreAlias = "serverCA";
String keyStoreAliasPass = "server";
Step 2: Added the client code changes for keystore and started the Leshan client with the below keystore details
String keyStoreType ="JKS";
String keyStorePath = "clientKeyStore.jks";
String keyStorePass = "client";
String keyStoreAlias = "clientCA";
String keyStoreAliasPass = "client";
Log:
2017-10-17 10:44:05,798 ERROR RegistrationEngine - Trying to bootstrap device but there is no bootstrap server config.
2017-10-17 10:44:05,798 INFO RegistrationEngine - Unable to connect to any server, next retry in 600s
Step 3: To resolve the above I have started bootstrap and trying to add leshan server details with x509 certificate mode in the UI.
Issue faced:
The client certificate, client private key and server certificate all are in BigInteger in the generate keystore files, but bootstrap UI expecting the hexadecimal.
Could you please help me to resolve this issue.
Thanks,
Yashodha

Hi Karthik,
It will be good, if you provide the client which is already implemented with certificate mode like in the above conversation wakaama client to connect leshan server.
Thanks,
Yashodha

@YashodhaGangadharappa Sorry I can not share that client.
As seen in the above conversation, bootstrap server does not support certificate DTLS mode.
And for certificate mode, you do not have to add any Security certificates from UI.

Hi Guys,
I am trying to run test case "registered_device_with_x509cert_to_server_with_x509cert" in test suit "SecurityTest" in a project "leshan-integration-tests", But i am not able to run it successfully even after using certificates created using steps provided in this project.
I have tried certificates with both localhost and <IP_ADDRESS> as CN for generating certificates.
Could you guys please help me?

Hi Guys,
I am trying to run "registered_device_with_x509cert_to_server_with_x509cert" test case from "SecurityTest" test suit in project "leshan-integration-tests" to test certificate mode.
Steps I tried

Updated "LeshanClientBuilder" as "LeshanServerBuilder" to support privatekey, certificates and truststore.
Created certificates with CN as "localhost or <IP_ADDRESS>" using steps mentioned in the link https://github.com/eclipse/leshan/tree/master/leshan-integration-tests/credentials .
Also added below lines of code to view debug logs in both "LeshanClientBuilder" and "LeshanServerBuilder".

static {
ScandiumLogger.initialize();
ScandiumLogger.setLevel(Level.FINE);
}
Problem i faced
Neither i am able to run test case successfully nor able to see any handshake between client and server.
Kindly suggest.


chore: use phpstan-codeigniter

Description
Add phpstan-codeigniter
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

@samsonasik is there a way to tell rector to read the GeneratedConfig of phpstan/extension-installer? Or do I need to write all extensions' configs in $rectorConfig->phpstanConfigs()?

@paulbalandan we had it automatically, but removed due to possible magic use cases on auto include, the :
$rectorConfig->phpstanConfigs(...);

seems the way to go.

@paulbalandan Thank you!


Redshift connector not working properly

Hello, I've just started testing the alpha version 0.1.0-a.3 with Redshift, but I went through some errors:
When running dbt-sugar bootstrap it returns the NotImplemented error:
NotImplementedError:
Connector 'redshift' is not implemented.

Also, when running dbt-sugar doc, there are connection errors:
"/Users/l.brandi/.local/share/virtualenvs/dbt-ula5LEz1/bin/dbt-sugar", line 8
  import sys
  from dbt_sugar.core.main import main
  if __name__ == '__main__':
      sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
>     sys.exit(main())

dialect.py 747 _get_all_column_info
"/Users/l.brandi/.local/share/virtualenvs/dbt-ula5LEz1/lib/python3.9/site-packages/sqlalchemy_redshift/dialect.py", line 747
      return relations

  @reflection.cache
  def _get_all_column_info(self, connection, **kw):
      all_columns = defaultdict(list)
>     with connection.contextual_connect() as cc:
          result = cc.execute("""
          SELECT

self: <sqlalchemy_redshift.dialect.RedshiftDialect object at 0x104a0ea00>
connection: <sqlalchemy.engine.base.Connection object at 0x104d18be0>
kw: {'info_cache': {}}
all_columns: defaultdict(<class 'list'>, {})

AttributeError:
'Connection' object has no attribute 'contextual_connect'

Looking forward to testing it in more detail, let me know if you need more pieces of evidence.

Hi Bastien! It's working!
I'll make other tests in other features as well but for the ones I've mentioned before, you can consider fixed :)


Comment in tsconfig.lib.json.template produces invalid tsconfig.lib.json

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[x] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
Yes, introduced with this commit:
https://github.com/angular/angular-cli/commit/76f525cec2f2397f01ed26edf9902eb3649bb42e
Pull Request: #17906
Description
The generated tsconfig.lib.json from tsconfig.lib.json.template is invalid due to the comments in first line:
/* To learn more about this file see: https://angular.io/config/tsconfig. */
JSON doesn't support comments.
Maybe it's an option to use the "$schema" - keyword, like GitVersioning in their version.json:
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
🔬 Minimal Reproduction
ng g library my-library
🔥 Exception or Error
While reading in / parsing the json file with
JSON.parse
it will throw an error:
SyntaxError: Unexpected token / in JSON at position 0
🌍 Your Environment

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 10.1.7
Node: 12.16.1
OS: win32 x64

Angular: 10.2.3
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.1001.7
@angular-devkit/build-angular      0.1001.7
@angular-devkit/build-ng-packagr   0.1001.7
@angular-devkit/core               10.1.7
@angular-devkit/schematics         10.1.7
@angular/cdk                       10.2.7
@angular/cli                       10.1.7
@angular/flex-layout               10.0.0-beta.32
@angular/localize                  10.1.6
@angular/material                  10.2.7
@schematics/angular                10.1.7
@schematics/update                 0.1001.7
ng-packagr                         10.1.2
rxjs                               6.5.5
typescript                         4.0.3

Anything else relevant?
We've an internal tool to analyse our dependencies between libraries. For this check we're analyzing our code base and need to exclude files listed in "exclude"-list of tsconfig.lib.json. So we've to read the json file.

Hi,
TypeScript, among other tools use a superset of JSON which does allow comments. Some supersets of JSON that do allow comments are JSON5 and JSONC.
More information
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-1-8.html#allow-comments-in-tsconfigjson
https://spec.json5.org/#comments
https://code.visualstudio.com/docs/languages/json#_json-with-comments
If your tool is not able to handle these supersets, feel free to remove these comments manually.

Hi,
TypeScript, among other tools use a superset of JSON which does allow comments. Some supersets of JSON that do allow comments are JSON5 and JSONC.
More information
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-1-8.html#allow-comments-in-tsconfigjson
https://spec.json5.org/#comments
https://code.visualstudio.com/docs/languages/json#_json-with-comments
If your tool is not able to handle these supersets, feel free to remove these comments manually.

Thank you for your clarification. We'll try to change our read / parse method.

Thank you for your clarification. We'll try to change our read / parse method.