 I would like to make a Docker image for lazy people. Would everyone be in favour of this?
Cheers,
Marc

The script has a few dependencies but these should be tools any font designer has available, nothing fancy. What were your issues?

But, still,
pip install -r requirements.txt

is what we should have

Agreed, I'll add it later and amend the README

fixed at https://github.com/googlefonts/fontbakery/pull/1004/commits/950694fe685e7f711bc89c4739b81d20e3be8d8c


Create, list and attach clould block storage volumes

Ability to create a server and attache a cloud block storage volume to it, as well as list the existing cloud block storage volumes that exist on your account.

Ping. Any news on this?

Hi there -- if you would be willing to rebase this, I'd love to still merge it in. Thanks!

Closing this out since we never heard back on the rebase


quick fix to keep arrays at the same location as they were declared i…

…n the parsed dictionnary
Fixes  https://github.com/CCSDSPy/ccsdspy/issues/106
That works in my case but I am aware it is not optimally coded.

Looks really good!
Can you run black ccsdspy from the top-level project directory and commit/repush?  This will clean up the whitespace. Tests are failing because of this. Will merge when CI passes.

I've just run black and pushed the changes. I also added comments.

Thanks.. it looks like your change added spaces around ** operators in a couple places, which is causing the CI to fail. Maybe a version mismatch in black? The CI is running black 24.1.1 (latest in PyPI)

Yes, indeed my black version is 21.9b0. I will upgrade and re-run it, I found weird that it made me change code that I did not touch.

Done. Now it added black lines after some docstrings. I hope this is expected...

looks good to me, thanks @tloubrieu-jpl !


ajkax error ..

datatables warning: table id=datatables_table_0 - ajax error.datatables warning: table id=datatables_table_0 - ajax error. ticketit

no solution found online

Same error.
DataTables warning: table id=DataTables_Table_0 - Ajax error. For more information about this error, please see http://datatables.net/tn/7
I have categories, priorities and statuses.
@thekordy

Try composer update, if you're using L5.4, laravel-datatables 7+ should be installed.
The latest release of ticketit probably fixes this, please try

Tried with composer update, still facing the same issue.

Could you please tell your laravel,  laravel-datatables and ticketit versions? They can be found in  composer.lock

i am not sure am i get the right things for you.
"name": "laravel/framework",             "version": "v5.4.23",
"name": "yajra/laravel-datatables-oracle",             "version": "v7.5.0",
"name": "kordy/ticketit",             "version": "v0.3.6",
this project i installed it via this command composer create-project --prefer-dist balping/ticketit-app ticketit

Can you suggest us a operating system in which you installed .
On May 24, 2017 7:45 PM, "balping"<EMAIL_ADDRESS>wrote:

Yes, this is what I asked, thank you.
I made a fresh install using the same command and these are the exact same
versions I have.
It's working for me, sorry I could't reproduce your bug, so I can't really
investigate further. I've got no idea why it's not working for you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/thekordy/ticketit/issues/347#issuecomment-303737089,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZtjGmde5GBtaREwEM-ULnDPdt6natQ_ks5r9DuLgaJpZM4Nhg5b
.

I'm using ubuntu 16.04

Any hope? Here attach the ajax request from debug windows. Any idea? It happen only on admin, not user.
Request URL:http://<IP_ADDRESS>:8002/tickets/data?draw=1&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=ticketit.id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=subject&columns%5B1%5D%5Bname%5D=subject&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=status&columns%5B2%5D%5Bname%5D=ticketit_statuses.name&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=updated_at&columns%5B3%5D%5Bname%5D=ticketit.updated_at&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=agent&columns%5B4%5D%5Bname%5D=users.name&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=priority&columns%5B5%5D%5Bname%5D=ticketit_priorities.name&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=owner&columns%5B6%5D%5Bname%5D=users.name&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=category&columns%5B7%5D%5Bname%5D=ticketit_categories.name&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&start=0&length=10&search%5Bvalue%5D=&search%5Bregex%5D=false&_=1495639777559 Request Method:GET Status Code:404 Not Found Remote Address:<IP_ADDRESS>:8002 Referrer Policy:no-referrer-when-downgrade
Here the the page i found on the preview from debug window.
NotFoundHttpException in RouteCollection.php line 179:

Please post rows main_route, main_route_path and routes from table ticketit_settings in the database. I.e. the result of
SELECT * FROM ticketit_settings WHERE slug LIKE '%route%';

Also, what happens if you replace
"$main_route_path/data/{id?}"

with
"$main_route_path/data"

in line 9 in vendor/kordy/ticketit/src/routes.php?

@irvine48 Ah good, I've just seen your edit.
@salihevrendemir , @prasadvittaldev can you confirm that using a webserver other than artisan serve solves the issue?

how to do that .. copy to var/www/html/
On Wed, May 24, 2017 at 9:58 PM, balping<EMAIL_ADDRESS>wrote:

@irvine48 https://github.com/irvine48 Ah good, I've just seen your edit.
@salihevrendemir https://github.com/salihevrendemir , @prasadvittaldev
https://github.com/prasadvittaldev can you confirm that using a
webserver other than artisan serve solves the issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thekordy/ticketit/issues/347#issuecomment-303777985,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZtjGtpvXM5HkdAxcPoRY2fxnJ3t1dhgks5r9FqRgaJpZM4Nhg5b
.

@prasadvittaldev
Here's the official documentation: https://laravel.com/docs/5.4#web-server-configuration
I personally use php -S localhost:8000 -t public for development, as I mentioned above.

tried that too .. still the same error only in admin page .. agent page
working perfectly
On Wed, May 24, 2017 at 10:01 PM, balping<EMAIL_ADDRESS>wrote:

@prasadvittaldev https://github.com/prasadvittaldev
Here's the official documentation: https://laravel.com/docs/5.4#
web-server-configuration
I personally use php -S localhost:8000 -t public for development, as I
mentioned above.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thekordy/ticketit/issues/347#issuecomment-303778991,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZtjGusUSJJvTvpdEp17lz9KVar_dsD7ks5r9FtrgaJpZM4Nhg5b
.

%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=owner&columns%5B6%5D%5Bname%5D=
users.name
&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=category&columns%5B7%5D%5Bname%5D=
ticketit_categories.name
&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=true&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&start=0&length=10&search%5Bvalue%5D=&search%5Bregex%5D=false&_=1495645254739
this is what its coming in cli
On Wed, May 24, 2017 at 10:30 PM, Prasad Vittaldev <
<EMAIL_ADDRESS>wrote:

tried that too .. still the same error only in admin page .. agent page
working perfectly
On Wed, May 24, 2017 at 10:01 PM, balping<EMAIL_ADDRESS>wrote:

@prasadvittaldev https://github.com/prasadvittaldev
Here's the official documentation: https://laravel.com/docs/5.4#w
eb-server-configuration
I personally use php -S localhost:8000 -t public for development, as I
mentioned above.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thekordy/ticketit/issues/347#issuecomment-303778991,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZtjGusUSJJvTvpdEp17lz9KVar_dsD7ks5r9FtrgaJpZM4Nhg5b
.

@balping  tested with php -S localhost:8000 -t public, produce same error happen on admin page.

The problem still seems to be with the webserver if you say that it works with apache.
Please try this, just a silly idea but might work

Also, what happens if you replace
"$main_route_path/data/{id?}"

to
"$main_route_path/data"

in line 9 in vendor/kordy/ticketit/src/routes.php?

"$main_route_path/data" or "$main_route_path/data"
both negative.

@balping hey, i wonder if change the ajax get request to post request might be a possible solution for this, can you lead me to the part should make change ?
I found the route, but not sure where to get the ajax part.

vendor/kordy/ticketit/src/routes.php

@balping It work, i made these change on the ajax call, with my knowledge still can't modify your code well. Here attached with the changes. As references.

index.blade.php

ajax:
{
   type: 'POST',
   url: '/tickets/data',
   dataType: 'json',
   data: {
      '_token': '{{ csrf_token() }}',
   },
},
//ajax: '{!! route($setting->grab('main_route').'.data', $complete) !!}',

routes.php

    //COMMENT OUT THIS
    //Route::post("$main_route_path/data/{id?}", 'Kordy\Ticketit\Controllers\TicketsController@data')
    //        ->name("$main_route.data");

web.php

   //ADD THIS TO LARAVEL ROUTES.PHP
   Route::post("/tickets/data/{id?}", '\Kordy\Ticketit\Controllers\TicketsController@data');


NPM install fail cause of<EMAIL_ADDRESS>install Error

Environment
node -v v0.12.7
npm -v v2.11.3
node-gyp -v v2.0.1
System Darwin 14.5.0，OSX Yosemite 10.10.5

Run npm install -g webpack
$ npm install -g webpack
\
><EMAIL_ADDRESS>install ~/.nvm/versions/node/v0.12.7/lib/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild

gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: incorrect header check
gyp ERR! stack     at Zlib._handle.onerror (zlib.js:366:17)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "node" "~/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd ~/.nvm/versions/node/v0.12.7/lib/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm WARN optional dep failed, continuing<EMAIL_ADDRESS>~/.nvm/versions/node/v0.12.7/bin/webpack -> ~/.nvm/versions/node/v0.12.7/lib/node_modules/webpack/bin/webpack.js
<EMAIL_ADDRESS>~/.nvm/versions/node/v0.12.7/lib/node_modules/webpack
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
only install fsevents
$ npm install<EMAIL_ADDRESS>npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
npm WARN package.json<EMAIL_ADDRESS>No license field.
-
><EMAIL_ADDRESS>install ~/node_modules/fsevents
> node-gyp rebuild

gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: incorrect header check
gyp ERR! stack     at Zlib._handle.onerror (zlib.js:366:17)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "node" "~/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd ~/node_modules/fsevents
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Darwin 14.5.0
npm ERR! argv "~/.nvm/versions/node/v0.12.7/bin/node" "~/.nvm/versions/node/v0.12.7/bin/npm" "install"<EMAIL_ADDRESS>npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the fsevents package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls fsevents
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     ~/npm-debug.log

It's an optional dependency. So it's fine when it fails.

OK，Thanks

Seems this happens when you prematurely abort npm install.
https://github.com/PolymerElements/polymer-starter-kit/issues/51

This problem persist on Windows. I can't install webpack due to chokidar/fsevents incompatibility with my Windows

Same here - although it's an optional dependency, the webpack package won't install at all.

@JD-Robbs - Try npm install --no-optional
This should skip fsevents as it is optional

@karthik2706 even with that option it still produces an error where in the past it would just produce a warning.

to echo @silkentrance we're experiencing this issue on Windows 10, it complains about fsevents requiring 'darwin' kernel and we did run with npm install --no-optional

In case y'all are still struggling: there was a bug in npm that has been fixed in npm @3.10.10: https://github.com/npm/npm/issues/14042
If you have fsevents in your package.json or npm-shrinkwrap.json,  it needs to be marked as optional, or the fix won't help you.  Once it's set up correctly, I think you don't need the --no-optional.  And with<EMAIL_ADDRESS>shrinkwrapping should set fsevents as an optional dependency in npm-shrinkwrap.json.

Oh, and I guess that goes for<EMAIL_ADDRESS>as well, though I haven't tried it.

@ngokli yep I found out that someone had added fsevents to npm-shrinkwrap.json, removing it fixed the issue

Encountering an issue when using request (https://github.com/request/request). It is using fs.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\c
okidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents
1.0.15: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia3
"})
how to fix this

@hemnath11 there's nothing to fix, yours is working and correctly skipping installing the fsevents library since you're using Windows.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

i meet this problem too! i was struggling with it! i want cry!!!

@hitao123 read the comment above!


Why did you pull this from codeproject? I liked it.

Hi, Why did you delete this article from codeproject? I liked it.

Code project asked me to change the format of my article  :)
I will upload it again as soon as it is ready.


"Address Derivation Configuration" for multisig (when more than one xpub is stored within a labelbase)

index offset not working

Set fingerprint (if 1 labelbase = 1 wallet)
Should be avoided for shared labelbases.


Duplicate workflow IDs across pipelines' manifests don't raise errors

They just overwrite each other. I think I should error on this and warn users to ensure there's no confusion. It's easy with this orb to start copying similar pipeline manifests, and just as easy to forget to update the pipeline's workflow IDs so they're now different.

Duplicate orb aliases w/different orb version references should be errored on as well prior to merging configs. Otherwise it'll just take the last one and it'd be rather confusing why something was referencing latest in the config.


Added link to Deprecations page

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Improve Chain Index documentation

Area
[x] Plutus Application Framework Related to the Plutus application backend (PAB), emulator, Plutus libraries
Describe the feature you'd like
We should write documentation for chain index setup, API, use cases, customization, and more.
A good start is to add openapi3 support to the RESTful endpoints, similar to https://github.com/input-output-hk/plutus/pull/3807. We can then write more textual documentation, from high-level guidelines to the details like tuning cicStoreFrom from 2877844 on the testnet, and 6236060 on the mainnet for Alonzo-only transactions, etc.
Describe alternatives you've considered
We mostly infer things from the source code at the moment, which is not always convenient for developers in general.
Additional context / screenshots
This issue is part of the #4 mega-thread.

@kk-hainq Thank you for the suggestion, we are making chain-index into a library and we will be documenting the features while doing so.

@Yasuke Awesome, thank you! Let us know if we could help in any way.

Hey @kk-hainq It looks like #186 has laid the groundwork for separating chain-index out as a library, if you see anything obviously missing or aren't satisfied with the added documentation, we would definitely appreciate your input into the state of things.

Documentation is hard and dangerous (my left wrist still screams carpal tunnel after our last documentation sprint) so I think we should take steps. We can help add more haddock to plutus-chain-index, plutus-chain-index-core and decorate their README(s) more, what do you think?

We would be happy to have your contribution @kk-hainq!

Hang tight my right hand is already typing!

This issue is outdated now. We'll open more documentation issues when it's more appropriate (architecture is finalized, code is refactored well enough, etc.).


[Select][material-next] Add Select component

Part of https://github.com/mui/material-ui/issues/29345
Material You specs: https://m3.material.io/components/menus/specs
Migration Guide checklist

[ ] Copy component files from material (v5) to material-next, including tests, types, and utils
[ ] Migrate component to Typescript
[ ] Remove deprecated components and componentsProps props, leaving only slots and slotProps
[ ] Drop support for ThemeProvider in favor of CssVarsProvider
[ ] Refactor component to use Base UI’s hook if it exists
[ ] Implement Material You design specs
[ ] Add component playground to v5 docs
[ ] Refactor styles to use component CSS Variables

Other features

native prop for native select isn't provided by Base yet

Some open questions I have on my mind:

New Option component

v5 uses the same MenuItem component for Select options and items in Menu, Base has a new useOption that is distinct from useMenu so we could introduce a new Option component for material-next (this would be it's own separate issue)

New Listbox component?

v5 uses the Menu component for the listbox, if v6 were to use useSelect it wouldn't make sense as Base's useMenu has it's own prop getters with a different context. Maybe we just need to share the styles between Menu and the select Listbox since they should be identical in terms of the MD3 specs

I think the v6 Select will still depend on InputBase for the select trigger, since internally it uses OutlinedInput (or filled) to share styles with text fields:
function Select() {
  return (
    <OutlinedInput // it's essentially `InputBase` with a thin layer of styles
      slots={{
        input: SelectInput, // most of the refactoring with useSelect would happen here
      }}
      slotProps={{
        input: {
          children,
          multiple,
          // more props
        },
      }}
    />
  );
}

@mj12albert I agree with both your points 🙌🏼 This would mean trying to get as close as possible to Joy's implementation (which uses Option and ListBox components) without breaking changes 🚀


Retrieving N lines of records

Dear Developers,
I'd like to ask your help on what would be the optimal way to implement the following algorithm using mdflib.
I'd like to iterate through the whole MDF file record-by-record and return N-lines/records as a plain matrix or a dataframe.
I see there is a method to iterate through groups/datagroups/channels:
for (const auto &channel : observer_list) {
  size_t samples = channel->NofSamples();
  for (size_t sample = 0; sample < samples; ++sample) {

But it seems a bit slow. Based on my experience with other MDF libraries, reading the MDF file record-by-record would result in a better performance, but I cannot see how I can implement this with mdflib.
My goal is to extract data as record-channel matrices and propagate them to a Python interface, where I calculate channel/signal statistics. (At first, retrieving data as a double* or vector is fine.) I'd like to keep the memory consumption under control, so I'd like to keep number_of_channels * number_of_read_records smaller than a predefined constant when I ask for the next data chunk(s).
(I know there is no current Python interface for mdflib, I just added it to describe the whole picture of my use case.)
Thank you for your help in advance!
Best regards,
Daniel

When you call the function ReadData() it reads the file record by record. Before it read the records e.g. the samples, it resize each channel observers internal RAM memory so all samples fits. So after the ReadData() call, all samples and channel values are in primary memory. You can twist your for loops so you first step through each sample and then retrieve the channel values. Note that the channel values are stored in RAM. Its scaled (engineering) value is calculated on the fly.
Conclusion is that read speed is as good at the cost of memory.
The ReadData() function doesn't know anything about the observer. Check the ISampleObserver::OnSample() callback. Your interface is an IChannelObserver object but the implementation is in the ChannelObserver observer class. So the simplest solution is
to create a new ChannelObserverEx class that only holds the last sample and add a call back on the Reader class when a sample is added (read). This will solve the memory consumption.
The python library was planned but there already exist an ASAMMDF library written in pure Python. A C# assembly exist so a Python library should be possible through pybind wrapper.
The problem comes when interfacing to Go, Java, Rust... The plan is to use a gRPC interface instead.
Well, there exists a number of solutions for your problem. I suggest a MS Teams meeting or similar application.  Note that exist a GitHub project.

Thank you for the detailed answer. I'm checking it.
Regarding interfacing with other languages: I think SWIG is an ultimate tool for this kind of purpose. (I've tested it interfacing C++ for Python and C# in a similar project and it seemed very efficient.)

I propose to close this issue and add 2 new requirement into the MDF project. New OnSample observer interface and Python support (similar to C#).


run: add support for swappable engines

This commit revamps lib/run.go to rely on external binaries to perform
the actual execution of the desired command. Each external binary, or
engine, is expected to either exist on the PATH or in the same directory
as the acbuild binary, and must be named as acbuild-$ENGINENAME. The
default (and currently only) engine is systemd-nspawn.
When the engine is started a JSON message detailing what it is to run
and with what environment variables is written into it on stdin. The
package github.com/appc/acbuild/engine has been added to define the
schema for this (and also holds some helper utilities for engines).
Fixes https://github.com/appc/acbuild/issues/13.
Kind of a workaround for https://github.com/appc/acbuild/issues/162.

I'd also like to use this opportunity to write some tests for run, and I'd like to make that part of this PR. So don't merge this until that's done, but putting this up for review until I finish that.

Also as soon as this gets merged I'll add a chroot-only engine (guess I'll call it fly?) and explore adding a runc engine.

pre-test review ping?

I don't really understand the motivation for introducing a new command-line API for this - it seems like another layer of indirection - are you anticipating that it's too difficult for people to upstream engine implementations? I can't imagine we'd see more than a handful developed?

I wanted to keep it easy for others to add engines, although if you think this is too much overhead I could just make it an interface that the engine author needs to implement.

On Mar 17, 2016, at 10:31, Jonathan Boulle<EMAIL_ADDRESS>wrote:
I don't really understand the motivation for introducing a new command-line API for this - it seems like another layer of indirection - are you anticipating that it's too difficult for people to upstream engine implementations? I can't imagine we'd see more than a handful developed?
―
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

I just changed this to have engines be a golang interface. This made some things in lib/run.go simpler.

Thanks, I think we should go with this interface route for now and then later if it makes sense we can explore the exec one

Fixed the issues you found, updated the comment on lib/run.go, and added two tests for acbuild run.

Waiting on travis fix...

Looks like the OS travis uses doesn't have systemd. I've modified TestRun so it gets skipped if ENABLE_SYSTEMD_TESTS isn't set. The test passes on my laptop, and when I implement other engines I can add in tests for those that'll run on travis.

Travis is fixed. Last call for nits.

Two nits. LGTM.


[cca]Add the<EMAIL_ADDRESS>for cca

Add cordova-android 6.0.0 explicitly for cca build.
Impacted tests(approved): new 0, update 2, delete 0
Unit test platform: Crosswalk Project for Android 23.53.589.0
Unit test result summary: pass 2, fail 0, block 0
BUG=https://crosswalk-project.org/jira/browse/CTS-1916

@haoxli , @Honry

But what about testing the newer version in future?

Add a text to store the cordova-android version?

Can we expose a param for specific version of cordova-android?

Yes. I think that's a good way.

Updated, PTAL

@Honry , updated

@haoxli, please also take a look.

Prefer to add cordova-android version following the version of cordova-plugin-crosswalk-webview, not fix it as 6.0.0.


Docker executor couldn't connect to the local gitlab

My case is simply to host a gitlab and a CI runner together inside of my local docker on my mac.
I can see the runner is recognized by gitlab but it looks like the runners docker is unable to fetch repository from it. I'd been searching a lot but just can't fix my problem. I guess it's due to the network settings of the "temp" container created by my runner container. Here's my .yml file which's aiming to create a self-hosted gitlab & gitlab-runner. Hope anyone has any idea to help me to get it work.
version: '2'

services:
  gitlab:
    image: 'gitlab/gitlab-ce:latest'
    container_name: 'gitlab'
    restart: always
    hostname: 'gitlab.local.com'   # I just add this domain name locally in my etc/hosts file
    environment:
      GITLAB_OMNIBUS_CONFIG: |
        external_url 'http://gitlab.local.com:80'
        gitlab_rails['gitlab_shell_ssh_port'] = 22
    ports:
      - '80:80'
      - '22:22'
    volumes:
      - ‘/somewhere-on-my-mac/config:/etc/gitlab'
      - '/somewhere-on-my-mac/logs:/var/log/gitlab'
      - '/somewhere-on-my-mac/data:/var/opt/gitlab'

  node-runner:
    container_name: 'gitlab-runner-node'
    image: sameersbn/gitlab-ci-multi-runner
    volumes:
      - /somewhere-on-my-mac/node-runner/data:/home/gitlab_ci_multi_runner/data
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - CI_SERVER_URL=http://gitlab/ci
      - RUNNER_TOKEN=myTokenCode
      - RUNNER_DESCRIPTION=NODE CI RUNNER
      - RUNNER_EXECUTOR=docker
      - DOCKER_IMAGE=node:7-slim
    restart: always
    links:
      - gitlab

CI thrown messages like this:
gitlab-ci-multi-runner 1.1.4 (9e2fd1a)
Using Docker executor with image node:7-slim ...
Pulling docker image node:7-slim ...

Running on runner-feee1e28-project-2-concurrent-0 via c21641d594e3...
Cloning repository...
Cloning into '/builds/Robin/ci-demo'...
fatal: unable to access<EMAIL_ADDRESS>Failed to connect to gitlab.local.com port 80: Connection refused

ERROR: Build failed: exit code 1

with adding the links = [gitlab] into the [runners.docker] section I got this instead:
gitlab-ci-multi-runner 1.1.4 (9e2fd1a)
Using Docker executor with image node:7-slim ...
Pulling docker image node:7-slim ...

ERROR: Build failed: API error (500): Cannot link to /gitlab, as it does not belong to the default network

Are you trying to start this runner for a local instance of gitlab ?
You must provide a fqdn in the CI_SERVER_URL

The issue is you have the gitlab.local.com entry only in your /etc/hosts.
Just use gitlab in place of gitlab.local.com in /etc/hosts and in the gitlab configuration, and the resolution will be the same in the runner context and on your desktop.

Hi @digitalLumberjack , thanks for your kind response so much. If my understanding is right, then according to your suggestion, those what I should change:

change <IP_ADDRESS> gitlab.local.com to <IP_ADDRESS> gitlab in /etc/hosts on my mac
replace gitlab.local.com with gitlab in my docker-compose.yml file

I will try it soon once I get my mac in hand. One more question, in that case, is the links: -gitlab still necessary for me?


Got Error when enable the GameProfiling

Release Type: GitHub
Version: the latest(.net8)
Platform(s): Windows (Direct3D12)
Describe the bug
as title
To Reproduce
Steps to reproduce the behavior:

Enable the GameProfiling when select 'Direct3D12'

Expected behavior
A clear and concise description of what you expected to happen.
Log and callstacks
[MyGame]: Error: Unexpected exception. SharpDX.SharpDXException: HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: ��������
at SharpDX.Result.CheckError() in C:\projects\sharpdx\Source\SharpDX\Result.cs:line 195
at SharpDX.Direct3D12.Device.CreateCommittedResource(HeapProperties& heapPropertiesRef, HeapFlags heapFlags, ResourceDescription& descRef, ResourceStates initialResourceState, Nullable1 optimizedClearValueRef, Guid riidResource) in C:\projects\sharpdx\Source\SharpDX.Direct3D12\Generated\REFERENCE\Interfaces.cs:line 1398    at SharpDX.Direct3D12.Device.CreateCommittedResource(HeapProperties heapPropertiesRef, HeapFlags heapFlags, ResourceDescription resourceDescRef, ResourceStates initialResourceState, Nullable1 optimizedClearValueRef) in C:\projects\sharpdx\Source\SharpDX.Direct3D12\Device.cs:line 221
at Stride.Graphics.Buffer.Recreate(IntPtr dataPointer)
at Stride.Graphics.Buffer.InitializeFromImpl(BufferDescription description, BufferFlags viewFlags, PixelFormat viewFormat, IntPtr dataPointer)
at Stride.Graphics.Buffer`1..ctor(GraphicsDevice device, BufferDescription description, BufferFlags viewFlags, PixelFormat viewFormat, IntPtr dataPointer)
at Stride.Graphics.Buffer.New[T](GraphicsDevice device, T[] initialValue, BufferFlags bufferFlags, PixelFormat viewFormat, GraphicsResourceUsage usage)
at Stride.Graphics.Buffer.New[T](GraphicsDevice device, T[] initialValue, BufferFlags bufferFlags, GraphicsResourceUsage usage)
at Stride.Graphics.Buffer.Vertex.New[T](GraphicsDevice device, T[] value, GraphicsResourceUsage usage)
at Stride.Graphics.FastTextRenderer.Initialize(GraphicsContext graphicsContext, Int32 maxCharacters)
at Stride.Graphics.FastTextRenderer..ctor(GraphicsContext graphicsContext, Int32 maxCharacterCount)
at Stride.Profiling.GameProfilingSystem.Draw(GameTime gameTime) in E:\Stride\stride\sources\engine\Stride.Engine\Profiling\GameProfilingSystem.cs:line 354
at Stride.Games.GameSystemCollection.Draw(GameTime gameTime)
at Stride.Games.GameBase.Draw(GameTime gameTime)
at Stride.Games.GameBase.RawTick(TimeSpan elapsedTimePerUpdate, Int32 updateCount, Single drawInterpolationFactor, Boolean drawFrame)
at Stride.Games.GameBase.RawTickProducer()

Message: Parameter Error

Would be interesting whether this issue was there before .NET 8 and the FastTextRenderer rewrite...


Failed to load extension

Describe the bug
Manifest File is missing or unreadable
To Reproduce
Steps to reproduce the behavior:

Go to 'Extension'
Click on 'Developer Mode'
Select  'Load Unpack'
Choose the folder
See the error

Expected behavior
The Extension should work properly , it is not even loading in the first place
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information): Chrome

Browser [e.g. chrome, safari]

@shithead999 please check the folder if its containing the manifest file correctly, if yes and its still not working try another way of cloning the repo https://github.com/31b4/Leetcode-Premium-Bypass/blob/main/manifest.json

@shithead999 hey you probably did some mistake whle loading it, follow this video https://www.youtube.com/watch?v=5oZMsPbBljo&ab_channel=31b4
if it still doesnt help tell us

The issue still persist

@shithead999 we solved the issue, read here #42

Let me know if its working

Yup, its working now

@shithead999 so the main problem was u loaded it wrong way right??
can u suggest what can we do so people like you dont have any problem understanding how to load it??

@shithead999 a star on this repo is much appreciated.
Btw can you tell me how did you find this repo?

Sure,
Was surfing GitHub for a leetcode solution 😅


Extend pde2e-runner for mac platform

Check some of the params required to crate the image per platform / arch similar to https://github.com/adrianriobo/podman-backend-e2e

Fixed by: https://github.com/odockal/pde2e-runner/commit/917c297d5aada477c67d7ef7b068ff3f6b9713af


Strange behaviour after git hook is run (Error: Cannot find module 'turbo')

What version of Turborepo are you using?
1.5.5
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
We're using Husky to run a pre-commit hook before we commit changes to Github and have come across some strange behaviour.
The hook is just a single command:
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn precommit

This runs our pre-commit script in our global package.json:
{
/* ... */
 "precommit": "turbo run precommit",
/* ... */
}

...which in turn runs lint-staged in both our ui lib and docs directories to prettify and lint the staged code.
After the pre-commit.sh script has run, you are no longer able to run any turbo CLI commands without first running yarn install. If you try to, you're presented with the following error:
(*local directory omitted for privacy*)
yarn lint

$ turbo run lint
/<local-directory>/node_modules/turbo/bin/turbo:13
    throw e;
    ^

Error: Cannot find module 'turbo'
Require stack:
- /<local-directory>/node_modules/turbo/node-platform.js
- /<local-directory>/node_modules/turbo/bin/turbo
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
    at Function.resolve (node:internal/modules/cjs/helpers:108:19)
    at downloadedBinPath (/<local-directory>/node_modules/turbo/node-platform.js:44:44)
    at generateBinPath (/<local-directory>/node_modules/turbo/node-platform.js:67:15)
    at Object.<anonymous> (/<local-directory>/node_modules/turbo/bin/turbo:7:5)
    at Module._compile (node:internal/modules/cjs/loader:1126:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
    at Module.load (node:internal/modules/cjs/loader:1004:32)
    at Function.Module._load (node:internal/modules/cjs/loader:839:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/<local-directory>/node_modules/turbo/node-platform.js',
    '/<local-directory>/node_modules/turbo/bin/turbo'
  ]
}

For what it's worth, here's the spec of the machine I'm using:
  Model Name: MacBook Pro
  Model Identifier: MacBookPro18,2
  Chip: Apple M1 Max
  Total Number of Cores: 10 (8 performance and 2 efficiency)
  Memory: 64 GB
  System Firmware Version: 7459.141.1
  OS Loader Version: 7459.141.1

Expected Behavior
Should be able to run turbo commands without having to re-install.
To Reproduce
To reproduce:

clone the following repo:

git clone https://github.com/nathnhughes/turborepo-husky-unistall-issue.git

Make some changes to the files
Commit these changes
Try to run a turbo command (e.g. yarn lint) from the root directory.

I had the same issue too.

it might related to https://github.com/vercel/turbo/issues/3317

The problem seem to be a case where the TURBO_BINARY_PATH is not being constructed correctly while triggering the command from a shell script like Husky or while invoking the turbo command from a child process. A workaround seems to be to manually set the TURBO_BINARY_PATH in your husky pre-commit script,
export TURBO_BINARY_PATH=<path_to_turbo_based_on_your_system_architecture>
For example, I use a M processor based Mac and I ended up setting the value to node_modules/turbo-darwin-arm64/bin/turbo (the full path). This is not a final fix, but I was generally curious to see what the issue was.

@nathnhughes if you upgrade to<EMAIL_ADDRESS>you can install turbo globally, and then your precommit could simply be turbo precommit.

This solved it for us, we were having various cross-platform development issues, everyone on windows encountered this bug, and everyone on the latest OS for macbook. By upgrading to latest and installing it globally instead, we now have every platform running turbo, and all husky/git hooks run without this platform-specific error.

Interestingly, in every case of this error, it only occurred when turbo was called from the git hook (and turbo was local dep), the same command could be ran from the terminal error-free

@tknickman @joelybahh can confirm that this did appear to fix the issue.
Perhaps something worth drawing peoples attention to in the docs if this is to be the workaround going forward.

This should be addressed by #5695. If you see this again please open a new issue!


FileNotFoundError: [Errno 2] No such file or directory: 'result_merge_confound_metadata.pklz'

Hello we've been getting file not found errors with fmriprep-docker.
I've tried running without the wrapper:
sudo docker run -v /louis/raw_bids:/data -v /louis/derivatives:/out -v /louis/tmp:/scratch -v /usr/local/freesurfer:/freesurfer poldracklab/fmriprep:1.5.0 --fs-license-file=/freesurfer/license.txt --ignore slicetiming --output-spaces MNI152NLin2009cAsym:res-2 T1w fsaverage5 --participant-label 12345 -w /scratch /data /out participant
Rather late in processing the following error occurs:
Node: fmriprep_wf.single_subject_12345_wf.func_preproc_task_reapp_run_06_wf.bold_confounds_wf.merge_confound_metadata
Working directory: /scratch/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_06_wf/bold_confounds_wf/merge_confound_metadata

...

Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 316, in _send_procs_to_workers
    self.procs[jobid].run(updatehash=updatehash)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 488, in run
    self, report_type='postexec', is_mapnode=isinstance(self, MapNode))
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 152, in write_report
    result = node.result  # Locally cache result
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 198, in result
    op.join(self.output_dir(), 'result_%s.pklz' % self.name))[0]
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 300, in load_resultfile
    result = loadpkl(results_file)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/utils/filemanip.py", line 687, in loadpkl
    pkl_file = pklopen(infile.name, 'rb')
  File "/usr/local/miniconda/lib/python3.7/gzip.py", line 53, in open
    binary_file = GzipFile(filename, gz_mode, compresslevel)
  File "/usr/local/miniconda/lib/python3.7/gzip.py", line 163, in __init__
    fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'result_merge_confound_metadata.pklz'

A second error #1807 also occurs.
I will post the log of fmriprep-docker when that finishes.
I understand an update is slated for #1807, is this related?
Many thanks,
Louis

Here is the output from fmriprep-docker.
$ sudo fmriprep-docker -i poldracklab/fmriprep:1.5.0 -u 12218:12218 -w /louis/temp /louis/raw_bids /louis/derivatives2 participant --fs-license-file=/usr/local/freesurfer/license.txt --ignore slicetiming --output-spaces MNI152NLin2009cAsym:res-2 T1w fsaverage5 --participant-label 12345
Error 1:
$ cat /louis/derivatives2/fmriprep/sub-12345/log/20191012-051737_a10fd8b5-3194-41dd-a507-ef4efb6afbd6/crash-20191012-111456-UID12218-targets-f5ad0e38-2a26-402b-9fb2-b943d7894878.txt
Node: fmriprep_wf.single_subject_12345_wf.func_preproc_task_pass_run_02_wf.bold_surf_wf.targets
Working directory: /scratch/fmriprep_wf/single_subject_12345_wf/func_preproc_task_pass_run_02_wf/bold_surf_wf/targets

Node inputs:

function_str = def select_target(subject_id, space):
    """ Given a source subject ID and a target space, get the target subject ID """
    return subject_id if space == 'fsnative' else space

space = ['fsaverage5']
subject_id = <undefined>

Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 269, in _send_procs_to_workers
    num_subnodes = self.procs[jobid].num_subnodes()
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 1204, in num_subnodes
    self._get_inputs()
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 1219, in _get_inputs
    super(MapNode, self)._get_inputs()
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 521, in _get_inputs
    outputs = _load_resultfile(results_file)[0].outputs
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 300, in load_resultfile
    result = loadpkl(results_file)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/utils/filemanip.py", line 687, in loadpkl
    pkl_file = pklopen(infile.name, 'rb')
  File "/usr/local/miniconda/lib/python3.7/gzip.py", line 53, in open
    binary_file = GzipFile(filename, gz_mode, compresslevel)
  File "/usr/local/miniconda/lib/python3.7/gzip.py", line 163, in __init__
    fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'result_autorecon3.pklz'

Error 2:
$ cat /louis/derivatives2/fmriprep/sub-12345/log/20191012-051737_a10fd8b5-3194-41dd-a507-ef4efb6afbd6/crash-20191012-111903-UID12218-lta_ras2ras-fe8e298e-15dc-4b14-ac68-b9cdaa4b4cc7.txt
Node: fmriprep_wf.single_subject_12345_wf.func_preproc_task_pass_run_02_wf.bold_reg_wf.bbreg_wf.lta_ras2ras
Working directory: /scratch/fmriprep_wf/single_subject_12345_wf/func_preproc_task_pass_run_02_wf/bold_reg_wf/bbreg_wf/lta_ras2ras

Node inputs:

args = <undefined>
environ = {}
in_fsl = <undefined>
in_itk = <undefined>
in_lta = <undefined>
in_mni = <undefined>
in_niftyreg = <undefined>
in_reg = <undefined>
invert = <undefined>
ltavox2vox = <undefined>
out_fsl = <undefined>
out_itk = <undefined>
out_lta = True
out_mni = <undefined>
out_reg = <undefined>
source_file = <undefined>
target_conform = <undefined>
target_file = <undefined>

Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 269, in _send_procs_to_workers
    num_subnodes = self.procs[jobid].num_subnodes()
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 1204, in num_subnodes
    self._get_inputs()
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 1219, in _get_inputs
    super(MapNode, self)._get_inputs()
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 521, in _get_inputs
    outputs = _load_resultfile(results_file)[0].outputs
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 300, in load_resultfile
    result = loadpkl(results_file)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/utils/filemanip.py", line 687, in loadpkl
    pkl_file = pklopen(infile.name, 'rb')
  File "/usr/local/miniconda/lib/python3.7/gzip.py", line 53, in open
    binary_file = GzipFile(filename, gz_mode, compresslevel)
  File "/usr/local/miniconda/lib/python3.7/gzip.py", line 163, in __init__
    fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'result_transforms.pklz'

Hi @ppdac, although you are right this is somewhat related to #1807, you are experiencing the worst case of these problems. We are still investigating the conditions that lead to the problem you've seen - could you send us the full output log from fmriprep? Is the problem solidly replicable (i.e., if you remove the work directory and rerun it will happen the same)?

Okay, I will do that as soon as I can. But I just wanted to let you know that I pulled the image with the unstable tag and that ran successfully.
--
Sent from mobile. Please forgive any typos.
Louis Waweru
Senior Staff Associate
Department of Psychology
373 Schermerhorn Ext.
Columbia University
(212) 854-8167
(347) 843-9167

From: Oscar Esteban<EMAIL_ADDRESS>Sent: Sunday, October 13, 2019 8:13 PM
To: poldracklab/fmriprep
Cc: Louis Waweru; Mention
Subject: Re: [poldracklab/fmriprep] FileNotFoundError: [Errno 2] No such file or directory: 'result_merge_confound_metadata.pklz' (#1819)
Hi @ppdachttps://github.com/ppdac, although you are right this is somewhat related to #1807https://github.com/poldracklab/fmriprep/issues/1807, you are experiencing the worst case of these problems. We are still investigating the conditions that lead to the problem you've seen - could you send us the full output log from fmriprep? Is the problem solidly replicable (i.e., if you remove the work directory and rerun it will happen the same)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/poldracklab/fmriprep/issues/1819?email_source=notifications&email_token=AAZ2URK33UGBURLMBFVV7ADQOO2SZA5CNFSM4JABLOA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBDDTPA#issuecomment-541473212, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAZ2URM3DQJMLXIZ7Q54KSTQOO2SZANCNFSM4JABLOAQ.

Hi @oesteban,
Thanks for looking at this.
Here is the full output of the run:
https://gist.githubusercontent.com/ppdac/ca959d9c58c9e7e6bce995fad7f63d3b/raw/da9b2650dab63dd695cab6b6d4eb0504e92e3a1e/run1.log.txt
I will remove the work directory, rerun and post the output of that when it's finished.

Second run:
Full log:
https://gist.githubusercontent.com/ppdac/aca54c1c478acea168c92b912f820dc4/raw/b740e2c16a6c316c74f6b9f3e6dba87550dbd00f/run2.log.txt
Error 1
$ cat crash-20191014-111012-UID12218-ds_confounds-e3bac540-361c-43d4-98d2-42e4c55cc645.txt
Node: fmriprep_wf.single_subject_12345_wf.func_preproc_task_reapp_run_02_wf.func_derivatives_wf.ds_confounds
Working directory: /scratch/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_02_wf/func_derivatives_wf/ds_confounds

Node inputs:

base_directory = /out
check_hdr = True
compress = <undefined>
desc = confounds
extra_values = <undefined>
in_file = <undefined>
keep_dtype = False
meta_dict = <undefined>
source_file = /data/sub-12345/func/sub-12345_task-reapp_run-02_bold.nii.gz
space =
suffix = regressors

Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 316, in _send_procs_to_workers
    self.procs[jobid].run(updatehash=updatehash)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 411, in run
    cached, updated = self.is_cached()
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 297, in is_cached
    hashed_inputs, hashvalue = self._get_hashval()
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 494, in _get_hashval
    self._get_inputs()
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 521, in _get_inputs
    outputs = _load_resultfile(results_file)[0].outputs
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 311, in load_resultfile
    if resolve and result.outputs:
AttributeError: 'NoneType' object has no attribute 'outputs'

Error 2
$ cat crash-20191014-111016-UID12218-name_surfs-8692d605-0951-445c-854c-b53960100972.txt
Node: fmriprep_wf.single_subject_12345_wf.func_preproc_task_reapp_run_06_wf.func_derivatives_wf.name_surfs
Working directory: /scratch/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_06_wf/func_derivatives_wf/name_surfs

Node inputs:

in_file = <undefined>
pattern = (?P<LR>[lr])h.(?P<space>\w+).gii
template = space-{space}_hemi-{LR}.func

Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 269, in _send_procs_to_workers
    num_subnodes = self.procs[jobid].num_subnodes()
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 1204, in num_subnodes
    self._get_inputs()
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 1219, in _get_inputs
    super(MapNode, self)._get_inputs()
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 521, in _get_inputs
    outputs = _load_resultfile(results_file)[0].outputs
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 300, in load_resultfile
    result = loadpkl(results_file)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/utils/filemanip.py", line 687, in loadpkl
    pkl_file = pklopen(infile.name, 'rb')
  File "/usr/local/miniconda/lib/python3.7/gzip.py", line 53, in open
    binary_file = GzipFile(filename, gz_mode, compresslevel)
  File "/usr/local/miniconda/lib/python3.7/gzip.py", line 163, in __init__
    fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'result_update_metadata.pklz'

If it helps, I ran into a similar issue (referenced here) with this crash log:
https://github.com/poldracklab/fmriprep/files/3718387/crash-20191011-015931-jvanbaar-merge_confound_metadata-224ef30b-5a7f-43ef-b8f0-50c3a2f9167d.txt
@ppdac is it also true for you that the 'missing' files actually do exist in the working dir?
Original comment: https://github.com/poldracklab/fmriprep/issues/1697#issuecomment-541115725_

Hi @jarodroland, would these be the working directories in the container or host machine?

https://neurostars.org/t/fmriprep-1-5-0-semi-inconsistent-errors/5155/12

Hi @oesteban, the unstable tag wound up producing semi-inconsistent errors too. 1.5.1rc1 was successful on the initial run. I'll let you know how future runs look.

Hi @jarodroland, would these be the working directories in the container or host machine? If it's on the container, can you help me understand how to take a look at that? The containers seem to remove themselves after running.

@ppdac, Did you @ the wrong person?

Yes, sorry. That was meant for @jeroenvanbaar.

@ppdac I can find these files in the working dir on my host machine. In my case, I manually set the working dir to a designated scratch directory on the computing cluster using the -w flag in the fmriprep command. All intermediate files will remain there after running fmriprep it seems

@jeroenvanbaar
There are many .pklz files, but I don't see any working directory matches found in the error logs:
$ find /louis -type f -name "*.pklz" | grep result_update_metadata.pklz
/louis/temp-151rc1-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_rest_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_03_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_04_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_06_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_pass_run_02_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_05_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_pass_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_02_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-unstable/fmriprep_wf/single_subject_12345_wf/func_preproc_task_rest_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-unstable/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_03_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-unstable/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_04_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-unstable/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_06_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-unstable/fmriprep_wf/single_subject_12345_wf/func_preproc_task_pass_run_02_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-unstable/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-unstable/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_05_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-unstable/fmriprep_wf/single_subject_12345_wf/func_preproc_task_pass_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-unstable/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_02_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1/fmriprep_wf/single_subject_12345_wf/func_preproc_task_rest_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_03_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_04_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_06_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1/fmriprep_wf/single_subject_12345_wf/func_preproc_task_pass_run_02_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_05_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1/fmriprep_wf/single_subject_12345_wf/func_preproc_task_pass_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-151rc1/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_02_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp/fmriprep_wf/single_subject_12345_wf/func_preproc_task_rest_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_03_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_04_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_06_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_05_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp/fmriprep_wf/single_subject_12345_wf/func_preproc_task_pass_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_02_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_rest_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_03_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_04_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_06_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_pass_run_02_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_05_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_pass_run_01_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz
/louis/temp-run2/fmriprep_wf/single_subject_12345_wf/func_preproc_task_reapp_run_02_wf/bold_surf_wf/update_metadata/result_update_metadata.pklz

So does the current release candidate solve this issue? I'm trying to run a large amount of subjects through fmriprep on our HPC. So far a few hundred succeeded, but a few hundred others had errors along the lines of any of the following:
FileNotFoundError: [Errno 2] No such file or directory: 'result_transforms.pklz'
FileNotFoundError: [Errno 2] No such file or directory: 'result_name_surfs.pklz'
FileNotFoundError: [Errno 2] No such file or directory: 'result_update_metadata.pklz'
FileNotFoundError: [Errno 2] No such file or directory: 'result_ds_confounds.pklz'
FileNotFoundError: [Errno 2] No such file or directory: 'result_merger.pklz'
FileNotFoundError: [Errno 2] No such file or directory: 'result_t1_template_dimensions.pklz'
FileNotFoundError: [Errno 2] No such file or directory: 'result_fix_surfs.pklz'
FileNotFoundError: [Errno 2] No such file or directory: 'result_autorecon3.pklz'
FileNotFoundError: [Errno 2] No such file or directory: 'result_concat_affines.pklz'

Ugh. I was really hoping this was resolved. Does the file actually exist? Since we at least have a full path now, perhaps it is just a FS synchronization issue?

I guess in the worst case, we could do os.sync(). I can't really decide whether I expect that to significantly affect performance.

pinging @satra for him to check on the latest 3 posts.

perhaps it is just a FS synchronization issue?

It is shaping us as such.

I guess in the worst case, we could do os.sync(). I can't really decide whether I expect that to significantly affect performance.

We could call os.syng() only before _get_inputs when MapNodes are calculating num_subnodes(). It's not ideal, but at least we shave off a few calls from regular Nodes.
@mangstad as you can see in my traceback, I am getting one of those FileNotFoundError but the node that actually breaks is not that corresponding to the missing file, it is a different one (called update_meatadata). You can extract the name of the node from the file name given by the line that starts with Saving crash info to....
In other words find <path/to/output/folder> -name "crash-*" should give you a list of nodes that failed. Let's check whether update_metadata is a habitual suspect or not.

What is the status on that bug? Is it solved with rc1 or rc2?
It is happening a lot, even if the work-dir is on a local hard-drive.
Thanks!

We are pushing to cut a new full-release ASAP.

About
fMRIPrep version: 20.0.1
fMRIPrep command: /usr/local/miniconda/bin/fmriprep /data /out participant --ignore slicetiming --participant-label sub-ochsPrep150 --output-spaces MNI152NLin2009cAsym:res-2 T1w fsaverage5
Date preprocessed: 2020-03-04 01:55:36 +0000

Errors
No errors to report!
Thank you all for the hard work!

About
fMRIPrep version: 20.0.1
fMRIPrep command: /usr/local/miniconda/bin/fmriprep /data /out participant --ignore slicetiming --participant-label sub-150 --output-spaces MNI152NLin2009cAsym:res-2 T1w fsaverage5
Date preprocessed: 2020-03-04 01:55:36 +0000

Errors
No errors to report!
Thank you all for the hard work!


Support "IBM-style" filtering

Reference: https://www.jsonapi.net/usage/reading/filtering.html
For existing "mongodb-style" filtering reference: https://canjs.com/doc/can-deparam.html and https://www.mongodb.com/docs/manual/reference/operator/query-comparison/
Also consider:

user might use both styles in the same querystring
user may want to use multiple filters in same query string

Closed via #14

Closed via #14


Akash EDU: New Courses

Three new courses

CLI Provider deployment
Terraform
Akash Console

1 new course under development

On hold until after EthDenver

On hold given other priorities

On hold until after paternity leave

Akash EDU budget inside of Ecostsyem support prop

In the meantime working with 2 Insiders on 3 new courses
If prop passes, push for creating 12 new courses


sensu-api just quits once in a while (after sensu-server restart usually)

I've seen this today on version 0.16.0, but it's been happening ever since I've started using Sensu, a few versions back.
Basically, sensu-api just quits. This seems to happen more often if I restart sensu-server, so I acquired the habit of restarting sensu-api too a few seconds after restarting sensu-server - that seems to help somewhat.
These are the messages I've seen in the logs today:
{"timestamp":"2014-11-03T11:02:00.103424-0800","level":"info","message":"GET /clients","remote_address":"<IP_ADDRESS>","user_agent":null,"request_method":"GET","request_uri":"/clients","request_body":""}
{"timestamp":"2014-11-03T11:02:00.107152-0800","level":"info","message":"GET /events","remote_address":"<IP_ADDRESS>","user_agent":null,"request_method":"GET","request_uri":"/events","request_body":""}
{"timestamp":"2014-11-03T11:02:10.108778-0800","level":"info","message":"GET /info","remote_address":"<IP_ADDRESS>","user_agent":null,"request_method":"GET","request_uri":"/info","request_body":""}
{"timestamp":"2014-11-03T11:02:10.109866-0800","level":"fatal","message":"transport connection error","error":"rabbitmq channel closed"}
{"timestamp":"2014-11-03T11:02:10.109973-0800","level":"warn","message":"stopping"}
{"timestamp":"2014-11-03T11:02:10.610888-0800","level":"warn","message":"stopping reactor"}

I cannot be sure if these same messages were printed during previous crashes, I was too busy to look at the logs until today, sorry.
If I do "service sensu-api restart", it resumes working without fuss.
I'm also using whatever is the latest Uchiwa and RabbitMQ in the repos, all on Ubuntu 14.04 fully updated. A couple dozen clients spread through the cloud in various geographies, usually running same Sensu version as the server.

I also just experienced this. I terminated a secondary dev instance and saw the following:
=INFO REPORT==== 14-Jan-2015::11:37:48 ===
accepting AMQP connection <0.13516.18>

=WARNING REPORT==== 14-Jan-2015::11:37:48 ===
closing AMQP connection <0.13516.18> :
connection_closed_abruptly

=INFO REPORT==== 14-Jan-2015::11:37:50 ===
Statistics database started.

=INFO REPORT==== 14-Jan-2015::11:37:50 ===
rabbit on node 'rabbit@dev-sensu-instance' down

=ERROR REPORT==== 14-Jan-2015::11:37:51 ===
Channel error on connection <0.12706.14> (vhost: '/sensu', user: 'sensu'), channel 1:
{amqp_error,not_found,"no queue 'keepalives' in vhost '/sensu'",
            'queue.declare'}

=INFO REPORT==== 14-Jan-2015::11:37:52 ===
closing AMQP connection <0.12706.14>

=INFO REPORT==== 14-Jan-2015::11:37:52 ===
node 'rabbit@dev-sensu-instance' down: connection_closed

{"timestamp":"2015-01-14T11:37:51.798170-0500","level":"fatal","message":"transport connection error","error":"rabbitmq channel closed"}
{"timestamp":"2015-01-14T11:37:51.798301-0500","level":"warn","message":"stopping"}
{"timestamp":"2015-01-14T11:37:52.299001-0500","level":"warn","message":"stopping reactor"}

I just encountered the same thing. In our case, this behavior is triggered by a Redis failover. When Redis master fails the sensu-server unsubscribes from the results and keepalive queues in RabbitMQ, which ultimately leads to the failure of sensu-api.
I think both the RabbitMQ and the Redis transports in Sensu need to treat transport errors as non-fatal, maybe pause for a moment and re-try the connections. In an HA configuration it's perfectly reasonable to expect that the error scenario will eventually correct itself.
I see this in sensu-server:
{"timestamp":"2015-01-16T08:23:26.105911-0600","level":"warn","message":"reconnecting to redis"}
{"timestamp":"2015-01-16T08:23:26.106250-0600","level":"warn","message":"unsubscribing from keepalive and result queues"}
{"timestamp":"2015-01-16T08:23:26.106595-0600","level":"debug","message":"not currently master"}

followed by the sensu-api logs that @FlorinAndrei posted in the original issue:
{"timestamp":"2014-11-03T11:02:10.109866-0800","level":"fatal","message":"transport connection error","error":"rabbitmq channel closed"}
{"timestamp":"2014-11-03T11:02:10.109973-0800","level":"warn","message":"stopping"}
{"timestamp":"2014-11-03T11:02:10.610888-0800","level":"warn","message":"stopping reactor"}

and the RabbitMQ logs that @benh57 posted:
=ERROR REPORT==== 9-Dec-2014::16:58:32 ===
connection , channel 1 - soft error:
{amqp_error,not_found,"no queue 'keepalives' in vhost 'sensu'",
'queue.declare'}

This seems to be somewhat related to #599

The API transport_info() https://github.com/sensu/sensu/blob/master/lib/sensu/api.rb#L204 needs to check that the queue exists before querying for its stats.

We are also seeing this issue. The sensu-api log shows the following error when we start noticing the issues with uchiwa:
{"timestamp":"2015-03-07T03:35:04.853583+0000","level":"fatal","message":"transport connection error","error":"rabbitmq channel closed"}
I logged into the sensu server and looked at the sensu-api status: sudo service sensu-api status
I got a message that says pid file exists but service is not running. So I started up the sensu-api and seems to have resolved at least for now...

I was also seeing this issue with the same symptoms: server and API randomly die, RMQ logs show the error about the keepalives queue. In my case, I think this was related to me upgrading and downgrading Sensu to test various things without flushing Redis. Not sure if this is everyone's issue, but you can try shutting down all the Sensu services, running a redis-cli FLUSHALL, and then restarting Sensu. That seemed to fix the issue for me (at least so far, still watching it).

@sarkis @jcmcken currently, you can use the following transport configuration to reconnect on error (such as channel closed):
{
  "transport": {
    "reconnect_on_error": true
  }
}
~~~

We could make this the default (true).

@portertech Please do, using reasonable timing settings.

I have two sites that continuously fall offline due to this, which config file does that transport snippet live in?

@pnixon-kwicr you could create, for example, /etc/sensu/conf.d/transport.json, containing:
{
  "transport": {
    "reconnect_on_error": true
  }
}

I've confirmed this is fixed now in versions > 0.18.0 - as reconnect_on_error defaults to true. Thanks @portertech

I'm getting this with sensu-client alot lately -- can this apply there as well - i'll check the rabbit logs and see what i can find...

I'm getting this with sensu-api 0.20.0. I could not yet find any log entry for the reason.
{"timestamp":"2015-07-19T06:43:19.466125+0200","level":"warn","message":"received signal","signal":"TERM"}
{"timestamp":"2015-07-19T06:43:19.466327+0200","level":"warn","message":"stopping"}
{"timestamp":"2015-07-19T06:43:19.967221+0200","level":"warn","message":"stopping reactor"}

i found that puppet was recycling the sensu-client EACH run (due to bug in
version, fixed in master) - and it's alot better now that i'm running
master version...
On Sun, Jul 19, 2015 at 7:41 PM, Moritz Kobel<EMAIL_ADDRESS>wrote:

I'm getting this with sensu-api 0.20.0. I could not yet find any log entry
for the reason.
{"timestamp":"2015-07-19T06:43:19.466125+0200","level":"warn","message":"received signal","signal":"TERM"}
{"timestamp":"2015-07-19T06:43:19.466327+0200","level":"warn","message":"stopping"}
{"timestamp":"2015-07-19T06:43:19.967221+0200","level":"warn","message":"stopping reactor"}
—
Reply to this email directly or view it on GitHub
https://github.com/sensu/sensu/issues/815#issuecomment-122718144.

Did you upgrade sensu or its puppet module?

I assume I just found the reason: #974 The LXC server outside the container stops the sensu-api and the sensu-server with its puppet configuration.

Closing because it looks like this was resolved w/ #974

Nah, we aren't using any sort of openvz container and i've seen this often in the past.  However, i haven't seen this issue in a while. So i'll re-open only if i do.


Cursor grab does not work on Wasm

Using Firefox on Windows 11
Adapter info: AdapterInfo { name: "ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0), or similar", vendor: 4318, device: 0, device_type: Other, driver: "WebGL", driver_info: "2.0", backend: Gl }
This happens when not using fullscreen.
Might be related to https://github.com/bevyengine/bevy/issues/8949
For a possible solution, see this discussion on Discord.
For an ugly hack, use the following:
pub(super) fn plugin(app: &mut App) {
    #[cfg(not(feature = "dev"))]
    {
        #[cfg(not(target_arch = "wasm32"))]
        {
            app.add_systems(OnEnter(Screen::Playing), capture_cursor);
        }
        #[cfg(target_arch = "wasm32")]
        {
            app.add_systems(Update, capture_cursor.run_if(in_state(Screen::Playing)));
        }
    }
    app.add_systems(OnExit(Screen::Playing), release_cursor);
}

pub fn capture_cursor(mut q_window: Query<&mut Window>) {
    let Ok(mut window) = single_mut!(q_window) else {
        return;
    };
    window.cursor.visible = false;
    #[cfg(not(target_arch = "wasm32"))]
    {
        window.cursor.grab_mode = CursorGrabMode::Locked;
    }
    #[cfg(target_arch = "wasm32")]
    {
		// Confined actually resets the mouse position,
        // but only works when paired with a click.
        // So we run this every frame.
        window.cursor.grab_mode = CursorGrabMode::Confined;
    }
}

Just realized that cursor grabbing is indeed not even part of the template and my own addition. Closing as out of scope.


conditionals in options

hello! how about conditionals in options? for example:
imports_granularity = import_count > 5 ? "One" : "Module"

this would complicate things quite a bit but its really robust.
probably wont be accepted but just as a note so that maybe a better structure would be made.
thanks!

Thanks for the suggestion! Could you elaborate on why you think this change would be robust? I'm also wondering if you could point to other projects in the rust ecosystem (or in general) that have this sort of a conditional configuration system. A few more details on your use case would also be help me better understand why you think this would be beneficial.
This would definitely complicate things and I think that's the single biggest deterrent for us not being able to take this on.

Could you elaborate on why you think this change would be robust
well it allows for a lot more configuration and less options that need to be done on your side (well, after its implemented).
This would definitely complicate things and I think that's the single biggest deterrent for us not being able to take this on.
yep

My use case is like the above, only use One import granularity when import count > 5, Im not aware of any projects doing this unfortunately...

Thanks for sharing your suggestion, but as you alluded to in the description this isn't something we're willing to consider so I'm going to close.
There's two core, large issues with the notion that prevent it from being viable:

Trying to define a TOML and CLI compliant config-based DSL, and associated parser is way too much work and way too outside the scope of rustfmt; not to mention more code that can increase the bug surface and which we have to maintain
A decision was made long ago relative to Rust Style and formatting tools to strive for a consistent style across programs/codebases. Obviously we do support config options, but this request would essentially start to shift to the opposite end of the spectrum wherein things would be formatted differently within a given codebase.

Ok thanks!


Question about template variables

Hi again!
I'm curious about the need to use $this->my_var while accessing data in templates. Is there any particular reason (performance, escaping etc.) for not using locally scoped variables like $my_var ? Plates does allow it AFAIK.
I didn't dig into Foil that much, so my question could sound improper.
Regards,
Stoyan

Your question is not improper, and thanks again for your interest.
Reason are:

avoid notices when a variable is undefined.  Inside a template, the usage of $my_var produces a notice if it not defined. $this->my_var doesn't. So a secure use of scoped var  is:
 isset($my_var) ? $my_var : ''

that is more typing than $this->my_var. Actually, the benefit of less typing in scoped var, just vanished.

Autoescape. Foil supports autoescape for variables. Sure it is not as powerful as it is in compiled languages (unless you use arraization), but I feel that something is better than nothing.  More on the topic.

If you are intersted in a more in depth comparison with Plates features I did a blog post.

I see. Thanks for your explanation.
While I agree with your points, I have some concerns about the 'On Plates data access' section.
Having worked countless hours with native php templates, I made the following observations:

variables in the templates are meant to be there, i.e. I had very few situations where I would use a variable that is not set and echo empty string instead. Most of the cases (well.. my cases) all of the variables are set through the controller (on traditional MVC architecture). I barely used isset control structures like your example above.
actually getting notices for undefined variables is sometimes useful. Especially in development mode, where you could just forget to assign a variable to the template or miswrite its name. Foil could benefit from a 'strict_variables' option, like Twig.

About autoescaping - I guess there is no difference for the end user between escaping a variable on demand, when accessing it from the template with $this->my_var and escaping all of the variables that are passed to the render function, thus providing escaped scoped vars to the template. Do you see a room for an option like 'use_scoped_variables' ?

variables in the templates are meant to be there

I've worked countless hours with templates engines, not native php one, but in this regard there is no difference between native or compiled, and I encountered a lot of occasions where variables may be there or not, expecially when data comes from external sources, like API, file parsing...
Moreover, if you know that undefined variables equals empty string, you can use undefined variable by design.
Let's assume that by design a page may has or may not a subtitle. Page template in Plates will problably contain:
<?= isset($subtile) ? $subtile : '' ?>

or a more verbose if statement. In Foil you just <?= $this->subtile ?> obtaining same effect.
An alternative would be always assign subtile var to page, but in that case the control structure is moved from template code to data generation code (controller or whatever), that is sure better, but  no need for it is even better IMO.

actually getting notices for undefined variables is sometimes useful

I'm pretty agree that 'strict_variables' would by a nice addition I'm going to add myself an issue for it.

I guess there is no difference for the end user between escaping a variable on demand...

Plates documentation itself encourages people to do $this->e('var_name').
You can do exactly the same in Foil, but you can also to $this->var_name (so less typing) when autoescape is turned on.
If we agree that unescaped output is bad (and I agree) Foil gives an easier access to escaped data while unescaped data must be accessed intentionally with $this->raw(). Plates does the countrary: unescaped data is easily accessed, while escaped data must be required. I feel this is bad and I can say recently even the Laravel Blade do the same thing moving from unescaped-by-default to escaped-by-default.

Do you see room for an option like 'use_scoped_variables'

Yes, I do. Generally speacking I write open source code for things that I like to have but I can't find. This means the default behavior of my code reflects my preferences. But I don't see reason why I have to force people on my preferences.
I have to say that option will destroy the autoescape thing. So I can allow it only if autoescape is off (there is already an option for that).
If you want to add this feature and do a PR it will be merged. If you have no time for that, add a specific issue, I'll handle it when I can. (for the name I feel we can make it less verbose as 'scoped_variables').

Thanks for the detailed explanation.
My experience with templates is 95% connected with html markup, that's why in my cases $subtitle would be wrapped by span (div, paragraph etc.) and I would use conditional structure to omit this markup regardless of how I access $subtitle. I see this is not valid for the cases you mention (API, file parsing), so I am biased here.
Another attempt to explain my view about autoescaping.
$engine->render('a-template', $template_variables_array);

Why can't the template engine just escape and then extract  $template_variables_array before including the template file, so all of the $template_variables_array items would appear as escaped scoped variables in the template ? The original unescaped $template_variables_array can be kept in order to be able to access the raw variables with $this->raw('my_var');. Does this makes sense or I miss the point ?
I didn't mean to question your purposes for creating Foil, just discussing my views on the topic. I will think about a PR.

Why can't the template engine just escape and then extract $template_variables_array before including the template file, so all of the $template_variables_array items would appear as escaped scoped variables in the template

This is the biggest issue with autoescape in native PHP templates.
Variables passed to templates are not always strings. Strings can be easily escaped. Array can as well, by recursively parse them.
Problem are objects. While you can get object properties using get_object_vars() this fails if object implement __get() overloading method.
Example:
class Post {
    private $data;

    public method __construct(array $data) {
        $this->data = $data;
    }

    public method __get($var) {
        return isset($this->data[$var]) ? $this->data[$var] : '';
    }
}

$post = new Post(array('foo' => 'Bar));
echo $post['foo'];   // echo 'Bar'

If the $post object is passed to templates, there is no way to autoescape post properties.
This problem does not exists for compiled template engines, because they first echo the value, then escape the echoed value.
The point of arraize Foil method is to convert all objects to array, so they don't suffer of this issue and can be easily autoescaped.
If the scoped_variable option is added to Foil, maybe, besides true / false values for it is possible to add support for "arraize" value: when used, if autoescape is true Foil passes template variable to arraize() before extract them...


ci: re-enable travis-ci

It looks like travis-ci is not receiving push notifications for ceph/go-ceph repository. I don't have admin access to the settings, so I can't investigate. @theanalyst do you have access to the settings on this repository?

No, I guess you need to be an owner or something, probably someone from the owners team  can create another team for this and give you the admin access for this repo only

I don't know anything about the CI stuff (or indeed go-ceph), but I have added Noah as a "collaborator" on this repository with Admin access so he can poke around.

thanks greg! the ci integration hook in github just needed a kick for some odd reason. i can't think of any reason i need admin so you can remove that. we're back up and running with jewel and kraken builds.


Uncaught TypeError: this._oMultiSelectControl.useEnabledPropagator is not a function

OpenUI5 version: 1.94
Browser/version (+device/version): Firefox 92.0 (64-Bit) for Ubuntu
Any other tested browsers/devices(OK/FAIL): Chrome is working fine
URL (minimal example if possible): not possible
User/password (if required and possible - do not post any confidential information here): not possible
Steps to reproduce the problem:
1.
2.
3.
What is the expected result? Site loads the data and shows it
What happens instead? Site loads the data but stops building/showing up data because of the error
Any other information? (attach screenshot if possible)
console-export-2021-9-11_8-16-33.txt

Hello @Hunzlifuz,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Patric

Hello @Hunzlifuz and @pksinsik we a URL to access the example
https://github.com/SAP/openui5/blob/56e704a2318eb358595068b3ae571bcc907e64ad/CONTRIBUTING.md#requirements-for-a-bug-report

Hello again @Hunzlifuz
It is true that we have changed something in the EnabledPropagator and ListItemBase
https://github.com/SAP/openui5/commit/c751dd07c5556a2f71ea4e2c713ff188dbb40853
...but I cannot reproduce this issue in any of our samples.
Can you please at least add screenshot of the EnabledPropagator unit test?
If we do not get a reproducible sample or link until end of the week then I am sorry but I will close this incident.
Looking forward to see this in real life.
BR, Cahit

Hello,
thank you for your support and I think the problem is on my side... I have some errors in my coding.
I have to apologize for the inconvenience.
Regards,
Mathias

No problem. I am closing this incident. If you find out something then please reopen with a reproducible sample or link.
Have a nice weekend 😊


Add Fedora / CoreOS 37

This is a proof of concept which allows RKE to be deployed to SELinux enabled Fedora >= 37
Currently this does not allow kube-apiserver to start because it can't write/append audit logs. Maybe this is related to https://github.com/rancher/rke2-selinux/pull/17/files

Thanks! The microos build is failing, I opened another PR to fix it https://github.com/rancher/rancher-selinux/pull/14

Are you using RKE2 and did you install the rke2-selinux RPM? You may need to add a policy for fedora for that repo. The audit2allow workaround it is not very fine-grained but it should work if installing the rke2-selinux RPM is not an option.

I am using RKE1. If i install this RPM the selinux check in rke passes but the kube-apiserver can't start up (that's as far as i've gotten). The system audit log shows some failed appends to /opt/rke/var/log/kube-audit/audit-log.json. Maybe it has something to do with the fact that i am using CoreOS and had to set the flex-volume-plugin-dir (https://rke.docs.rancher.com/os#flatcar-container-linux)... i am not sure.

What do the selinux audit logs say? There should already be existing rules in this package that apply to /opt/rke, possibly we need to add something special for fedora
https://github.com/rancher/rancher-selinux/pull/13/files#diff-3ca1372da779b1babd4670b9d92963b813c9c5b6ec16698bc148c9f063d8da20R2
https://github.com/rancher/rancher-selinux/pull/13/files#diff-f28bb40da5b5177b25533ad1815737e78522fe8f0d3c0cad1177d4114a6f99c7R62

Here are some logs i gathered. The kube-apiserver has a bind mount from /opt/rke/var/log/kube-audit to /var/log/kube-audit.
AVC avc:  denied  { write } for  pid=2384 comm="kube-apiserver" name="kube-audit" dev="dm-0" ino=310378725 scontext=system_u:system_r:rke_container_t:s0:c1000,c1001 tcontext=system_u:object_r:var_t:s0 tclass=dir permissive=1
AVC avc:  denied  { remove_name } for  pid=2384 comm="kube-apiserver" name="audit-log.json" dev="dm-0" ino=310388647 scontext=system_u:system_r:rke_container_t:s0:c1000,c1001 tcontext=system_u:object_r:var_t:s0 tclass=dir permissive=1
AVC avc:  denied  { rename } for  pid=2384 comm="kube-apiserver" name="audit-log.json" dev="dm-0" ino=310388647 scontext=system_u:system_r:rke_container_t:s0:c1000,c1001 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
AVC avc:  denied  { add_name } for  pid=2384 comm="kube-apiserver" name="audit-log-2023-09-25T06-50-52.519.json" scontext=system_u:system_r:rke_container_t:s0:c1000,c1001 tcontext=system_u:object_r:var_t:s0 tclass=dir permissive=1
AVC avc:  denied  { create } for  pid=2384 comm="kube-apiserver" name="audit-log.json" scontext=system_u:system_r:rke_container_t:s0:c1000,c1001 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
AVC avc:  denied  { write open } for  pid=2384 comm="kube-apiserver" path="/var/log/kube-audit/audit-log.json" dev="dm-0" ino=310388650 scontext=system_u:system_r:rke_container_t:s0:c1000,c1001 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
AVC avc:  denied  { setattr } for  pid=2384 comm="kube-apiserver" name="audit-log.json" dev="dm-0" ino=310388650 scontext=system_u:system_r:rke_container_t:s0:c1000,c1001 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
AVC avc:  denied  { unlink } for  pid=2384 comm="kube-apiserver" name="audit-log-2023-09-25T01-25-41.597.json" dev="dm-0" ino=310388648 scontext=system_u:system_r:rke_container_t:s0:c1000,c1001 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
AVC avc:  denied  { nlmsg_read } for  pid=3621523 comm="ss" scontext=system_u:system_r:container_t:s0:c704,c899 tcontext=system_u:system_r:container_t:s0:c704,c899 tclass=netlink_tcpdiag_socket permissive=1
AVC avc:  denied  { read append } for  pid=3715405 comm="kube-apiserver" name="audit-log.json" dev="dm-0" ino=310388650 scontext=system_u:system_r:rke_container_t:s0:c1000,c1001 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
AVC avc:  denied  { open } for  pid=3715405 comm="kube-apiserver" path="/var/log/kube-audit/audit-log.json" dev="dm-0" ino=310388650 scontext=system_u:system_r:rke_container_t:s0:c1000,c1001 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
AVC avc:  denied  { append } for  pid=3715405 comm="kube-apiserver" name="audit-log.json" dev="dm-0" ino=310388650 scontext=system_u:system_r:rke_container_t:s0:c1000,c1001 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
AVC avc:  denied  { open } for  pid=3715405 comm="kube-apiserver" path="/var/log/kube-audit/audit-log.json" dev="dm-0" ino=310388650 scontext=system_u:system_r:rke_container_t:s0:c1000,c1001 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
AVC avc:  denied  { nlmsg_read } for  pid=3716568 comm="ss" scontext=system_u:system_r:container_t:s0:c704,c899 tcontext=system_u:system_r:container_t:s0:c704,c899 tclass=netlink_tcpdiag_socket permissive=1
AVC avc:  denied  { getattr } for  pid=1102 comm="systemd-journal"<EMAIL_ADDRESS>dev="dm-0" ino=24120671 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
AVC avc:  denied  { read } for  pid=3712946 comm="sshd" name="config" dev="dm-0" ino=764424511 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
AVC avc:  denied  { open } for  pid=3712946 comm="sshd" path="/etc/selinux/config" dev="dm-0" ino=764424511 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
AVC avc:  denied  { getattr } for  pid=3712946 comm="sshd" path="/etc/selinux/config" dev="dm-0" ino=764424511 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
AVC avc:  denied  { read } for  pid=3712936 comm="sshd" name="config" dev="dm-0" ino=764424511 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
AVC avc:  denied  { open } for  pid=3712936 comm="sshd" path="/etc/selinux/config" dev="dm-0" ino=764424511 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
AVC avc:  denied  { getattr } for  pid=3712936 comm="sshd" path="/etc/selinux/config" dev="dm-0" ino=764424511 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
AVC avc:  denied  { getattr } for  pid=1102 comm="systemd-journal"<EMAIL_ADDRESS>dev="dm-0" ino=24120671 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
AVC avc:  denied  { read } for  pid=3712972 comm="systemd-user-ru" name="config" dev="dm-0" ino=764424511 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
AVC avc:  denied  { open } for  pid=3712972 comm="systemd-user-ru" path="/etc/selinux/config" dev="dm-0" ino=764424511 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
AVC avc:  denied  { getattr } for  pid=3712972 comm="systemd-user-ru" path="/etc/selinux/config" dev="dm-0" ino=764424511 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
AVC avc:  denied  { nlmsg_read } for  pid=3713002 comm="ss" scontext=system_u:system_r:container_t:s0:c704,c899 tcontext=system_u:system_r:container_t:s0:c704,c899 tclass=netlink_tcpdiag_socket permissive=1
AVC avc:  denied  { read } for  pid=3713031 comm="systemd-hostnam" name="config" dev="dm-0" ino=764424511 scontext=system_u:system_r:systemd_hostnamed_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
AVC avc:  denied  { open } for  pid=3713031 comm="systemd-hostnam" path="/etc/selinux/config" dev="dm-0" ino=764424511 scontext=system_u:system_r:systemd_hostnamed_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
AVC avc:  denied  { getattr } for  pid=3713031 comm="systemd-hostnam" path="/etc/selinux/config" dev="dm-0" ino=764424511 scontext=system_u:system_r:systemd_hostnamed_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
AVC avc:  denied  { nlmsg_read } for  pid=3713601 comm="ss" scontext=system_u:system_r:container_t:s0:c704,c899 tcontext=system_u:system_r:container_t:s0:c704,c899 tclass=netlink_tcpdiag_socket permissive=1

I think some messages are unrelated to kubernetes but i'm not entirely sure.

@bbaumgartl from those logs it looks like the audit log has type var_t, but our type rules are expecting it to be var_log_t. I'm not sure why it's different on your system. You could try changing the file context for /var/log/kube-audit(/.*)? to system_u:object_r:var_log_t:s0, or you could create your own policy using audit2allow or other tools to allow the user rke_container_t to operate on var_t.

Sorry, it took me a while testing things. While updating the nodes i noticed that one node was fine (selinux in enforcing and kube-apiserver starting). Checking /opt/rke/var/log/kube-audit every file had container_file_t instead of var_t all the other nodes had. I am not sure what or when this was set (it wasn't me). I used this node for testing rke with disabled docker selinux. Maybe rke up changed something while docker selinux was disabled. 🤔
After setting container_file_t on the other nodes (chcon -R -t container_file_t /opt/rke/var/log/kube-audit) everything seems to work fine for now.
Does it make sense to add this solution or setting var_log_t on /opt/rke/var/log to the documentation?

Sorry, it took me a while testing things. While updating the nodes i noticed that one node was fine (selinux in enforcing and kube-apiserver starting). Checking /opt/rke/var/log/kube-audit every file had container_file_t instead of var_t all the other nodes had. I am not sure what or when this was set (it wasn't me). I used this node for testing rke with disabled docker selinux. Maybe rke up changed something while docker selinux was disabled. 🤔
After setting container_file_t on the other nodes (chcon -R -t container_file_t /opt/rke/var/log/kube-audit) everything seems to work fine for now.
Does it make sense to add this workaround or setting var_log_t on /opt/rke/var/log to the documentation?

when in doubt, especially with such mixed-mode-over-time scenarios, consider a recursive restorecon on /opt/rke to re-establish baseline assumptions for the runtime+policy.

A restorecon -R /opt/rke does not seem to have any effect. At least it does not change/reset any types in /opt/rke/var/log/kube-audit regardless of which type is currently set. Maybe it only resets packaged files?

@andypitcher let me know if you need RKE1 team help on this

@bbaumgartl thanks for submitting this PR. FYI we will review and, if applicable, merge it as soon as we are done with the PR to support to EL9 and have the build pipelines fixed.
CC @andypitcher


Mobile: Keyboard is auto open when user enter to AddSecondaryLoginPage but not for PasswordPage and PaymentsPage

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Expected Result:
App should have uniinformality either keyboard should open when user enter inside page or keyboard should not open automatically.
Actual Result:
For AddSecondaryLoginPage when user entered keyboard open automatically due to autoFocus in TextInput but for PasswordPage and PaymentsPage user need to give focus to textinput.
Action Performed:

Open the app and login.
Go Settings and select Profile.
Click on "Add Phone Number"
You can see keyboard auto open
In other case go to settings
Click on Change Password, keyboard not open automatically

Workaround:
Unkonw
Platform:
Where is this issue occurring?
Web
iOS ✔
Android ✔
Desktop App
Mobile Web
Version Number:  1.0.63-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
View all open jobs on Upwork

Triggered auto assignment to @conorpendergrast (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

Reproduced on iOS, agreed that we should make that consistent. It's relatively low-impact, so I would recommend a Monthly once we pass through engineering triage

Triggered auto assignment to @chiragsalian (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Yup, low-impact but yeah we should fix this. Setting priority to monthly.
I have the perfect person to investigate. Welcome to e.cash and mobile dev @luacmartins 🙂

Closing issue since PR https://github.com/Expensify/App/pull/3839 has already been deployed to production.


add Cargo.lock file to the repo

Hey!
I want to package hoard for nixpkgs and it would be nice if you could commit the Cargo.lock file.
Are there any releases planned because the last one was 6 months ago?
Thanks!

Hey @Builditluc !
Since hoard is a binary executable not a lib, this totally makes sense, thank you!
Yes, a new release is planned with a couple of updates and bug fixes. For the last couple of moths,  I didn't have access to my working station unfortunately.

Added the lock file


Typo "Azure data factory"→"Azure Data Factory"

https://docs.microsoft.com/en-us/azure/data-factory/quickstart-create-data-factory-dot-net

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


fix(errors): Reporting errors when retry is triggered

:tada: This PR is included in version 1.0.6 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket: