create_send API call not working anymore

I have a python script that was functioning running under counterpartyd v9.42 -- sending tokens via create_send, sign_tx and broadcast_tx (as is done in the 'python example' section in the documentation: http://counterparty.io/docs/counterpartyd/). After updating yesterday to v9.45, my script has broken. Calling the create_send command fails and returns:
{u'jsonrpc': u'2.0', u'id': 0, u'error': {u'message': u'Invalid params', u'code': -32602}}

The API documentation examples fail for me as well. This script returns the above error:
import os, sys
import json, requests
from requests.auth import HTTPBasicAuth

url = "http://<IP_ADDRESS>:4000/api/"
headers = {'content-type': 'application/json'}
auth = HTTPBasicAuth('my_rpc_username', 'my_rpc_password')

fromaddress = '1MBWZTzVQ3ivW7Qw7bntYY71SZfVhLUzPP'
toaddress = '18n864JtWHSihPYtAGV8bDsdCE6i3gGNqK'

def makerequest(payload):
  resp = requests.post(url, data=json.dumps(payload), headers=headers, auth=auth)
  return resp

payload = {
  "method": "create_send",
  "params": {
    "source": fromaddress,
    "destination": toaddress,
    "asset": "MYASSET",
    "quantity": 1 # non-divisible asset
  },
  "jsonrpc": "2.0",
  "id": 0
}

r = makerequest(payload)
print r.json()

Other calls work fine ('get_balances', 'get_running_info', etc.). Has something changed with the create_send command?

@adamkrellenstein @sorce could you please specify how do I update pycoin for the right virtual env? I did pip3 install --upgrade pycoin, it installed v 0.52 of pycoin, but it looks like counterparty-server is still using the old one after the restart, since it (presumably) runs in a different virtualenv.
I'm not familiar with either python or pip or virtualenv (although I spent a day today reading the relevant docs), so a detailed explanation would be very helpful. Thanks!

@snitko your pip command is correct, it just needs to be run from inside the counterparty virtual env (if indeed that is what you need to do). e.g. mine is at:
/home/xcp/federatednode_build/env/bin/pip3 install --upgrade pycoin
I'm not sure if you're running the whole node. You could also do something like ps aux | grep counterparty and see exactly which python environment is running the counterparty server.
You can do a <counterparty env>/bin/pip3 freeze | grep pycoin to see which version of pycoin is installed in the environment, to see if that is your problem.

@sorce Thanks for the explanation. Unfortunately, even though I did as you said and made sure the correct version of pycoin is installed, I'm still getting the same error when trying to access the JSON-RPC api. Here's the output of the command:
ubuntu@my-server:/home/xcp/counterpartyd_build$ env/bin/pip3 freeze | grep pycoin
Warning: cannot find svn location for apsw==3.8.2-r1
pycoin==0.52
ubuntu@my-server:/home/xcp/counterpartyd_build$ /home/xcp/federatednode_build/env/bin/pip3 install --upgrade pycoin
Requirement already up-to-date: pycoin in /home/xcp/federatednode_build/env/lib/python3.4/site-packages/pycoin-0.52-py3.4.egg
Cleaning up...
ubuntu@my-server:/home/xcp/counterpartyd_build$ /home/xcp/counterpartyd_build/env/bin/pip3 install --upgrade pycoin
Requirement already up-to-date: pycoin in ./env/lib/python3.4/site-packages
Cleaning up...

My JSON-RPC request for create_send still results in:
Server error -32601: Method not found

@adamkrellenstein any ideas?

@snitko I haven't had experience with fixing components inside of virtualenv, but could you rebuild? It takes a short time. If you can take a snapshot or backup you could easily revert in case it doesn't work.

@rippler yeah, I've done that. Re-installed counterparty. Same result.

@snitko did you nuke or move /home/xcp/federatednode_build prior to rebuilding?
If it's rebuilt it shouldn't matter, but I'm just asking to make sure what was your starting point.
How about other calls (get_balance) is it only this one call that doesn't work?
How did you get in that situation? (I'm asking this because pycoin<=0.52 is required by counterblockd (https://github.com/CounterpartyXCP/counterblock/blob/1cff508159f5deff1ebcdad75262cdd69064e269/setup.py) so I don't understand how you managed to install counterblockd although pycoin was outdated).
Did it get_send ever work for you? When did it stop working?

@rippler No, I didn't, but I can try.
get_balance does work. It is only create_send that doesn't. It used to work until after I upgraded Counterparty installation.

@snitko okay please try to move that existing to another and then rebuild.
I asked about before because I don't understand how could counterblock be installed with old pycoin when v0.52 is a requirement that it shouldn't have not ignored.

@rippler I deleted both the federatednode_build folder and the counterpartyd_build folder. Cloned the latter from Github, re-installed everything. Checked pycoin version within the federated node dir, it says 0.52. I'm still getting the same Server error -32601: Method not found error.

@snitko, are you running a Counterparty server? If not, then you shouldn't really be using the federated node system---it's unnecessarily complicated. Just use the counterparty-lib and counterparty-cli pip packages if you can. Beyond that, my advice is just to install pycoin globally (outside of the virtualenv).

@adamkrellenstein yes, I'm running a Counterparty server. As for pycoin, it's weird, but even globally, version 0.52 is installed. I checked /usr/local/lib/python3.4/dist-packages and the version installed there is definitely 0.52. As is the version installed inside /home/xcp/federatednode_build/env/lib/python3.4/site-packages

Ah, I miswrote!. I meant "Are you running a Counterwallet server?". If not, then you shouldn't be running a fed node.

Try deleting or moving the version installed in /usr/local/lib/python3.4/dist-packages
Fednode also builds for counterblock servers, and public counterparty servers. However, with the latter especially, it's not necessary anymore, as Adam noted.

@adamkrellenstein @robby-dermody I'm not sure. When I install counterparty by running run.py it gives me these options:
Enter the number for the role you want to build:
1: Counterwallet server
2: counterparty-server only
3: counterblock basic (no Counterwallet)
I choose 2. federatednode_build dir is still created, but I'm not even sure it's running. How do I check? Furthermore, regardless of whether it's running or not, are you sure this will fix the error? It looks like the error isn't about whether I'm running a federated node or not.
@robby-dermody I've deleted pycoin dirs from /usr/local/lib/python3.4/dist-packages. Server started ok, but I'm still getting the same Server error -32601: Method not found error.

@robby-dermody, @snitko, I would say abandon the build script entirely. Get rid of absolutely everything and just run pip install counterparty-server.

@adamkrellenstein @robby-dermody
I do apologize that maybe I'm doing something wrong, but here's the problem. Trying to install counterparty-server pip package, I get this:
$ sudo pip3 install --upgrade counterparty-server
Downloading/unpacking counterparty-server
  Could not find any downloads that satisfy the requirement counterparty-server
Cleaning up...
No distributions at all found for counterparty-server
Storing debug log for failure in /home/ubuntu/.pip/pip.log

Ok, maybe the package is called differently. After googling around, I thought it might actually be called counterparty-lib. Installed it (along with counterparty-cli). Trying to run the server with counterparty-server results in file not found error. I'm completely confused by now. Is there a straightforward guide I can follow to install counterparty with pip3 and make it all work?

There's no package counterparty-server. It's indeed just counterparty-cli and counterparty-lib. The docs for installing the CLI are here: https://github.com/CounterpartyXCP/Documentation/blob/master/CLI/counterparty-cli.md

Well, I've finally managed to install everything using pip3 (came across a number of bumps there too, for the reference for anyone who is going to read this: https://github.com/CounterpartyXCP/counterparty-cli/issues/23, https://github.com/CounterpartyXCP/counterpartyd/issues/711).
And still no luck. Same Server error -32601: Method not found. At this point, I don't even know what to think anymore.

There's a comment by @ouziel-slama above suggesting adding a catch exception clause into api.py to be able to see something in api.log. Unfortunately, the repo he gave the link to is no longer there. Although I've located api.py file that was installed with counterparty-lib package, I don't know where to insert that clause.  If that doesn't work, you can open a new issue, yeah.


Differentiate repeating parameter(AND) from single parameter with multiple values(OR)?

Do you want to request a feature, report a bug, or improve documentation?
A feature request, probably, not sure if this is a bug.
Currently, both  /Patient?language=FR&language=NL (logical AND ) and  /Patient?language=FR,NL (logical OR ) produce same content in args
{
    "base_version": "4_0_0",
    "language": "FR,NL"
}

The AND or OR info is lost.
Shouldn't the AND scenario content be as follows?
{
    "base_version": "4_0_0",
    "language":  [ "FR", "NL" ]
}

What OS are you using and what version of node.js and @asymmetrik/node-fhir-server-core are you running?
Docker base image: node:10-stretch
Node.js: v10.15.3
node-fhir-server-core: 1.4.0
Thanks!

Hi @navndn,
Yes this is one of the current limitations. We developed a tool we intended to release soon, its not in 2.0.0 because we didn't want to introduce too many breaking changes at once. We mentioned it in our 2.0.0 Migration Guide as something currently missing but definitely on the roadmap.
However, in 2.0.0, it passes the original request into your services, and express does expose them in that manner. So if you access the original req.query, you would see that language=FR&language=NL exposes {language: ['FR','NL']} and language=FR,NL exposes {language: 'FR,NL' }

That's Great! Migrating now.

Ok awesome, let us know if you have any hiccups.
NOTE There is already an update, 2.0.1, that fixed a pathing issue with the default favicon. When updating make sure to grab that one.


bug in clusterj result in foreign key violation

A bug in clusterj can result in foreign key violation when persisting a parent row and a child row in the same transaction: https://bugs.mysql.com/bug.php?id=76999
This can be resolved by calling flush after persisting the parent, but this impact performances.

this is a hopshadoop/hops-metadata-dal-impl-ndb issue, I moved the report there.


mwcmqs_domain  settings in config

There is several issues that dependent on each other

mwc713  doesn't export mwcmqs_domain into toml file  (but mwcmq_domain is exported). Also, there might the port as well.
mwc-qt-wallet should manipulate MQ/MQS domain name correctly, depend on current connection setting.

Chris, assigning to you for #1.  When you finish, please reassign to me for #2

Update from Chris:
Regarding the domain in the toml file....I changed it so that specifying the mwcmq_domain and mwcmqs_domain is not mandatory. If you don't specify it, the default will be used. For mwcmq that is mq.mwc.mw and for mwcmqs that is mqs.mwc.mw. I think that's the right way to do it. It won't hurt if you already specify them in your config files though.


[BUG?] Uncaught (in promise) SyntaxError: Unexpected end of input

So it seems this might be a fun little bug. Commenting out the last line of the macro will trigger the error.
In a macro for some reason I wanted to comment out the last line which should read as a plain //}
This will however comment out the closing })(); of the async function wrapping of the exec!
I think you might need to space it a bit.
(function anonymous(token,character,actor,scene,origin,effect
) {
(async()=>{console.log("Effect Macro args") //this is the 1st line of my macro.
/*main body of the macro*/
//if(foo===bar) {
/*...*/
//}})();
})

Just realised that I didn't try without other modules to check if this is a compatibility issue. I will do that in the morning.

Fixed in the pending v10 release.


Add CI for automatic deploy

I'm interested in learning Drone. I'd suggest trying it out for our CI/CD.
It can be used for a lot off different repository providers.


Get the list of available KBs and those which support insert from the API

Already supported by the server. You can choose the primary from those that support the insertion. See REST API specs for call details.

These bases list should be used not only in the task configuration, but also in the subject column selection, where only existing bases should be displayed.

UI: Moznost definovat si KB s custom jmenem, objevi se v task manageru, muzu vybrat libovolnou, stejne tak primary KB, subject column detection to vezme v potaz, dialogy reflektuji (class, disamb)

Implemented list of KBs retrieval from server, though not thoroughly tested so a fallback is in place.

@istvan-satmari Thanks for stepping in.
My issues with your implementation as of https://github.com/odalic/odalic-ui/commit/6a281c5196fd6f97a439cabed9d3612934154261 :

The primary base combobox is left blank when the configuration is opened. It should have all modifiable KBs listed instead and a default value set when none has been chosen yet, for example the first modifiable base returned by the API.
The list of available KBs should be read only and not affect the primary base combobox in any way. The selection of primary base should be done only in the primary base combo box.
The UI might report an error when there are no KBs, or no modifiable KBs to choose the primary base from.

Also:

The validation should prevent the configuration save when the primary base is not visibly chosen.

Done; not tested against server, though (the rest request should be OK, but no guarantees).


can it instead just search in mp3s?

can it instead just search in mp3s?

This project is no longer supported.


Failed to parse source map when compiling with new version of react-scripts

Hi, I was using your component in one of my projects and got to the following issue:
If I use an older version of react and react-scripts (and therefore an older version of webpack, too), everything is compiling fine.
But if i compile the app with webpack 5.68.0 (react 17.0.2, react-scripts 5.0.0) I am getting the following warning:

WARNING in ./node_modules/react-simple-tree-menu/dist/main.css (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./node_modules/react-simple-tree-menu/dist/main.css)
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'C:\Users...myPath...\node_modules\react-simple-tree-menu\src\sass\main.scss' file: Error: ENOENT: no such file or directory, open 'C:\Users...myPath...\node_modules\react-simple-tree-menu\src\sass\main.scss'

When setting "GENERATE_SOURCEMAP=false" in the .env file the warning disappears, but I think this is not the best solution. Also, downgrading all of my other dependencies is not an option. Do you know if there is another possibility to deal with this, or will there be a newer version of the component without this issue? I'm not sure whether the problem is in my application or in your component, and I don't know exactly what needs to be done to fix this, so I am not able to open a pull request on this topic myself.
Thank you! :)

Hi @alexandraschlueter @Alquemist, sorry for the late reply.
You can use the following path instead:
import 'react-simple-tree-menu/dist/main.css'


Error: Extended public key export cancelled by user

Hi,
Following the guide, I installed the bridge for Trezor T via deb file and cardano-hw-cli on my local node.
While trying to export its public keys with:
cardano-hw-cli address key-gen   --path 1852H/1815H/0H/2/0   --verification-key-file hw-stake.vkey   --hw-signing-file hw-stake.hwsfile
I get the following error even with the Trezor T unlocked:
Error: Extended public key export cancelled by user
I have tried on multiple ubuntu 20.04 installations without success. How can I export both hw-stake.vkey and hw-stake.hwsfile?
Thank you

Hi, what versions of the hw-cli and trezor model-t are you using?

Following Coincashew guide to secure pĺedge with HW
wget https://github.com/vacuumlabs/cardano-hw-cli/releases/download/v1.2.0/cardano-hw-cli_1.2.0-1.deb sudo dpkg --install ./cardano-hw-cli_1.2.0-1.deb
CoinCashew 18.14
Trezor T (bought 1 year ago on January)
Firmware: 2.4.3
Has PIN
Is unlocked while running commands
It is already staking to the pool, as the guide suggests.
Wallet works fine with Trezor Suite 21.2.2, just not by CLI.
I cannot execute this command to extract the keys:
cardano-hw-cli address key-gen \   --path 1852H/1815H/0H/2/0 \   --verification-key-file **hw-stake.vkey** \   --hw-signing-file **hw-stake.hwsfile**
Thank you

Please follow the guide on this repo, not on the Coincashew one 😄
https://github.com/gitmachtl/scripts/tree/master/cardano/mainnet#readme
Here are the steps to prepare the system for Model-T and HW-CLI, the version you use for HW-CLI is way too old. Current HW-CLI Version is 1.9.1 !
Here is the link to the section about HW-Wallets:
https://github.com/gitmachtl/scripts/tree/master/cardano/mainnet#how-to-prepare-your-system-before-using-a-hardware-wallet
HW-CLI (deb-package) 1.9.1:
https://github.com/vacuumlabs/cardano-hw-cli/releases/download/v1.9.1/cardano-hw-cli_1.9.1-1.deb

Is it working? Can we close the issue?

Hi @gitmachtl
Yes, it is now working just fine. Using Cardano HW CLI v1.9.1 I was able to export public keys from the Trezor T (.vkey and .hwsfile).
Thank you very much


Changing the principal of an identifying FK throws unhelpful exception

private class Order
{
    public int Id { get; set; }
}

private class OrderDetails
{
    [Key]
    public int OrderId { get; set; }

    public Order Order { get; set; }
}

var orderDetails = context.OrderDetails.First();
orderDetails.Order = context.Orders.First(o => o != orderDetails.Order);
context.SaveChanges();

Currently throws The property 'OrderId' on entity type 'OrderDetails' is part of a key and so cannot be modified or marked as modified.
This is confusing since the user didn't modify the property. We could detect the FK and suggest modifying the model or creating a new dependent entity.

Discussed in triage and concluded that this isn't a terrible message. If we see customers getting confused we may reconsider, but for the moment we won't spend time on this.

@rowanmiller: You are wrong, the message is confusing.

@MarcoLoetscher Can you suggest wording that would be more clear?

@ajcvickers: Why an exception is thrown in this example? I think that this example would work in EF6.x?

@MarcoLoetscher this is an identifying relationships - meaning the primary key is used as the foreign key. Because the scenario tries to change the foreign key, it requires the primary key to change, which is not supported. This restriction applied to EF6.x as well.


CORE-19020 idempotent flow engine logic

Migrate replay logic to the Flow pipeline. Revert changes to mediator not applicable anymore. Store hash of consumer input record to all records passed to processor.
https://github.com/corda/corda-api/pull/1462

build e2e

build e2e

build e2e

build e2e

build e2e

build e2e

build e2e


Fix wrong URL for matchPath

On this page: https://reacttraining.com/react-router/web/api/match
The matchPath link is pointing to withRouter.

Thanks!


Use uglifyjs-webpack-plugin ES6 support

https://github.com/webpack-contrib/uglifyjs-webpack-plugin
add and fix in webpack production build

"uglifyjs-webpack-plugin": "1.0.1",
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
    new UglifyJSPlugin({
        parallel: {
            cache: true,
            workers: 2
        }
    }),

also has problems with the Angular 5 prod build


feat: improve ccache documentation with config

Description

Default ccache size is 5GB but as users keep rebuilding different things, it can go up to 40GB in size.
So I set 60GB limit for the ccache config file and made sure it is in the correct place. (Ubuntu 22.04 default is in .cache/ccache)
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The Reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

The documentation page looks really good: https://autowarefoundation.github.io/autoware-documentation/pr-519/how-to-guides/others/advanced-usage-of-colcon/
I hope you like it too. Ready for review!


Sonus.pause(sonus) and Sonus.resume(sonus)

I've read previous issues but haven't been able to get anything clear.When I try to pause or resume sonus with Sonus.pause(sonus). I get this error.

Sonus.pause = () => record.pause()
^
TypeError: record.pause is not a function

I've tried too stoping it and restarting it but then I get the

throw er; // Unhandled 'error' event
^
Error: write after end

That I saw some people get too.
Anybody was able to get any workaround to pause sonus and resume it?

Just took a quick look at this, looks like this is a bug that was introduced in the most recent version. I'll take a stab at fixing it this weekend and publishing a fix. Thanks for reporting this!

(node:3503) UnhandledPromiseRejectionWarning: TypeError: record.pause is not a function
    at Writable.sonus.pause (/home/ztik/nodejs/sara/node_modules/sonus/index.js:141:12)

Seems like it is still ongoing (for me at least)...
A solution/workaround would be appreciated, but personally I am not in any hurry ;)

Oof, this fell off my radar, sorry! Will attempt to fix asap.

No need to apologize, instead I should say thanks for this wonderful module.
It is a core function of my app, without it I'd have no app at all ;)
(I also included a link to Sonos in the credits of my app)

Immediate solution is to comment out https://github.com/evancohen/sonus/blob/master/index.js#L140-L146 in your node_modules folder. It seems that at some point pause and resume was removed from the underlying audio library.
They just pushed a new version of that library that supports this functionality, so I'm going to go ahead and update everything to use that instead.

So I have a working version with the new recording library, but it didn't match well with the current implementation. I'm not thrilled with the results. I'm going to do a refactor, but I've pushed the changes as-is to the pause-resume branch and published a release candidate on npm<EMAIL_ADDRESS>To use this version just
npm install sonus@next

I have just ran npm uninstall sonus' and npm install sonus@next`.
package.json seems to confirm this:
  "dependencies": {
    "sonus": "^1.0.4-rc1",

However, I am still receiving the same error as before:
(node:3436) UnhandledPromiseRejectionWarning: TypeError: record.pause is not a function
    at Object.Sonus.pause (/home/ztik/nodejs/sara/node_modules/sonus/index.js:204:28)
    at Object.pause (/home/ztik/nodejs/sara/hearing.js:63:11)

Is it possible that some dependency requires separate updating?
(I'm new to javascript/nodejs, so it is quite possible that I'm wrong/misunderstanding)

Any update on this?
It seems that the "node-record-lpcm16" version used by Sonus ("^0.3.1") doesn't support Pause/Resume until version "1.0.0". Attempted to rectify the issue by using "npm install sonus@next" but was unsuccessful.

I won't be able to look at this until over the holidays, but hopefully I can figure something out on vacation next week.

I gave it a go and managed to have "some" success. I tested it on a Raspberry Pi and it seemed to be working.
https://github.com/ncpleslie/sonus

Hi !
I'm trying to use .pause() and .resume() but I got this error: INVALID_INDEX.

I've created a socket.io mechanism to talk the background sonus process to allow it to reliquish the microphone.
also added mechanism to use the existing plugins the get audio back from secondary recording
for alex and google assistant, think of the multi-turn dialog for creating a calendar entry


Create SECURITY.md

I’m still very very new at this, so if anyone wants to comment or email me to help me learn, that would be much appreciated.
Thanks.

Thank you. This works.


[Feature Request]: Cognitive Computations

Feature Name
Cognitive Computations
Feature Description
Overview of Cognitive Computations
Cognitive Computations is a community-driven group founded by Eric Hartford, focusing on the development and fine-tuning of AI models. The group is known for its innovative work in supervised fine-tuning, dynamic programming optimization (DPO), and unalignment.
Key Features
Diverse AI Models

Variety of Models: Includes models such as Dolphin and Samantha, designed for text generation and advanced AI tasks.

Community Engagement

Collaborative Approach: Emphasizes democratizing AI and fostering a supportive community for collaboration and knowledge sharing.

Cutting-Edge Research

Innovative Work: Involved in exploring new methodologies and improving existing models in the AI field.

Open Source

Accessibility: Many models and datasets are available on platforms like Hugging Face, enabling developers to access and contribute to their work.

Benefits

Collaborative Environment: Encourages collaboration and knowledge sharing, leading to faster advancements in AI research.
Access to Advanced Models: Provides valuable resources for developers and researchers through open-source models and datasets.
Focus on Democratization: Ensures advanced AI technologies are accessible to a broader audience.

Uses

Text Generation: Models like Dolphin are used for generating high-quality text, applicable in content creation, customer support, and more.
Research and Development: Enables researchers to experiment with new AI techniques and improve existing ones using provided models and datasets.
Community Projects: Allows collaboration on various AI projects, from small experiments to large research initiatives.

Other Features

Active Community: Engages with members on platforms like Discord for discussions, progress sharing, and support.
Educational Resources: Offers tutorials and resources to help members learn about AI and enhance their skills.

Conclusion
Cognitive Computations is a dynamic community dedicated to advancing AI research and making technologies accessible to everyone. Through diverse models, an open-source approach, and a collaborative environment, they provide valuable resources and support for developers and researchers.
Additional Resources

Eric Hartford's Website
Hugging Face - Cognitive Computations
GitHub - Cognitive Computations

Priority
High

Is this the maker of Dolphin? where can we find a host that is hosting dolphin?


Comment parsing failure.

This is really strange. Since v3, Docblock comment parsing fails and non-docblock comment parsing succeeds!
This.fails(
  /**
   */
  ~w=x,
  ~h=y,
  "hi",
  "bye"
)

This.succeeds(
  /*
   */
  ~w=x,
  ~h=y,
  "hi",
  "bye"
)

Cc @let-def - what changed with how we parse docblock comments?

docblock are parsed like attributes, it is really just sugar for<EMAIL_ADDRESS>"bla"], so they can only appear in attribute position.

I can't believe I missed that you landed that! Awesome! Best bug ever.


Review evidence source parsers to check the need for potential changes in order to include unmapped evidence

We asked our providers to include all disease/target evidence regardless if the disease term could not be mapped to EFO ontology. This practice should be expanded to our in-house maintained data sources as well. The scope of this ticket is to review all the  parsers and schedule the updates if required.

Parsers:

[ ] CRISPR.py
[ ] EPMC.py
[ ] GeneticsPortal.py
[ ] IntOGen.py
[ ] PROGENY.py
[ ] SLAPEnrich.py
[ ] SystemsBiology_old.py
[ ] ClinGen.py
[ ] Gene2Phenotype.py
[ ] GenomicsEnglandPanelApp.py
[ ] MouseModels.py
[ ] PheWAS.py
[ ] SystemsBiology.py
[ ] UKBiobank.py

Both Gene2Phenotype and Clingen parsers now have a function to write to a file those disease labels that could not be mapped during the process.
Given that all evidence will be processed in the ETL and that these cases will be tagged as invalid evidence due to unresolved disease, it looks like we can drop this extra logic and do the analysis later on as part of the work covered in #1553.
Any concerns?

Status:

[x] PanelApp:

[x] Number of evidence: 18019, evidence without disease mapping: 742
[x] Upload to bucket.

[x] ClinGen:

[x] Number of evidence: 1328, evidence without disease mapping: 17.
[x] Upload to bucket.

[x] IntOGen.py:

[x] Number of evidence: 3333, evidence without disease mapping: 158.
[x] Upload to bucket.

[x] PROGENY.py:

[x] Number of evidence: 406, evidence without disease mapping: 158.
[x] Upload to bucket.

[x] SLAPEnrich.py:

[x] Number of evidence: 74632, evidence without disease mapping: 0.
[x] Upload to bucket.

[x] Gene2Phenotype.py:

[x] Number of evidence: 3804, evidence without disease mapping: 1190.
[x] Upload to bucket.

[x] PheWAS.py:

[x] Number of evidence: 189971, evidence without disease mapping: 0.
[x] Upload to bucket.

[x] Crisr.py:

[x] Number of evidence: 1845, evidence without disease mapping: 0.
[x] Upload to bucket.

[x] SystemsBiology.py: not updated as no mapping happens. However it has many things to update in the future.

Further fixes were needed:
SLAPEnrich:

[ ] Instead of a right join, a left join was needed. This bug introduced 49 invalid evidence. It is due to the fact that the cancer2EFO_mappings.tsv has more cancer cell lines than the slapenrich_opentargets-21-12-2017.tsv input file. This issue is now fixed, in the 21.06 release won't introduce bad data.


Cast OneHotEncoder created columns to bool

Casting OHE created columns to bool dtype before initializing through woodwork will help save time during transformation

@ParthivNaresh LGTM


Referencing/bibliography

I see you have --filter pandoc-citeproc in the Makefile. But the example ms and README provide no examples of integrating external references.
PS Thanks for this. I've been meaning to move drafting to markdown, and it looks like a great setup.
(Edited)

You just need to uncomment the bibliography (and csl) lines in the yaml header and it will work -- using the standard @key syntax.
Glad you find it useful!

Thanks! I see 276e3bc42 adds an example


feat(layout): add tuiSlot action to be able to template any element into the action container of BlockStatus

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Refactoring
[ ] Build or CI related changes
[ ] Tests related changes
[ ] Documentation content changes

What is the current behavior?
Only a and button elements are currently templated into the action container.
What is the new behavior?
Elements with the directive tuiSlot='action' are also templated into the action container.

Hi @waterplea, thanks for bringing this to my attention. I'll take a look later.


Proposed fix for issue #83: do not use linuxkit on Docker for Windows.

I don't have Windows installation to test it myself, but let's hope it'll work...


callCabal2nix to use lightweight cabal2nix?

I'm not completely sure, but apparently callCabal2nix executes "full" version of cabal2nix which depends on git, mercurial, python, etc. This is not necessary because we run it on a local package.
Perhaps, we could save some time and storage, and avoid unrelated build failures, if a bare version of cabal2nix were used?

This has been done in #81125!


[feature] Remember more than 4 hosts

Caution We don't have any way to recover BLE fw yet, this might brick it?
BleOp::ConnectHost/SaveHost/DeleteHost accepts a byte argument, but how well do values beyond 0-3 work?

Why can't we recover the BLE firmware?

from what I heard in #dev-chat: when @ah- tried dumping the BLE fw via serial, there was rust strings in the output, so nobody trusted that the ouput was correct.

And related: We do get info back via AckHostListQuery, which is three bytes. The last is a bool if it's legacy or ble, and I think the first byte is a set of bits if there's a host saved, and the second byte is whether it's connected to any of those hosts. Haven't looked in detail though.
Some examples:
[15 1 0] -> L0
[15 12 1] -> L1
[15, 0, 1] -> L1, not connected
[15 0 0] -> L0, not connected
after deleting all saved hosts: [8, 0, 0]
(i think the first number is 8, 9, 11, 15, depending on how many hosts are saved)

with https://github.com/ah-/anne-key/compare/9b1a92bda0...c44cf25b2e
we can say that the protocol only supports 4 hosts.

Maybe? All that is just based on the same guessing :)
Haven't tried what happens if you add a 5th host, currently busy with other parts.


Give current scroll location context to Copilot Chat

If I scrolled to the middle of a file, and asked the chat "make this code more efficient" - I expected it to make the code currently visible more efficient, but it just started at the top of the file.
Providing the chat window, the code in the current window, or the scroll position within the file, should provide helpful context

Should note I'm in a jupyter notebook environment

I'd like to echo this by saying that in general it's unclear to me what copilot chat is "looking at" when I'm talking to it.
Is it able to see errors thrown in my command line interface? Is it looking at the part of a script that I'm focused on? Can it see how different files are arranged in the directory that I have open?
I guess my assumption would be that it can see everything that I can see. And then of course the cherry on top would be for it to have the context of everything in the entire project available either within the context window or retrieval via retrieval augmented generation.
Anyway, it's unclear to me what additional context it even has when I submit a chat message, which makes me hesitant to use it because I'm not sure if I should be highlighting something or copying-and-pasting text, and it would be really nice to be able to know.

This is improved a bit since the issue was filed, but will be a focus in January as well
https://github.com/microsoft/vscode-copilot-release/issues/675


Cannot define consecutive slurs

The parser recognize the consecutive slurs such as
(1 2 (3) 4 5)

as an error now.

Discussion
Because nested slurs are not allowed, the following two combinations are viable to represent as consecutive slurs
(1 2 (3 4 5)

or
(1 2 3) 4 5)

But musje will treat them as errors, and will do, too.


Replicate AutoForm 'submitThenKeyup' validation

Trying to achieve something similar to AutoForm's custom validation behaviors ("submitThenKeyup" or "submitThenBlur") is very difficult at the moment due to the static nature of the validation events defined on form elements. We are able to work-around this by manually triggering custom events, but it's definitely not ideal.
A few additions in core would allow for much more flexibility in this regard:

The ability to validate elements on submit. This is a difficult problem at the moment since the form 'submit' event isn't passed down to child elements and using an event handler on the form itself runs after the form "action".

A second options when creating elements, to specify validation events for after the form has been submitted (or an equivalent option)

Adding support for the first option should be simple enough. I am confused by the second option. Could you provide me with an example scenario?

The goal is to replicate something like "submitThenKeyup" so for the second option you could do something like this:
ReactiveForms.createElement({
    template: 'foo',
    validationEvent: "submit",
    submittedValidationEvent: "keyup"
});

This isn't necessarily the cleanest solution, and I think that ideally the validation should be done solely on form blocks. But with the current architecture, it definitely works.
The other alternative would be to just provide the "submitThenKeyup" or "submitThenBlur" behavior out-of-the-box, but that would obviously be less flexible (though not sure about the practical benefits)

The built-in functionality for submission behavior is very basic, and I always intended to put more effort into it and open it up for customization at some point.
Check it out here:
https://github.com/meteortemplates/forms/blob/master/src/module.js#L1401-L1424
As you can see, you could stop these events from being added to the form block if you specified submitType: '' in the config. Then you could add your own event handlers directly to the form block template like you would any Meteor template.
Where you see t[MODULE_NAMESPACE].submit(); the t[MODULE_NAMESPACE] is how we access any of the methods that were added to the template by the package. You would need to use t[ReactiveForms.namespace].submit(); to get the proper namespace outside the scope of that file.
As for triggering form-wide validation in a custom way (this won't pull the values from the DOM, but it will validate whatever has been already collected) this can be done with the form block's validate method:
https://github.com/meteortemplates/forms/blob/master/src/module.js#L299-L314
You should be able to call this from any event handler on the form block template using t[ReactiveForms.namespace].validate();.
Preventing elements from validating after their data is collected into the form data context is a very simple update. We just have to put some logic around this:
https://github.com/meteortemplates/forms/blob/master/src/module.js#L909
In general, if you look through the source code in that file, you should be able to figure out how things work pretty easily as it is well commented.
So far, I can see that I need to add two options:

Allow to avoid validating when elements are rendered
Allow to avoid validating elements after data is collected using validationValue (and probably change the name of this method)

If you want to extend the submit options to do anything fancy, I would encourage you to work up a PR.

That is exactly what I was looking for with the form block events, it looks like most of what I am suggesting can easily be accomplished by getting rid of the submitType and defining these myself.
A couple questions still remain for me: is it possible to detect if the element has been submitted from within validationValue? Is there any reason why form blocks do not automatically run validation before submission at the moment, and if not would you be willing to add this in core?
Thanks for your help here.

I feel this this issue has fragmented, all I am really missing at the moment is the validation before submission. Closing in favor of #94.


extend blueprint API

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
@havardpe @geirst @toregge for consideration - does this look reasonable?
Note: we cannot re-use TrueSearch, it is only for unit tests.

Also; a big question is whether we could get rid of the strict parameter to the createFilterSearch function...

EmptySearch does indeed do "setAtEnd" in initRange, I did not change that.
Please take another look now...

EmptySearch does indeed do "setAtEnd" in initRange, I did not change that.
Please take another look now...

I am blind :-p


Fluid storage block going into negative capacity causing FPS lag

Issue description:
Fluid storage block going into negative capacity when filled then drained with water.
What happens:
If reprioritizing water from fluid storage block to fluid disk storage, it drains the fluid storage block and keeps draining into negative capacity. Was causing bad fps lag and found the source was the fluid storage block showing that it was filled negatively with water.
What you expected to happen:
When drained, fluid storage block should have a capacity of 0 and stop.
Steps to reproduce:
1.Add fluid storage block to network and fill with water completely
2.Add fluid storage disk larger than fluid storage block
3.reprioritize water to disk, and drain the block
...
Only caused this to happen once, and did not want to try to reproduce again
Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge:
Refined Storage:
Version included with Direwolf20 1.10 pack 1.3.1

Does this issue occur on a server? [yes/no]
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]

Nope, gimme your RS version or I'll close. I don't want pack versions.

1.2.14

How did you drain the fluid block?

I placed a fluid disk that was larger into my disk drive also on the same network as the fluid block, and set the priority for water higher there

I placed a fluid disk that was larger into my disk drive also on the same network as the fluid block, and set the priority for water higher there

That doesn't drain a fluid block... Can you be more clear in your steps to reproduce because I can't reproduce this.

I just went into a creative world and tried to recreate as well, couldn't get it to happen again either, so maybe something changed within my mod pack.  Something odd did happen in the past though as I still have the oddly behaving fluid block:

when it happened, I was able to fill it up again with water and as it shows it has just over 95 buckets and is 149% full.
Since I can't get it to happen again, it may be best to just close


Don't install test executables

They don't seem very useful, and pull in a dependency on Lwt.
@avsm were these installed for a reason?

only because i used them for a while as a cp/cat replacement as they were so fast ;-)


fix: add shivam-jha2712

resolve #1412

resolves #1412
Checklist for profile addition

[x] Name the PR fix: add shivam-jha2712.
[x] You've added file named shivam-jha2712.json in the profiles directory.
[x] You've linked the PR to the correct issue.

Other additions/changes

[x] Changes made in this PR are mentioned below
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.
[x] I've read the contributing guidelines

This PR adds/fixes

Notes

Looks good to me!

Could you please merge it then


Checkpoint destination

Created the frontend for a warning message that displays when a story is connected to from another story
Delete story button (trash icon) is disabled when the story has been connected to from another story

@kenrilea can you see if codeclimate issues can be addressed? (https://codeclimate.com/github/botfront/botfront/pull/227)


Fix Parquet reader for null list

Which issue does this PR close?

Closes #1399.
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Thanks for taking this on @viirya -- I'm following along with interest :)

Codecov Report

Merging #1448 (acd8d47) into master (717216f) will increase coverage by 0.04%.
The diff coverage is 82.75%.

@@            Coverage Diff             @@
##           master    #1448      +/-   ##
==========================================
+ Coverage   82.67%   82.72%   +0.04%
==========================================
  Files         185      187       +2
  Lines       53866    54186     +320
==========================================
+ Hits        44535    44824     +289
- Misses       9331     9362      +31

Impacted Files
Coverage Δ

parquet/src/arrow/array_reader.rs
78.72% <64.28%> (+0.45%)
:arrow_up:

parquet/src/arrow/arrow_reader.rs
93.79% <100.00%> (+0.22%)
:arrow_up:

arrow/src/array/data.rs
82.95% <0.00%> (-0.21%)
:arrow_down:

arrow/src/array/array_list.rs
95.52% <0.00%> (ø)

integration-testing/src/lib.rs
0.00% <0.00%> (ø)

arrow/src/compute/kernels/window.rs
100.00% <0.00%> (ø)

parquet_derive/src/parquet_field.rs
65.98% <0.00%> (ø)

arrow/src/array/transform/union.rs
75.00% <0.00%> (ø)

arrow/src/array/transform/fixed_size_list.rs
73.68% <0.00%> (ø)

arrow/src/array/transform/mod.rs
86.46% <0.00%> (+0.03%)
:arrow_up:

... and 6 more

Continue to review full report at Codecov.

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


Cannot run demo

After installing in a fresh environment, python -m textual_markdown demo.md fails with:
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual_markdown/__main__.py", line 9, in <module>
    app.run()
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/app.py", line 864, in run
    asyncio.run(run_app())
  File "/home/david/mambaforge/envs/foo/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/home/david/mambaforge/envs/foo/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/david/mambaforge/envs/foo/lib/python3.11/asyncio/base_events.py", line 650, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/app.py", line 856, in run_app
    await self.run_async(
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/app.py", line 831, in run_async
    await app._shutdown()
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/app.py", line 1634, in _shutdown
    await self._close_all()
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/app.py", line 1614, in _close_all
    await self._prune_node(screen)
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/app.py", line 2037, in _prune_node
    await asyncio.gather(*close_messages)
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/message_pump.py", line 301, in _close_messages
    await self._task
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/message_pump.py", line 311, in _process_messages
    await self._pre_process()
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/message_pump.py", line 327, in _pre_process
    await self._dispatch_message(events.Compose(sender=self))
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/message_pump.py", line 403, in _dispatch_message
    await self.on_event(message)
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/message_pump.py", line 431, in on_event
    await self._on_message(event)
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/message_pump.py", line 452, in _on_message
    await invoke(method, message)
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/_callback.py", line 28, in invoke
    result = await result
             ^^^^^^^^^^^^
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/widget.py", line 2329, in _on_compose
    await self.mount(*widgets)
          ^^^^^^^^^^^^^^^^^^^^
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/widget.py", line 599, in mount
    self.app._register(
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/app.py", line 1565, in _register
    apply_stylesheet(widget)
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/css/stylesheet.py", line 378, in apply
    rules = reversed(self.rules)
                     ^^^^^^^^^^
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/css/stylesheet.py", line 149, in rules
    self.parse()
  File "/home/david/mambaforge/envs/foo/lib/python3.11/site-packages/textual/css/stylesheet.py", line 313, in parse
    raise StylesheetParseError(error_renderable)
textual.css.stylesheet.StylesheetParseError: <textual.css.stylesheet.StylesheetErrors object at 0x7f5a55c7f610>

Ah, it needs a Textual updated.
Hold off for now.

Ok, try updating now...

It works, thanks!


[Change Request] Codeunit 5763 "Whse.-Post Shipment" – Procedure  “CreateWhseJnlLine”

Could we please have the existing procedure “CreateWhseJnlLine”, Codeunit 5763 "Whse.-Post Shipment” be set to global?

*** start old code ***
    //   local procedure CreateWhseJnlLine(var WhseJnlLine: Record "Warehouse Journal Line"; PostedWhseShptLine: Record "Posted Whse. Shipment Line")
*** stop old code ***
*** start new code ***
    procedure CreateWhseJnlLine(var WhseJnlLine: Record "Warehouse Journal Line"; PostedWhseShptLine: Record "Posted Whse. Shipment Line")
*** stop new code ***
    var
        SourceCodeSetup: Record "Source Code Setup";
    begin
        with PostedWhseShptLine do begin

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Sliders have no label

On the "new text" page there are sliders, but no labels that explain what these sliders are for:

just merge the PR of signalwerk: https://github.com/blinkenrocket/webedit-react/pull/15
tried it local, looks like this:

@klues thx for the doc of the PR 🤘


Error: data.oci_core_images.workers.images is empty list of object

HelIo.
I have a problem in the script execution stage:
terraform init
terraform apply
....
yes

And last logs in terminal like this:
module.compute.oci_network_load_balancer_listener.leader_ssh: Creating...
module.k8s.oci_network_load_balancer_backend_set.control_plane_api: Still creating... [40s elapsed]
module.compute.oci_network_load_balancer_listener.leader_ssh: Still creating... [11s elapsed]
module.k8s.oci_network_load_balancer_backend_set.control_plane_api: Still creating... [50s elapsed]
module.compute.oci_network_load_balancer_listener.leader_ssh: Still creating... [21s elapsed]
module.k8s.oci_network_load_balancer_backend_set.control_plane_api: Still creating... [1m0s elapsed]
module.compute.oci_network_load_balancer_listener.leader_ssh: Creation complete after 27s [id=networkLoadBalancers/ocid1.networkloadbalancer.oc1.eu-amsterdam-1.amaaaaaaqXXXXXXXXXXXXX......XXXXXXXXXXX6q/listeners/leader_ssh]
module.k8s.oci_network_load_balancer_backend_set.control_plane_api: Still creating... [1m10s elapsed]
module.k8s.oci_network_load_balancer_backend_set.control_plane_api: Still creating... [1m20s elapsed]
module.k8s.oci_network_load_balancer_backend_set.control_plane_api: Still creating... [1m30s elapsed]
module.k8s.oci_network_load_balancer_backend_set.control_plane_api: Still creating... [1m40s elapsed]
module.k8s.oci_network_load_balancer_backend_set.control_plane_api: Still creating... [1m50s elapsed]
module.k8s.oci_network_load_balancer_backend_set.control_plane_api: Creation complete after 1m55s [id=networkLoadBalancers/ocid1.networkloadbalancer.oc1.eu-amsterdam-1.amaaaaaaqXXXXXXXXXXXXX......XXXXXXXXXXX6q/backendSets/control_plane_api]
module.k8s.oci_network_load_balancer_listener.control_plane_api: Creating...
module.k8s.oci_network_load_balancer_listener.control_plane_api: Creation complete after 8s [id=networkLoadBalancers/ocid1.networkloadbalancer.oc1.eu-amsterdam-1.amaaaaaaqXXXXXXXXXXXXX......XXXXXXXXXXX6q/listeners/control_plane_api]
╷
│ Error: Invalid index
│
│   on compute\leader.tf line 27, in resource "oci_core_instance" "leader":
│   27:     source_id   = data.oci_core_images.leader.images[0].id
│     ├────────────────
│     │ data.oci_core_images.leader.images is empty list of object
│
│ The given key does not identify an element in this collection value: the collection has no elements.
╵
╷
│ Error: Invalid index
│
│   on compute\workers.tf line 20, in resource "oci_core_instance" "worker":
│   20:     source_id   = data.oci_core_images.workers.images[0].id
│     ├────────────────
│     │ data.oci_core_images.workers.images is empty list of object
│
│ The given key does not identify an element in this collection value: the collection has no elements.
╵
╷
│ Error: Invalid index
│
│   on compute\workers.tf line 20, in resource "oci_core_instance" "worker":
│   20:     source_id   = data.oci_core_images.workers.images[0].id
│     ├────────────────
│     │ data.oci_core_images.workers.images is empty list of object
│
│ The given key does not identify an element in this collection value: the collection has no elements.
╵
╷
│ Error: Invalid index
│
│   on compute\workers.tf line 20, in resource "oci_core_instance" "worker":
│   20:     source_id   = data.oci_core_images.workers.images[0].id
│     ├────────────────
│     │ data.oci_core_images.workers.images is empty list of object
│
│ The given key does not identify an element in this collection value: the collection has no elements.
╵

Do you have any ideas, about what is wrong?

Oh, did Oracle change a list of available images? Let me check that. As far as I remember, there was a list of available images somewhere in the docs

Yep, it seems so.
@Steklorez could you please try replacing the images both for leader and workers in main.tf to Canonical-Ubuntu-20.04-aarch64-2022.03.02-0?
(I am sorry, I can't check it in my installation right now)

No problem, I will try some later.

Replaced:
  workers = {
    count = 3
    shape = "VM.Standard.A1.Flex"
    image = "Canonical-Ubuntu-20.04-aarch64-2022.03.02-0"
........

  leader = {
    shape = "VM.Standard.A1.Flex"
    image = "Canonical-Ubuntu-20.04-aarch64-2022.03.02-0"

But new exception:
Enter a value: yes
module.compute.oci_core_instance.leader: Creating...
module.compute.oci_core_instance.worker[2]: Creating...
module.compute.oci_core_instance.worker[1]: Creating...
module.compute.oci_core_instance.worker[0]: Creating...

╷
│ Error: 400-InvalidParameter
│ Provider version: 4.59.0, released on 2022-01-12. This provider is 13 version(s) old.
│ Service: Core Instance
│ Error Message: Invalid ssh public key type "2048"
│ OPC request ID: fa2933e15bc64c2xxxxxxxxxxxxxx17/9B982D16E7344C3C3D4BE8FF7F7E9DDB/C504D3xxxxxxxxxxxxxxxxCACA
│ Suggestion: Please Update the parameter(s) in the Terraform config as per error message Invalid ssh public key type "2048"
│
│
│   with module.compute.oci_core_instance.leader,
│   on compute\leader.tf line 14, in resource "oci_core_instance" "leader":
│   14: resource "oci_core_instance" "leader" {
│
╵
╷
│ Error: 400-InvalidParameter
│ Provider version: 4.59.0, released on 2022-01-12. This provider is 13 version(s) old.
│ Service: Core Instance
│ Error Message: Invalid ssh public key type "2048"
│ OPC request ID: f7e0c60c3fxxxxxxxxxxx345c/1AFEC7A0768B095F5FEF06xxxxxxxxxxxxxxxxxxxxxEE929B39A
│ Suggestion: Please Update the parameter(s) in the Terraform config as per error message Invalid ssh public key type "2048"
│
│
│   with module.compute.oci_core_instance.worker[2],
│   on compute\workers.tf line 6, in resource "oci_core_instance" "worker":
│    6: resource "oci_core_instance" "worker" {
│
╵
╷
│ Error: 400-InvalidParameter
│ Provider version: 4.59.0, released on 2022-01-12. This provider is 13 version(s) old.
│ Service: Core Instance
│ Error Message: Invalid ssh public key type "2048"
│ OPC request ID: 38642fe0xxxxxxxxxxxx82c5859/DDxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx643B89BE97C4E8
│ Suggestion: Please Update the parameter(s) in the Terraform config as per error message Invalid ssh public key type "2048"
│
│
│   with module.compute.oci_core_instance.worker[1],
│   on compute\workers.tf line 6, in resource "oci_core_instance" "worker":
│    6: resource "oci_core_instance" "worker" {
│
╵
╷
│ Error: 400-InvalidParameter
│ Provider version: 4.59.0, released on 2022-01-12. This provider is 13 version(s) old.
│ Service: Core Instance
│ Error Message: Invalid ssh public key type "2048"
│ OPC request ID: ce61463cxxxxxxxxxxxxxxxxa74c13c/0376963xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx7FD7
│ Suggestion: Please Update the parameter(s) in the Terraform config as per error message Invalid ssh public key type "2048"
│
│
│   with module.compute.oci_core_instance.worker[0],
│   on compute\workers.tf line 6, in resource "oci_core_instance" "worker":
│    6: resource "oci_core_instance" "worker" {

I think I need to read your readme. - ### Terraform Version and Provider Version
And I try to resolve this new problem self.

Thank you @Steklorez!
My guess would be for something wrong being with ssh keys. Could you please try to check whether it was generated correctly, and whether it is specified in variables.auto.tfvars correctly as well?
As the last resort, probably you may try to regenerate your ssh keys.
Please get back if you have any questions or when you manage to deal with the issue! That'd be really interesting to know what it was about

I generated rsa ssh keys in PUTTY.
I try to generate it by 'dzen mode' from instruction )

Regenerated by OpenSSH.
It's working, but ....
500-InternalError, Out of host capacity.
`
module.compute.oci_core_instance.worker[0]: Creating...
module.compute.oci_core_instance.leader: Creating...
module.compute.oci_core_instance.worker[1]: Creating...
module.compute.oci_core_instance.worker[2]: Creating...
╷
│ Error: 500-InternalError
│ Provider version: 4.59.0, released on 2022-01-12. This provider is 13 version(s) old.
│ Service: Core Instance
│ Error Message: Out of host capacity.
│ OPC request ID: decd3d13xxxxxxxxxxxxxxxxxxxxxxxC2205B3E992A87
│ Suggestion: The service for this resource encountered an error. Please contact support for help with service: Core Instance
│
│
│   with module.compute.oci_core_instance.leader,
│   on compute\leader.tf line 14, in resource "oci_core_instance" "leader":
│   14: resource "oci_core_instance" "leader" {

│ Error: 500-InternalError
│ Provider version: 4.59.0, released on 2022-01-12. This provider is 13 version(s) old.
│ Service: Core Instance
│ Error Message: Out of host capacity.
│ OPC request ID: 8b42139e12xxxxxxxxxxxxxA8397009B6EADE45A7B
│ Suggestion: The service for this resource encountered an error. Please contact support for help with service: Core Instance
│
│
│   with module.compute.oci_core_instance.worker[1],
│   on compute\workers.tf line 6, in resource "oci_core_instance" "worker":
│    6: resource "oci_core_instance" "worker" {
`

Oh, sorry for that 😞
Unfortunately, that's a known issues, and we can just wait until Oracle makes more VMs available. It may take a couple days or a week, but as I observed it, the capacity will eventually be added with no doubt.
That's great that other issues got resolved! Please get back if there are any other issues concerning the deployment script