Made stdout/err/log writes persistent

Resolves #738
Required wasmtime change: https://github.com/golemcloud/wasmtime/pull/3/commits/adae4ab236f1eb4216dab8f7e1db6f34470de9e7
Emitting logs is currently considered WriteLocal so it does not interfere with things like http requests.
See https://github.com/golemcloud/golem/issues/741 about making this configurable.
Note that one probably surprising side effect of this change is that adding logging to a component is no longer compatible with automatic hot-update.
I think we can live with this if we do two things:

mention this in the documentation and as a workaround recommend to do non-persistent prints in such cases
help doing non-persistent prints in the language-specific libraries (basically a print surrounded with changing the persistence level)

Tests are failing because hot update test need to be updated to not use persisted prints

Alternatively we could introduce a dedicated oplog entry for this.
That would avoid the effects on transactional and update behavior but it would require explicit handling this new oplog entry in several places in the code.


iOS E2E failures in trigger notifications

For some reason, the trigger notifications are missing the notification block, or at least key parts of it
this:
            const timestamp = new Date(Date.now());
            timestamp.setSeconds(timestamp.getSeconds() + 1);
            const trigger: TimestampTrigger = {
              type: TriggerType.TIMESTAMP,
              timestamp: timestamp.getTime(),
              alarmManager: true,
            };

            const notification = {
              id: `alarm-manger-${timestamp.getTime()}`,
              title: 'AlarmManager',
              body: 'Not Repeating',
              android: {
                channelId: 'high',
              },
            };
            await notifee.createTriggerNotification(notification, trigger);

comes through as
 {"type":3,"detail":{"notification":{"body":"","remote":false,"title":"","id":"JMOMTg5GzRMgzIxCyNAk","data":{},"ios":{"foregroundPresentationOptions":{"sound":true,"badge":true,"alert":true}}}}}

So the test assertion lines on title and body fail

@helenaford going to need your help on this one I think :sweat_smile: - I'm going to disable the tests in iOS E2E for now since they are known failures tracked here.


@Containers Issue

Hello @mcnamee,
First i want to thank you for this great starter app. I had implement everything correctly and i was able to run and modify many things, then i added a new container inside containers folder like so:
--containers
--abscence
--AbscenceContainer.js
--Container1View.js
Here when calling this.props.user i got undefined and i didn't get it why. Here are the attached files i added.
-------------------AbscenceContainer.js----------------------------
`/**

Launch Screen Container

React Native Starter App
https://github.com/mcnamee/react-native-starter-app
*/
import { connect } from 'react-redux';

// Actions
import * as RecipeActions from '@redux/recipes/actions';
import * as UserActions from '@redux/user/actions';
// The component we're mapping to
import AbscenceRender from './AbscenceView';
// What data from the store shall we send to the component?
const mapStateToProps = state => ({
user: state.user,
});
// Any actions to map to the component?
const mapDispatchToProps = {
absence: RecipeActions.getAbscencesAll,
};
export default connect(mapStateToProps, mapDispatchToProps)(AbscenceRender);`
---------------------AbscenceView.js----------------------------
`/**

Launch Screen

Shows a nice loading screen whilst:

Checking if user is logged in, and redirects from there

React Native Starter App
https://github.com/mcnamee/react-native-starter-app
*/
import React, { Component, PropTypes } from 'react';
import {
View,
ListView,
Image,
StatusBar,
StyleSheet,
ActivityIndicator,
} from 'react-native';
import { Actions } from 'react-native-router-flux';
import AppAPI from '@lib/api';
// Consts and Libs
import { AppStyles, AppSizes } from '@theme/';

/* Styles ==================================================================== */
const styles = StyleSheet.create({
launchImage: {
width: AppSizes.screen.width,
height: AppSizes.screen.height,
},
});
/* Component ==================================================================== */
class AbscenceView extends Component {
static componentName = 'AbscenceView';
static propTypes = {
getAbscencesAll: PropTypes.func.isRequired,
}
constructor(props) {
super(props);

this.state = {
  loading: true,
  visitedRoutes: [],
  isRefreshing: true,
  dataSource: new ListView.DataSource({
    rowHasChanged: (row1, row2) => row1 !== row2,
  })
};

}
componentDidMount = () => {
console.log('user token '+this.props.user.token);//this is where i get the error
// Show status bar on app launch
//  StatusBar.setHidden(false, true);
// Try to authenticate based on existing token
/*this.props.login()
  // Logged in, show index screen
  .then(() => Actions.app({ type: 'reset' }))
  // Not Logged in, show Login screen
  .catch(() => Actions.authenticate({ type: 'reset' }));
  params,body

}*/
}
render(){
return (<View style={[AppStyles.container]}>

    <ActivityIndicator
      animating
      size={'large'}
      color={'#C1C5C8'}
    />

</View>

)
};
}
/* Export Component ==================================================================== */
export default AbscenceView;
`
Thank ou in advance

Hi,
It looks as though you're using the launch screen. The launch screen is the first screen to load, when no data exists in redux. The first thing this component does, is to try and login to the API, if successful - it puts user into redux, if not, user will remain undefined.
Check your Chrome debug console, to see if user actually exists.


Permission Set missing

issue is resolved

Comments : if we are getting this error(permissionsets/Application_Admin.permissionset -- Error: Permission CustomizeApplication depends on permission(s): ManageTranslation)
we have to provide the customizeApplication and manage translation access to System Permission


Is hardware acceleration really disabled?

On my MT8127-based tablet, running Android 5.0.1, and on another Cortex-A7-based device running Android 7.1.2, Home Assistant's Lovelace is very laggy using WallPanel: Switches move slowly, pages change slowly etc. animations are horrible.
Tried changing the hardware acceleration toggle but no difference is observed.
The same Lovelace interface displayed on Firefox or Chrome browser appears smooth and well.
Changed to WallPanel Legacy. This doesn't have a hardware acceleration option, but Home Assistant's Lovelace interface is a whole lot smoother, using WebView engine! (Using Crosswalk doesn't even load Lovelace, see report.)
This makes me wonder, what's the difference between WallPanel standard and WallPanel Legacy, when both use WebView, that makes the legacy version show Lovelace so much smoother? Maybe the hardware acceleration option isn't really ever disabled on the standard version?

Well, you can check the code, hardware acceleration is not enabled by default.  Here is the specific code for hardware acceleration:
if(configuration.hardwareAccelerated && Build.VERSION.SDK_INT > Build.VERSION_CODES.LOLLIPOP_MR1) {
            window.setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED)
        }

You have to have this setting on in the application settings and also you must be running greater Android 6.0 or greater.
This project does not use a web browser, so comparing how Lovelace renders in a browser is not valid.  The application uses the Android WebView component to render webpages, this uses a subset of Chrome.  The version of WebView you have depend on which version of Android  you have available on your device.  You may be able to update WebView from Google Play.
The legacy version offers Crosswalk, which is no longer a supported project and so that application is no longer supported.  If you are running Android 5, then the legacy version may be a better option for you.   WallPanel uses WebView, the legacy version offers Crosswalk as an option.
The issue really is Lovelace and its compatibility with older web standards.  Some components in Lovelace might not work in WallPanel.  You can create a new desktop in Lovelace and add each component one by one until it breaks.  This will give you an idea of what you can display in the application.

The question is:

WallPanel (standard) with WebView creates laggy Lovelace
WallPanel (legacy) with WebView creates smooth Lovelace
On the same units. Why?

The only difference is they target different OS version, legacy does not target the current version of Android and it uses libraries to make it backward compatible.   This could be the reason for the difference, the app is running with different compatibility libraries on your device.   That was the reason why the project split, the new version started losing compatibility with older devices.  The Google Play store should list that this is not compatible with devices running less than Android 6, but it incorrectly says compatible back to Android 4.4.  This is not true because the Paho MQTT library had dependencies that do not work that far back and causes crashes.


Delegate to inner XrpcClient in AtpServiceWrapper

AtpServiceWrapper only delegates host() to the inner xrpc client. This means that the default methods provided by the trait will be used for auth() and send_xrpc() - meaning that even if the inner struct provides one of these methods, it won't be used. Since the default method for auth provided by the trait always returns None, this breaks authentication.

Oh... I missed it. Thanks for the fix!
...By the way, I had prepared the AtpService wrapper trait as I thought it was necessary for the token refresh mechanism, but it seems to be unnecessary, so I will remove the AtpServiceWrapper and everything else in the next version of the update.
These changes are in progress in the https://github.com/sugyan/atrium/tree/feature/api-agent-4 branch.


List of 2048 programs

create a list in the readme that has each of the current programming languages that this repository has created 2048 with

Sent pull request to solve this issue.


Ensure QueryCompletedEvent occurs when query fails during planning

The QueryCompletedEvent is not firing when an exception occurs during planning. This PR fixes that.

I spent a while looking at this today, and think I have found a simpler approach.  From the this PR, it looks like there are two places we are missing events.

Failures during the construction of the QueryExecution in LocalDispatchQueryFactory (e.g., during query analysis).
After creation of QueryExecution and before scheduler takes over query (e.g. during planning).

The first one needs special handling, because the query completion event is normally fired by the QueryExecution.  The only change I made here was to simplify the creation of the event.  For the second one, I think we can simple set the final query info like you originally proposed, but limited to queries that have not started scheduling (states <= planning).
The only other change I made, was to simplify the tests, so we don't need more hacks to the TPCH connector.
The changes I came up with are here: https://github.com/prestosql/presto/pull/2842

Superseded by #2842


FIXED - Laggy stuttering

Hello, thank you so much for the amount of work you have put into this bot. I would love it if you can add music search/queing from local mp3 etc to save bandwidth here in Australia :).
I was having issues on my fileserver running the bot I couldnt work it out at first I thought just the code was unoptomized and kicking my 1.4ghz pentium M's cpu to bits. BUT it turned out to be WINDOWS DEFENDER! scanning every youtube download.
Hope this helps others

Local file support is a planned feature, coming soon. #168


Manage different URLs

Hi, I'm using a v1 module as you do, but I have some questions about the different urls, for example on lists.
If I call /v1/books or /v1/books/1 it generates only an item, but responses are different. The first returns a list, the second one an item..
Now I don't have much time to edit your code, but it's a great start.

Hi @parnanzio, I'm sorry for late reply.
Thank you for this suggestion. I don't have much time right now (like You, and other colleagues :) ) and I don't work with PHP and Yii for a while, but I try to do something as soon as possible.


az storage endpoint not available for AzureCLI 2.20.0 in Azure Goverment

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
Attempting to use the az storage command with location usgovvirginia fails with the following error:
ERROR: (NoRegisteredProviderFound) No registered resource provider found for location 'usgovvirginia' and API version '2021-01-01' for type 'storageAccounts'. The supported api-versions are '2020-08-01-preview, 2019-06-01, 2019-04-01, 2018-11-01, 2018-07-01, 2018-03-01-preview, 2018-02-01, 2017-10-01, 2017-06-01, 2016-12-01, 2016-07-01, 2016-05-01, 2016-01-01, 2015-06-15, 2015-05-01-preview'. The supported locations are 'usgoviowa, usgovvirginia, usgovtexas, usgovarizona, usdodeast, usdodcentral'.
To Reproduce
Install AzureCLI 2.20.0 (currently the latest)
Run command az storage account create -g <Resource> -n <Name> -l usgovvirginia --sku Standard_LRS
Expected behavior
The azure storage account to be created and no error produced.
Environment summary
AzureCLI was installed manually through MSI file downloaded from https://aka.ms/installazurecliwindows
az storage command was run through Azure DevOps Release using Azure CLI task version 2.1.0
Additional context
Uninstalling AzureCLI 2.20.0 and installing 2.19.1 allows my command to function with no changes.

storage

Confirmed, have the same issue in all our Azure Devops pipelines using the public agents, ADO have just updated to 2.20.0. Workaround in the pipeline:
pool:
vmImage: ubuntu-18.04
sudo apt install -y --allow-downgrades azure-cli=2.19.1-1~bionic

There is an issue in service side with api 2021-01-01. The same as https://github.com/Azure/azure-powershell/issues/14395.
Currently please downgrade to previous version as a workaround.

We ran into the same issue last day. We had to pin our Az CLI to 2.19.1 to get it working again:
pool:
  vmImage: ubuntu-20.04
strategy:
  runOnce:
    deploy:
      steps:
        - bash: |
            sudo apt install -y --allow-downgrades azure-cli=2.19.1-1~focal

cc @D4N14L

Same here, we had to downgrade Cli to make it work in GitHub actions,
uses: azure/CLI@v1
with:
azcliversion: 2.19.1
inlineScript: |

we have the same issue in Azure china cloud.

As mentioned in https://github.com/Azure/azure-powershell/issues/14395#issuecomment-804596969, the issue is resolved now.


NaN is not propagated in tf.pow(tf.constant(1.0), tf.sqrt(tf.constant(-1.0)))

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
No
Source
binary
Tensorflow Version
2.12.0
Custom Code
Yes
OS Platform and Distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Currently tf.pow(x, y) returns 1.0 (at least on CPU) when x is 1.0 and y is NaN, instead of propagating NaN like most other math ops. Can someone confirm which is the intended behavior? Thanks
Standalone code to reproduce the issue
import tensorflow as tf

x = tf.constant(1.0)
y = tf.sqrt(tf.constant(-1.0))
z = tf.pow(x, y)
print(z)

Relevant log output
No response

@hujiajie,
Thank you for reporting the issue. Have you got the chance to have a look at this open issue https://github.com/tensorflow/tensorflow/issues/57747 https://github.com/tensorflow/tensorflow/issues/57757 where a similar issue has been reported and it is still open.
Also I request to follow the similar feature which has been proposed to have the updates on the similar issue. Thank you!

I can follow on #57757, thanks!


Possibility to list homes and warps

Hi, is there currently a possibility to list all homes and warps in the game? If not, it would be nice to have that feature.

It's supposed to list them when you get a name wrong but it doesn't for some reason :/


Add videos/talks

As part of the resources section (or as a new section) videos, presentations or talks could be added to the list

Possible video to add:

https://www.youtube.com/watch?v=oCPT3L33848

closed due to inactivity


MqttRpcClient now adds ResponseTopic to MqttApplicationMessage when using MQTT v5

Currently when using MqttRpcClient the ResponseTopic property is not set even when using protocol version V500.

Thank you for your contribution. Good work 👍


How to add header to request?

Is there any way to send also header with requests?

The only way i found to achieve this is to set a requestInterceptor in the swagger-ui init (in index.hbs of hapi-swaggered-ui) :
Something like that in the  SwaggerUIBundle(Object.assign({....
    requestInterceptor: (req) => {       req.headers.Authorization = 'Bearer ' + localStorage.getItem('token');       return req;     },


Error code

If I open the minimized Safari window, after 30 seconds it quits and I get the following error
error "Safari got an error: Can’t get window id 6178." number -1728 from window id 6178

hi @bsteinlo. Would love to help you figure this out and sorry to hear it hasn't been more straightforward for you. When the script starts, it opens a new Safari window and then minimizes it to hide it while it runs. Is it possible that you are closing a tab in that window, or closing the window entirely, or quitting Safari?
The window launched by the script stars with two tabs: one empty/default tab, and the delivery slot page. The script then close the right most tab (the delivery slot one), and reopens a new tase with the same URL after 10 seconds. the left most tab(empty/default) should never be closing.
Let know if you are seeing different behavior

@bsteinlo I take it your problem was resolved?


Filter limitations

There is nothing that I can find in the API documentation or in the more general description that states what the filter limits are. I tried filtering received advertisements by UUID. I could only add one UUID. If I added a second, nothing passed through. I am not sure if that is a bug in my implementation (don't link so) but an undocumented behavior of the filter.

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

ID: efe3c92a-ec28-648e-44b4-10ce62d6c107
Version Independent ID: eac958bb-b09d-a0db-b08b-50c844269184
Content: Bluetooth Advertisements - Windows UWP applications
Content Source: windows-apps-src/devices-sensors/ble-beacon.md
Product: uwp
Technology: peripherals-sensors-and-power
GitHub Login: @eliotcowley
Microsoft Alias: elcowle

Thanks for taking the time to let us know about this issue and we sincerely apologize for the delayed response.
Per the section at https://docs.microsoft.com/en-us/windows/uwp/devices-sensors/ble-beacon#watching-for-a-specific-advertisement-pattern, the filter demonstrated is  using an https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.advertisement.bluetoothleadvertisement.manufacturerdata list. So it appears that more than one filter can be applied.
As this page has been updated since you reported the issue, the issue appears to be covered, and the sheer volume of of feedback in this repo requires us to prioritize new issues, we're closing this one due to age and lack of activity.
If you think the issue still exists and should be addressed, please open a new issue with any details/suggestions you think might be helpful.

I have not made any more activity because I had so many difficulties with things not working our company gave up.


[Frontend] Update the favicon and title to be more DC themed

Working on it!

This includes changing the favicon to use the DC government logo found here http://rui.dc.gov/style-guide/ and updating the title to be CFSA Referral

#38 Only half the task. Recommend sticking Helmet in their at some point.

Completed


User Permissions

Check for user permissions before being able to execute moderation commands.  This should be the first one that the bot should check for.

This is a rather strange issue I'll have to look into. See my permission extension method, which is used in the ban command

Actually I just notice that command uses the old method of checking perms. This will be fixed soon 👍

Thank you for pointing this out. The issue has been mentioned in the most recent changelog, and close monitoring will be put in place for any following security issues.


update from upstream

chore: try codecov again
fix: don't require reviews
fix: force signed commits
fix: set the correct tag
chore(deps): update codecov/codecov-action action to v3.1.1
chore(deps): lock file maintenance
fix: update rules

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


SyncBot: Integrate with billing and flag unpaid users' support@ emails

It would be great if SyncBot could notice non-paid users emailing us in support, and send a canned response back to the user asking them to use the forum. Then we'd see it in support and know we can close it.

@sonyagreen I think this can be done using the existing functionality within Front, and would prefer to use native tools where available.  Something like the attached.  What do you think?

I'm going to close this ticket down.  It's not really SyncBot's job, and is available through Front inbox rules.

Agreed it's not Syncbot's job.  Currently this isn't possible in Front because it doesn't know if a user is paid or free.


Actor health

/CC @herecydev  @mattridgway

Probably as good a place as any to have this discussion.
Having slept on it, I don't like what we've done so far regarding ticking the engine.  We don't need to enforce that the engine even has a "tick".  We can remove the concept of ticks completely, and just allow subscription by interval.
I also think we need to add a new issue regarding the engine notifications which should precede all other work such as #3 .
Once we have this observer pattern (or a superseded design) in place, then think again about the actors, health, etc?

Sorry about last night. Super burned out.. Probably wasn't too wise to try coding.
On topic, I'm not sure about ticks at the moment. I'm not leaning any specific way. However I do agree that this blocks anything we have. So you're right about making it an issue.

Don't worry about last night. Hope you're feeling refreshed! In my experience, when you don't understand or get something I'm trying to explain, although I might not realise at the time, it usually means I'm preaching something that doesn't make sense to anyone but me (and is wrong).
@mattridgway nd I spoke about this quite a bit today. Going to formulate some viewpoints and intent on the wiki, then come back to this PR once we agree on direction. Exciting things in the pipeline though!

@herecydev - are we getting rid of this?

Yes, though was leaving it here to show it's fine to kill off branches if they're wrong (and in case there's any more code we want to nick).


Shielded support

Currently MPW doesn't support shielded addresses/transactions, adding them is not easy so I suggest dividing the work in sub-tasks each one with a corresponding bounty:

Add support for Zip32 (i.e shielded hierarchical deterministic wallet). This task in particular includes showing the correct balance for each address in the wallet and, due to the nature of shielded transactions, this will require saving all the note commitments/ nullifiers on the MPW client;
Implement the possibility to create shielded transactions;
Implement the conversion between transparent PIVs and shielded (and viceversa).

I am currently working on the first task, if you want to help write here/ on discord and I will assign

Implement the conversion between transparent PIVs and shielded (and viceversa).
Isn't that the same as shielded transactions? (Genuine question)

Implement the conversion between transparent PIVs and shielded (and viceversa).

Isn't that the same (or at least similar enough) as shielded transactions? (Genuine question)

yes it should be quite different, anyways that was just a possible proposal, if you have a better idea we can change the subtasks


AP Test Week 3 Review Ticket Brian Zhang

Score: /2   Graded By: Evan Sanchez
GitHub Pages
Quiz 4(24/25) and Corrections

Score: 2/2

GH Indi Page, Review Ticket, Crossover graded, Study Plan 1/1

Quiz5 MCQ results >50%, (1 or 0) and test corrections 1/1
Tangible


Add parameters for transform_video: start_sec & end_sec

Signed-off-by: Jael Gu<EMAIL_ADDRESS>

Codecov Report

Merging #1142 (edc3239) into main (4505778) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1142   +/-   ##
=======================================
  Coverage   65.97%   65.97%
=======================================
  Files         226      226
  Lines       10298    10298
  Branches     1731     1731
=======================================
  Hits         6794     6794
  Misses       3056     3056
  Partials      448      448

Impacted Files
Coverage Δ

towhee/models/utils/video_transforms.py
86.41% <100.00%> (ø)

Continue to review full report at Codecov.

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

/lgtm
/approve


VM starts as bash shell sometimes (Ubuntu GUI fails to start)

New VM starts ok first time, but when started after shutdown would only get as far as ubuntu-xenial login: prompt. Login as sirfuser starts bash shell.

This is X server stuff again. most likely your VB is out-of-date?

I am using 5.2.8, the latest so far as I can see from VB site.

ok. too bad. This will then be a problem with Ubuntu/the Vagrant box/VBox. Sigh. will presumably have to be flagged upstream, but not sure where...
Maybe try a "sudo apt-get update;sudo apt-get upgrade" and hope it disappears...

No, update+upgrade did not help

I've installed the VGA for 5.2.8, so that should work. At any rate, could you please test whether installing VGA to your VM solves the problem?
open a terminal
sudo mount -t iso9660 /dev/cdrom /media
sudo /media/VBoxLinuxAdditions.run
sudo shutdown -r now

mount: no medium found on /dev/sr0

try sudo mount -t iso9660 /dev/cdrom /media instead

sudo mount -t iso9660 /dev/cdrom /media
instead of
sudo mount -t iso9660 /dev/cdrom /media
?
(looks identical to me)

@evgueni-ovtchinnikov try to insert guest addition CD first

can we please try update_VGA.sh instead to the manual commands? (as a debugging check). still needs you to "insert the CD" as above

tried update_VGA.sh, restarted - no difference

did you insert the cd?

this https://github.com/CCPPETMR/CCPPETMR_VM/issues/77#issuecomment-382001768

nothing happens when I click there

insert the CD clickin' there and then do the update_VGA.sh or manual steps

update_VGA.sh should error out if it didn't find the Guest Additions CD, so if it didn't, it should have updated your Guest Additions. This is somewhat unlikely to help as it seems that the VGA should be the same version.

@evgueni-ovtchinnikov, what kind of error message are you getting in your console when this happens?
I've just had a case (with the old VM) where it said something like
[drm:vbox_bo_push_sysram [vboxvideo]] *ERROR*  unpin bad xxxxxxx

with xxxxxxx some hexadecimal number.
I found a post that discusses  this in 2016 with older VBox which recommends to adding the following to grub.cfg
GRUB_CMDLINE_LINUX_DEFAULT="iomem=relaxed"

I have no clue if this is still necessary. Let's only try this if you get the same error.

The issue was fixed by reinstalling the VGA.

This hasn't fixed the problem. I just did a reboot where the X-server failed to start (blinking screen). I also noticed that the VM captures the mouse (but doesn't display it), which is quite annoying. I can get out of that by pressing the Host key once (right-ctrl on Windows by default). That confirms it's a VGA problem.
I've run update_VGA.sh. That does lots of stuff but reports "something went wrong, but proceeding anyway". I don't know what went wrong. I'll do an occasional report and let you know.
@paskino, can you see if you have the same update_VGA.sh error and investigate a bit?

had this problem again
solution that worked for me:
cd devel/CCPPETMR_VM/scripts
sudo ./update_VM.sh
click on Devices->Insert Guest Addition CD when prompted to insert CD
reset VM
BTW sudo update_VM.sh in the home folder did not work (did not found the script - without sudo it did, but update failed)

can you check which step in update_VM.sh needs sudo? I'd like to avoid it as much as possible

sorry, it was update_VGA.sh of course
apparently mount -t iso9660 /dev/sr0 /media/cdrom failed as the last message before the failure was
"CD still not found. Trying /dev/sr0 !"

ok. let's leave this closed as I have no clue what we can do about it :-;

What trick?
update_VGA.sh didn't work? What's the output?
I have to run it every now and again but so far it's done its job.

please see my comments on sep 28, just above my previous message

closing is we haven't had this in ages, and it's not in our control anyway.


162

I can't really parse your first comment. As for the second comment, we need
a way to disambiguate space names from views associated with the entity. We
have decided to use a leading underscore. I'm not aware of a way to
disambiguate without either reserving words or using an identifying prefix.
If you can explain another way, let me know. Nothing to do with angular
btw, this is just a logical problem.
On 20 Feb 2017 11:54 pm, "Dana Gutride"<EMAIL_ADDRESS>wrote:
@dgutride commented on this pull request.
I'd recommend reconsidering this approach instead of just using the
built-in angular way of getting the set values on the URL.
In src/app/shared/context.service.ts
https://github.com/fabric8io/fabric8-ui/pull/166#discussion_r102072223:

@@ -197,6 +197,10 @@ export class ContextService {
}

private checkForReservedWords(arg: string): boolean {

// All words starting with _ are reserved
if (arg.startsWith('_')) {

Is the underscore only being added to try to identify reserved words in the
url? Why not just use the named route params instead so :entity or :space
values can be extracted.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fabric8io/fabric8-ui/pull/166#pullrequestreview-22817677,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJoQWjQwckex-UtuEmJpQV9T-2ehfm0ks5redpigaJpZM4MGfJr
.

I think I understand your first comment now - it's not related to this PR AIUI, but rather the extraction of the :space and :entity from the URL? If so, issue + patch please - putting that comment on a PR will mean it gets lost in the long term.

@pmuir  - are you trying to solve the problem that /:entity/:space and /:entity/settings appear to be the same thing to the router?
If so - I've created a plnkr to demonstrate what I'm talking about:
https://embed.plnkr.co/EmL9snk036MvxZsNS4bc/
The router can distinguish between routes that it matches vs routes with parameters in them (see app.routes.ts in that example)

This work was done using the Angular router in #173. If there is still an issue or concern please raise it. I believe that the current solution is a better option, therefor I'm closing this PR.

@dgutride fixed another (similar, but not related) problem in #173 to #165 so we still need this PR. We still need to fix the URL scheme to the correct one, which is what #165 is about. I tried to explain in more detail in #173 but in essence right now we can't have spaces called settings, resources etc (so those words need reserving). We also will restrict the = routes underneath :entity apart from spaces once people start creating spaces (as there may be spaces created with the names we want). So we will prefix all routes under :entity with an _ and reserve all names starting with _.

I will rebase this on top of @dgutride changes.

@joshuawilson @dgutride rebase is done, please re-review :-D

@joshuawilson  - I'm good with this one.


Allow to customize 'My projects' string

Closes #236

Just looking at the code LGTM. Will you add this new variable to the docs as well?

Once it is written on stone, another PR will be needed on the docs website for it, but yes

Documented in https://github.com/Pelican-Elegant/documentation/pull/75


blue_matrix color scheme

Please check if the PR fulfills these requirements

[x] Placed theme file in themes directory
[x] Updated schemes.yaml file

Link to the source repository

Please mention the source of the color scheme (preferably link to the original repo)

Modifications

[ ] Copied from source without modification
[ ] Minor modifications (changed few colors for clear visibility)
[ ] Heavily modified (almost all the colors are modified)

please add link to source


Remove ifcfg-provisioning during host_cleanup

There was a bug in this file previously, and it apparently doesn't
get updated properly. Remove the file during host cleanup so it will
be re-created correctly.

merging, ci isn't going to test this anyways.

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/444/


Update issue template for Bug reports

Changes

Add 'Opera', 'Vivaldi', and 'Other (please specify)' as browser options

Vivaldi and Opera are both popular Chromium-based browsers
Also made this list in alphabetical order

Add prompt for the version number of iD
Give a clickable link to development deployment so the reporter of an issue can easily go there to check

I wasn't sure what other browsers (if any) should be included here, also thought of just adding an 'Other Chromium-based (please specify)' option to the list instead of adding Vivaldi and Opera directly, that way they could be just input by an issue reporter as needed.


Load , Volume Testing - Gathering Records

Title of ticket:
Description
The purpose of this task is to check apps performance , behaviour while uploading various file types in a realistic volume, with a realistic level of concurrency agreed by business, and there by understand the UX, issues and breakpoint if possible.
Note : The Idea is to do load/volume testing in different stages and/or  steps - This way we can relate the performance of each operations/feature!

Isolated/Exclusive Volume Test per feature -  TBD FileCount per test: ~ eg:  average of 60 Pdfs, 40 excels, 40 DOCx, 40 MSG and 20 Icals

Exclusive Dedupe - only PDFs & addn. file types - JPGs, PNGs, SHP files etc,

conversion and dedupe together
    - PDF
    - DOCX/DOC
    - XLS/XLSX
    - MSG
    - PNG. JPGS, Shape file , JSON etc

stitching etc.

Inclusive Load Testing : This is stage where we test more real life conditions - like mix and match of various file types and file sizes are uploaded in a concurrent manner! - say like, minimum 10 people uploading files concurrently. 100MB/ 300MB / 500 MB- @abin-aot to get stats from LAN and S3 archives

Dependencies
Are there any dependencies?
DOD

[ ]   XLSX/XLS - Isolated/Exclusive Volume Test
[ ]   PDF - Isolated/Exclusive Volume Test
[ ]   DOCX/DOC - Isolated/Exclusive Volume Test
[ ]   MSG -  Isolated/Exclusive Volume Test
[ ]   100 MB each / 10 user concurrency  - Inclusive Load Testing  - Say Like, 60 PDFs, 40 XLSX, 30 DOC, 20 MSG, 30 JPEG, few shapes - idea is to have all file types in a go!
[ ]   300 MB each / 10 user concurrency  - Inclusive Load Testing  - Say Like, 60 PDFs, 40 XLSX, 30 DOC, 20 MSG, 30 JPEG, few shapes - idea is to have all file types in a go!
[ ]   500 MB each / 10 user concurrency  - Inclusive Load Testing  - Say Like, 60 PDFs, 40 XLSX, 30 DOC, 20 MSG, 30 JPEG, few shapes - idea is to have all file types in a go!

As discussed at sprint planning - start by isolating specific file types to confirm if there are any memory leaks, or issues with specific file types.
After individual file types pass, move towards a blended test that more mimic real conditions. Ex. have seen requests with 800+ excels, others with over/around 100 msg files, and combinations within.

Need to make sure files that throw errors do not impact other files/processes

if possible - try attempting to upload a locked file such as a PDF


Cactus Only Placeable on Vanilla Sand

Cactus Seeds cannot be placed on non-vanilla sands, even those from mods correctly applying the 'sand' oredict tag.
MC Version 1.12
Mods Tried: Underground Biomes.

Even S-N-A-D?
This is probably a quick fix to a check somewhere. Or not, if the placement system is compex.


ci: Fix reporting status from lab tests to PRs

We were misreading the computed ref for tests (missing "outputs" in the variable name), which led us to check out and test main instead of the PR's head.  This also led us to set status on the latest commit in main, instead of on the PR.
Once the variable was read correctly and the correct ref was checked out, I found that the ref argument to set-commit-status was actually not usable, since "git rev-parse refs/pull/4528/head" would fail. But now that we are checking out the correct commit, the ref argument turns out to be unnecessary.  Whatever we checked out is what we should report status on.

Sorry for the churn.  You can see statuses on this PR that starts with "Selenium / ", so you can see that it is working correctly with this change.


[BUG] vtu 2.2 format

Describe the bug
The vtu reader fails for version 2.2 files (written out in some cases by vtk-9).  It raises an exception at:
            if version not in ["0.1", "1.0"]:
                raise ReadError(f"Unknown VTU file version '{version}'.")

To Reproduce
I've attached a small mesh file to reproduce.    domain_00000000.vtu.zip
>>> import meshio
>>> m = meshio.read('domain_00000000.vtu')
Unknown VTU file version '2.2'.
Error: Couldn't read file domain_00000000.vtu as vtu

Workaround
If I simply tack on "2.2" to the list it works fine, at least for this simple mesh:
            if version not in ["0.1", "1.0", "2.2"]:
                raise ReadError(f"Unknown VTU file version '{version}'.")

>>> import meshio
>>> m = meshio.read('domain_00000000.vtu')
>>> m.points
array([[ 0.  , -0.  , -0.  ],
       [ 0.25,  0.  ,  0.  ],
       [ 0.25,  0.25,  0.  ],
       ...,
       [ 1.  ,  0.75,  1.  ],
       [ 1.  ,  1.  ,  1.  ],
       [ 0.75,  1.  ,  1.  ]], dtype=float32)
>>> m.cells
[<meshio CellBlock, type: VTK_LAGRANGE_HEXAHEDRON, num cells: 64, tags: []>]
>>> m.cells_dict
{'VTK_LAGRANGE_HEXAHEDRON': array([[  0,   1,   2,   3,   4,   5,   6,   7],
# ....

Diagnose
pip freeze | grep meshio
meshio==5.3.4

Did I help?
I would be happy to submit a PR with the workaround above.   This should help meshio read at least certain version 2.2 files.
(EDITED: I accidentally submitted prior to finishing typing this up)

According to https://vtk.org/Wiki/VTK_XML_Formats, there is no such version 2.2. Looks like a bug in the writer.
Anyway, this the issue does not occur in the upcoming version. (You'll just get a warning.)

FYI, that wiki page is just out of date.   I found it mentioned in the VTK changelog for 9.1:
https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/release/9.1.md#data
A warning sounds good though, thanks.


1286 document config parameters in plugins

docstrings for the configuration parameters have been added for all plugins
in case documentation was already existing it was standardized and updated
NOTE: for currently unused plugins (such as CSWSearch or S3RestDownload) the documentation might be incomplete due to missing examples; it should be updated when they are used again

format of documentation for config parameters changed to sphinx style

First part of comments is implemented, I will check the rest later.


Set initial interface state in nncp form

Creating a new interface in the interface form would generate an interface without state.
spec:
  desiredState:
    interfaces:
      - name: brm2       // second created  interface
        type: linux-bridge
      - name: brm1     // first created  interface
        type: linux-bridge
      - name: brm0       // initial interface
        state: up
        type: linux-bridge

It works because probably the default state is 'up' but its not documented so lets just add it explicitly. This behavior can change over time.

/lgtm


Set up all CI to use GH actions

Signed-off-by: Ben Alkov<EMAIL_ADDRESS>Maintainers will complete the following section

[ ] Commit messages are descriptive enough
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request has a link to an osbs-docs PR for user documentation updates
[ ] New feature can be disabled from a configuration file

What is status of this PR? Can it be closed?

What is status of this PR? Can it be closed?

This was meant as a P.O.C., and also to gauge interest, but I never got any feedback - if we're interested in moving forward with this, there's very little work left; this PR is practically done.
@MartinBasti; What should I do with this? Are we interested in pursuing it? If so , I'll open it for reviews.

I'd like move to GH actions then

You can see what a run looks like here

So we will not have such nice link to coveralls web to see details of coverage?
Why stickler is not there anymore?

So we will not have such nice link to coveralls web to see details of coverage?

Yeah, that's a little bit of a bummer. Unfortunately, Coveralls is very hard to work with (and Codecov is worse!)... More work may be necessary to tweak the Coveralls action so that we get info "up front" rather than having to dig for it (but n.b. that I don't know that this is even possible).

Why stickler is not there anymore?

We can easily add flake8 and shellcheck GH actions

So we will not have such nice link to coveralls web to see details of coverage?

@MartinBasti; OK, got it.

-- pytest --cov=atomic_reactor --cov-report= --color=yes tests
++ coverage run --source=atomic_reactor -m pytest --color=yes tests

Now, if you click on the "Details" link in the "CI box", you'll go directly to Coveralls.io. This also fixed some odd issues I saw at Coveralls with formatting etc.

Added flake8 and shellcheck actions.
N.B. LGTM doesn't operate on forks - I have to take it on faith that it will continue to work if this is merged to mainline, but I have no reason to doubt that it will.

Looks good. Thanks, Ben.
Any objections on taking this path for all repos then?

Looks good. Thanks, Ben.
Any objections on taking this path for all repos then?

I'm all for it, I'd merge this and if it works well, we can update other repos.

Is code compatible with flake8? I liked stickler because it points to issues only in new changes. Why we cannot stay with stickler?

Is code compatible with flake8? I liked stickler because it points to issues only in new changes. Why we cannot stay with stickler?

@MartinBasti
I fixed the tiny handful of space/newline issues flake8 was moaning about.
The problems I have with Stickler:

Black box
Unknown "default" rule config - it's not flake8's defaults (AFAICT), but I see no documentation of it anywhere
Difficult to configure

Part of my goal here was to remove 3rd-party dependencies:

Black boxes
Unpredictable SLAs (esp. recently)
No guarantees that free plans won't be changed/limited/dropped altogether
You get what they give you - little control over what's being done

For example, if we want to start running flake8-bugbear, or comprehensions -- plugins are a paid-only option for Stickler. They'd be a one-line change in the Dockerfile for the 'flake8' action

I even started out with a multi-linter made by someone else, then once I saw how straightforward it was to create actions - I just made my own:

We have complete control over every aspect of the action; the code can be as minimal or complex as we want. A fully-functional flake8 action is only a few lines of code
We can have e.g. a 'containerbuildsystems/actions' repo, with separate dirs for each action (see ben-alkov/actions for an example)

We can reuse our custom actions in all of our repos
It should be possible to have custom configs per-repo, if needed, while maintaining the same base action source

Since actions always run parallel to each other, there's really no need to have anything other than pytests in test.sh - bandit won't slow down the pytest runs; mdlint won't hold up pylint runs, etc

Honestly, this is probably better reviewed in my personal repo's PR, where you can see the results of the actions in place. The only remaining issue I have there is @(&#^$ shellcheck...
The coup de grâce, for me: if any action fails for whatever reason, instead of having to re-run all of the time and resource-intensive pytests, just to e.g. re-run 'bandit', it's possible to re-trigger each action separately, manually, without having to re-push. This saves time, energy, bandwidth, frustration...

Honestly, this is probably better reviewed in my personal repo's PR, where you can see the results of the actions in place. The only remaining issue I have there is @(&#^$ shellcheck...

Ah, so the schellcheck action would fail if merged right? It might be nice to have an option to limit shellcheck to specific files, like only test.sh for example

@chmeliik

Ah, so the schellcheck action would fail if merged right? It might be nice to have an option to limit shellcheck to specific files, like only test.sh for example

Totally doable

Ah, so the shellcheck action would fail if merged right?

Nope! After configuring to only check 'test.sh', and silencing two complaints therein, everything is green :rocket:

There are a lot of hard-coded Fedora versions in here, eg "30" and "29" have been EOL for some time now.
Someone or something needs to watch the Fedora versions in https://github.com/containerbuildsystem/actions as well to make sure those do not go EOL.


better approach for codespaces permission customization dev container schema

updates: https://github.com/microsoft/vscode/pull/150555
This schema was a bit trickier to parse than I had originally thought. This updates my previous PR linked above with better support for the schema.
Demo
https://user-images.githubusercontent.com/23246594/171283861-e9ddca7c-9df6-499c-8b24-a9bbee74e0db.mov

cc/ @chrmarti

@alexdima  - looks like Christof is OOF today, could you take a look?  This PR is fixing the incomplete PR I submitted last week


OSError: [Errno 5] EIO

I use Thonny and download all .py into pico
then I run MPU6050_example.py or MPU6050_cal.py
then error occurs
Traceback (most recent call last):
  File "<stdin>", line 33, in <module>
  File "MPU6050RPI.py", line 100, in __init__
  File "MPU6050RPI.py", line 213, in set_clock_source
  File "MPU6050RPI.py", line 143, in write_bits
  File "usmbus.py", line 29, in read_byte_data
OSError: [Errno 5] EIO

I found the place
line 29   return self.readfrom_mem(addr, register, 1)[0]

I don't know how to fix it
by the way, I have not found any information about init pins, it is the problem factors?

my wire is loose, sorry

@ouzhoucheng  Could you tell me how do you set the pins and does it work with pico without modifications?


Preserve format when copy/paste yaml file

Closes Preserve my formatting when I copy/paste excerpts from WGE UI yaml files

What changed?
Add a copy button to YamlView component
I updated CopyToClipboard component to accept different option ( icon , icon + text ) and added it to YamlView component
https://github.com/weaveworks/weave-gitops/assets/4614360/860dde7d-9825-4dde-8bde-95dea8beeb0c
https://github.com/weaveworks/weave-gitops/assets/4614360/06f3a091-214a-4e81-add0-f3aa3f245659

@mmoulian @LappleApple
I went for showing a copy Icon  instead of icon+text, if you have any comments or you want the other option, please let me know .

Works for me @TheGostKasper -- thanks for jumping on this.

I've tested this branch and verified that copying YAML with the Copy button copies valid YAML and preserves the indents and does not insert extra space between the lines. ✨
But the acceptance criteria mention copying excerpts:

As a platform dev, I would like to be able to preserve my line spacing and formatting when I copy-paste excerpts from the yaml file in the yaml tab, so that I don't insert errors by mistake or have to redo work.

And this comment from @jpellizzari mentions copying highlighted text but also mention adding a Copy button as an alternative (what this PR does):
https://github.com/weaveworks/weave-gitops-enterprise/issues/3321#issuecomment-1715929216
When I highlight portions of YAML on the web page and copy it with Ctrl+C, this is what I see on paste:

Indentation and space between lines are not preserved.
So, @LappleApple @jpellizzari could you please clarify if the acceptance criteria should be edited to only require copying the whole YAML with the Copy button or if the current PR should also include the "copy highlighted text and preserve indentation" functionality?
If only the former, I can approve this PR. If the latter is required too, more work is needed. In principle, this issue could be split into two issues, because the first part is much easier to implement than copying highlighted text with preserving formatting.

@jpellizzari OK, fine with me!

@jpellizzari @opudrovs Hi both, I didn't have time to discuss implementation details or add Acceptance Criteria before this got picked up via UI triage and over to Timberwolf. Great to see it moving forward. If you need me to create ACs let me know, but it looks like Jordan's got this?

@opudrovs , the issue here is with showLineNumbers as it displays the content code in a flex way with custom style to the number section + code which require to add onCopy event globally to maintain the content to re-format it to the correct format (regex will be used , or customize the line style) --> Do we really need to do it!?

On the other hand removing showLineNumbers fron SyntaxHighlighter will display the content as

What options we have here ?

Remove showLineNumbers to preserve text format on Copy
Show a Copy icon to copy content
Customize style or use Reqex to preserve format for the copied lines
others... ?

The easiest way for now was to show the Icon .

@TheGostKasper hmm, interesting. Would it be possible to, maybe, display line numbers in some common margin (maybe with some before pseudo-elements) but position them absolutely relative to each line span and make them non-selectable?
Or if it's overcomplicated (probably it is), the decision depends on the Product's priorities: what is more important, displaying line numbers or being able to select portions of the YAML. Either option is fine with me.
The third option (using Regexes to clean up copied text) sounds interesting too and might the least troublesome if the copied text is consistent enough.
In principle, I would prefer to switch to another YAML/markdown/rich text component (maybe a third-party solution) which supports selecting and copying code without line numbers. It should be such a standard task. But I am not sure how much time searching for the right component will take, like if it's worth it.

@opudrovs changing lineProps to use textWrap instead of flexWrap solves it

@TheGostKasper great, I'll re-test it now.
Can you please update the failing snapshot test?

Re-tested it manually, works fine for me in Chrome. Great job! ✨
The only minor issue left is that when selecting and copying a portion of YAML in Firefox, blank lines are inserted between YAML lines.
This is what I see when copy=pasting several lines from Chrome (works as expected):
metadata:
  annotations:
    metadata.weave.works/CreatedBy: Value 4
    metadata.weave.works/Version: some version
    metadata.weave.works/created-by: Value 2
    metadata.weave.works/createdBy: Value 3
    metadata.weave.works/description: Value 1
    metadata.weave.works/html:
html

    metadata.weave.works/link-to-google: https://google.com
    metadata.weave.works/multi-lines: |
      This is first line
      This is second line
  creationTimestamp: 2023-09-15T15:03:27Z
  finalizers:
    - finalizers.fluxcd.io
  generation: 1
  labels:
    kustomize.toolkit.fluxcd.io/name: flux-system
    kustomize.toolkit.fluxcd.io/namespace: flux-system

and this is what I see when copy-pasting from Firefox:
metadata:

  annotations:

    metadata.weave.works/CreatedBy: Value 4

    metadata.weave.works/Version: some version

    metadata.weave.works/created-by: Value 2

    metadata.weave.works/createdBy: Value 3

    metadata.weave.works/description: Value 1

    metadata.weave.works/html:
html

    metadata.weave.works/link-to-google: https://google.com

    metadata.weave.works/multi-lines: |

      This is first line

      This is second line

  creationTimestamp: 2023-09-15T15:03:27Z

  finalizers:

    - finalizers.fluxcd.io

  generation: 1

  labels:

    kustomize.toolkit.fluxcd.io/name: flux-system

    kustomize.toolkit.fluxcd.io/namespace: flux-system

But I think it can be considered a Firefox issue.


actions: update integration_tests workflow

This commit includes the following nits/improvements to
the integration_tests workflow:

Update workflows to the latest sha's
don't skip integration_tests workflow for readme updates in PRs
separate build job into images and CLi steps

Signed-off-by: Tarun Pothulapati<EMAIL_ADDRESS>

@alpeb For Changes.md release note updates? 🤔

@alpeb For Changes.md release note updates?

Those changes are checked by the Markdown Lint job in the static_checks.yml workload, why would you need the integration tests to run on solely markdown changes?


Turning pages function will be really helpful

It will be nice to have the function to turn pages like a real book, changing to another story with animation!

@bnp800
Is it the page-flipping animation that's important, or is it something like a "Next Page" button?

A "Next page" button will do, but even better with page-flipping animation.

@bnp800
Next button planned, I will add. Unfortunately, it's hard to expect any work with animation this year. Maybe I can start in 2022.

https://github.com/Xbozon/storyteller/pull/39

@bnp800
Unexpectedly, I added the page turning function :)


How to add refresh tokens to this?

Hi, sorry for the newbie question but how do I incorporate refresh tokens with this?
When following the boilerplate, any signed-in users will need to login again every 30 minutes due to the token expiring. From what I've read (I'm very new to backend stuff), the best way to handle this is by using refresh tokens. I've tried following a few guides online but they use a different stack so it's hard to figure out how to incorporate it into this boilerplate.
Any tips?

So I've got most of it sorted, it's just this section that's giving me grief:
const getMe = async (req) => {
  const token = req.headers['x-token']
  if (token) {
    try {
      return jwt.verify(token, process.env.SECRET)
    } catch (e) {
      const refreshToken = req.headers['x-token-refresh']
      const newTokens = await refreshTokens(
        token,
        refreshToken,
        models,
        process.env.SECRET
      )
      if (newTokens.token && newTokens.refreshToken) {
        // Tell the client to update tokens here... But how?
      }
      // What to return?
      return newTokens.user
    }
  }
}

If the token is expired then I have a refreshTokens function that provides a new auth token and refresh token (after checking that the refresh token is valid). The issue is, how do I push these new tokens to the client? I know it needs to go in the commented section but I have no idea what to put here...

I've got it working. I'll close the issue but here's the solution for anyone else trying to do this:

Change the getMe function (starts line 24 in /src/index.js) to:

const getMe = async (req, res) => {
  const token = req.headers['x-token']
  if (token) {
    try {
      return jwt.verify(token, process.env.SECRET)
    } catch (e) {
      const refreshToken = req.headers['x-token-refresh']
      const newTokens = await refreshTokens(
        token,
        refreshToken,
        models,
        process.env.SECRET
      )
      if (newTokens.token && newTokens.refreshToken) {
        res.set('Access-Control-Expose-Headers', 'x-token, x-refresh-token')
        res.set('x-token', newTokens.token)
        res.set('x-refresh-token', newTokens.refreshToken)
      }
      return newTokens.user
    }
  }
}

Change the context (starts line 55 in /src/index.js) to:

context: async ({ req, res, connection }) => {
    if (connection) {
      return {
        models,
      }
    }
    if (req) {
      const me = await getMe(req, res)
      return {
        models,
        me,
        secret: process.env.SECRET,
      }
    }
  },

Actually ignore my last comment. res.set isn't working. It just keeps using the same refresh token in the client to create a new auth token, but it doesn't send the new tokens back to the client.

Hello @StupidSexyJake I have put your Issue into our Slack Community. Hopefully there are people who have implemented this who can help out. If you got any further with this issue, would love to see your implementation. I guess lots of other people would find it helpful 🚀 👍

I managed to get it working, although I'm using Next.js and cookies to store the data rather than local storage (since you can't access local storage on the server side). Refreshing tokens is handled on the client side though so you could still use local storage if that's your preference.
Here's some of the changes I made:
Server Side
index.js : Rather than return an Authentication Error in the getMe() method, if verification fails it simply returns null as 'me' in context. Otherwise a looping issue occurs when attempting to refresh the access token, as the flow becomes:

Client sends request to server with expired access token
Server responds with an authentication error in the getMe method
Client receives error response and attempts to refresh the access token and try again
Server responds with an authentication error again before it refreshes the access token due to the current access token not being verified in getMe
Loop steps 3 and 4 until server crashes or is force closed

Code example:
// Set 'me' in context
const getMe = async (req) => {
    // Get access token from headers
    const token = req.headers['x-token']
    // Return null if no access token provided
    if (!token) {
        return null
    }
    // Attempt to verify access token
    try {
        // Return 'me' if token verified
        return jwt.verify(token, process.env.SECRET)
    }
    // Return null if access token not verified
    catch (e) {
        return null
    }
}

schema/users.js : Add a refreshAccessToken mutation and add refreshToken to Token type
extend type Mutation {
    ....
    refreshAccessToken(refreshToken: String!): Token!
}
type Token {
    token: String!
    refreshToken: String!
}

resolvers/users.js: Throw the authentication error in the 'me' query so it only throws the error when the client requests 'me', create the refreshAccessToken resolver and update the createToken function to include a refreshToken.
Query: {
    ....
    me: async (
        parent,
        args,
        { models, me }
    ) => {
        // Throw authentication error if not authenticated
        if (!me) {
            throw new AuthenticationError(
                'Your session expired. Sign in again.',
            )
        }
        // Otherwise, return 'me'
        return await models.User.findByPk(me.id)
    },
},
Mutation: {
    ....
    refreshAccessToken: async (
        parent,
        { refreshToken },
        { models, secret },
    ) => {
        // Get new access token
        const { newAccessToken, newRefreshToken } = await refreshAccessToken(refreshToken, models, secret)
        // Return new tokens
        return { token: newAccessToken, refreshToken: newRefreshToken }
    },
}

Something just came up and I need to head out for a while. Posting this now so I don't lose what I've already written but I'll come back to edit it later with the rest of the changes I made.

Thank you letting us know about your changes @StupidSexyJake I think this will be helpful for others!

@StupidSexyJake Thanks for sharing your code!
I think it's worth to mention to other developers that the signIn & signUp need to be adjusted accordingly.
The createToken is currently returning an array of tokens
return Promise.all([createAccessToken, createRefreshToken])
I have changed that to be:

const createTokens = async (user, secret, remember) => {
 ...
 const tokens = await Promise.all([
     createAccessToken,
     createRefreshToken,
   ]);
   return {
     token: tokens[0],
     refreshToken: tokens[1],
   };
}

The signIn function will now look like this:
signIn: async (
      parent,
      { login, password, remember },
      { models, secret }
    ) => {
      const user = await models.User.findByLogin(login);

      if (!user) {
        throw new UserInputError(
          'No user found with this login credentials.'
        );
      }

      const isValid = await user.validatePassword(password);

      if (!isValid) {
        throw new AuthenticationError('Invalid password.');
      }

      const tokens = await createTokens(user, secret, remember);
      return {
        token: tokens.token,
        refreshToken: tokens.refreshToken,
        user,
      };
    },

@StupidSexyJake, please share with us what you other changes you have made to the resolvers/authorization.js file

Related: https://github.com/the-road-to-graphql/fullstack-apollo-express-mongodb-boilerplate/issues/8


chore: Update registry.access.redhat.com/ubi9/s2i-base Docker digest to 5b19dd1

This PR contains the following updates:

Package
Type
Update
Change

registry.access.redhat.com/ubi9/s2i-base
final
digest
16c04ac -> 5b19dd1

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.

 You will not get PRs for the registry.access.redhat.com/ubi9/s2i-base 5b19dd1 update again.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


how to write 4 row text?

i want to multiple row , eg name,price,qty,total.your lib is right and left text.

use addLeftRightText 4 times

sorry i want to 4 colum sir.name , price , qty , total.

On Mon, 20 Dec 2021 at 12:57 Andri Yoga @.***> wrote:

use addLeftRightText 4 times
—
Reply to this email directly, view it on GitHub
https://github.com/andriyoganp/blue_print_pos/issues/29#issuecomment-997634460,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUFWDGX5WTCAMCC4G3BSH7TUR3EGBANCNFSM5KGXBGRQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

sorry i want to 4 colum sir.
eg- name , price , qty , total.

you found answer ?


hardened tests started failing, blocking nixos-unstable

See e.g. https://hydra.nixos.org/build/123921056  or  https://hydra.nixos.org/build/123903170

I've been hoping for someone else to look at this one, but I expect I have to give it more visibility, hence this ticket.


Feed Back Star Added

Fixes #1909 @iamrahulmahato The feed backstar Added and existing feedback input type removed
Before

After

@PoojaKanagaraj06 there is a conflict and mention the issue no


Migrate config PR

Create PR to convert 8.x params to 9.x. Drop defaults?

Iterate through renovate.json and all package.json


Upload to littlefs does not show anymore on the Command Palette

I was using the plugin on Arduino IDE, till a couple of days ago.
Then, it stop showing on the Command Palette. I am not sure if I updated anything, but I am not aware of making any intentional change to the configuration.
I reinstalled it several times, but I didn't manage to make it show again.
Is there a way to get some logs about the reason it is not loading?
Details:
OS: MacOS 14.6.1 (23G93)
Hardware: M1 (arm)
Arduino IDE: 2.3.2
Board: NodeMCU flavours

I rebooted the computer and it was solved, it looks like there was some port or resource that was not properly freed, and the reboot released it.

Adding that I have this same issue, with the same resolution - a login/out cycle does not fix it, a reboot does.  Is there any logging or testing that would help track it down?
OS: MacOS 14.6.1 (23G93)
Hardware: M2 (arm)
Arduino IDE: 2.3.3
Board: Lolin D32

This plugin has no state and doesn't control the command palette, so what you're seeing would be better tracked in the Arduino ide repo.  Might be an Apple and Electron interaction.


[ WIndows ] [CMake: v0.6.0-preview ] Compilation Error in "managed_list.hpp"

Hi,
Thanks for supporting the realm with the CPP SDK.
I followed the instruction as described in the document at this location: https://www.mongodb.com/docs/realm/sdk/cpp/install/
After the CMake, I use VS2022 / Build Tool v143:
I end up getting this. Can you please help me with that? I am really stuck how to proceed.
FYI/- I tried the GIT_TAG  "v0.6.0-preview" as well.
Thank you for your help, in advance.

Hi @vtharmalingam can you show what your CMakeLists.txt and your main.cpp file looks like?

Thank you. Sure, here are the details:
CMakeLists.txt:
cmake_minimum_required(VERSION 3.15)

project(MyRealmCppProject)

# Minimum C++ standard
set(CMAKE_CXX_STANDARD 17)

# In a Windows install, set these compiler flags:
if(MSVC)
   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zc:preprocessor /bigobj")
endif()

# Include the FetchContent module so you can download the Realm C++ SDK
Include(FetchContent)

# Declare the version of the Realm C++ SDK you want to download
FetchContent_Declare(
  cpprealm
  GIT_REPOSITORY https://github.com/realm/realm-cpp.git
  GIT_TAG        v0.5.0-preview
)

# The MakeAvailable command ensures the named dependencies have been populated
FetchContent_MakeAvailable(cpprealm)

# Create an executable target called myApp with the source file main.cpp
add_executable(myApp main.cpp)

target_link_libraries(myApp PRIVATE cpprealm)

main.cpp:

#include <stdio.h>

#include <cpprealm/experimental/sdk.hpp>
#include <cpprealm/sdk.hpp>

using namespace std::chrono;
using namespace std::chrono_literals;

using namespace realm::experimental;

//Define Your Object Model
namespace realm::experimental {
    struct Todo {
        //primary_key<realm::object_id> _id{realm::object_id::generate()};
        realm::experimental::primary_key<realm::object_id> _id;
        std::string name;
        bool status;
        // The ownerId property stores the user.identifier() of a
        // logged-in user. Omit this property for the non-sync example.
        //std::string ownerId;
    };
    REALM_SCHEMA(Todo, _id, name, status)
};// namespace realm::experimental

int main() {

    auto relative_realm_path_directory = "realm_directory/";

    // Construct a path
    std::filesystem::path path = std::filesystem::current_path().append(relative_realm_path_directory);
    // Add a name for the realm file
    path = path.append("todo_objects");

    // Add the .realm extension
    path = path.replace_extension("realm");

    // Set the path on the config, and open a realm at the path
    auto config = realm::db_config();

    config.set_path(path.string());
    auto realmInstance = db(std::move(config));

    /*
    realm::experimental::Todo todo;
    todo._id = realm::object_id::generate();
    todo.name = "Create my first todo item";
    todo.status = FALSE;
    */

    return 0;
}

@vtharmalingam your CMakeLists.txt needs the following https://github.com/realm/realm-cpp/blob/2515c1a57ee978f64c177d985db1f96b7727f3a3/examples/windows/CMakeLists.txt#L28
You also need to swap the ordering of the sdk headers as follows:
#include <cpprealm/sdk.hpp> // first
#include <cpprealm/experimental/sdk.hpp> // second

Thank you so much.!! You are the best, @leemaguire :)
It got compiled without error.  Thanks again.


It cannot detect node's delete change

Describe the Bug

Here is the console log output

I have some operation in initialTransformationCanvas function, now the onNodeChange can be called when nodes' number is increased, but when i delete some nodes, the onNodeChange can not be called. It's strange.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
1.delete nodes
2.onNodeChange is not called
Expected behavior
When i delete some nodes in initialTransformationCanvas, onNodeChange should be called.
Screenshots or Videos
No response
Platform

OS: window
Browser: Chrome
Version: 11.3.2

Additional context
No response

how are you deleting the nodes? Can you create a codesandbox for this https://new.reactflow.dev/react-ts ?

how are you deleting the nodes? Can you create a codesandbox for this https://new.reactflow.dev/react-ts ?

Hi, I just re-generate the nodes by some json data, the item number of json data is decrease, so it look like some nodes are deleted; I just feel stranger that, when the item number of json data is increase, onNodeChange can be called with dimensions change, why when the item number is decreased and the onNodeChange isn't called.

I have write in codesandbox:
https://codesandbox.io/s/hungry-swanson-0ihu36?file=/src/Flow.tsx

The onNodeChanges handler is only used for internal events. When you remove a node via Backspace key for example, the handler gets called. When you alter your nodes on your own, the onNodeChanges handler is not used. What do you want to do when a user removes a node? Why do you need to know about it in the onNodeChanges handler ?

The onNodeChanges handler is only used for internal events. When you remove a node via Backspace key for example, the handler gets called. When you alter your nodes on your own, the onNodeChanges handler is not used. What do you want to do when a user removes a node? Why do you need to know about it in the onNodeChanges handler ?

I want to auto fitView when I adding or decreasing node, so I want to receive adding change or deleting change from onNodeChanges.

you could try:
const nodeCount = useStore(s => s.getNodes().filter(node => node.width && node.height).length);

useEffect(() => {
  fitView();
}, [nodeCount])

Nice~It all work! Thank you!


link() with meteor useTracker()

I'm having an issue when using link() on a findOne() or even find() while inside useTracker()

here is my code that produces an error:
const unitImageURL = useTracker(() => {
let image = Images.findOne({
_id: unit.images[0]
}).link()
Version of Meteor you're experiencing this issue 1.10.1
Where this issue appears? OS (Linux)? Browser  chrome
Is it Client or Server issue? I do not really know
Client logs :
Uncaught TypeError: Cannot read property 'link' of undefined
at Object.reactiveFn (UnitListItem.jsx:21)
at useTracker.js:49
at tracked (useTracker.js:79)
at useTracker.js:129
at Computation._compute (tracker.js:308)
at new Computation (tracker.js:206)
at Object.Tracker.autorun (tracker.js:576)
at useTracker.js:128
at Object.Tracker.nonreactive (tracker.js:603)
at useTracker.js:127

Hello @msgfxeg ,
For .findOne() method this is expected behaviour, you got to check if .findOne() has results. Feel free to open new (or more preferably PR) ticket to update FileCursor documentation and .find() method documentation.
For .find() there is no .link() method as it return FilesCursor.

Hello @dr-dimitru,
Thanks for you reply it helped me a lot.
As I am using react with meteor. the problem was that react component updates twice the first time before the mongo query succeeded! so I have to write it as follows:
useTracker(() => {
if (
Images.findOne({
_id: unit.images[0]
}) !== undefined
) {
return Images.findOne({
_id: unit.images[0]
}).link();
}
});
P.S: a bit of redundant code but it does not heart :)

@msgfxeg I'm glad this was fixed quickly
Please support this project with:

Star this package on GitHub;
Take a look on our ongoing ▲ ostr.io project;
Like at Facebook;
Follow on Twitter;
Support via patreon;
Support via PayPal;
Check and star our other open source projects on GitHub.


file Glove/glove.840B.300d.txt.gz not found

I try to run sh scripts/train_models.sh and get
FileNotFoundError: file Glove/glove.840B.300d.txt.gz not found

where should I put the glove pre-trained word vectors ?
btw, nlp.stanford.edu only have zip file glove now.

After I change the pre-train model path and unzip & gzip the glove vectors manually, I get some warning like this
2018-02-06 11:32:59,266 - WARNING - allennlp.modules.token_embedders.embedding - Found line with wrong number of dimensions (ex
pected 300, was 299): b'\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0 0.5478 0.18474 0.14057 -0.92452 -0.90097 -0.11
618 -0.53059 0.34625 0.15681 -1.6009 0.87718 -0.43912 0.62262 1.0086 -0.24369 -0.073876 0.15422 -1.4411 0.04154 0.21189 -0.0780
...

Is this normal ?

Thanks for pointing this out. I will add instructions for the location of the Glove embeddings.
Regarding the waring, yes it is expected. We use AllenNLP for reading Glove embeddings and it gives a warning when the num. of dim. in the file doesn't match the expected vector dim. There are few entries in Glove 840B with this issue.

Sorry it took me a while to get to these. The README is now updated in #7.


rename _types to be public

To something like schema_types, so types can be imported and used directly.

Hi @samuelcolvin ! what should be done here?

@samuelcolvin  so _types.py should be changed to schema_types.py  everywhere . right?

Yes exactly.


Playground Wrongness

I have follow the instructions, and after I run "python minimal_example.py" I have meet this problems.

It looks like you are running Playwright in a headless server that does not have a DISPLAY variable. Can you try to set headless=True here?

I'm running auto_login.py
If I run headless=True, I will get:
playwright._impl._api_types.Error: net::ERR_ABORTED at ec2-xxxxxxxxxxus-east-2.compute.amazonaws.com:9999/user/MarvelsGrantMan136/account
=========================== logs ===========================
navigating to "ec2-xxxxxxxxxx.us-east-2.compute.amazonaws.com:9999/user/MarvelsGrantMan136/account", waiting until "load"

If I run  headless=False, I will get the error as OP.
It's a lot of frustration trying to get the evaluation running...


Small blend/fill fixes

Fixes the left edge of this circle https://daft-freak.github.io/32blit-beta/examples/shell.html?app=tween-test. Also hflipped blits I think (at least shmup looks less broken).

Ahhhh! Beautiful. Thank you.


Feature Request: Chromecast functionality

The chromecast functionality of the Chrome tab is not available, is it possible to implement it or is this too hard to implement?

At the moment, ridiculously difficult as the ChromeCast API is not 100% open, I am always looking into this though as ChromeCast is a nice bit of functionality to have :)
If at some point it becomes easier to implement it will definitely go onto my ToDo pile, but at the moment.  It's definitely only on my wish list :cactus:

https://chromeunboxed.com/chromecast-support-gaining-steam-on-macos-airfoil-adds-google-cast-support/


Allowance Setup has no separator

could you change the color of the
separator to : #E5E9EB
underline of the textfield : #F5F6F6 (same color as the buy/sell widget)

@pimato the separator color is fine.
However I'm checking the color in the buy/sell widget for the border bottom and it is #F7F8F9 not #F5F6F6. Everywhere I'm checking is the same.

could you give the Set the same margin-left as in the Textinputfields from the Buy/Sell Widget ? and the text has a bigger gap to the underline compared to the other Textinputfields (like in the Buy/Sell Widget)

@pimato
With which widget you are comparing the allowance modal and seeing the difference?
With the buy/sell modal or with the paper in the homepage?

fixed


Allow wildcard in no-proxy hosts

Currently, configuration of no-proxy hosts is looked up as is -
In Java, non-proxy hosts may have an '*' prefix or suffix.
--
Add support for '*' prefix and suffix in no-proxy hosts.

@rpiterman tagged as help wanted and not considered a priority. do consider contributing code, here's an example: https://github.com/karatelabs/karate/pull/1841

Hi @ptrthomas,
I am interested in fixing this.
Requesting to provide some more details on this.
I did a quick lookup on the code to understand this issue and I assume that the code in ApacheHttpClient.java#Line212 should be updated to check for wild card instead of direct match.

I would prefer if some examples of doing this with the apache http client are found. I vaguely remember that * may already be supported. needs research

@ptrthomas ,
Could you please give me a little overview on the context of this?
It would highly help me in searching for examples for testing this.

ok I think your original solution is fine, refer: https://stackoverflow.com/a/21572705/143475
but one question, are you sure that you can test this ?

@ptrthomas ,
I have asked for extra overview to write tests for this feature.
I need to browse to find examples so that I can learn how this class is being used.


Issue on adding library to project

Only adding the library causes this. I havent done anything other than adding this to commonMain dependencies. And clues?
objc[90768]: Class AKAlertImageURLProvider is implemented in both /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AuthKitUI.framework/AuthKitUI (0x1636fadd8) and /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AuthKit.framework/AuthKit (0x13cc30218). One of the two will be used. Which one is undefined.
objc[90768]: Class AKBiometricRatchetUtility is implemented in both /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AuthKitUI.framework/AuthKitUI (0x1636fae50) and /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AuthKit.framework/AuthKit (0x13cc31820). One of the two will be used. Which one is undefined.
Class NotificationLambdaTarget has multiple implementations. Which one will be used is undefined.
Class ControlLambdaTarget has multiple implementations. Which one will be used is undefined.
Function doesn't have or inherit @Throws annotation and thus exception isn't propagated from Kotlin to Objective-C/Swift as NSError.
It is considered unexpected and unhandled instead. Program will be terminated.
Uncaught Kotlin exception: kotlin.native.internal.IrLinkageError: Can not get instance of singleton 'Plugin': No class found for symbol 'io.ktor.client.plugins.observer/ResponseObserver.Plugin|null[0]'

    at 0   app                           0x10f411cd9        kfun:kotlin.Throwable#<init>(kotlin.String?){} + 105
    at 1   app                           0x10f40c0b5        kfun:kotlin.Error#<init>(kotlin.String?){} + 101
    at 2   app                           0x10f44bca5        kfun:kotlin.native.internal.IrLinkageError#<init>(kotlin.String?){} + 101
    at 3   app                           0x10f44bd58        kfun:kotlin.native.internal#ThrowIrLinkageError(kotlin.String?){}kotlin.Nothing + 168
    at 4   app                           0x10f8df185        kfun:io.ktor.client.plugins.logging.Logging.setupResponseLogging#internal + 869
    at 5   app                           0x10f8df978

Is there anything beyond this that i can share i am on kotlin2.0.0+

I realised its probably because of a mismatch of ktor version. using ktor3.0.0+ breaks my app elsewhere because of some cInterops issue. trying to figure out. will keep this thread updated.
Also is there a possibility to disable a particular platform target when adding this library. for example i dont need the wasm support in my project. but it'll still be processed when i add the library i guess.

Please refer to https://youtrack.jetbrains.com/issue/KT-64111

I seem to have the same problem.
[versions]
agp = "8.2.0"
android-compileSdk = "34"
android-minSdk = "24"
android-targetSdk = "34"
compose = "1.6.5"
compose-plugin = "1.6.10-beta01"
kotlin = "1.9.23"
activity-compose = "1.8.2"
voyager = "1.1.0-alpha04"
kotlinxSerializationJson = "1.6.3"
ktor = "2.3.10"
koin = "3.5.3"
kermit = "2.0.3"
multiplatform-settings = "1.1.1"
landscapistCoil3 = "2.3.3"
lottie = "1.7.3"

I'm trying to figure out how to resolve this error.

I managed to implement this step

I'm having trouble executing json locally. To run the animation via URL it works normally.
My json file works normally in an Android project or on the website: https://lottiefiles.com/tools/lottie-json-to-optimized-lottie-json
FATAL EXCEPTION: main
Process: br.com.compropay.app, PID: 17805
java.lang.NoSuchMethodError: No static method readResourceBytes(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; in class Lorg/jetbrains/compose/resources/ResourceReader_androidKt; or its super classes (declaration of 'org.jetbrains.compose.resources.ResourceReader_androidKt' appears in /data/app/~~McOFu9gQvV5j-g9dhLif0Q==/br.com.compropay.app-8sCJM13hOotQCsguIfJutQ==/base.apk!classes19.dex)
	at kottieComposition.KottieComposition_androidKt$kottieComposition$1.invokeSuspend(KottieComposition.android.kt:23)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at androidx.compose.ui.platform.AndroidUiDispatcher.performTrampolineDispatch(AndroidUiDispatcher.android.kt:81)
	at androidx.compose.ui.platform.AndroidUiDispatcher.access$performTrampolineDispatch(AndroidUiDispatcher.android.kt:41)
	at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame(AndroidUiDispatcher.android.kt:68)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1648)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1659)
	at android.view.Choreographer.doCallbacks(Choreographer.java:1129)
	at android.view.Choreographer.doFrame(Choreographer.java:1045)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1622)
	at android.os.Handler.handleCallback(Handler.java:958)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:230)
	at android.os.Looper.loop(Looper.java:319)
	at android.app.ActivityThread.main(ActivityThread.java:8893)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@38f7e05, androidx.compose.runtime.BroadcastFrameClock@95c5e5a, StandaloneCoroutine{Cancelling}@4afc88b, AndroidUiDispatcher@474ed68]

I'm having trouble executing json locally. To run the animation via URL it works normally.
My json file works normally in an Android project or on the website: https://lottiefiles.com/tools/lottie-json-to-optimized-lottie-json
FATAL EXCEPTION: main
Process: br.com.compropay.app, PID: 17805
java.lang.NoSuchMethodError: No static method readResourceBytes(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; in class Lorg/jetbrains/compose/resources/ResourceReader_androidKt; or its super classes (declaration of 'org.jetbrains.compose.resources.ResourceReader_androidKt' appears in /data/app/~~McOFu9gQvV5j-g9dhLif0Q==/br.com.compropay.app-8sCJM13hOotQCsguIfJutQ==/base.apk!classes19.dex)
	at kottieComposition.KottieComposition_androidKt$kottieComposition$1.invokeSuspend(KottieComposition.android.kt:23)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at androidx.compose.ui.platform.AndroidUiDispatcher.performTrampolineDispatch(AndroidUiDispatcher.android.kt:81)
	at androidx.compose.ui.platform.AndroidUiDispatcher.access$performTrampolineDispatch(AndroidUiDispatcher.android.kt:41)
	at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame(AndroidUiDispatcher.android.kt:68)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1648)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1659)
	at android.view.Choreographer.doCallbacks(Choreographer.java:1129)
	at android.view.Choreographer.doFrame(Choreographer.java:1045)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1622)
	at android.os.Handler.handleCallback(Handler.java:958)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:230)
	at android.os.Looper.loop(Looper.java:319)
	at android.app.ActivityThread.main(ActivityThread.java:8893)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@38f7e05, androidx.compose.runtime.BroadcastFrameClock@95c5e5a, StandaloneCoroutine{Cancelling}@4afc88b, AndroidUiDispatcher@474ed68]

Looks like there are two problems here

You need to bump the version of compose multiplatform in kottie to 1.6.10, since binary compatibility may have broken
Now need to explicitly use Res.readBytes, since it calls readResourceBytes("composeResources/com.test.myModule.resources.generated.resources/" + path). Related to https://github.com/JetBrains/compose-multiplatform/issues/4656
https://github.com/ismai117/kottie/blob/eb6e47207efc1a88c8ee87463bb5d81770e99b8d/lib/src/androidMain/kotlin/kottieComposition/KottieComposition.android.kt#L23

thanks @tipapro , I've fixed it and released a new version 1.8.4. it's now using Res.readBytes

thanks @tipapro , I've fixed it and released a new version 1.8.5. it's now using Res.readBytes

Every module has its own Res.readBytes and its own path. So Res.readBytes inside the library won't work due to the different path

@tipapro yeah I noticed that, it wasn't working with the k2 compiler and compose-plugin 1.6.10 versions

Can this be considered resolved or will there still be a solution?

I've released a new version 1.8.6. Res.readBytes has been removed from the library module so you now have the option to do it yourself.
var animation by remember { mutableStateOf("") }

LaunchedEffect(Unit){
    animation = Res.readBytes("files/animation.json").decodeToString()
}

val composition = rememberKottieComposition(
    spec = KottieCompositionSpec.File(animation) // Or KottieCompositionSpec.Url || KottieCompositionSpec.JsonString
)

you need to add  maven("https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental") inside settings.gradle for kottie to work on wasm

thx !
maven { url = "https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental" }
sync success