tests: Option to split large test files

We have pretty large test files that tend to get bigger rather than smaller:
❯ wc -l tests/by-util/*.rs
     19 tests/by-util/test_arch.rs
    125 tests/by-util/test_base32.rs
    112 tests/by-util/test_base64.rs
    199 tests/by-util/test_basename.rs
     16 tests/by-util/test_basenc.rs
    532 tests/by-util/test_cat.rs
    469 tests/by-util/test_chcon.rs
    359 tests/by-util/test_chgrp.rs
    581 tests/by-util/test_chmod.rs
    714 tests/by-util/test_chown.rs
    183 tests/by-util/test_chroot.rs
    116 tests/by-util/test_cksum.rs
    183 tests/by-util/test_comm.rs
   2079 tests/by-util/test_cp.rs
   1340 tests/by-util/test_csplit.rs
    204 tests/by-util/test_cut.rs
    222 tests/by-util/test_date.rs
   1297 tests/by-util/test_dd.rs
    862 tests/by-util/test_df.rs
    182 tests/by-util/test_dircolors.rs
     52 tests/by-util/test_dirname.rs
     53 tests/by-util/test_dir.rs
    821 tests/by-util/test_du.rs
    234 tests/by-util/test_echo.rs
    244 tests/by-util/test_env.rs
    300 tests/by-util/test_expand.rs
    148 tests/by-util/test_expr.rs
   1171 tests/by-util/test_factor.rs
     53 tests/by-util/test_false.rs
     53 tests/by-util/test_fmt.rs
    550 tests/by-util/test_fold.rs
     63 tests/by-util/test_groups.rs
    123 tests/by-util/test_hashsum.rs
    367 tests/by-util/test_head.rs
      9 tests/by-util/test_hostid.rs
     35 tests/by-util/test_hostname.rs
    458 tests/by-util/test_id.rs
   1262 tests/by-util/test_install.rs
    492 tests/by-util/test_join.rs
    169 tests/by-util/test_kill.rs
     69 tests/by-util/test_link.rs
    721 tests/by-util/test_ln.rs
     26 tests/by-util/test_logname.rs
   3301 tests/by-util/test_ls.rs
    187 tests/by-util/test_mkdir.rs
     50 tests/by-util/test_mkfifo.rs
    127 tests/by-util/test_mknod.rs
    827 tests/by-util/test_mktemp.rs
     24 tests/by-util/test_more.rs
    899 tests/by-util/test_mv.rs
     65 tests/by-util/test_nice.rs
     73 tests/by-util/test_nl.rs
     29 tests/by-util/test_nohup.rs
    173 tests/by-util/test_nproc.rs
    938 tests/by-util/test_numfmt.rs
    879 tests/by-util/test_od.rs
    175 tests/by-util/test_paste.rs
    161 tests/by-util/test_pathchk.rs
    116 tests/by-util/test_pinky.rs
     30 tests/by-util/test_printenv.rs
    532 tests/by-util/test_printf.rs
    481 tests/by-util/test_pr.rs
    110 tests/by-util/test_ptx.rs
    137 tests/by-util/test_pwd.rs
    379 tests/by-util/test_readlink.rs
    455 tests/by-util/test_realpath.rs
    178 tests/by-util/test_relpath.rs
    243 tests/by-util/test_rmdir.rs
    400 tests/by-util/test_rm.rs
    151 tests/by-util/test_runcon.rs
    745 tests/by-util/test_seq.rs
     54 tests/by-util/test_shred.rs
    219 tests/by-util/test_shuf.rs
    159 tests/by-util/test_sleep.rs
   1136 tests/by-util/test_sort.rs
    703 tests/by-util/test_split.rs
    427 tests/by-util/test_stat.rs
     89 tests/by-util/test_stdbuf.rs
     60 tests/by-util/test_stty.rs
     77 tests/by-util/test_sum.rs
     46 tests/by-util/test_sync.rs
    276 tests/by-util/test_tac.rs
   3406 tests/by-util/test_tail.rs
    460 tests/by-util/test_tee.rs
    884 tests/by-util/test_test.rs
    132 tests/by-util/test_timeout.rs
    755 tests/by-util/test_touch.rs
   1126 tests/by-util/test_tr.rs
     53 tests/by-util/test_true.rs
    434 tests/by-util/test_truncate.rs
     56 tests/by-util/test_tsort.rs
     93 tests/by-util/test_tty.rs
    119 tests/by-util/test_uname.rs
    233 tests/by-util/test_unexpand.rs
    945 tests/by-util/test_uniq.rs
     73 tests/by-util/test_unlink.rs
     31 tests/by-util/test_uptime.rs
     31 tests/by-util/test_users.rs
     53 tests/by-util/test_vdir.rs
    466 tests/by-util/test_wc.rs
     50 tests/by-util/test_whoami.rs
    238 tests/by-util/test_who.rs
     91 tests/by-util/test_yes.rs

I don't think it's very inviting to put more tests in files over 2000 lines and you quickly lose the overview. In addition my IDE is slowing down and even some plugins stop working properly. In my opinion, writing and organizing tests should be as cheap as possible. I suggest keeping the possibility the way the by-utils directory is organized but add the option in the build.rs script to put tests in a sub directory tests/by-util/test_$UTIL for example with a mod.rs file in it where all other related test files can be added. This doesn't need big changes in build.rs and also the util_name!() macro can be easily adjusted. What do you think?

which IDE do you use?
I don't see any issue

Depends. For this repo I use vscode currently. But that's actually not the most important part.

what is the most important part ? :)

Well, it's pretty hard to spot missing tests. When you need to search through 3000 lines of code or 500 is a difference. Also, such files are slowing down my workflow, which starts with saving the file taking 1 - 2 seconds instead of some ms no matter the IDE. Maybe I'm wrong, I just don't see the hard reason for huge files.

I found that splitting file tests will make harder to spot missing cases, no?
(this is the point of having them into a single file)

Maybe it depends on how far the splitting goes. I don't know, maybe this can become a problem in an open repo. But, for example, you're working on argument parsing and there's a file test_args.rs then you only need to go through this file.

Like I said before:

My 2 cents: breaking up tests over files is unnecessary, because I usually just search for the test I need to look at, which is actually easier in one single file.

I'm also not experiencing any significant slowdown with VS Code and NeoVim when opening these files.
When it comes to spotting missing cases, the usefulness of splitting depends very much on how the splitting is done. For example, almost all test depend on argument parsing in some way. So if I have a test that passes some args to the util and checks for the right behaviour, does that go into test_args.rs?
Currently, if you want to find whether a certain option is tested you just search for that option in test_$util.rs, right? What kind of cases are you looking for that are not easy to search for?

In addition my IDE is slowing down and even some plugins stop working properly.
Also, such files are slowing down my workflow, which starts with saving the file taking 1 - 2 seconds instead of some ms no matter the IDE.

That's not normal, I highly suspect a configuration issue with your IDE/plugins.
I had similar issues in the past with NeoVim/rust-fmt/rust-analyzer/plugins/etc. and it took some debugging util everything was running smooth.

@tertsdiepraam Sorry, I mentioned it shortly within another pr, but I didn't intend to make you repeat yourself. I was interested about opinions on the topic, so I've asked the question into the open round.

No problem, I just thought it'd be helpful to just copy-paste my thoughts from before.

That's not normal, I highly suspect a configuration issue with your IDE/plugins.

My IDE is just fine.

But that's actually not the most important part.

I found that splitting file tests will make harder to spot missing cases, no?
(this is the point of having them into a single file)

Imho not really, and this is most noticable in huge files.
I want to add to my inviting argument, that the test system itself is inviting, and I really like it. Learning curve is low, you can setup test cases fast and it works.

.. the usefulness of splitting depends very much on how the splitting is done. For example, almost all test depend on argument parsing in some way. ...

Maybe splitting by behavior? Probably, most coreutils can be splitted by flags, the flags already encapsulate expected bevavior. It's best explained by a small example:
Say, there's a tool doing with options --some [--plus|--minus]. Then start with test_some, testing all kind of behavior I expect to work without any flags. --some can work with --plus or --minus so there are additional test files test_some_plus and test_some_minus. Putting it together the test folder looks like that:
test_doing
  | test_some.rs
  | test_some_plus.rs
  | test_some_minus.rs

Now, there's the point that --plus and --minus are exclusive options what must be tested too. Personally, I prefer test_some_plus_minus over test_args, even if there's only one test in it which checks for the error when both flags are given. This small file may come in handy when test_some_plus_minus changes behavior in some way. I guess this scheme applies to 90% of cases.

I am sorry but I think we have bigger fish to fry currently than moving files around.
It takes less than a minute to run all tests cases on Linux and I still don't understand the issue that you are trying to fix.


select correct bitcoin account when swapping from bitcoin

Overview
When swapping from bitcoin we need a modal to popup for them to choose which account to trade from
References and additional details
When swapping from bitcoin we need a modal to popup for them to choose which account to trade from
Acceptance Criteria
When swapping from bitcoin we need a modal to popup for them to choose which account to trade from
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

Does this still product @elmutt?

@DiggyDiggy2 yeah - this is still valid. the trade widget/UI only understands assets, not accounts. when a user picks BTC as an asset to swap - there's 3 different addresses we could possible generate, and we'd need UI to select which.

Expected behavior: User goes to the bitcoin asset page, we default to whatever account has the highest balance. They will see the account below the asset amount input field.
When they click on the account row, they are taken to the select account screen.

@reallybeard they will also need to select which account to receive their bitcoin in if bitcoin is the buy asset.
Should it be the same thing for buy asset just like this?

@reallybeard they will also need to select which account to receive their bitcoin in if bitcoin is the buy asset.
Should it be the same thing for buy asset just like this?

Yah, should just get appended to whatever field requires an account to be selected.

very closely related to https://github.com/shapeshift/web/issues/2168


Add ability to cache preprocessing for datasets

Running preprocessing every epoch slows SQUAD training 2x times.
This is also an issue of #569 where preprocessing is embedded in a dataset iterator

I think so, this is a solution for issue #608

I think the framework could run preprocess pipe line at first phrase, and then use data augmenter(If we have) and iterator process and feed batch data to train graph.


Sucessful build but no Halcyon.ini.example?

Good job on getting the server code up!  It even compiled out of the gate after executing ./runprebuild.sh and opening the solution in monodevelop.
However the ini file example is missing from the codebase, so I can't boot up the server to give it a test run.  I'll see if I can sneak one from a friend who's got a working grid.
Or if there's something else I need to do, let me know - I'm already contemplating what needs to be written for documentation! :D

The code is currently committed but there are a lot of details remaining that are needed before a Halcyon server will start up. Database schemas and configuration files at the top of the list.  It's coming, and we're also working on a simplified installation, like a Halcyon-on-a-stick or -in-a-box.  Hope to have the config stuff all committed this week.
Also, once that is done, you'll also need another patch to start on Linux.  Currently Halcyon relies on PhysX.NET and there's no equivalent PhysX wrapper for Linux (yet).

After a whirlwind of research stemming from your response I see that MOSES team is working on PhysX.NET for OS, though the Linux compatibility seemed to be in the air there too - could have been out-of date info.
I also saw that nVidia open-sourced the CPU implementation of PhysX earlier this year! Boy I'm behind on my news...
WRT to the stick/box idea, that's great!  If I may suggest, I'd start by choosing a good hypervisor and releasing images/"virtual appliances" for it.  I'm currently partial to VirtualBox, but that's simply because I got tired of hacking VMDKs to make my own VMs for VMWare Player...
Keep up the good work!

You can find the halcyon ini sample at Halcyon.sample.ini in /bin. If this is the Ricky I think it is, you're already running a private grid on inworldz code, so you should have the database schema on hand.

This is the Ricky you're thinking of!  Good to hear from you David.  cough.. anaximander... cough... :P
Ah found it.  So... which is correct, the filename or the code?  The error the server reports is:
17:56:39 - [CONFIG] Reading configuration settings
17:56:39 - [CONFIG] Could not load any configuration
17:56:39 - [CONFIG] Tried to load /home/ricky/development/inworldz/halcyon/bin/Halcyon.ini,
17:56:39 - [CONFIG] and XML source /home/ricky/development/inworldz/halcyon/bin/Halcyon.xml
17:56:39 - [CONFIG] Did you copy the ./Halcyon.ini.example file to ./Halcyon.ini?

Hence that's the file I was looking for.

Yeah, you should just be able to rename Halcyon.sample.ini to Halcyon.ini and fill out the changes.

I'm going to fix the help text. It's wrong.

Looking at the code in ConfigationLoader.cs:140 this could be an exercise.  It's written assuming the appending of the sample extension, not the insertion of it.  Might be easier just to reverse the filename change - though that forfeits highlighting in the example/sample file...

All fixed. I kept the name of the file as it was and fixed the handler.

Nice one.


Popup on mouseover for circleMarker

Hi,
I wanted to open popup for circleMarker on mouseover, it was working correct for the marker, but with the circleMarker whenever we move mouse inside of it the popup is closed and reopened. I tried to use mouseenter and I found that there is a code responsible for handling that event but it's not fired, so are we suppose to use this event?
Cheers

If you want to prevent the popup from opening again and again, you can use the following code:
//create the circleMarker
var circle = L.circleMarker([latlng].addTo(map);

//Bind the desired popup to the circleMarker
circle.bindPopup('Desired content');

//Use mouseover event to open the popup, if it's not already opened
circle.on('mouseover', function () {
    if (!circle._popup._isOpen) {             //this is important, as it checks to see if the popup is already opened
        this.openPopup();
    }
});

I used circle._popup._isOpen as a temporary solution, I would prefer not to use private properties and wondering if there is an option to solve that in a different way


fix(DDI-1361): if the step is marked as complete it should be always …

Description

step = 2
All steps are complete
Cannot click step 3 and 4, must use a button to navigate next and previous

Story: DDI-1361
Screens
https://github.com/GovAlta/ui-components/assets/120135417/8e030160-3530-4528-8c31-9315fb80ec3e
What have been changed:

Make "status" attribute in React wrapper "GoaFormStep" to be string. It is alerted as "error" in React 18 with a stricter ts type.

Make "testId" as optional in React wrapper "GoaFormStepper"

Make isEnabled under FormStep to rely on "enabled" passed by its parent (controlled navigation) or if its status is complete (as the requirement of this ticket)

:tada: This PR is included in version 1.0.0-alpha.202 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.22 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.11.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.11.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0-alpha.18 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Websocket closing on websocket.recv() (code = 1106)

I am writing a client to connect to a node server. The client sends a request for multiple objects and the server replies for each object. The server is up the entire time the program runs and the function should just connect from the server, receive data and disconnect. The function does not know how many replies it will receive but the last reply includes an indicator whether there are more messages.
async def multi_recv(msg):
        mesh_buffers = []
	async with websockets.connect('ws://localhost:3005', max_size=1024*1024*50) as websocket:
		await websocket.send(msg)
		info = await websocket.recv()
		data = test_proto.MsgWrapper()
		data.ParseFromString(info)
		more = data.requestHasMoreReplies
		while (more):
			print("Received reply #{}".format(i))
			mesh_buffers.append(info)
			info = await websocket.recv()
			data.ParseFromString(info)
			more = data.requestHasMoreReplies

	return mesh_buffers

For requests for a few objects the function works fine but after about 10000, the program stalls on info = await websocket.recv(). After a few seconds, the server prints a code 1011 and the python program throws an exception:
websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1006 (connection closed abnormally [internal]), no reason

My issue looks similar to #367 but I don't think the async with block is ever exited while running the function. The server is up the entire time and websocket.closed = False right before the exception is thrown. Any ideas why websocket.recv() is causing the connection to close?
Thanks!

Looking at similar issues I tried setting ping_interval=None and it fixed the issue!


Toggle checkboxes

This adds the ability to toggle the checkboxes on the list section. The bulk menu is also disabled whenever the checkboxes instance variable is set to false on the list section.
The reason for this feature is to remove some of the clutter on the list page if no bulk actions are being used. Some of our clients have said it's distracting without bulk actions being available.
All tests are passing on CentOS 7 with Ruby 2.3.3. Code coverage has increased.

Looks good, thanks!


"Inactive Taxon" label gets pushed off of photo in grid view for collection projects

Via bouteloua:

Unrelated, but it is the same screen, so maybe it can be fixed at the same time, it seems to be the only screen I can find where if you have common names listed first, the scientific name is not shown in brackets. It doesnot show on the screenprint above as it has the reverse order.

URL? I can't seem to replicate this locally.

Here's the URL cassi gave me: https://www.inaturalist.org/projects/city-nature-challenge-2018-chicago-wilderness-region?tab=observations

Not seeing anything there, and I don't think I can replicate this in a more production-like environment, so I'm going to close. If you notice this again, please holler.


Allow registration of custom JsonEncoderDecoder instances.

I'd like to register some of my own codecs for RestyGWT to use. This is for times where generated code cannot work - eg:

Class with no default constructor
Class with no setters
Class created from a factory method/builder
etc..

Form example, we're using a lot of immutable objects in our code, and the classes do not have any setters and are created using a static factory method. That makes things hard for RestyGWT (and other frameworks too). But, unlike other frameworks, there is no way to inject my own implementation of JsonEncoderDecoder and register it with the RestyGWT runtime.
I can have a crack at implementing this but maybe someone else has done it or is thinking about it already?

Come on, 2011 and nothing on this yet? I need to send dates as unix second based timestamps and not as milliseconds. Is there nothing that allows this?

Hello,
I'm trying to provide a custom (de)serializer for one of my classes.
I though providing a RestyJsonSerializerGenerator and JsonEncoderDecoderClassCreator would be enough but it's seems it's not working as expected.
What is the difference between the existing JsonEncoderDecoderClassCreator extension and the requested feature here ?


BUG: Typo/Formatting Issue in Romance Paragraph in Genre Section

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
There is a typo or formatting issue in the romance paragraph in the genre section. The paragraph contains unnecessary quotation marks ("") which affect the readability and professionalism of the content.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Please assign this issue to me

Assigned!
Make sure to attach before & after screenshots in your PR. Also, star the repo before working on it. While creating your PR, ensure you pull all existing changes beforehand to avoid conflicts.
Happy open-source contributing!


Postal Code?

Is there a way to get then add postal code into it?
Thankyou!

Currently I couldn't find any official source. But, if anyone have, feel free to tell me or create a pull request for that.

According to http://index.okfn.org/place/indonesia/postcodes/ , it doesnt exist as open data.

i got a sql dump for the postal code, is it okay to add it to here? i mean, it's come from untrusted source.

Data provenance is important.  How and when was SQL data created?  If there are errors, who do we blame?  Very important if this data ends up being used in software that effects real people's lives.
I cant see any Indonesian information at https://wiki.openstreetmap.org/wiki/Free_The_Postcode or http://wiki.openstreetmap.org/wiki/Key:postal_code
@iyan31, @wonderchook, any ideas?

best source for post code probably only Pos Indonesia, they do have postcode search application
Pos Indonesia
unfortunately there's no way to easily take the data

yes, i found no open data for postalcode, so i just tricked the pos indonesia site to get it

sebenernya kasian situs mfd dan pos, kita selalu brute forcing search engine mereka, kenapa ga dikasih aja ya :-)

Mintain aja 🐧

https://github.com/edwinkun/database-kodepos-seluruh-indonesia
Currently, I'm pretty busy, I'll try to make a pull request later whenever I have the free time (insya Allah)

Sepertinya repository edwinkun lebih lengkap, ambil dari sana aja  :simple_smile:

Yah mas, hahahah jadi promosi repo sebelah hahahaha

hi mas, boleh tau dipecah seperti apa?
Grouping based on province atau gimana?


Robyn not running on OS X

Bug Description
Hi everybody,
First of all, congratulations on your great work.
I'm trying to test Robyn on an OS X (Macbook pro M4 Pro, latest Sequoia OS X, Python3.11) environment in order to compare it to Sanic.
I'm getting an invalid port error, sanic runs fine on the same port.
Is there a known issue with OS X?
Thanks in advance
André
Steps to Reproduce
hello world program:
from robyn import Robyn
Create an instance of Robyn app
app = Robyn(file)
Define a basic route
@app.get("/")
async def home():
return "Hello World!"
Start the Robyn server
if name == "main":
app.start(port=8081)
Your operating system
MacOS
Your Python version (python --version)
3.11
Your Robyn version
latest
Additional Info
I'd be happy to do some testing

Hey @amdescombes 👋
It does work for me. Could you send me the response of lsof -i tcp:8081 from your terminal?

Hi @sansyrox,
lsof -i tcp:8081
does not return anything
and when I run a Sanic Hello World program on the same port it works fine!
Thanks

Here's the exception I get:
Traceback (most recent call last):
File "/Users/amdescombes/Desktop/Desktop - Andre’s MacBook Pro/AMD/BinanceTest/testrobyn.py", line 13, in
app.start(port=8081)
File "/opt/homebrew/lib/python3.9/site-packages/robyn/init.py", line 257, in start
while self.is_port_in_use(port):
File "/opt/homebrew/lib/python3.9/site-packages/robyn/init.py", line 225, in is_port_in_use
raise Exception(f"Invalid port number: {port}")
Exception: Invalid port number: 8081

Hey @amdescombes 👋
What command are you using to run the script?

I'm running like so (I pass no arguments to it):
python3.11 testrobyn.py

Are you running on an Intel or an Apple processor @sansyrox ?
I tried running on Python3.9 and it didn't work either

@amdescombes , I am running on an apple processor.

@VishnuSanal , can you try once?

@amdescombes , could you please share a github gist of the code?

Hi @sansyrox here is the requested code:
`
from robyn import Robyn
app = Robyn(file)
@app.get("/")
async def home():
return "Hello, Robyn!"
if name == "main":
app.start(port=8081)
`

That is the code that doesn't work

Hey @amdescombes 👋
I am unable to replicate the bug. Can you share your mac os version?

Yes, I'm running on Macbook Pro M3 Max with Sequoia 15.0.1 (24A348)

what's strange is that I can open the same port with CherryPy, Flask or Sanic with no problems

@amdescombes , is port 8080 or 8082 working?

Yessss

Thanks, it must be something with 8081

Alright, then. Closing.


If dev github... fails, don't fail the schema fetch command

WHY are these changes introduced?
Internally, we use dev github... to pull in some schema files. If this fails, don't fail the underlying command (usually dev up) -- the developer can continue to work regardless.

WHAT is this pull request doing?
exit code 0 if the error is specifically from using dev

How to test your changes?

Run dev up
Measuring impact
How do we know this change was effective? Please choose one:

[x] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
[ ] Existing analytics will cater for this addition
[ ] PR includes analytics changes to measure impact

Checklist

[x] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[x] I've considered possible documentation changes
[x] I've made sure that any changes to dev or deploy have been reflected in the internal flowchart.

and when running pnpm graphql-codegen:get-graphql-schemas:


KAFKA-3400: Fix describe topic in case there are zero partitions.

@gwenshap mind taking a look?

Sorry, but when would a topic have 0 partitions?

Did you reproduce the original issue? because the code you fixed doesn't seem to be the same one where the bug occurred...
If you did, can you post sample output?

@gwenshap I have not reproduced the issue, but it is evident from the stacktrace on the JIRA. NoSuchElementException gets thrown in topicPartitionAssignment.head._2.size. This happens when topic exists, but there are no partitions. I think you are looking at wrong branch, the ST is for <IP_ADDRESS> branch, https://github.com/apache/kafka/blob/0.9.0/core/src/main/scala/kafka/admin/TopicCommand.scala#L198. Helps?

@gwenshap @ijuma mind taking a look at this?

Unclear how a topic can have 0 partitions and we haven't seen any reports in the last 1.5 years. Closing for now.


getOfflineSigner - Cannot read properties of undefined (reading 'client')

Hi, it seems that calling offlineSigner results to an error:
_app-3bf4a8d17e54b3b5.js:359 TypeError: Cannot read properties of undefined (reading 'client')
    at getOfflineSigner (_app-3bf4a8d17e54b3b5.js:352:1768141)
    at r (_app-3bf4a8d17e54b3b5.js:347:173988)
    at Object.getOfflineSigner (_app-3bf4a8d17e54b3b5.js:347:174777)
    at index-2158354431a91ef2.js:1:24801
    at j (main-1f17483a0f830ef3.js:1:92781)
    at Generator._invoke (main-1f17483a0f830ef3.js:1:94067)
    at a.<computed> [as next] (main-1f17483a0f830ef3.js:1:93184)
    at d (677-a6b8e863b5453eed.js:1:501560)
    at h (677-a6b8e863b5453eed.js:1:501757)

Reproduction here. Demo here
Just happened to stumble upon this issue while playing with another chain.

@pyramation I'm also running into this with any network I use in useChain.
    "@cosmos-kit/core": "1.0.4",
    "@cosmos-kit/keplr": "0.32.21",
    "@cosmos-kit/react": "1.0.4",

could you please let us know in which version has this fix been implemented? I had tried this today and it was still throwing the same error.
npm packages that i'm using:
"@cosmos-kit/core": "^1.0.4",
"@cosmos-kit/cosmostation": "^0.14.21",
"@cosmos-kit/keplr": "^0.32.21",
"@cosmos-kit/leap": "^0.13.21",
"@cosmos-kit/react": "^1.0.4",
Error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'client')
at getOfflineSigner (client.js?e347:21:1)
at clientMethodAssert (hooks.js?2a7b:110:1)
at getOfflineSigner (hooks.js?2a7b:147:1)
at eval (GravityToEthBridge.js?a307:181:26)
at step (tslib.es6.js?a65a:102:1)
at Object.eval [as next] (tslib.es6.js?a65a:83:46)
at asyncGeneratorStep (_async_to_generator.mjs?4e1b:3:1)
at _next (_async_to_generator.mjs?4e1b:25:1)
at eval (_async_to_generator.mjs?4e1b:32:1)
at new Promise ()
at eval (_async_to_generator.mjs?4e1b:21:1)
at handleSubmit (GravityToEthBridge.js?a307:172:32)
at HTMLUnknownElement.callCallback (react-dom.development.js?ac89:4164:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js?ac89:4213:1)
at invokeGuardedCallback (react-dom.development.js?ac89:4277:1)
at invokeGuardedCallbackAndCatchFirstError (react-dom.development.js?ac89:4291:1)
at executeDispatch (react-dom.development.js?ac89:9041:1)
at processDispatchQueueItemsInOrder (react-dom.development.js?ac89:9073:1)
at processDispatchQueue (react-dom.development.js?ac89:9086:1)
at dispatchEventsForPlugins (react-dom.development.js?ac89:9097:1)
at eval (react-dom.development.js?ac89:9288:1)
at batchedUpdates$1 (react-dom.development.js?ac89:26140:1)
at batchedUpdates (react-dom.development.js?ac89:3991:1)
at dispatchEventForPluginEventSystem (react-dom.development.js?ac89:9287:1)

Doesn't seem like it's been published yet @kombos

Seems like it hasn't been published yet @kombos

any ideas as to when this will get published ? our product development is kinda stuck because of this and hoping for a resolution soon :)

@kombos I would suggest directly using the git commit that fixes this. Something like:
"@cosmos-kit/react": "git@github.com:cosmology-tech/cosmos-kit.git#4f0f2a8f803cad0b518974192043fbc4514c7314"

I tried to import like this and didnt work.  during yarn install, it is asking which version number to install, with options same as npm registry semvers (1.0.4, 1.0.3, etc.) ..
since the actual package for @cosmos-kit/react exists here : https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react, do we have to mention this location, alongwith commit hash ?


Optimize displaying of strings

I've encountered this situation a lot, here is an example of string initialization via SSE instructions:
HLIL:
int64_t zmm0_1 = 'D:\\Outpu'
this->OutPath[0] = zmm0_1.b
this->OutPath[1] = zmm0_1:1.b
this->OutPath[2] = zmm0_1:2.b
this->OutPath[3] = zmm0_1:3.b
this->OutPath[4] = zmm0_1:4.b
this->OutPath[5] = zmm0_1:5.b
this->OutPath[6] = zmm0_1:6.b
this->OutPath[7] = zmm0_1:7.b
this->OutPath[8] = 't'
this->OutPath[9] = 's'
this->OutPath[0xa] = 0

Disassembly:
movsd   xmm0, qword [rel data_14007e7e0]  {"D:\Outputs"}
movsd   qword [rbx+0x410], xmm0
movzx   eax, word [rel data_14007e7e0[8]]  {0x7374}
mov     word [rbx+0x418], ax  {0x7374}
movzx   eax, byte [rel data_14007e7e0[0xa]]  {0x0}
mov     byte [rbx+0x41a], al  {0x0}

Here is another example:
HLIL:
this->arr[0] = 'S';
this->arr[1] = 'p';
this->arr[2] = 'e';
this->arr[3] = 'c';
this->arr[4] = 'i';
this->arr[5] = 'a';
this->arr[6] = 0;

Disassembly:
mov     eax, dword [rel data_1800ca874]  {'Spec'}
mov     dword [rbx+0x303c {Spec::arr[0]}], eax {Spec::arr[1]} {Spec::arr[2]} {Spec::arr[3]}  {'Spec'}
movzx   eax, word [rel data_1800ca874[4]]  {0x6169}
mov     word [rbx+0x3040 {Spec::arr[4]}], ax {Spec::arr[5]}  {0x6169}
movzx   eax, byte [rel data_1800ca874[6]]  {0x0}
mov     byte [rbx+0x3042 {Spec::arr[6]}], al  {0x0}

Having support for converting these kind of initializations into strcpy would be very useful from multiple perspectives.

This is already in development but we hadn't opened a separate issue for it yet, so thanks for filing.

Feature added in 3.4.4133-dev. This is accomplished with the analysis.outlining.builtins feature which is now enabled by default.


Get all testenv properties not accessible through get.sh

Calling the 'addTestenvProperties' macro defined in TKG/scripts/build_test.xml. Need to get that PR approved so proper testing on my end can occur.

Please update the title to be more descriptive. For example, Get REPO and SHA for openjdk and system repos

Please remove the change in get.sh and launch Grinder to validate the PR. Thanks

Grinder without USE_TESTENV_PROPERTIES
Grinder with USE_TESTENV_PROPERTIES

If this PR is ready to review, please move it out of the draft. Thanks

Are we going to include the change for openjdk/build.xml? Or that will be in a separate PR?

Can you please remind me what I need to change in that file? Once I know I can add them to this PR

We need to call addTestenvProperties in https://github.com/adoptium/aqa-tests/blob/6f6c0066c2469c8b99172995b9f53dfd61df90b7/openjdk/build.xml#L326. Please note, we need to set version and impl. For example, JDK11_REPO, JDK8_OPENJ9_REPO.
I will approve PR, please open another PR for the change in openjdk/build.xml

This PR has to be merged together with https://github.com/adoptium/TKG/pull/252

Checks failing due to needing the TKG PR to be merged in, will merge both now.


NIFI-12265 Fix StandardPGPPublicKeyService key search issue with subkey starts with 0

Summary
NIFI-12265
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 21

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Hi @exceptionfactory, PR was updated. Please help to review it again. Thanks


jj

Project Repository
https://github.com/martinvonz/jj

Hi. I just got back from vacation. I don't have much time to spare, unfortunately, so I'm not sure. How much time do you expect I would have to invest? Maybe live streaming means that it's basically just the time we'd spend while streaming?

No prep up front, just the 90mins we'd set aside for the stream.

That sounds reasonable then. I should be able to find that time.

You can schedule at your own convenience.
To understand the format, there's a prep doc.


Geosearching optimization

Try to leverage the consuming resources on demanding geoitems and places data to geofire.

Pending: caching given results to leverage calls to geofire

Partially achieved in PR#55. Caching of results postponed.


Excercises not working, and suggestions to Statevector class.

Environment

Qiskit Terra version: 0.20.1

Python version: 3.10.4

Operating system: Windows 10

Others

qiskit-aer: 0.10.4
qiskit-ignis: 0.7.0
qiskit-ibmq-provider: 0.19.1
qiskit: 0.36.1

What is happening?
Exercises not working due to Statevector class not accepting slices.
How can we reproduce the issue?
Go to https://qiskit.org/textbook/ch-algorithms/bernstein-vazirani.html, and try exercises.
from qiskit_textbook.widgets import bv_widget
bv_widget(3, "011", hide_oracle=False)

It doesn't work no matter which button I click.
What should happen?
Exercises works.
Any suggestions?
There is an error in the following part of bv_widget.
vfirst = vec[:2**nqubits//2]

vec is Statevector class. The Statevector class does not accept slice and raises QiskitError("Key must be int or a valid binary string.").
    def __getitem__(self, key):
        """Return Statevector item either by index or binary label
        Args:
            key (int or str): index or corresponding binary label, e.g. '01' = 1.

        Returns:
            numpy.complex128: Statevector item.

        Raises:
            QiskitError: if key is not valid.
        """
        if isinstance(key, str):
            try:
                key = int(key, 2)
            except ValueError:
                raise QiskitError(f"Key '{key}' is not a valid binary string.") from None
        if isinstance(key, int):
            if key >= self.dim:
                raise QiskitError(f"Key {key} is greater than Statevector dimension {self.dim}.")
            if key < 0:
                raise QiskitError(f"Key {key} is not a valid positive value.")
            return self._data[key]
        else:
            raise QiskitError("Key must be int or a valid binary string.")

I think the following change would solve the problem.
    def __getitem__(self, key):
        """Return Statevector item either by index or binary label
        Args:
            key (int or str): index or corresponding binary label, e.g. '01' = 1.

        Returns:
            numpy.complex128: Statevector item.

        Raises:
            QiskitError: if key is not valid.
        """
        if isinstance(key, str):
            try:
                key = int(key, 2)
            except ValueError:
                raise QiskitError(f"Key '{key}' is not a valid binary string.") from None
        if isinstance(key, int):
            if key >= self.dim:
                raise QiskitError(f"Key {key} is greater than Statevector dimension {self.dim}.")
            if key < 0:
                raise QiskitError(f"Key {key} is not a valid positive value.")
            return self._data[key]

        """ From here """
        if isinstance(key, slice):
            return self._data[key]
        """ Until here """

        else:
            raise QiskitError("Key must be int or a valid binary string.")

We'd have to adjust the docs too but I think supporting slices is a nice feature! However @chriseclectic or @ikkoham might have an opinion as they know quantum info well 🙂

I wonder why this was broken in the first place. Maybe it was the introduction of __get_item__ that made it impossible to use __array__. I think __get_item__ is a very complicated interface and probably unnecessary, but I need to look into it a bit more.
(Workaround) If you want a slice of numpy.ndarray, you can use Statevector.data on the user side to explicitly take out the ndarray and use it.


Update collect_data_realtime.py

added improvement code for making sub-directories

thanks @sonu6084 for your contribution. It has been fixed now. Keep fix more issue :)


Error in rule UMLS

[Mon Aug 22 16:46:17 2022]
Error in rule UMLS:
jobid: 27
output: /home/ubuntu/kg2-build/umls_cuis.tsv
log: /home/ubuntu/kg2-build/extract-umls.log (check log file(s) for error message)
shell:
bash -x /home/ubuntu/kg2-code/extract-umls.sh /home/ubuntu/kg2-build /home/ubuntu/kg2-build/umls_cuis.tsv > /home/ubuntu/kg2-build/extract-umls.log 2>&1
(exited with non-zero exit code)
Originally posted by @acevedol in https://github.com/RTXteam/RTX-KG2/issues/221#issuecomment-1222625514 Build issue

++ s3_bucket=rtx-kg2
...skipping...
                 unable to process umls-2022AA-metathesaurus.zip/META/CHANGE/MERGEDLUI.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/CHANGE/DELETEDCUI.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/PTR_AUI_RELA_MRHIER.x.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/CUI2_MRCUI.x.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/CODE_SAB_MRCONSO.x.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/CUI2_MRAUI.x.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/SCUI_SAB_MRCONSO.x.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/AUI_MRCONSO.x.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/SDUI_SAB_MRCONSO.x.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/MAPSETCUI_MRMAP.x.

I am checking if there's a problem with the file in the s3 bucket. Removing, redownloading, and trying again because I haven't been able to resolve the issue within the instance.

This seems to still be an issue. I'm trying to build (see #262) on kg2erica.rtx.ai from scratch. This is the error:
+ aws s3 cp --no-progress --region us-west-2 s3://rtx-kg2/umls-2022AA-metathesaurus.zip /home/ubuntu/kg2-build/umls/
download: s3://rtx-kg2/umls-2022AA-metathesaurus.zip to ../kg2-build/umls/umls-2022AA-metathesaurus.zip
+ cp /home/ubuntu/kg2-code/umls-config.prop /home/ubuntu/kg2-build/umls/config.prop
+ unzip /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip -d /home/ubuntu/kg2-build/umls/
Archive:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/.
  inflating: /home/ubuntu/kg2-build/umls/__MACOSX/._umls-2022AA-metathesaurus.zip
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/Copyright_Notice.txt.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/.DS_Store.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/.
  inflating: /home/ubuntu/kg2-build/umls/__MACOSX/umls-2022AA-metathesaurus.zip/._META
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/README.txt.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_ITA.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRHIST.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_RUS.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXNW_ENG.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/CHANGE/.
  inflating: /home/ubuntu/kg2-build/umls/__MACOSX/umls-2022AA-metathesaurus.zip/META/._CHANGE
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRCONSO.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_LAV.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_TUR.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRCXT.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/.DS_Store.
  inflating: /home/ubuntu/kg2-build/umls/__MACOSX/umls-2022AA-metathesaurus.zip/META/._.DS_Store
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_JPN.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_GER.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_ENG.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_POL.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/populate_oracle_db.bat.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRSTY.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_DAN.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_CZE.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_DAN.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRSTY.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_CZE.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_JPN.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_GER.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_ENG.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_POL.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_TUR.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXNW_ENG.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/oracle_indexes.sql.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRCONSO.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_LAV.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_RUS.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRHIST.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_ITA.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRFILES.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/README_DB.txt.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/oracle_tables.sql.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRCOLS.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/AMBIGSUI.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_EST.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_GRE.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_KOR.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_HUN.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_DUT.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_POR.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRDOC.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRMAP.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRREL.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRDEF.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_NOR.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/populate_mysql_db.bat.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_SWE.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRHIER.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_FRE.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRCUI.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_FIN.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_HEB.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_BAQ.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXNS_ENG.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_CHI.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_SCR.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/AMBIGLUI.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRSAT.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/populate_oracle_db.sh.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRRANK.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_SPA.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRAUI.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRSMAP.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/populate_mysql_db.sh.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRSAB.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRAUI.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRSMAP.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/config.prop.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRSAB.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/AMBIGLUI.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRSAT.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRRANK.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_SPA.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_HEB.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_FIN.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/mysql_tables.sql.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXNS_ENG.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_BAQ.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_CHI.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_SCR.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRHIER.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_FRE.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRCUI.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRREL.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRMAP.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRDEF.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_NOR.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_SWE.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRDOC.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_EST.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/AMBIGSUI.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_GRE.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_KOR.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_HUN.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_DUT.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRXW_POR.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/mysql_indexes.sql.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRFILES.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/.
  inflating: /home/ubuntu/kg2-build/umls/__MACOSX/umls-2022AA-metathesaurus.zip/META/._indexes
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/MRCOLS.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/release.dat.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/CHANGE/MERGEDCUI.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/CHANGE/DELETEDSUI.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/CHANGE/DELETEDLUI.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/CHANGE/DELETEDLUI.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/CHANGE/DELETEDSUI.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/CHANGE/MERGEDCUI.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/CHANGE/DELETEDCUI.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/CHANGE/MERGEDLUI.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/CHANGE/MERGEDLUI.ctl.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/CHANGE/DELETEDCUI.RRF.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/PTR_AUI_RELA_MRHIER.x.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/CUI2_MRCUI.x.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/CODE_SAB_MRCONSO.x.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/CUI2_MRAUI.x.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/SCUI_SAB_MRCONSO.x.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/AUI_MRCONSO.x.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/SDUI_SAB_MRCONSO.x.
checkdir error:  /home/ubuntu/kg2-build/umls/umls-2022AA-metathesaurus.zip exists but is not directory
                 unable to process umls-2022AA-metathesaurus.zip/META/indexes/MAPSETCUI_MRMAP.x.

This seems to be an issue with the version of UMLS in the S3 bucket. I copied the UMLS 2022AA copy from buildkg2.rtx.ai onto the S3 bucket as umls-2022AA-metathesaurus-buildkg2.zip and am using that for now. Also, we might want to consider upgrading to UMLS 2022AB anyways.

I attempted the fix described here.
New error:
ERROR 3948 (42000) at line 15: Loading local data is disabled; this must be enabled on both the client and server sides
Bye
finished loading tables ... Thu Jun 22 16:23:18 UTC 2023
finished indexes ... Thu Jun 22 16:23:18 UTC 2023
mysql: [Warning] Using a password on the command line interface can be insecure.
--------------
DROP TABLE IF EXISTS MRCXT
--------------

Query OK, 0 rows affected, 1 warning (0.00 sec)

Bye
----------------------------------------
There were one or more errors.  Please reference the mysql.log file for details.
Finished ... Thu Jun 22 16:23:18 UTC 2023
----------------------------------------

This script completed successfully on the KG2.8.4pre build so I am going to close out this issue.


Installation NetFx4 fail?

Hi,
I'm trying to create a W7 VM using these json:
{
  "builders": [
    {
      "type": "virtualbox-iso",
      "iso_url": "http://care.dlservice.microsoft.com/dl/download/evalx/win7/x64/EN/7600.16385.090713-1255_x64fre_enterprise_en-us_EVAL_Eval_Enterprise-GRMCENXEVAL_EN_DVD.iso",
      "iso_checksum_type": "md5",
      "iso_checksum": "1d0d239a252cb53e466d39e752b17c28",
      "headless": false,
      "boot_wait": "2m",
      "ssh_username": "vagrant",
      "ssh_password": "vagrant",
      "ssh_wait_timeout": "8h",
      "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
      "guest_os_type": "Windows7_64",
      "disk_size": 61440,
      "floppy_files": [
        "./answer_files/7/Autounattend.xml",
        "./scripts/dis-updates.ps1",
        "./scripts/microsoft-updates.bat",
        "./scripts/win-updates.ps1",
        "./scripts/openssh.ps1",
        "./scripts/oracle-cert.cer"
      ],
      "vboxmanage": [
        [
          "modifyvm",
          "{{.Name}}",
          "--memory",
          "2048"
        ],
        [
          "modifyvm",
          "{{.Name}}",
          "--cpus",
          "2"
        ]
      ]
    }
  ],
  "provisioners": [
    {
      "type": "shell",
      "remote_path": "/tmp/script.bat",
      "execute_command": "{{.Vars}} cmd /c C:/Windows/Temp/script.bat",
      "scripts": [
        "./scripts/vm-guest-tools.bat",
        "./scripts/vagrant-ssh.bat",
        "./scripts/disable-auto-logon.bat",
        "./scripts/enable-rdp.bat",
        "./scripts/compile-dotnet-assemblies.bat",
        "./scripts/compact.bat",
        "./scripts/chocolatey.bat"
      ]
    }
  ],
  "post-processors": [
    {
      "type": "vagrant",
      "keep_input_artifact": false,
      "output": "windows_7_{{.Provider}}.box",
      "vagrantfile_template": "vagrantfile-windows_7.template"
    }
  ]
}

I didn't make any changes any of /scripts/ files except I disable Window Update.
When I launch Packer.io, the VM creation doesn't finish, and seems to fail on NetFx installation:
    virtualbox-iso: Installing chocolatey on this machine
    virtualbox-iso: Creating ChocolateyInstall as an Environment variable (targeting 'Machine') and setting it to 'C:\ProgramData\chocolatey'
    virtualbox-iso: We are setting up the Chocolatey repository for NuGet packages that should be at the machine level. Think executables/application packages, not library packages.
    virtualbox-iso: That is what Chocolatey NuGet goodness is for. The repository is set up at 'C:\ProgramData\chocolatey'.
    virtualbox-iso: The packages themselves go to 'C:\ProgramData\chocolatey\lib' (i.e. C:\ProgramData\chocolatey\lib\yourPackageName).
    virtualbox-iso: A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin' and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.
    virtualbox-iso:
    virtualbox-iso: Creating Chocolatey NuGet folders if they do not already exist.
    virtualbox-iso:
    virtualbox-iso: Copying the contents of 'C:\Windows\Temp\chocolatey\chocInstall\tools\chocolateyInstall' to 'C:\ProgramData\chocolatey'.
    virtualbox-iso: PATH environment variable does not have C:\ProgramData\chocolatey\bin in it. Adding...
    virtualbox-iso: Downloading NetFx4.0 64 bit
    virtualbox-iso: from 'http://download.microsoft.com/download/5/6/2/562A10F9-C9F4-4313-A044-9C94E0A8FAC8/dotNetFx40_Client_x86_x64.exe'
    virtualbox-iso: Installing NetFx4.0...

How can I debug this issue?
Regards

Increasing the momory cap usage hasn't fixed it for me.  Has anyone else still having problems?

I am having same problem, increasing memory did not fix the issue.

I have the same issue when chocolatey tries to install net framework 4.0. This is on Windows 2008R2 image.
It just hangs
==> virtualbox-iso: Provisioning with shell script: ./scripts/chocolatey.bat
    virtualbox-iso:
    virtualbox-iso: C:\Users\vagrant>powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))"  0<NUL
    virtualbox-iso:
    virtualbox-iso: Mode                LastWriteTime     Length Name
    virtualbox-iso: ----                -------------     ------ ----
    virtualbox-iso: d----         4/29/2015   9:23 AM            chocInstall
    virtualbox-iso: Downloading https://chocolatey.org/api/v2/package/chocolatey/ to C:\Windows\Temp\chocolatey\chocInstall\chocolatey.zip
    virtualbox-iso: Download 7Zip commandline tool
    virtualbox-iso: Downloading https://chocolatey.org/7za.exe to C:\Windows\Temp\chocolatey\chocInstall\7za.exe
    virtualbox-iso: Extracting C:\Windows\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Windows\Temp\chocolatey\chocInstall...
    virtualbox-iso:
    virtualbox-iso: 7-Zip (A) 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
    virtualbox-iso:
    virtualbox-iso: Processing archive: C:\Windows\Temp\chocolatey\chocInstall\chocolatey.zip
    virtualbox-iso:
    virtualbox-iso: Extracting  _rels\.rels
    virtualbox-iso: Extracting  chocolatey.nuspec
    virtualbox-iso: Extracting  tools\chocolateyInstall.ps1
    virtualbox-iso: Extracting  tools\chocolateysetup.psm1
    virtualbox-iso: Extracting  tools\init.ps1
    virtualbox-iso: Extracting  tools\chocolateyInstall\choco.exe
    virtualbox-iso: Extracting  tools\chocolateyInstall\choco.exe.ignore
    virtualbox-iso: Extracting  package\services\metadata\core-properties\6f83fe2bc9c548a5aacad7eedeabf704.psmdcp
    virtualbox-iso: Extracting  [Content_Types].xml
    virtualbox-iso:
    virtualbox-iso: Everything is Ok
    virtualbox-iso:
    virtualbox-iso: Files: 9
    virtualbox-iso: Size:       3721579
    virtualbox-iso: Compressed: 1255230
    virtualbox-iso: Installing chocolatey on this machine
    virtualbox-iso: Downloading 'http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe' to 'C:\Windows\Temp\dotNetFx40_Full_x86_x64.exe' - the installer is 40+ MBs, so this could take awhile on a slow connection.
    virtualbox-iso: Installing 'C:\Windows\Temp\dotNetFx40_Full_x86_x64.exe' - this may take awhile with no output.

Chocolatey prompts about licenses now - are we using the right flags to suppress the prompts?

What flags should be used? This issue is still persisting for me. And it is not limited to just chocolatey installations, I am having the same issue with installations of .NET using chef cookbooks. The installer just hangs and never completes.
  virtualbox-iso: [2015-08-04T10:42:22-07:00] INFO: Starting installation...this could take awhile.
virtualbox-iso: [2015-08-04T10:42:22-07:00] DEBUG: Install command: start "" /wait "C:\chef\cache\NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /log "C:\Users\myUser\AppData\Local\Temp\NDP452-KB2901907-x86-x64-AllOS-ENU.exe.html" & exit %%ERRORLEVEL%%
</code

The flag for chocolatey should be -y which will skip any prompts. You also might want to run the provisioning with a GUI to see if there aren't any new prompts that appear on the screen which would block control back to packer.

Which boxes is this happening on? It's worth noting that @lmayorga1980 's attempts were for 2008R2 and the original issue was for Windows 7.
@Dellvan7 what OS are you trying to install this on?
with Server 2008R2 being EOL'd now it might be time to consider dropping support for 2008R2 specific issues.
https://support.microsoft.com/en-us/lifecycle/search?sort=PN&alpha=Windows Server 2008 R2&Filter=FilterNO

I'm running it on Windows 7 boxes. Okay, I thought @joefitzgerald  was referring to the -y flag. But unfortunately, that won't help as the hang up is not occurring on choco install commands, it is happening before chocolatey itself  is installed.
Essentially, when the script iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) is executed, the chocolatey installer runs fine but then kicks off the .NET installer, which never finishes.
Here is the output:
==> virtualbox-iso: Provisioning with shell script: ./scripts/chocolatey.bat
virtualbox-iso:
virtualbox-iso: C:\Users\myUser>powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))"  0<NUL
virtualbox-iso:
virtualbox-iso: Mode                LastWriteTime     Length Name
virtualbox-iso: ----                -------------     ------ ----
virtualbox-iso: d----          8/4/2015  11:24 AM            chocInstall
virtualbox-iso: Downloading https://chocolatey.org/api/v2/package/chocolatey/ to C:\Users\myUser\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip
virtualbox-iso: Download 7Zip commandline tool
virtualbox-iso: Downloading https://chocolatey.org/7za.exe to C:\Users\myUser\AppData\Local\Temp\chocolatey\chocInstall\7za.exe
virtualbox-iso: Extracting C:\Users\myUser\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\myUser\AppData\Local\Temp\chocolatey\chocInstall...
virtualbox-iso:
virtualbox-iso: 7-Zip (A) 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
virtualbox-iso:
virtualbox-iso: Processing archive: C:\Users\myUser\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip
virtualbox-iso:
virtualbox-iso: Extracting  _rels.rels
virtualbox-iso: Extracting  chocolatey.nuspec
virtualbox-iso: Extracting  tools\chocolateyInstall.ps1
virtualbox-iso: Extracting  tools\chocolateysetup.psm1
virtualbox-iso: Extracting  tools\init.ps1
virtualbox-iso: Extracting  tools\chocolateyInstall\choco.exe
virtualbox-iso: Extracting  tools\chocolateyInstall\choco.exe.ignore
virtualbox-iso: Extracting  package\services\metadata\core-properties\dd9b8525f38f4307833cdf92549fbcb8.psmdcp
virtualbox-iso: Extracting  [Content_Types].xml
virtualbox-iso:
virtualbox-iso: Everything is Ok
virtualbox-iso:
virtualbox-iso: Files: 9
virtualbox-iso: Size:       3780921
virtualbox-iso: Compressed: 1268349
virtualbox-iso: Installing chocolatey on this machine
virtualbox-iso: Downloading 'http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe' to 'C:\Users\myUser\AppData\Local\Temp\dotNetFx40_Full_x86_x64.exe' - the installer is 40+ MBs, so this could take awhile on a slow connection.
virtualbox-iso: Installing 'C:\Users\myUser\AppData\Local\Temp\dotNetFx40_Full_x86_x64.exe' - this may take awhile with no output.

Sorry for the code, dump in the last post. And it appears that #109 is the same issue -- hangs on .NET installation

I am having the same issue on a Windows 7 VM running on Virtual Box. The installation of chocolatey using "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" hangs on Installing Dotnet:
'C:\Users\name\AppData\Local\Temp\dotNetFx40_Full_x86_x64.exe' - this may take awhile with no output

For Windows 7 / 2008 R2 you always should run the Windows updates. This will install DotNet 4 as one of the hundreds of updates. Such a box has no problems installing chocolatey.
A Win7/2008R2 box without all Windows updates has problems installing chocolatey.
This is my experience.
Windows 10 for the rescue ;-) Vagrant is on its way to support it as a guest (mitchellh/vagrant#6131, mitchellh/vagrant#6136, mitchellh/vagrant#6137). Think of updating your Win7 VM to Win10?

Thank you Stefan, for the advice. I manually took the installer and ran it to install dotnet40 and after that I was able to install chocolatey OK. I didn't try your advice but thanks for sharing the insight.

It sounds like the recommended solution is ensure all Windows updates are installed first. You can always force .NET 4.x to be installed in the autounattend.xml steps.


When I construct my component with a single child param like this:
            var iframe = DOM.IFrame(new IFrameAttributes { Src = url, Style = new ReactStyle { Width = "inherit", Height = "inherit" } });

            var component = new Popover(
                new Popover.Props { Active = true }, //props
                iframe); // type is params Union<ReactElement, string>[] children

I get the following runtime exception when the component tries to render the children:
UIComponents.js:27355 Uncaught Error: Objects are not valid as a React child (found: object with keys {key, value}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method of Popover .     at invariant (react-dom.js:17985)     at traverseAllChildrenImpl (react-dom.js:16688)     at traverseAllChildrenImpl (react-dom.js:16637)     at traverseAllChildren (react-dom.js:16716)     at Object.instantiateChildren (react-dom.js:4345)     at ReactDOMComponent._reconcilerInstantiateChildren (react-dom.js:10434)     at ReactDOMComponent.mountChildren (react-dom.js:10473)     at ReactDOMComponent._createInitialChildren (react-dom.js:6216)     at ReactDOMComponent.mountComponent (react-dom.js:6035)     at Object.mountComponent (react-dom.js:11598)
Indeed, the "iframe" ReactElement has been unpacked into a json dictionary. This is probably a Bridge.NET edge case.
However, if add a dummy div element to the params list, the params type is preserved properly:
            var div = DOM.Div(new Attributes());
            var iframe = DOM.IFrame(new IFrameAttributes { Src = url, Style = new ReactStyle { Width = "inherit", Height = "inherit" } });

            var component = new Popover(
                new Popover.Props { Active = true }, //props
                iframe,
                div
            );

The workaround of adding a dummy element is fine for my purposes now, but it seems to be a weird case with Bridge.NET type conversion.
As always, thanks for all your fantastic work!
Version Info:
<packages>
  <package id="Bridge" version="15.7.0" targetFramework="net461" />
  <package id="Bridge.Core" version="15.7.0" targetFramework="net461" />
  <package id="Bridge.Html5" version="15.7.0" targetFramework="net461" />
  <package id="Bridge.Min" version="15.7.0" targetFramework="net461" />
  <package id="Bridge.React" version="1.12.6" targetFramework="net461" />
</packages>

I'm having a little bit of trouble reproducing what you're seeing. Could you include a min repro case based on your Popover component so that I can see what code you're executing within the Render method in order to display the child components?

Hi Dan, thanks for the help!
I'll try to put together a reproduction project for you - in the meantime I suspect that it might be something to do with how I'm inserting the Child elements in the Render method:
        public override ReactElement Render()
        {
            var classname = "modal";
            if(state.IsActive)
            {
                classname += " is-active";
            }

            return DOM.Div(new Attributes { Id = props.InnerID, ClassName = classname },
                    DOM.Div(new Attributes
                        {
                            ClassName = "card",
                            Style = new ReactStyle { Width = 350, Height = 480 }
                        },
                        Children.AsEnumerable().Cast<ReactElement>()), //<-- This is possibly non-standard?
                    DOM.A(new AnchorAttributes
                    {
                        ClassName = "close",
                        OnClick = (e) => SetState(new State { IsActive = false })
                    })
                );
        }

I've used "Children.AsEnumerable().Cast()" because the type of "Children" is Union<ReactElement, string>[] so there is a warning if you try to just use them directly in Render:

When calling element factory methods that accept children through a params array (such as Div), the children should not be specified through a single array reference since this bypasses important logic in React about unique keys being present on dynamic children - instead, use one of the alternative method signatures that accepts an IEnumerable of ReactElement or of custom Stateless or Pure Components (see https://facebook.github.io/react/docs/reconciliation.html for why unique keys for dynamic children are important)

Could this be relevant? Thanks!

I think that there are a few problems.
Firstly, the warning about dynamic children is important but I don't think that it should apply when using the "Children" property of a Component class - otherwise you'll always get it when trying to render Children elements in custom components, as you have seen here!
When this is done, maybe the analyser should apply the same logic to the last argument of custom components (if it's of type "params Union<ReactElement, string>[]") so that it's not too easy to create sets of dynamic children without giving them all unique keys.
Lastly, there is nothing that looks obviously wrong with the format of "Children.AsEnumerable().Cast()" and that would appear to be a separate issue. I will investigate that first in case it is a Bridge issue!

I've reproduced the problem using this:
public sealed class Popover : PureComponent<object>
{
	public Popover(params Union<ReactElement, string>[] children)
		: base(null, children) { }

	public override ReactElement Render()
	{
		return DOM.Div(null,
			Children.AsEnumerable().Cast<ReactElement>()
		);
	}
}

This works:
React.Render(
	new Popover(
		DOM.Div("Item0"),
		DOM.Div("Item1")
	),
	Document.GetElementById("main")
);

This doesn't:
React.Render(
	new Popover(
		DOM.Div("Item0")
	),
	Document.GetElementById("main")
);

(I get the same error as you; "Objects are not valid as a React child").

I think that there is some sort of Bridge-related oddness around that "Cast<ReactElement>()" call that I need to investigate further (if there is a bug then I'll raise it with the Bridge Team and record it here).
The good news is that it all works correctly is you just "Children" instead of "Children.AsEnumerable().Cast<ReactElement>()". I hope to remove the warning about using the Children property within custom components soon. In the meantime, though, you could put the following line at the top of your component classes that need to use the "Children" property -
#pragma warning disable BridgeReact // Ignore Bridge.React warnings until https://github.com/ProductiveRage/Bridge.React/issues/20 is resolved
and then you won't get the warning. After I've sorted things out properly, you can remove that line again :)

I got to the bottom of this, it was actually a behaviour in React.
When React.createElement is called with no children then it stores props.children as a null(ish) value, if it's called with multiple children then it's stored as an array but if it's called with a single child then it's stored as a single object. I presumed that one child would be stored the same as multiple and so a non-array object was being accessed as an array, causing confusion. I've changed the bindings to ensure that the "Children" property always returns an array properly.
This fix will be in the next release of the bindings, which should be available early next week.
(I've just remembered that I said that I would change the analyser that was causing the "dynamic children" warning when the "Children" property was accessed - I will also do that and include it in the next release).


Class_format

Summary of Changes
>> Classes for the MRCC inputs, ORCA inputs and ChemShell calculations.

@benshi97 looks like this is good to go?


Clean up command executing contracts and interfaces

GridDomainNode has too many ways of command execution, it leads to confusion.
Need to change base methods to use CommandPlan and review all extensions methods to keep only usefull ones. Need to keep only one execute method in IGridNode or extract ICommandExecutor. It should provide faults return for command execution and optional parameters for expected message, timout should b specified in extensions methods .
take one core method signature:
public Task Execute(ICommand command, params ExpectedMessage[] expectedMessage)

Done in https://github.com/solomoto-dev/GridDomain/releases/tag/1.8.1


Fix for oneHot overflow issue

Description
Fix for tensorflow/tfjs#443
BUG: oneHot overflow for CPU version kernel.

This change is

Review status: :shipit: complete! 1 of 1 LGTMs obtained

Comments from Reviewable


Development: Increase test coverage of assesments-filters component

Checklist
General

[x] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Client

[x] I followed the coding and design guidelines.
[x] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.

Motivation and Context

This PR increases the test coverage of assessments-filters.component.ts
Description

I introduced a dedicated test suite assessments-filters.component.spec.ts
Steps for Testing

Only code review
Review Progress

Code Review

[x] Review 1
[ ] Review 2

Test Coverage

assesment-filters.component.ts: 100% | 91.3%

Will incooperate your feedback, thank you!


No templates for reporting an issue/feature request

Currently, there are no templates or standard structures defined when reporting an issue or requesting a feature. This would make it difficult for contributors, especially beginners, and they might miss out on submitting key details due to a lack of structure.

Thanks for the fix.


Add safety on internal, cyclicbuffer and dynamicarray

https://github.com/dlang-community/containers/issues/115
If it is acceped, I will add safety on the remaining modules and close this issue.

Well, guess I don't need to review this anymore...


Externalsecret and secret creation and update takes around 5 min

We are migrating to external-secrets.io. When we just apply charts it takes around 5 min to sync and create secret.
Even we change refreshInterval secrets sync for around 5 min. I also try to use command from doc kubectl annotate es my-es force-sync=$(date +%s) --overwrite and it isn't help.
Could you please advice

What do you see in the logs of the controller?
Changing the annotation will cause a immediate reconciliation of the ExternalSecret.

Just many of
{"level":"info","ts":1658929987.2561705,"logger":"provider.aws","msg":"using aws session","region":"us-east-1","credentials":null}

Hi @igor-sidorov ! How many ExternalSecrets do you have, with which refreshInterval?
This may be a duplicate of #1336

For creation secrets we are using dataFrom.find. We have 27 External secrets.
refreshInterval = 1m
Total ssm parameters around 200.

@igor-sidorov you can set the loglevel to debug? That will log a bit more context.
I don't have a wild guess to throw here, i think we need more information from :point_up_2:
sidenote / enhancement idea:
It would be helpful to have metrics (maybe additionally a field in es.status) that shows the time taken for reconciliation of an ExternalSecret resource. Also, a (verbose) log event that logged when the reconciliation starts for a particular resource.

It is look like issue was because --concurrent=1.
I have increased that value --concurrent=10. And now secrets can't sync because of Throttling errors from AWS parameter store.
I changed image of deployment external-secrets (I think it is controller) to ghcr.io/external-secrets/external-secrets:main but still getting Throttling errors.
Is any option to solve Throttling errors on AWS parameter store?

I think you can throw money at AWS, they have increased limits with some non-standard parameters IIRC
I think we were about to add provider-level metrics in some issue. These would be helpful now. Let me see if i can implement them. That provides just visibility, that wont fix the issue tho.

Hi @igor-sidorov ! I think its still worth to configure loglevel to debug. This way we can understand if there is any other bottleneck we can improve.

I have increased level but it won't provide any more useful data. I figured out that when you use dataFrom.find you communicate with AWS by GetParameterByPath api call. This method has limit 100 TPS what is very low. So I start use data which use method GetParameter and it not throw Throttling exception. I think it is worth to update manuals with that info.

:+1:  for adding docs around that
For cross-reference:
https://github.com/external-secrets/external-secrets/issues/1193
https://github.com/external-secrets/external-secrets/issues/1066
There is a proposal in https://github.com/external-secrets/external-secrets/issues/1193#issuecomment-1139970881 which could be more efficient in terms of API calls.


[DataTable] Add example in docs for data table

[x] I have followed (at least) the PR section of the contributing guide.

For now, this will remain as a draft. Once the new version of DataGrid that supports v5 is released I'll convert it to a normal PR and we can merge it.
This is part of #441 (MUI-X)

The documentation isn't building locally, a tip, look into https://github.com/mui-org/material-ui/blob/b071899deabdaebd4ccf4f7948a24d1ed33a1411/docs/next.config.js#L110

The documentation isn't building locally, a tip, look into https://github.com/mui-org/material-ui/blob/b071899deabdaebd4ccf4f7948a24d1ed33a1411/docs/next.config.js#L110

@DanailH This effort can be resumed now.

@DanailH This effort can be resumed now.

<EMAIL_ADDRESS>was released yesterday. I'm marking this draft as ready for review.

<EMAIL_ADDRESS>was released yesterday. I'm marking this draft as ready for review.


Workers can delete and download on the client's behalf

Per @loafyyy, there is a need for workers to be able to delete and download PDFs on a client's behalf. This PR adds two endpoints, download-for-user and delete-document-for-user, which lets them do so.
Not in this PR:
Integration Tests (coming later) but I tested it manually and it works
Next steps:

Probably merge the delete and downloads into one endpoint
Fix up authentication code in the pdf services

Codecov Report

Merging #85 (f4c21e6) into master (897b9c0) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff           @@
##           master     #85   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files          91      91
  Lines        3505    3532   +27
  Branches      328     329    +1
======================================
- Misses       3505    3532   +27

Impacted Files
Coverage Δ

src/main/Config/AppConfig.java
0.00% <0.00%> (ø)

src/main/PDF/PdfController.java
0.00% <0.00%> (ø)

src/main/PDF/Services/DeletePDFService.java
0.00% <0.00%> (ø)

src/main/PDF/Services/DownloadPDFService.java
0.00% <0.00%> (ø)

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 897b9c0...f4c21e6. Read the comment docs.

Codecov Report

Merging #85 (f4c21e6) into master (897b9c0) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff           @@
##           master     #85   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files          91      91
  Lines        3505    3532   +27
  Branches      328     329    +1
======================================
- Misses       3505    3532   +27

Impacted Files
Coverage Δ

src/main/Config/AppConfig.java
0.00% <0.00%> (ø)

src/main/PDF/PdfController.java
0.00% <0.00%> (ø)

src/main/PDF/Services/DeletePDFService.java
0.00% <0.00%> (ø)

src/main/PDF/Services/DownloadPDFService.java
0.00% <0.00%> (ø)

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 897b9c0...f4c21e6. Read the comment docs.

@xander-cernek Thanks for working on this. It's different though than how @avwu99 implemented worker actions for clients for /get-documents and /upload. Namely, Austin just used the same endpoint but added an optional targetUser key-value pair in the HTTP body. See #79. I think we should standardize.

@xander-cernek Thanks for working on this. It's different though than how @avwu99 implemented worker actions for clients for /get-documents and /upload. Namely, Austin just used the same endpoint but added an optional targetUser key-value pair in the HTTP body. See #79. I think we should standardize.

@xander-cernek Thanks for working on this. It's different though than how @avwu99 implemented worker actions for clients for /get-documents and /upload. Namely, Austin just used the same endpoint but added an optional targetUser key-value pair in the HTTP body. See #79. I think we should standardize. Also, there should be some kind of check that the client is signed up in the same organization as the worker -- I'm not sure if this check exists already @avwu99.

@loafyyy updated per your comment, also added the org check code to my and @avwu99's code.

@xander-cernek Thanks for working on this. It's different though than how @avwu99 implemented worker actions for clients for /get-documents and /upload. Namely, Austin just used the same endpoint but added an optional targetUser key-value pair in the HTTP body. See #79. I think we should standardize. Also, there should be some kind of check that the client is signed up in the same organization as the worker -- I'm not sure if this check exists already @avwu99.

@loafyyy updated per your comment, also added the org check code to my and @avwu99's code.


Defining a model based on JsonB backing column

I see the KOA-ts example with Person table with a json type on column Address.  How would you set the type on an address property on the model to access it? I see it referenced in the validation schema.

You can define an interface for the json and just use that in the model:
interface Address {
  postalCode: string
  streetAddress: string
}

class Person extends Model {
  address!: Address
}


alias_method_chain is deprecated. Please, use Module#prepend instead

Hi
Please check below WARNING when I am using command line interface .
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from singleton class at /home/daffolap-244/.rvm/gems/ruby-2.3.0@diary/gems/acts_as_paranoid-0.5.0/lib/acts_as_paranoid/associations.rb:6)
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from block in included at /home/daffolap-244/.rvm/gems/ruby-2.3.0@diary/gems/acts_as_paranoid-0.5.0/lib/acts_as_paranoid/preloader_association.rb:11)

See #78

Fixed in 0.6.0!