TUTORIAL: How to get rid of 403 Errors

How to get rid of 403 errors
Many people get Errors like
Failed to get file: googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded
and thanks to LINKIWI https://github.com/prasmussen/gdrive/issues/392#issuecomment-423048518 I found a way to fix it properly.
What causes the problem?
The developer made one API for this program and an Google API can "only" make 10 million requests at a day. That means that too many people use this program and the requests gets full.
How much does an own API cost?
Nothing, Google made them free for everyone.
How do I fix it then?
You have to make an own API, download the programing language go, change the API to your own one and compile it to an .exe.
(And btw. binary editing resulted in errors)
And now step by step:

Download "go" for your platform from https://golang.org/dl/ and install it following the instructions for your platform here and download Git from https://git-scm.com/downloads and install it with standard settings

Download the repository as .zip from GitHub and unzip it in a new folder or simply execute
git clone https://github.com/gdrive-org/gdrive.git

Log into your Google Account (or create one) and go to the Google Developer API Website (and if needed accept the ToS)

Click on "Create Project"

and then click "CREATE"

Give it a name (in my case "Google CLI TA40") and click "Create"

Now go to Google Drive API and click "ENABLE"

Now on the left side, click "Credentials"

And click "CREATE CREDENTIAL"

Fill the things like I did and then click on "What credentials do I need?"

Give it a name (I took the name of the API)

Next select your e-mail and then give it a name (I again took the name of the API)

Click on "Download" (A .json file will be downloaded)

Open the .json file in the editor of your choice.(Notepad++ prefered)
You should see :

"client_id" which looks like this: 81915486XXXX-XXXX22bh62ql2rbnaqtpds82od4ql976.apps.googleusercontent.com
"client_secret" which are random characters like this: lnA7ZFg5NEGOMpFhd6e4Pqny

In the unzipped repository open the file names "handlers_drive.go" (via Notepad++) and change these 2 variables to the ones you got in step 14

and save it

open CMD/terminal and go to the folder where the "handerls_drive.go" is.
First type this: go get github.com/prasmussen/gdrive (thanks to mbenlioglu https://github.com/prasmussen/gdrive/issues/426#issuecomment-459046466)
Now type this: go build -ldflags '-w -s'
Now you should have an executable for you platform which you can use normally

You can reset your data by deleting the %appdata%\.gdrive on Windows, $HOME/.gdrive on other platforms
Cross Compiling a Linux/OS X/Windows etc. version of gdrive from your device:
If you want to compile the binary for an OS other than the one you're using you should first set GOOS and GOARCH variables for that system.
Look up your target OS here: https://golang.org/doc/install/source#environment
Now do this in terminal:
On Windows:
SET GOOS=your os
SET GOARCH=your arch

On Mac OS/Linux:
export GOOS=your os
export GOARCH=your arch

then do go build -ldflags '-w -s'
Example variables if target platform is a 64 bit Linux machine:
GOOS=linux
GOARCH=amd64

Edit: Updated to cover all platforms

Looks very good thanks, just suggestion not sure if its needed or not but add to read me a example of a client_id.json config file. Just to make it clear for everyone how it should look as im sure there gone be some that has questions regarding it.

someone can fork this repo, like i did and start maintaining it, i am willing but i am new to this
github.com/tripLr

I only create the CREDENTIAL(not yet build) ,everything already works fine,403 not show up again

Hi!
First, It's very useful howto, thanks for your work. I go trough the steps, and everything looks fine no error message or warning. After I tested and got this message:

./gdrive-linux-x64 list
Failed to list files: Get https://www.googleapis.com/drive/v3/files?alt=json&fields=nextPageToken%2Cfiles(id%2Cname%2Cmd5Checksum%2CmimeType%2Csize%2CcreatedTime%2Cparents)&orderBy=&pageSize=30&q=trashed+%3D+false+and+'me'+in+owners: oauth2: cannot fetch token: 401 Unauthorized
Response: {
"error": "unauthorized_client",
"error_description": "Unauthorized"
}

i build in windows 10 (in virtualbox) linux x64. What is wrong? Can somebody help?

For the lazy people who don't want to recompile (myself included) - How to change the API credentials in gdrive binary without recompile on Linux

You mighty king. This worked perfectly, and I'm back to my uploads after they failed for a week.

Okay so based on all this info i manged to compile a working version for my Ubuntu server. Have tested it and confirmed its using the new API info i put inn and no more 404 errors. Thanks for putting this together TA40. But yea if someone knows how code this maybe next thing would be to move the google api Credentials to a config file rather than having them hard coded like this. Would be ideal for regular users so they don't have to compile it themselves.

I have a fork, I am maintaining,

For the lazy people who don't want to recompile (myself included) - How to change the API credentials in gdrive binary without recompile on Linux
NOTE - This ONLY works if the client_id and client_secret are both the same length as the ones defined originally in the gdrive binary. If they are not these lengths, this method will not work and you will have to recompile from source.
STEP 1
Generate API credentials for Google Drive (see TA40's OP here - follow steps 3-14)
STEP 2
Get the client_id and client_secret from your client_id.json file. The client_id MUST be 72 chars long and the client_secret MUST be 24 chars long. If they are not these lengths, following this method will probably break gdrive, and you will have to recompile gdrive from source instead.
Use your favourite method - I used wc to get the length
echo -n **CLIENT_ID** | wc -c
echo -n **CLIENT_SECRET** | wc -c

STEP 3
Backup your gdrive binary
cp gdrive gdrive.old
STEP 4
Edit binary in-place with sed (Replace **CLIENT_ID** and **CLIENT_SECRET** with your newly generated details from client_id.json).
sed -i -e 's/367116221053-7n0vf5akeru7on6o2fjinrecpdoe99eg.apps.googleusercontent.com/**CLIENT_ID**/g' gdrive
sed -i -e 's/1qsNodXNaWq1mQuBjUjmvhoO/**CLIENT_SECRET**/g' gdrive

STEP 5
Run gdrive list to confirm that it has worked. It will ask you to go through the OAuth login process again to generate a new token, but after you should have a list of files in your Google Drive.
END HOWTO

Also I think Client ID/Secret should be read from client_id.json directly instead of hard-coding and simply replacing that file would solve it. I might create a pull request but not sure if the repo is still maintained.

This would be the best way forward. There is a note in the README about the state of maintenance though:

This tool is not being actively maintained at the moment, ymmv.

I have started maintaing my for of this. All code help appreciated

Okay so based on all this info i manged to compile a working version for my Ubuntu server. Have tested it and confirmed its using the new API info i put inn and no more 404 errors. Thanks for putting this together TA40. But yea if someone knows how code this maybe next thing would be to move the google api Credentials to a config file rather than having them hard coded like this. Would be ideal for regular users so they don't have to compile it themselves.

I have a fork, I am maintaining,

Active maintenance of this repo will restart soon

After I tested and got this message:

./gdrive-linux-x64 list
Failed to list files: Get https://www.googleapis.com/drive/v3/files?alt=json&fields=nextPageToken%2Cfiles(id%2Cname%2Cmd5Checksum%2CmimeType%2Csize%2CcreatedTime%2Cparents)&orderBy=&pageSize=30&q=trashed+%3D+false+and+'me'+in+owners: oauth2: cannot fetch token: 401 Unauthorized
Response: {
"error": "unauthorized_client",
"error_description": "Unauthorized"
}

You need to delete your old .json from AppData.. The current credentials dont match the new build you have made. Once deleted you will be prompted in the exe.

Having to build the app with the credentials hardcoded presents a serious problem to those who want to use more than one account via gdrive. It is not reasonable to re-build the app each time with new credentials. How can we deal with this situation?

I can confirm this basic procedure worked on Linux Ubuntu 16.04
I did steps 1-14 (I already has 1-12 done, just did 13, and 14 with emacs or you can use any linux editor).
after that:

download and unzip go : https://dl.google.com/go/go1.12.linux-amd64.tar.gz
1a. mv go1.12.linux-amd64.tar.gz /usr/local/
1b. cd /usr/local
1c. tar -zxvf go1.12.linux-amd64.tar.gz
1d. export PATH=/usr/local/go/bin

export GOOS=linux
export  GOARCH=amd64

get gdrive and compile
cd $HOME
go get github.com/prasmussen/gdrive
git clone https://github.com/prasmussen/gdrive/

cd $HOME
cd gdrive
go  get github.com/prasmussen/gdrive
go build
and then a gdrive executable shows up.
sudo cp gdrive /usr/local/bin
and it should work!

For the lazy people who don't want to recompile (myself included) - How to change the API credentials in gdrive binary without recompile on Linux
NOTE - This ONLY works if the client_id and client_secret are both the same length as the ones defined originally in the gdrive binary. If they are not these lengths, this method will not work and you will have to recompile from source.
STEP 1
Generate API credentials for Google Drive (see TA40's OP here - follow steps 3-14)
STEP 2
Get the client_id and client_secret from your client_id.json file. The client_id MUST be 72 chars long and the client_secret MUST be 24 chars long. If they are not these lengths, following this method will probably break gdrive, and you will have to recompile gdrive from source instead.
Use your favourite method - I used wc to get the length
echo -n **CLIENT_ID** | wc -c
echo -n **CLIENT_SECRET** | wc -c

STEP 3
Backup your gdrive binary
cp gdrive gdrive.old
STEP 4
Edit binary in-place with sed (Replace **CLIENT_ID** and **CLIENT_SECRET** with your newly generated details from client_id.json).
sed -i -e 's/367116221053-7n0vf5akeru7on6o2fjinrecpdoe99eg.apps.googleusercontent.com/**CLIENT_ID**/g' gdrive
sed -i -e 's/1qsNodXNaWq1mQuBjUjmvhoO/**CLIENT_SECRET**/g' gdrive

STEP 5
Run gdrive list to confirm that it has worked. It will ask you to go through the OAuth login process again to generate a new token, but after you should have a list of files in your Google Drive.
END HOWTO

Also I think Client ID/Secret should be read from client_id.json directly instead of hard-coding and simply replacing that file would solve it. I might create a pull request but not sure if the repo is still maintained.

This would be the best way forward. There is a note in the README about the state of maintenance though:

This tool is not being actively maintained at the moment, ymmv.

I have started maintaing my for of this. All code help appreciated

This doesn't work on FreeBSD.
After making the replacements in the binary, trying to run it gives an error saying Shared object has no run-time symbol table

Building via the ports tree (after extracting the code and making the changes) on FreeBSD doesn't seem to work entirely. I have not tried to build the code directly.
It asks for the credentials to allow the "project" to access the drive on each attempt, i.e., it fails to store the token somewhere.

I can confirm it works on Mac OS X too.
One step I left out on the Linux is to remove the .gdrive directory
rm -rf $HOME/.gdrive

@kakalotto: Thank you very much! It's working.
a little addition:

1d. export PATH=/usr/local/go/bin
It's doesn't work on my system
Here is my working :
export PATH=$PATH:/usr/local/go/bin

tested on ubuntu mate 18.04.02 LTS bionic

For Raspberry Pi 3/3+, I got it to work by following the above instructions and then using
cd /tmp
wget https://dl.google.com/go/go1.12.linux-armv6l.tar.gz
sudo tar -C /usr/local -xzf go1.12.linux-armv6l.tar.gz
nano ~/.profile
add export PATH=$PATH:/usr/local/go/bin to the end of ~/.profile
logout or exit
log back in to activate the new PATH
git clone https://github.com/gdrive-org/gdrive.git
cd gdrive
export GOOS=linux
export GOARCH=arm
go get github.com/prasmussen/gdrive
go build
./gdrive
that should work

For me it sitll not working. I was able to build Linux file but still not working. Same 403 error

Try to re-create a new token may be it solve your problem.

Try to re-create a new token may be it solve your problem.

If you mean.. remove current token..gDrive give me to get token again by going web URL then.. I have done that few times still same.
Let me know if you mean anything else simple tell me the process if you don't mind.

Try to re-create a new token may be it solve your problem.

If you mean.. remove current token..gDrive give me to get token again by going web URL then.. I have done that few times still same.
Let me know if you mean anything else simple tell me the process if you don't mind.

I have same your problem. I've done 2 things below

After I modified handlers_drive.go then I also copy this file into ~/go/src/github.com/prasmussen/gdrive/handlers_drive.go
I've re-create new token.

After that I open google console to monitor the api request.
Good luck.

I am creating on Windows machine..  so what I need to do ?

Try to re-create a new token may be it solve your problem.

If you mean.. remove current token..gDrive give me to get token again by going web URL then.. I have done that few times still same.
Let me know if you mean anything else simple tell me the process if you don't mind.

I have same your problem. I've done 2 things below

After I modified handlers_drive.go then I also copy this file into ~/go/src/github.com/prasmussen/gdrive/handlers_drive.go before build package.
I've re-create new token.

After that I open google console to monitor the api request.
Good luck.

I have downloaded gdrive master files on computer and editing there only.

I am creating on Windows machine.. so what I need to do ?

Try to re-create a new token may be it solve your problem.

If you mean.. remove current token..gDrive give me to get token again by going web URL then.. I have done that few times still same.
Let me know if you mean anything else simple tell me the process if you don't mind.

I have same your problem. I've done 2 things below

After I modified handlers_drive.go then I also copy this file into ~/go/src/github.com/prasmussen/gdrive/handlers_drive.go before build package.
I've re-create new token.

After that I open google console to monitor the api request.
Good luck.

I also test on Windows 10. It's working properly.

Good luck
This link very useful https://medium.freecodecamp.org/setting-up-go-programming-language-on-windows-f02c8c14e2f

Whoever translated it to Crosscompiling with linux and Windows, big thanks!

6. env GOOS=windows GOARCH=amd64 go build -ldflags '-w -s'

Something is wrong I am still getting 403 error.. couple things I noticed on your step.
[1] how do you set  "GOPATH" and "GOROOT"
[2] I did go get github.com/prasmussen/gdrive  but it made no folder like"src" and so on in "Go" folder.
Let me clear I am using Windows machine to generate gdrive to be used on linux server. I did set GOOS to linux and GoArch to AMD64

Thanks a lot for this tutorial, gdrive works fine for me now !
Fred

For the lazy people who don't want to recompile (myself included) - How to change the API credentials in gdrive binary without recompile on Linux
NOTE - This ONLY works if the client_id and client_secret are both the same length as the ones defined originally in the gdrive binary. If they are not these lengths, this method will not work and you will have to recompile from source.
STEP 1
Generate API credentials for Google Drive (see TA40's OP here - follow steps 3-14)
STEP 2
Get the client_id and client_secret from your client_id.json file. The client_id MUST be 72 chars long and the client_secret MUST be 24 chars long. If they are not these lengths, following this method will probably break gdrive, and you will have to recompile gdrive from source instead.
Use your favourite method - I used wc to get the length
echo -n **CLIENT_ID** | wc -c
echo -n **CLIENT_SECRET** | wc -c

STEP 3
Backup your gdrive binary
cp gdrive gdrive.old
STEP 4
Edit binary in-place with sed (Replace **CLIENT_ID** and **CLIENT_SECRET** with your newly generated details from client_id.json).
sed -i -e 's/367116221053-7n0vf5akeru7on6o2fjinrecpdoe99eg.apps.googleusercontent.com/**CLIENT_ID**/g' gdrive
sed -i -e 's/1qsNodXNaWq1mQuBjUjmvhoO/**CLIENT_SECRET**/g' gdrive

STEP 5
Run gdrive list to confirm that it has worked. It will ask you to go through the OAuth login process again to generate a new token, but after you should have a list of files in your Google Drive.
END HOWTO

Also I think Client ID/Secret should be read from client_id.json directly instead of hard-coding and simply replacing that file would solve it. I might create a pull request but not sure if the repo is still maintained.

This would be the best way forward. There is a note in the README about the state of maintenance though:

This tool is not being actively maintained at the moment, ymmv.

best for me. but after step 4. You need to delete the old .gdrive/token_v2.json
cd ~ && rm .gdrive/token_v2.json

For the lazy people who don't want to recompile (myself included) - How to change the API credentials in gdrive binary without recompile on Linux
NOTE - This ONLY works if the client_id and client_secret are both the same length as the ones defined originally in the gdrive binary. If they are not these lengths, this method will not work and you will have to recompile from source.
STEP 1
Generate API credentials for Google Drive (see TA40's OP here - follow steps 3-14)
STEP 2
Get the client_id and client_secret from your client_id.json file. The client_id MUST be 72 chars long and the client_secret MUST be 24 chars long. If they are not these lengths, following this method will probably break gdrive, and you will have to recompile gdrive from source instead.
Use your favourite method - I used wc to get the length
echo -n **CLIENT_ID** | wc -c
echo -n **CLIENT_SECRET** | wc -c

STEP 3
Backup your gdrive binary
cp gdrive gdrive.old
STEP 4
Edit binary in-place with sed (Replace **CLIENT_ID** and **CLIENT_SECRET** with your newly generated details from client_id.json).
sed -i -e 's/367116221053-7n0vf5akeru7on6o2fjinrecpdoe99eg.apps.googleusercontent.com/**CLIENT_ID**/g' gdrive
sed -i -e 's/1qsNodXNaWq1mQuBjUjmvhoO/**CLIENT_SECRET**/g' gdrive

STEP 5
Run gdrive list to confirm that it has worked. It will ask you to go through the OAuth login process again to generate a new token, but after you should have a list of files in your Google Drive.
END HOWTO

Also I think Client ID/Secret should be read from client_id.json directly instead of hard-coding and simply replacing that file would solve it. I might create a pull request but not sure if the repo is still maintained.

This would be the best way forward. There is a note in the README about the state of maintenance though:

This tool is not being actively maintained at the moment, ymmv.

Get the client_id and client_secret from your client_id.json file. The client_id MUST be 72 chars long and the client_secret MUST be 24 chars long. If they are not these lengths, following this method will probably break gdrive, and you will have to recompile gdrive from source instead.
Use your favourite method - I used wc to get the length
echo -n CLIENT_ID | wc -c
echo -n CLIENT_SECRET | wc -c

For me the client_id is 73 chars, despite that I tried to edit the binary with the sed commands.
But indeed, as mentioned in the how-to, it breaks gdrive (segmentation fault), so for me compiling was the way to go and now works fine.

It will possible to put API key in argument, to avoid each people compile his own executable ?

It will possible to put API key in argument, to avoid each people compile his own executable ?

It'll be one of the first issues to be addressed, since it's making the program unstable. I'm currently having tight deadlines, I'll inspect pr's and reorganize repo as soon as I catch a break.

@ordimans

It will possible to put API key in argument, to avoid each people compile his own executable ?

Not on command line, but as a file on disk, there is currently unmerged pull request - https://github.com/gdrive-org/gdrive/pull/428
The pull request allows you to override credentials with a client_id.json file in the ~/.gdrive directory.

Try to re-create a new token may be it solve your problem.

If you mean.. remove current token..gDrive give me to get token again by going web URL then.. I have done that few times still same.
Let me know if you mean anything else simple tell me the process if you don't mind.

I have same your problem. I've done 2 things below

After I modified handlers_drive.go then I also copy this file into ~/go/src/github.com/prasmussen/gdrive/handlers_drive.go before build package.
I've re-create new token.

After that I open google console to monitor the api request.
Good luck.

Thank you it worked for me !

I made a patch that allows direct use of the credentials.json file.
#476

I agree with @ppbrown - #476 is way simpler. The only thing better about #428 is that it loads and uses the entire credentials file as exported from Google API console. #476 loads the credentials, extracts the client id and secret, and then recreates the credentials json with constant values for login endpoints, scopes etc that are set inside gdrive.
Do we really care about this? Probably not unless these constant values or the format of the credentials file are changed by Google.
One other thing to note - when I download credentials from Google API Console, I get a randomly named file like client_secret_892342893429834_[...].json.

A typo here: "open CMD/terminal and go to the folder where the "handerls_drive.go" is, should be "handlers_drive.go" lol

Hello everyone, i try to create a repository https://github.com/marufshidiq/gdrive-cli-builder to build this application with our Google API credentials and the build process is using GitHub Actions, so we don't need to setup anything in our computer. I have been used this to build my own app, i hope this can help anyone who want to build this app with much easier.

@rohfle It still asked me to enter the Enter verification code: , should it still ask it after we made all the changes on the source code and compile it?

I wonder if someone could create a fork of this.
Then, the OP steps could be made 10 times.
Then, the executable would be generated 10 times.
Then, if running executable1 fails with 403 error, it would automatically try the executable2 and so on.
I think it is not too complicated to implement, just will require some effort to make it 10 times.
And if you are used to code/compile on this language, may be, it does not need to be 10 big executables, but just 10 small libraries that the code would internally switch to let the magic happen! :)

I wonder if someone could create a fork of this.
Then, the OP steps could be made 10 times.
Then, the executable would be generated 10 times.
Then, if running executable1 fails with 403 error, it would automatically try the executable2 and so on.
I think it is not too complicated to implement, just will require some effort to make it 10 times.
And if you are used to code/compile on this language, may be, it does not need to be 10 big executables, but just 10 small libraries that the code would internally switch to let the magic happen! :)

Hello, The application is no longer working for the last 1 month. what has changed? it gives the following error.
Failed getting oauth client: Failed to exchange auth code for token: oauth2: cannot fetch token: 400 Bad Request
Response: {
"error": "invalid_grant",
"error_description": "Bad Request"
}

possibly google has changed the required syntax on their side
On Tue, Feb 16, 2021 at 3:28 AM mesutalturk<EMAIL_ADDRESS>wrote:

Hello, The application is no longer working for the last 1 month. what has changed? it gives the following error.
Failed getting oauth client: Failed to exchange auth code for token: oauth2: cannot fetch token: 400 Bad Request
Response: {
"error": "invalid_grant",
"error_description": "Bad Request"
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@ppbrown  how do we fix this. developer no longer supports :(

@ppbrown how do we fix this. developer no longer supports :(

I think this #570 fix the 403 issue. I am using it without problem

@ppbrown how do we fix this. developer no longer supports :(

@mesutalturk   I have faced with the same problem. I have done following solution (https://stackoverflow.com/a/65507155/2402577), which helped me to fix the problem.


Updated README.md File

A link for python tutorial has been added.

What will the 'config.yml' file do?

@md-rubel Why you are committing unnecessary files and changes?

Sorry, thats a mistake...  please close this Pull request.  there are so many commit happened by me unfortunately.


Repository proxy addon

Rewrites api url based on the rule of the repository proxy.(from one
repo to another)
Controls which apis will be handled in rewriting, based on api url
patterns in configuration
Controls which http methods can be included in rewriting, based on
configuration
Can be enabled/disabled

This feature is not completed yet, but some basic ideas have been included. I still need to think more and add more ftests.

As this pr has mixed bunch features, which is not easy to review, so I'll close this pr and separates code to splitted parts which addressing single features for different prs later.

Oh no... I reviewed all of them.. is today 4/1?

Oh no... I reviewed all of them.. is today 4/1?

I'm sorry to hear that. :( But no worry because the new commit is generally same to this one but more feature addressed. (I want to make them easy review & easy to merge. :) )


Remove ParameterExpression

Summary
From discussion in slack and https://github.com/Qiskit/qiskit-ibm-runtime/pull/1674, we can drop ParameterExpression because it's no longer an input for the primitives.
Details and comments
Fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 82.747%

Files with Coverage Reduction
New Missed Lines
%

qiskit_ibm_runtime/utils/json.py
1
86.9%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
6230

Relevant Lines:
7529

💛  - Coveralls


Add heartbeat event

The only field I can think of is "interval" - how frequently the application intends to heartbeat.

Agree...


Flow's 'Object' should be mapped to TypeScript's 'object'

Currently Flow's Object gets mapped to Object in TypeScript which results in an error in TypeScript.
I think this is because the parser treats it as a GenericTypeAnnotation (See obj1 in this example).
I believe most people are using Object to mean object in TypeScript so the implementation should map nodes with GenericTypeAnnotation named Object to tSObjectKeyword (i.e. object).

Maybe it should be object?

@satya164 Yeah, you're right. Probably won't see primitives being used so object should be the way to go.
I've changed the title and body.


Prevent whitespace from affecting split mana

http://stackoverflow.com/questions/19038799/why-is-there-an-unexplainable-gap-between-these-inline-block-div-elements

Did you try removing the whitespace between the tags as mentioned here:
http://stackoverflow.com/questions/5078239/how-to-remove-the-space-between-inline-block-elements


Column Alignment changes while navigating through the pages.

Description:
The Columns alignment changes as user navigates through the pages.
The table component seems to be broken. https://precise-ui.io/#/Components/Table
Steps to reproduce:

Click on the carousal arrows to navigate through pages.
Verify the columns behavior.

Expected behavior:
The columns alignment should be defined and should not change.
Actual behavior:
Columns seems shaky when user starts navigating to different pages.
Environment:
any OS/browser
Possible Solution:
To be clarified..

@guiherzog


feat(user-tenant-service):  add requirement based audit log support i…

…n service
add support for configurable audit logs based on an env flag now users will be able to enable audit logs in the user tenant service
GH-1368
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #1368
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Intermediate change (work in progress)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] Performed a self-review of my own code
[ ] npm test passes on your machine
[ ] New tests added or existing tests modified to cover all changes
[ ] Code conforms with the style guide
[ ] API Documentation in code was updated
[ ] Any dependent changes have been merged and published in downstream modules

@Tyagi-Sunny look into the failing tests, rest looks good to merge.


Fix printing long log outputs losing

Codecov Report

Merging #8 (3781afc) into master (6bd23fb) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         3    -1
  Lines           92        85    -7
=========================================
- Hits            92        85    -7

Impacted Files
Coverage Δ

lib/codenic_logger.dart
100.00% <100.00%> (ø)

lib/src/message_log_printer.dart
100.00% <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 6bd23fb...3781afc. Read the comment docs.


Introduction: Adefolake Durosinmi

My name is Adefolake Durosinmi, I am a Cybersecurity professional. I am looking forward to learning and working on this project. This is the first engagement on github
Social Media Handle
LinkedIn: https://www.linkedin.com/in/adefolake-durosinmi-a7a22664
And my portfolio can be found in the link below. Which include my career path and interest.
http://6413cfcfe3555.site123.me/

Close this issue and record a contribution.


v0.3.9 semver failing on rpm version format 9.99 but pass for format 9.99.9

Describe the bug
new semver version match if match is format 9.99 it fails but if format is 9.99.9 passes
How To Reproduce
package:
:
installed: true
versions:
and:
- have-len: 1
- contain-element:
semver-constraint: ">=1.10"
kernel:
installed: true
versions:
and:
- have-len: 1
- contain-element:
semver-constraint: ">=3.10.0"
mypkg info
-bash-4.2$ rpm -qa  --info
Name        :
Version     : 1.11
Release     : 1.lrh7
Expected Behavior
expect package to pass
Actual Behavior
-bash-4.2$ /usr/local/bin/goss -g package-version.yaml validate -f tap
1..4
ok 1 - Package: : installed: matches expectation: [true]
not ok 2 - : version: Error: Expected a valid semver constraint.  Got:
: >=1.10
ok 3 - Package: kernel: installed: matches expectation: [true]
ok 4 - Package: kernel: version: matches expectation: []
Environment:

v.0.3.9
RHEL7

correcting the yml file as it dropped pkg name
package:
my-package:
installed: true
versions:
and:
- have-len: 1
- contain-element:
semver-constraint: ">=1.10"
kernel:
installed: true
versions:
and:
- have-len: 1
- contain-element:
semver-constraint: ">=3.10.0"
my-package info
-bash-4.2$ rpm -qa my-package --info
Name :  my-package
Version : 1.11
Release : 1.lrh7
where my-package is proprietary package can not share more info

also looks like -f json is providing oneliner output like -f json_oneline

As per the semver spec:

A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes. X is the major version, Y is the minor version, and Z is the patch version. Each element MUST increase numerically. For instance: 1.9.0 -> 1.10.0 -> 1.11.0.

https://semver.org/#spec-item-2
I think the feature you want is requested in this PR which is still open: #435
See my comment here where I explain why using semver for rpm matching can give incorrect results:
https://github.com/aelsabbahy/goss/issues/435#issuecomment-561704683
Please let me know if the goss manual needs to be re-worded to clarify this further.
RPM version matching/ranges is something I would like to support in the future, but it does not currently exist in goss.

Regarding JSON, json_oneliner will be deprecated. See the second bullet on the release notes:

json output now supports -o pretty and behaves like json_oneline. json_oneline will be deprecated in the future

https://github.com/aelsabbahy/goss/releases/tag/v0.3.9

Thank you for reply , I am new to goss still learning but honesty I am lost when to use semver matcher as the example in the manual is not very clear.. this is good tool but manual lacks example in some advanced area like matching without template and now semver ..
can you give real life example for this

can you give some real life example than this ?
example:
content:
- 1.0.1
- 1.9.9
matches:
semver-constraint: ">1.0.0 <2.0.0 !=1.5.0"
not sure what "example:" means in the example.

If you have a package that adheres to X.Y.Z format the semver can be used for that. That's about it for now.
I comment on how semver-constraint is not immediately useful and where it may pair up with future work on the PR, see this comment for more info:
https://github.com/aelsabbahy/goss/pull/508#issuecomment-562362162

Closing, since semver-matcher is working as intended and 9.99 isn't semver.


AssertionError when building model

"AssertionError" is raised when I run my program. I have checked my code time and again, but I just cannot find the bug. Can anyone help me out? You have my gratitude.
The code:
import numpy as np
from pyscipopt import Model, quicksum

def QP_model(A, w, c, name='QP'):
    '''
    min : x'Ax/2
    s.t.: w'x <= c, 0 <= x <= 1
    '''
    n = len(A)
    model = Model(name)
    x = dict()
    for i in range(n):
        x[i] = model.addVar('x(%d)' % i, vtype='C', lb=0.0, ub=1.0)
    model.addCons(quicksum(w[i]*x[i] for i in range(n)) <= c)
    objfun = quicksum(A[i][j]*x[i]*x[j]/2 for i, j in np.ndindex(n, n))
    model.setObjective(objfun, 'minimize')
    model.data = x
    return model

def main():
    '''
    Main interface.
    '''
    # data
    A = np.random.rand(3, 3)
    w = np.random.rand(3)
    c = np.random.rand()
    # model
    model = QP_model(A, w, c)
    model.optimize()

if __name__ == '__main__':
    print('running...')
    main()

The error message:
Traceback (most recent call last):

  File "<ipython-input-50-4fc84a02b499>", line 1, in <module>
    runfile('D:/Essays/QMKP/example/temp.py', wdir='D:/Essays/QMKP/example')

  File "d:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 705, in runfile
    execfile(filename, namespace)

  File "d:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "D:/Essays/QMKP/example/temp.py", line 41, in <module>
    main()

  File "D:/Essays/QMKP/example/temp.py", line 35, in main
    model = QP_model(A, w, c)

  File "D:/Essays/QMKP/example/temp.py", line 21, in QP_model
    model.setObjective(objfun, 'minimize')

  File "src\pyscipopt\scip.pyx", line 779, in pyscipopt.scip.Model.setObjective

AssertionError

N.B. I am using Anaconda3 and Windows 10.

Instead of writing:
objfun = quicksum(A[i][j]*x[i]*x[j]/2 for i, j in np.ndindex(n, n))
you @cmjdxy could have written:
objfun = quicksum(0.5*A[i][j]*x[i]*x[j] for i, j in np.ndindex(n, n))
In that case, model.setObjective(objfun, 'minimize') raises a ValueError:
ValueError: Nonlinear objective functions are not supported!
This inconsistency is worthy to investigate since nonlinear objective functions are highly requested and the program must be clear they are not supported.

Instead of writing:
objfun = quicksum(A[i][j]*x[i]*x[j]/2 for i, j in np.ndindex(n, n))
you @cmjdxy could have written:
objfun = quicksum(0.5*A[i][j]*x[i]*x[j] for i, j in np.ndindex(n, n))
In that case, model.setObjective(objfun, 'minimize') raises a ValueError:
ValueError: Nonlinear objective functions are not supported!
This inconsistency is worthy to investigate since nonlinear objective functions are highly requested and the program must be clear they are not supported.

Interesting. Thank you for the complement!


Move first step of tutorials to an Intro popup

Some tutorials have their 1st step as am intro; that description / intro should not be a tutorial step. I.e. when you close the intro popup, we show the next step directly

Use @unplugged in the step title.

Please move it pxt-minecraft


installation process or cheatsheet for ubuntu

stay alert

good

@jagenjo i need document with installation process bro

I have created this guide:
https://github.com/jagenjo/webglstudio.js/blob/master/INSTALL.md

i can install with php7 and nginx?

yes, that how I have it now

can we have a hangout for correct installation?
Pls accept my invitation sent u before to<EMAIL_ADDRESS>


Memory leak in buffer::resize()

Buffer.cpp
bool buffer::resize(s64 sizeChange, bool multiplySize)
{
    if ( this != nullptr )
    {
        if ( sizeChange > 0 && multiplySize )
            sizeAllotted = (u32)(sizeAllotted*1.2+sizeChange); // Increase allotted size by 20% + required space
        else
            sizeAllotted = (u32)(sizeAllotted+sizeChange); // Decrease allotted size by amount specified

        if ( sizeUsed > 0 )
        {
            s8* newBuffer;
            try {
                newBuffer = new s8[sizeAllotted];
            } catch ( std::bad_alloc ) {
                throw(  BadResize(0) );
            }

            if ( sizeUsed <= sizeAllotted )
                std::memcpy( newBuffer, data, sizeUsed*sizeof(char) );
            else
                std::memcpy( newBuffer, data, sizeAllotted*sizeof(char) );

            if ( data )
            {
                delete[] data;
                data = nullptr;
            }

            data = newBuffer;
        }
        else
        {
            if ( data )
            {
                delete[] data;
                data = nullptr;
            }

            if ( sizeAllotted > 0 )
            {
                try {
                    data = new s8[sizeAllotted];
                } catch ( std::bad_alloc ) {
                    sizeAllotted = 0;
                    throw( BadResize(1) );
                }
            }
        }
        return true;
    }
    return false;
}

Memory leak on line data = new s8[sizeAllotted];, memory is not freed. Use of a smart pointer is recommended.

This is not a leak, it's encapsulated data taken care of in the destructor (previous memory is deleted a few lines prior), though I'll leave this open since a smart pointer would be better.

I've recorded this function leaking multiple megabytes of memory over the course of less than two minutes. Will review the code in depth later.

Code recommendation(unrelated to original issue):
if ( sizeUsed <= sizeAllotted )
	std::memcpy( newBuffer, data, sizeUsed*sizeof(char) );
else
	std::memcpy( newBuffer, data, sizeAllotted*sizeof(char) );

if ( data )
{
	delete[] data;
	data = nullptr;
}

data = newBuffer;

The if statement to check if variable data is not a null pointer is unnecessary. Variable data should be expected to not be a null pointer because std::memcpy() causes undefined behavior if a null pointer is used.

I've attempted to rewrite Buffer.cpp using std::vector<s8> data; but the getPtr() functions seems very unsafe to have.
I've looked at the calls to getPtr() and it seems that it's unnecessary in many cases as the calling code requires a pointer to a char buffer which makes getString() more suitable. In at least one case, which is GRP::data(), the function returns a raw pointer to data which doesn't seem like a good idea.

Buffers have since been removed.


multiple File in Daemon Mode not working

Hi,
if i start frontail with 2 Log File and a wildcard from commandline it working fine.
But if i configure it in daemon mode this is not working.
Working:
Commandline: frontail /path/filename1* /path2/filename2*
In Daemon Mode not working:
#!/bin/sh -
[Unit]
Description=Frontail
[Service]
ExecStart=/usr/bin/frontail --ui-highlight -t dark "/path/filename1*" "/path/filename2*"
Restart=always
User=xxxx
Environment=PATH=/usr/bin/
Environment=NODE_ENV=production
WorkingDirectory=/usr/bin/
[Install]
WantedBy=multi-user.target
Alias=frontail.service
Some Idea?

Hey, is that still an issue?

Hey I have a similar problem. I user frontail on DietPi and try to tail openhab log files. With one file the service runs fine. When i add a second file and reload and restart everything the frontail webpage don't load.

Hey, is that still an issue?

Still an issue:
Error: ENOENT: no such file or directory, open '/var/log/openhab/openhab.log,/var/log/openhab/events.log'

It seens it concatenates the filenames


Added TravisCI and CodeCov hook

Added CodeCov hook - Will need to setup the CODECOV_TOKEN in CircleCI to see this pass.
Signed-off-by: French Ben<EMAIL_ADDRESS>

License badge added as:

Do you even badge, bro?
LGTM


FakeClient.Delete purges release, does not match default helm client behaviour

I'm using the FakeClient implementation to test some code that depends on a helm client. While writing these tests, I've noticed that the default behaviour of FakeClient.Delete method is that of a helm delete --purge, while the default behaviour of a real helm client does not purge.
It's clear how the release becomes "purged" from reading the implementation: https://github.com/helm/helm/blob/master/pkg/helm/fake.go#L134
The release is dropped from the FakeClient's internal slice of releases, so I wouldn't be able to query its ReleaseStatus, for example.
The behaviour I expected is for a deleted release to exist in a DELETED state, unless I provide the DeletePurge option.
I think it would be better for the FakeClient to implement the default behaviour of a helm client, rather than some optional behaviour being enabled by default. I'd be happy to contribute a PR to amend this, but wanted to first ask whether the current FakeClient behaviour is expected/intentional.

Can you check and confirm if this is an issue with the Helm 3 client SDK as well?
Amending this to emulate the same behavior as the default client would be a good idea.

Reviewed, doesn't seem to apply to v3.0. @crdueck please provide reproducible example if you think it is v3 related.

Hi, @crdueck - thank you for reporting this. As stated above, this does not seem to apply to Helm v3. As Helm v2 is no longer supported (https://helm.sh/blog/helm-v2-deprecation-timeline/) I will close this issue now. If you can reproduce the behavior for Helm v3, please open a new issue - thanks!


Allow Guzzle 7

@curry684 sorry for the extra poke -- this is the last dependency that blocking us from updating 🙈  Hope you can merge this soon 👍

Merged, do you also need a tag?

That's really quick, awesome! Yeah if you can tag as well 💪

https://github.com/omines/directadmin/releases/tag/v0.1.7   🥇


add new coin to peatio

I want to add new NEO currency to the exchange.
I added the coin from admin panel .How to do setup the blockchain, Server,Client and Explorer Address?
How do I  find  test server to use for neo coin?

peatio don't support neo

@Thedabest  How can I add new currency if I want to add? What type of currencies peatio support


Bump scheduler-plugins to use NRT API v0.12

Resync openshift-kni/scheduler-plugins with updated kubernetes-sigs/scheduler-plugins which works against the NRT API v0.0.12

Fixed the unit tests which failed due to the changes.

Integration test and unit test passed locally

I'm surprised we can't do just a trivial git merge. How was this PR generated?

I'm surprised we can't do just a trivial git merge. How was this PR generated?

I rebased from k8s-sigs/scheduler-plugins and fixed the gaps (like the in the unittests) that are kni-specific.
What do you mean by git merge? usually we're always using rebase and not merge since it messes up the commits` authors

I'm surprised we can't do just a trivial git merge. How was this PR generated?

I rebased from k8s-sigs/scheduler-plugins and fixed the gaps (like the in the unittests) that are kni-specific.
What do you mean by git merge? usually, we're using rebase and not merge since it messes up the commits` authors

I can't recall how git merge messes up the commit's author. In this case I'm not sure rebase is the right call, let's evaluate

I'm surprised we can't do just a trivial git merge. How was this PR generated?

I rebased from k8s-sigs/scheduler-plugins and fixed the gaps (like the in the unittests) that are kni-specific.
What do you mean by git merge? usually, we're using rebase and not merge since it messes up the commits` authors

I can't recall how git merge messes up the commit's author. In this case I'm not sure rebase is the right call, let's evaluate

I wonder why merge is the right approach here. not disagree - just curious

I'm surprised we can't do just a trivial git merge. How was this PR generated?

I rebased from k8s-sigs/scheduler-plugins and fixed the gaps (like the in the unittests) that are kni-specific.
What do you mean by git merge? usually, we're using rebase and not merge since it messes up the commits` authors

I can't recall how git merge messes up the commit's author. In this case I'm not sure rebase is the right call, let's evaluate

I wonder why merge is the right approach here. not disagree - just curious Anyway, merged as you asked

It depends. The goals in our case is:
0. NEVER EVER rewrite history

preserve u/s history verbatim (no commit rewrite)
have a crystal clear distinction between u/s changes (verbatim) and local changes for our case
make the flow as cheap as possible maintenance wise

the merge flow seems to tick all the boxes (it's what github automates to resync a fork anyway).
a rebase flow COULD be also fine, provided the steps are documented (xref: https://github.com/openshift-kni/scheduler-plugins/pull/13) and the goals above are met
last but not least, in order to fullfill requirement 2 above, please add a [KNI] tag to all commit messages of changes specific to this repo (e.g. https://github.com/openshift-kni/scheduler-plugins/pull/12/commits/8f5b20d67ef1b5e01f713f9d54e1d26601d8c47a )

thanks. LGTM.
In a followup PR: please create a README in this repo documenting how we will sync with u/s, e.g. the  flow (merge vs rebase) we discussed. https://github.com/openshift-kni/scheduler-plugins/pull/12#issuecomment-979250893 could be a starting point.
If you want to propose a rebase flow, I have no objections provided our goals are met.

/lgtm

thanks. LGTM. In a followup PR: please create a README in this repo documenting how we will sync with u/s, e.g. the flow (merge vs rebase) we discussed. #12 (comment) could be a starting point. If you want to propose a rebase flow, I have no objections provided our goals are met.

Just saw this comment. will work on it tomorrow


unify the @behavior and @jsProxyReflectable annotations

cc @eernstg @sigurdm

also closes https://github.com/dart-lang/polymer-dart/issues/592

lgtm


Crash on Forge Server

latest.log

Also on Fabric 1.21.1 on 0.16.9
https://mclo.gs/nwl7jD7

Couldn't replicate this but should be fixed regardless as 0.1.7 doesn't use mixins anymore


Read/Save an image on the page

Is there a way to save an image from the loaded page? I can already wait until it is visible with something like chromedp.WaitVisible("//img[contains(@src, 'test_image')]", chromedp.BySearch) but not sure how to save it or read it. Notice that the image URL will not open the image since it will need the cookies which are already loaded for that specific page.

Looks like chromedp.Screenshot("//img[contains(@src, 'test_image')]", &buf, chromedp.BySearch) does the job but it captures a different area than the actual image. Any idea?

For anybody with same issue, I used js eval to workaround it
chromedp.Evaluate(`
	var img = document.getElementById('imgId');
	var c = document.createElement('canvas');

	c.height = img.naturalHeight;
	c.width = img.naturalWidth;
	var ctx = c.getContext('2d');
	ctx.drawImage(img, 0, 0, c.width, c.height);
	c.toDataURL();`,
        &buf,
)

return func(ctx context.Context) (err error) {
	var img []byte

	chromedp.Evaluate(`
		var img = document.querySelector('#selector');
		var c = document.createElement('canvas');

		c.height = img.naturalHeight;
		c.width = img.naturalWidth;
		var ctx = c.getContext('2d');
		ctx.drawImage(img, 0, 0, c.width, c.height);
		c.toDataURL();`,
		&img,
	)

	if err = os.WriteFile("img.png", code, 0755); err != nil {
		log.Printf("%s", err)
		return
	}
}

I refer to the above example in my project, but it can't work. The img.png is created, but size is zero.
Do you have something idea for this, Thanks. @gadelkareem


Bottom Overflow Issue in Sign-In Screen

In Sign-In screen,during the process of Signing up,when the keyboard pops up for entering the email id and password,the yellow-black strips occur on screen due to bottom overflow condition.

Please assign this issue for me.


PgVectorStore keeps creating an index on embedding column even if an index already exists

Providing a fix for this issue - https://github.com/spring-projects/spring-ai/issues/611

Hi @iAMSagar44 , thanks for the submission.

Thank you again for the contribution, just please make sure to run all tests next time before submitting the pr.

Rebase, add missing index name, squash and merge at 773b7bd3cacb3c644b2fcb67bf6355a463c47bf7

Hi @iAMSagar44 , thanks for the submission.
Have you run the pgvector integration tests?
./mvnw clean install -pl vector-stores/spring-ai-pgvector-store -Pintegration-tests

Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "ON"

  Position: 28

Hi @tzolov,
Thanks for pointing this out.
I did run an integration test after making the change, but I might have made a mistake on running the test on an existing package (I think I missed the 'clean install' maven command).
I will ensure this doesn't happen again.


User story 3.1- Issue 3 : The error message displayed is incorrect in the Application answer field #2336

GIVEN the signed-in user is in the ‘Application’ page/screen WHEN they click/tap the ‘Submit’ button without responding to all fields THEN they must be presented with an error message next to the field that was left empty displaying the message ‘Mandatory Field’. Rather the error message displayed is "Required Field"

This issue can be closed. Leave it as Required field. I will update the PRD. Thanks!

@ruchimahajan78  Sure i will close this based on the comment given


Upgrade Scala to 2.12.3

@ravwojdyla

We would need to configure a cross build for both scala 2.11.x and 2.12.x, you could take a look at featran or scio to see an example of cross build setup.

Codecov Report

Merging #25 into master will decrease coverage by 0.46%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
- Coverage   72.19%   71.72%   -0.47%
==========================================
  Files          26       26
  Lines         917      902      -15
  Branches      120      119       -1
==========================================
- Hits          662      647      -15
  Misses        255      255

Impacted Files
Coverage Δ

...in/scala/com/spotify/ratatool/diffy/BigDiffy.scala
47.05% <0%> (-3.4%)
:arrow_down:

...la/com/spotify/ratatool/samplers/AvroSampler.scala
96.72% <0%> (-3.28%)
:arrow_down:

...ala/com/spotify/ratatool/diffy/ProtoBufDiffy.scala
95.83% <0%> (-0.47%)
:arrow_down:

...om/spotify/ratatool/samplers/BigQuerySampler.scala
0% <0%> (ø)
:arrow_up:

...ala/com/spotify/ratatool/diffy/TableRowDiffy.scala
100% <0%> (ø)
:arrow_up:

...ala/com/spotify/ratatool/samplers/BigSampler.scala
65.68% <0%> (+0.15%)
:arrow_up:

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 64006fb...af8c19b. Read the comment docs.

Thanks @ravwojdyla , 2.12 to the crossbuild

Thanks @leahxu !


[WIP] CNV-40445: Display OpenshiftVirtualization Degraded warning alerts

📝 Description
Fixes:
https://issues.redhat.com/browse/CNV-40445
Display OpenshiftVirtualization Degraded Alerting page correctly, when clicking on Warning in Overview > Status card's related modal.
🎥 Demo
Before:
Clicking on Warning leads to an empty page:
https://github.com/kubevirt-ui/kubevirt-plugin/assets/13417815/2f9d0a45-9916-4d37-ad66-062e4802c2a7
After:
The related page displays correctly with all the relevant alerts:
https://github.com/kubevirt-ui/kubevirt-plugin/assets/13417815/4c575079-86b7-484a-99d8-b919a7418e6b

@avivtur @pcbailey @upalatucci @metalice please review

whats the difference between Link and a that make it works?

whats the difference between Link and a that make it works?

When using "a" element, "dashboars" prefix is not added to the url. I am not sure if using "a" is correct to use here anyway.

whats the difference between Link and a that make it works?

probably because of react router v6 append vs replace in the url

@avivtur @pcbailey @upalatucci @metalice please review


Cant copy filesd to sda1

If I try to drag files on the jobs menu (this use ot work before upgrade), I get the following

I looked at the permission of sda1 and it is root

@CChen616   Any ideas?


Long form entities for Artifact.get_entities()

Would it be possible to return "long-form" entities for Artifact.get_entities()?
Otherwise, I think I would have to keep track of the Dataset object in order to convert the entities output by Artifact into long form in pybids.

@adelavega get_entities() has now long_form=True by default, I have adapterd the unit tests accordingly


Allow specifying API Version

This allows specifying the version of the API to use.

/cc @donhcd @vieux @aluzzardi

LGTM

@ehazlett what's the point ? dockerclient doesn't have any compat handling
I think dockerclient should always call / without a version and expect to hit the last version


ignore option doesn't work with pages that include param like [id]

Environment

Operating System: Linux
Node Version:     v18.18.0
Nuxt Version:     3.7.4
CLI Version:      3.9.0
Nitro Version:    2.6.3
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, ignore
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-vfubx6?file=nuxt.config.ts
Describe the bug
ignore property doesn't ignore paths that include params
Additional context
No response
Logs
No response

You need to escape the square brackets as they mean something in the context of a glob pattern:
https://stackblitz.com/edit/github-vfubx6-1fcvkh?file=nuxt.config.ts


"Lecture Request" "CKA"

Can you please add Kustomize topic. In any enterprise world , we don't see using kubernetes application without using Kustomize ( or any similar optioln). Using your course Mumshad, I have cleared CKAD and now pursuing CKA. However knowledge gained while preparing CKA or CKAD,  its still lacking in organization - real world !!. Kustomize is not something one can not learn, however i feel that it is missing part in exam as well as in course you have prepared accrodingly. Afterall in enterprise world, who will use kubectl run to create pod :)
Cheers
Dhaval

you can submit your request here https://kodekloud.com/p/request-a-course

Hi,
I have purchase and pass Linux Foundation CKA exam with 50% discount limited time offer Yet...i suggest and help you can also get Any Linux Foundation Certifications Practice Guide From Here This Link:
Download Full Practice Exam Material Here: https://www.validexamdumps.com/linux-foundation/cka-dumps


Class name changes not documented

Description
I've been upgrading from Foundation 4 to 6 and it seems it's basically been rewritten. I've encountered several class name changes that aren't documented. The only way I know a class has been dropped or a name has been changed is opening the code for 4 and then comparing it to 6. As so much has been changed this is incredibly time consuming. The release notes don't adequately describe the changes (example: pagination-centered). Is there any comprehensive resource that lists the old class names and the new names?
Possible Solution
Share a document showing class name changes. When upgrading classes aren't touched unless the need arises, so I need to know which class names were changed and confirm I don't have any removed classes in my code.
Checklist

[x] I have read and follow the CONTRIBUTING.md document.
[x] here are no other issues similar to this one.
[x] The issue title and template are correctly filled.

Major versions also include breaking changes (SemVer). Which classes exactly are problematic.
In general Foundation 6 is something different compared to 4.
So far I am not aware of a complete overview of such cganges from one major to another major version.
Most devs start from scratch using F6.
Also 6.4 compared to 6.5/6 will also have such (breaking) changes but thsy are now better documented in the release descriptions and changelog.

Only the changelog/release notes can be helpful for a so big jump. Foundation 4 is more than 5 years old.
The best we could provide is the changelog and major migration guides. See:

Migrating from v4 to v5
Migrating from v5 to v6 (unofficial compilation)
All Foundation releases


OSError: Error no file named config.json found in directory checkpoints/ppt-v2

Thanks for your great work!
I followed the inference instructions in the readme to run the app.py but got the "OSError: Error no file named config.json found in directory checkpoints/ppt-v2".
The arguments of the command are not aligned with the app script, so I changed it to match the script.
# Clone PowerPaint Model
git lfs clone https://huggingface.co/JunhaoZhuang/PowerPaint_v2/ ./checkpoints/ppt-v2

python app.py --share --pretrained_model_path checkpoints/ppt-v2

# checkpoints/ppt-v2
# ---PowerPaint_Brushnet
# ---realisticVisionV60B1_v51VAE

I've encountered the same issue, and I would like to ask how you solved it. Thank you.

Just convert the code from the dev branch to the main branch, and then it works.

Just convert the code from the dev branch to the main branch, and then it works.

Thank you very much for your detailed response. I have tried the suggestions, but unfortunately, I am still encountering the issue. Could you kindly offer any further recommendations or guidance?

I just did the above steps and it runs

I just did the above steps and it runs

I tried your suggestions again, and it worked successfully. Thank you very much for your help. However, I've encountered another issue. I am using the object removal inpainting feature. While everything runs smoothly in the terminal, the 'inpainting result' and 'mask' sections in the Gradio interface display errors. Have you come across a similar situation before? Any further guidance would be greatly appreciated.

No, I have not. Refreshing the web-page maybe work.

Hi, I also encountered the same issue initially. First, the provided script did not match app.py. After modifying the command, I also got the error: "OSError: No file named config.json found in directory checkpoints/ppt-v2." Do you have any updates since the last time you faced this?

I fixed the issue by switching to the main branch, but I still encounter problems. The "inpainting result" and "mask" sections in the Gradio interface display errors. Did you address this?

I have not encountered this problem. Without specific error information, it is difficult to locate the problem. You can try to print out the intermediate results to locate the error.

Thanks! I've identified the issue, and it can be fixed by running:
pip install gradio==3.43.0

@PlanPersisitentPatient do you clone from the dev branch ? I tried it but still the same error

@PlanPersisitentPatient do you clone from the dev branch ? I tried it but still the same error

I initially cloned from the dev branch, but no matter what I tried, I couldn't get it to run, so I eventually switched to the main branch.

@PlanPersisitentPatient thanks, I'll try again


update readme_zh.md and readme.md

update readme_zh.md to catch up with readme.md.
fix misspell in readme.md

@AChangFeng Thank you for your contribution. Coul you please let me know your name so I can put it to the contributors list?
Thanks a lot

@AChangFeng Thank you for your contribution. Coul you please let me know your name so I can put it to the contributors list? Thanks a lot

Thank you for your comment, my name is 胡琴/ChangFeng.

@AChangFeng Applied, thanks a lot!


map doesn't load

Describe the bug
map doesn't load
To Reproduce
Steps to reproduce the behavior:

Go to https://test.visualize.admin.ch/v/SUlonFeYMavu?dataSource=Int
See map doesn't load

Expected behavior
Show map as for same dataset w/o hierarchy (https://test.visualize.admin.ch/v/oUxguf5fe1z5?dataSource=Int)
Screenshots

Environment (please complete the following information):

Visualize environment and version: TEST v3.8.0
Browser and version [e.g. Chrome 95]

@ptbrowne the map now loads as expected in both the editor and published view. However I noticed that if I add the symbol layer an application error is shown. Below the screenshot from the browser console


Added /healthz JSON response for heartbeat data. #1940

I added a JSON object with heartbeat information by passing the server's Heart to the new HealthHttpProvider. I wasn't quite sure what status code to use. I was considering 503 for expired health checks but settled on 200 with state in the response content.
I haven't written TypeScript before, perhaps a type for the result object would be better?
I made sure not to heartbeat for onRequest with the /healthz route.
Closes #1940
Side note: when can we expect a new release? 3.4.1 is two months old and still has a broken heart 🙃  (zombie connections fixed by ebef18d6262b310953293860ab2a55f3bee3d112)

As for the new release, we should have one out this week.

One interesting note is that if you use a browser then it requests the service worker which triggers a heart beat. But since this is going to be used by things that aren't browsers I think it should be fine.

I'm so sorry about this! Deleted the dev branch was gonna switch this back to base on master but GitHub doesn't let you do that....
🤦
Please open a new PR with these changes! Once again, I'm so sorry!

Nvm, got it!

Figured out how to run the linter 😅
Hopefully this will make it into 3.5.1! Love the project, I might try to tackle some more milestones, time permitting.

Everything looks great. Thank you for the contribution!


[IOPLT-637] Integrate StatusAlert on both header components

Short description
This PR implements the new Status Banner inside both header components
List of changes proposed in this pull request

Uses the AlertEdgeToEdge component to handle status info inside Header First and Second Level

How to test
Check the example app new specific pages
https://github.com/user-attachments/assets/e0a80846-a58d-4bca-83c5-a46a829099b2

Closing in favor of #321


TVDB refiner pick wrong series

This issue is reproducible in the latest develop branch
The video file is: Colony.S01E09.720p.HDTV.x264-KILLERS.mkv
The series is: Colony  (from Jan 2016)
TVDB refiner is changing the series name to The Colony leading to no results when searching subtitles.
DEBUG:subliminal.cli:Collecting path Colony.S01E09.720p.HDTV.x264-KILLERS.mkv
Collecting videos
DEBUG:subliminal.core:Found subtitles {}
INFO:subliminal.core:Refining video with metadata
INFO:subliminal.core:Refining video with tvdb
INFO:subliminal.refiners.tvdb:Searching series 'Colony'
DEBUG:subliminal.refiners.tvdb:Found 5 results
DEBUG:subliminal.refiners.tvdb:Found result for original series without year
DEBUG:subliminal.refiners.tvdb:Found series {u'seriesId': u'', u'status': u'Ended', u'added': u'2009-07-22 04:13:58', u'airsTime': u'', u'network': u'Discovery', u'rating': u'TV-14', u'overview': u'The Colony is a controlled experiment to see exactly what it would take to survive and rebuild under these circumstances. For 10 weeks, a group of 10 volunteers, whose backgrounds and expertise represent a cross-section of modern society, are isolated in an urban environment outside Los Angeles and tasked with creating a livable society\r\n\r\nWith no electricity from the grid, no running water and no communication with the outside world, all the volunteers have to work with are their skills and whatever tools and supplies they can scavenge from their surroundings.\r\n\r\nExperts from the fields of homeland security, engineering and psychology have helped design the world of The Colony to reflect elements from both real-life disasters and models of what the future could look like after a global viral outbreak.', u'lastUpdated':<PHONE_NUMBER>, u'zap2itId': u'', u'seriesName': u'The Colony', u'siteRating': 7.5, u'firstAired': u'2009-07-21', u'addedBy': 37111, u'networkId': u'', u'genre': [u'Reality'], u'airsDayOfWeek': u'Tuesday', u'runtime': u'60', u'banner': u'graphical/105521-g4.jpg', u'id': 105521, u'imdbId': u'tt1470018', u'aliases': []}
INFO:subliminal.refiners.tvdb:Getting series episode 1x9
DEBUG:subliminal.refiners.tvdb:Found episode {u'seriesId': 105521, u'airsAfterSeason': None, u'dvdEpisodeNumber': None, u'productionCode': u'', u'overview': u'The colonists work on a scout vehicle and make some customized changes on their escape truck. Tempers flare when the traders return. A colonist hits his breaking point. ', u'thumbAdded': u'', u'episodeName': u'Breaking Point', u'airedSeason': 1, u'airsBeforeSeason': None, u'showUrl': u'', u'id': 1082921, u'dvdDiscid': u'', u'filename': u'episodes/105521/1082921.jpg', u'dvdSeason': None, u'writers': [], u'airedEpisodeNumber': 9, u'absoluteNumber': None, u'thumbHeight': u'225', u'imdbId': u'', u'lastUpdated':<PHONE_NUMBER>, u'director': u'', u'lastUpdatedBy': 381709, u'dvdChapter': None, u'airsBeforeEpisode': None, u'language': {u'overview': u'en', u'episodeName': u'en'}, u'thumbAuthor': 71601, u'firstAired': u'2009-09-15', u'guestStars': [], u'siteRating': 7.5, u'thumbWidth': u'400'}
INFO:subliminal.core:Refining video with omdb
DEBUG:subliminal.refiners.omdb:No need to search
1 video collected / 0 video ignored / 0 error
Downloading subtitles
INFO:subliminal.core:Listing subtitles with provider 'legendastv' and languages set([<Language [pt-BR]>])
INFO:subliminal.core:Initializing provider legendastv
INFO:subliminal.providers.legendastv:Logging in
DEBUG:subliminal.providers.legendastv:Logged in
INFO:subliminal.providers.legendastv:Searching candidates using the keyword the colony

Fixed with f6395e40226bc9234c6696e9925ec98fc0cbcfce


A bug in projects API while getting all projects using getProjects()

Hello, here in the documentation you will find this caution which is not handled in the Pager class.
This exception appears when invoking getProjects() method from the ProjectApi :

org.gitlab4j.api.GitLabApiException: Missing 'X-Total-Pages' header from server

Caution: For performance reasons since GitLab 11.8 and behind the api_kaminari_count_with_limit feature flag, if the number of resources is more than 10,000, the X-Total and X-Total-Pages headers as well as the rel="last" Link are not present in the response headers.

Best regards. 👍

@Iruora
This has been fixed and is available in release 4.9.18.
I have no way to test the fix, so please verify and close when you have a chance.

Great I've tested the method and it throws no more any exception and ends with grabbing query result successfully.


Status of this project and this repository

It seems to me that you recently took over the maintainership of fguillot/json-rpc on packagist.  I also noticed that the original source repository at https://github.com/fguillot/JsonRPC vanished. I have a couple of questions regarding the status of this repository and the package on packagist and your plans for the future. As this project has quite a few donwloads on packagist and forks here on Github I think some other people might also be interested in this information. Maybe there is an appropriate place to publish it?

Are you planning on maintaining this repository for some time?
Do you think it can be used in production and will receive security updates?
Why did you take over the repository?
This one is more for @fguillot: Why did you abandon the project? Why did you delete your repository? Do you want to refer people to this repository? (your non existing repository is still in the google index)
Where can we reach out to all the other users or forkers of this code to pull in some contributors now that the code is actively developed again?

Hi @lucc !
Yes, as you see I decided to take care of this repository and already committed one small fix recently. I take control over repository for security and other reasons. We use it on few projects (on prod) and deploy was suddenly broken because of repo. I don't have any info about original author and I also want to know why...
About future development:
I can say only about security and bug fixes. It works perfect for us and I don't have plan to implement any new features, at least for now.

The homepage link on packagist still points to the old repo. You could change that.

Yes, I will.

Thank you for the answer!! And also thank you for stepping up to keep the project alive (even if only for minimal bug fixes).
Maybe we should ping some active developers from the fork network here on github. What do you think? If we have more people interested in an active JsonRPC project it might be good.


observable:firstName needs to contextualize as pertaining to contact, not identity:Person

Background
observable:firstName currently has the following definition, added in CP-5 (refactoring contacts):

The first name of a person.

It used to have the following definition:

The first name of the contact.

There was no specific rationale given for observable:firstName in the proposal.  (This proposal has not been publicly exported, as became practice in a later UCO release.)  This is the only focused remark on observable:firstName:

Modify definition comment of observable:firstName to abstract it from only Contacts

Someone reached out to me to ask when observable:firstName would be used instead of something from the identity namespace.  I don't have a good answer for them, and I see no documentation to explain why this property moved towards potential confusion with properties in the identity namespace.  Rationales for the changes in UCO CP-5 were not included in the proposal, beyond what seems to distill to something like "Reduce confusion between contacts in an address book and point-of-contacts for online services."  Unfortunately, the implementation induces some confusion between the observable and identity namespaces now both trying to represent people, rather than observable objects.
Requirements
Requirement 1: The definition of observable:firstName should revert to The first name of the contact.
Requirement 2: observable:firstName should change to observable:contactFirstName, to separate scope of this property clearly away from identity:Person and more towards a contact record.
Requirement 3: Properties semantically close to observable:firstName should receive the same updates as in requirements 2 and 3.  These include:

observable:lastName -> observable:contactLastName
observable:middleName -> (etc.)
observable:namePhonetic
observable:namePrefix
observable:nameSuffix
observable:nickname

Non-requirements
The following other properties within observable:ContactFacet that do not match the observable:contact* pattern are not revised by this proposal.  Note the namespace prefixes.

identity:birthdate
observable:displayName (due to usage in other facets)
observable:sourceApplication
observable:lastTimeContacted
observable:numberTimesContacted

Potential Requirement 4: An example needs to be created (whether in UCO's unit tests, or among the CASE examples) that relates some observable:ObservableObject subclass, which uses observable:firstName, to an identity:Person.
Benefits

No example exists demonstrating a Relationship object that ties a person to a contact.  Potential-requirement 4's necessity is in demonstrating competency of the identity namespace's ability to interact with the observable namespace.
The name pattern of properties within the ContactFacet become more consistent.  See e.g. observable:contactAddress, observable:contactPhone.

Risks

Seven existing property names would change.  The value from disambiguating from the identity namespace is believed to be worth this development cost.

Competencies demonstrated
Competency 1
If a name "Bruce" is found in a knowledge base that records contacts and person details, they can be semantically distinguished as records of somehow-confirmed personal details, versus a record stored within a contact store somewhere.  Take for instance these two objects, using UCO 0.8.0 terminology:
{
    "@context": {
        "kb": "http://example.org/kb/",
        "core": "https://ontology.unifiedcyberontology.org/uco/core/",
        "identity": "https://ontology.unifiedcyberontology.org/uco/identity/",
        "observable": "https://ontology.unifiedcyberontology.org/uco/observable/"
    },
    "@graph": [
        {
            "@id": "kb:contact-35eba411-d687-4a00-83d2-7fc30b771517",
            "@type": "observable:Contact",
            "core:hasFacet": {
                "@type": "observable:ContactFacet",
                "observable:firstName": "Bruce",
                "observable:lastName": "Wayne"
            }
        },
        {
            "@id": "kb:person-d2f7f2b0-c43c-40d7-9cfe-d38d0627e09a",
            "@type": "identity:Person"
            "core:hasFacet": {
                "@type": "identity:SimpleNameFacet",
                "identity:givenName": "Bruce",
                "identity:familyName": "Wayne"
            }
        }
    ]
}

This is compatible with observable:firstName retaining the definition "The first name of a person".  However, a contact-record could describe this same person in a way that might render helpfully in the contacts or phone interface but otherwise be a semantic misuse of the fields.
{
    "@context": {
        "kb": "http://example.org/kb/",
        "core": "https://ontology.unifiedcyberontology.org/uco/core/",
        "observable": "https://ontology.unifiedcyberontology.org/uco/observable/"
    },
    "@graph": [
        {
            "@id": "kb:contact-c72b50a6-b255-4952-8db2-54f7ad396581",
            "@type": "observable:Contact",
            "core:hasFacet": {
                "@type": "observable:ContactFacet",
                "observable:firstName": "Gruff",
                "observable:lastName": "Voice"
            }
        }
    ]
}

Last, if the firstName field continues to call itself the first name of a person, it introduces a point of confusion of the source of that name.  Is the name-association's source a person having the name, or somebody recording what they would want to remember as they were filling their address book in?
{
    "@context": {
        "kb": "http://example.org/kb/",
        "core": "https://ontology.unifiedcyberontology.org/uco/core/",
        "observable": "https://ontology.unifiedcyberontology.org/uco/observable/"
    },
    "@graph": [
        {
            "@id": "kb:contact-85009c9f-54fa-45b1-ae70-0c53c54fa79c",
            "@type": "observable:Contact",
            "core:hasFacet": {
                "@type": "observable:ContactFacet",
                "observable:firstName": "Bat",
                "observable:lastName": "Man"
            }
        }
    ]
}

There should be no reason UCO assists with confusing those fields with a person's name.
Solution summary

For the properties listed in requirements 2 and 3:

Revise concept name to start with contact.
Revise definition comments to say "contact" instead of "person".

Doing so addresses requirements 1, 2, and 3.

Integrate the above competency into either CASE-Examples or a UCO unit test.  Doing so would address potential-requirement 4.

Note the Batman example above stops short of establishing a linking Relationship object, due to a lack of concept support for relating an Identity with a Contact.  Decisions needed to define such a kindOfRelationship value might unnecessarily delay the primary proposal goal of disambiguating contact properties.

Coordination

Tracking in Jira ticket UCO OC-228
[x] Administrative review to be completed
[ ] Requirements to be discussed in Ontology Committee (OC) meeting, 2022-04-07.

[ ] Requirements Review vote has not occurred

[ ] Requirements development phase completed.
[ ] Solutions Approval to be discussed in OC meeting, date TBD
[ ] Solutions Approval vote has not occurred

[ ] Solutions development phase completed.
[ ] Implementation has not been merged into develop

[ ] Milestone linked
[ ] Documentation logged in pending release page

I did a git-blame dive and found this was the history of the line, back to 2017 when the Turtle files were first made (newest commit to oldest):

Commit
Definition effected by commit

1633fd07
The first name of a person.

a33b8fe5
The first name of the contact.

81e1a6b0
The first name of a person.

bc4cf8e4
The first name of the contact.

ff756719
The first name of the contact.

68812a02
The first name of the contact.

25338b3c
The first name of the contact.

d5e6790c
The first name of the contact.

I disagree that there is any ambiguity here but would not object to the proposed changes to firstName, lastName, middleName, namePhonetic, namePrefix, nameSuffix or nickname. It constrains the flexibility for these properties to be used for any other observable objects in the future but we can change them back in the future if needed or just create different versions for each object which we have tried to avoid..
observable:displayName should definitely not be changed. It is used in 8 other classes and is named and defined appropriately.

observable:displayName should definitely not be changed. It is used in 8 other classes and is named and defined appropriately.

I'm fine removing this from the proposal.  I'll do so now.  Thanks for the context.

From discussion in the OC meeting today, this proposal should be updated to include a review of on what Facets these properties all appear on.  displayName doesn't seem to have been the only confusion.

This proposal raises an opportunity to review the accounts.json example on CASE-Examples.

This slipped through my review queue.  Due to timing, it is now part of the UCO 2.0.0 milestone.


Updating documentation and version

0.1.0 release candidate for rust 1.39

Cleaning up documentation

Ping - futures 0.3 still depends on an alpha of pin-utils, which is kind of weird.

any news on this? I am working on packaging/updating futures + reverse dependencies for Debian, and this would be the only alpha crate in the whole big pile of crates to package ;)

is this crate still maintained?

cc @cramertj
I would like to deprecate unsafe projection macros in the future as there are already safe alternatives (1, 2). but I think it is reasonable to release 0.1 as is, as futures and other crates still depend on it.
(btw, I would be happy to help with the maintenance of this crate if help is needed.)

Sorry for not seeing this, y'all-- I apparently don't have my notifications set up so that I can see new issues here unless I get cc'd. @taiki-e your help is always greatly appreciated :+1:
That aside, this change looks fine to me-- I'll get a release out now.

@cramertj: Thanks for the new release! (btw, the invitation seemed to be invalid because the repo moved. Could you send the invitation again?)

Sadly I'm no longer an admin-- I just have write permissions, as do all members of https://github.com/orgs/rust-lang/teams/wg-async-foundations/members. I think you certainly deserve to be a member of that group, but I'm not sure how to go about that. Perhaps @Mark-Simulacrum knows?


The problem of "targets" parameter

Thanks to the author's work, the experiment is very good!
I want to ask about a parameter problem in the code:

This is the targets parameter of stochastic_moving_mnist.

This is the targets parameter of cityscapes.
The targets parameter seems to return different values in different code. What is the function of this parameter? I want to use my own data set. How should this parameter be set.
Looking forward to your reply, thank you!

Hi @LeiShe1, the targets represent categorical data (label of imagenet, identity of a person on CelebA). In the end we never use targets in the code (see for yourself with a ctrl-f through the codebase), so just put a random value or torch.tensor(1) in its place and ignore it.


stack.sh tendermint node network error

Describe the bug
After downloading ./stack.sh script from master branch and running it, I'm getting error for tendermint container exited.

To Reproduce
Just try running ./stack.sh
Expected behavior
The ./stack.sh script is deploying docker version of BigchainDB network with STACK_SIZE number of nodes including tendermint nodes.
Logs or terminal output
Here are the logs of tendermint containers:

Desktop (please complete the following information):

Distribution: Ubuntu 18.04

@rayzui i have been having the same problem for 3 months but still locked and nobody answers to me. If you find a solution please write it here :)

@rayzui i have been having the same problem for 3 months but still locked and nobody answers to me. If you find a solution please write it here :)

@zzappie Could u plz help us with this error？

@zzappie Could u plz help us with this error？

Hi, I am also stuck at a similar error. I've been trying to change some part that I think is relevant but none of them fix the "connection reset by peer" issue.
FYI: Ubuntu 18.04 LTS, Tendermint[0.31.5], BigchainDB[2.2.2]
First, somehow, the port in "bigchaindb/pkg/configuration/roles/bigchaindb/defaults/main.yml" is
"tendermint_abci_port: 45558"
But tendermint, if I'm not mistaken, is looking for 26658 in "bigchaindb/pkg/scripts/tm_start"
" --proxy_app="tcp://"$BIGCHAINDB_DOCKER_NAME$_ITEM":26658"
So, I change the port in main.yaml to 26658.
Next, I fix the node_key.json part in the "tm_config_gen" file because I saw that there is only one node_key where it is supposed to be 4. (And that fixed the node_key not found error)
But then I got another error about missing priv_validator_state.json and prov_validator_key.json. I found that the script should handle creating this file from this source<EMAIL_ADDRESS>Here is what I do to the tm_config_gen and tm_start file

The last thing I did was eliminating the "no such host" error by swapping the ansible sequence to start Bigchaindb before Tendermint in "bigchaindb-start.ymal"

I'm not sure if all the things I did was correct but it fixed some errors in the log.
After all of the attempts, I do "docker exec -i -t bigchaindb1 /bin/sh" to check if bigchaindb was listening to the 26658 port. I use "netstat -ptan | grep LISTEN". I found that it was listening.

Now, I have no idea what went wrong. Please advise.

Hi, I am also stuck at a similar error. I've been trying to change some part that I think is relevant but none of them fix the "connection reset by peer" issue.
FYI: Ubuntu 18.04 LTS, Tendermint[0.31.5], BigchainDB[2.2.2]
First, somehow, the port in "bigchaindb/pkg/configuration/roles/bigchaindb/defaults/main.yml" is
"tendermint_abci_port: 45558"
But tendermint, if I'm not mistaken, is looking for 26658 in "bigchaindb/pkg/scripts/tm_start"
" --proxy_app="tcp://"$BIGCHAINDB_DOCKER_NAME$_ITEM":26658"
So, I change the port in main.yaml to 26658.
Next, I fix the node_key.json part in the "tm_config_gen" file because I saw that there is only one node_key where it is supposed to be 4. (And that fixed the node_key not found error)
But then I got another error about missing priv_validator_state.json and prov_validator_key.json. I found that the script should handle creating this file from this source<EMAIL_ADDRESS>Here is what I do to the tm_config_gen and tm_start file

The last thing I did was eliminating the "no such host" error by swapping the ansible sequence to start Bigchaindb before Tendermint in "bigchaindb-start.ymal"

I'm not sure if all the things I did was correct but it fixed some errors in the log.
After all of the attempts, I do "docker exec -i -t bigchaindb1 /bin/sh" to check if bigchaindb was listening to the 26658 port. I use "netstat -ptan | grep LISTEN". I found that it was listening.

Now, I have no idea what went wrong. Please advise.

Hello!
@linpinn big thanks for investigation and providing fixes.
Strangely It worked without these changes last time I checked... see #2707
I suspect It doesn't work yet because of greenlet api change.
Now I get this in bigchaindb logs:
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[2021-01-13 12:25:22] [DEBUG] (bigchaindb.config_utils) System already configured, skipping autoconfiguration (MainProcess - pid: 1)

It could be fixed by upgrading bigchaindb-abci gevent dependency to "gevent>=20.9" and hopefully it will go away.  I'm testing this out

Hello!
@linpinn big thanks for investigation and providing fixes.
Strangely It worked without these changes last time I checked... see #2707
I suspect It doesn't work yet because of greenlet api change.
Now I get this in bigchaindb logs:
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[2021-01-13 12:25:22] [DEBUG] (bigchaindb.config_utils) System already configured, skipping autoconfiguration (MainProcess - pid: 1)

It could be fixed by upgrading bigchaindb-abci gevent dependency to "gevent>=20.9" and hopefully it will go away.  I'm testing this out

Hi!
@zzappie, Thank you for your reply :)
I saw the issue https://github.com/bigchaindb/bigchaindb/issues/2707 and tried the solution you mention in the conversation but it didn't fix the problem for me.
So, do you know what causes the error? Does upgrading "gevent" works?

Hi!
@zzappie, Thank you for your reply :)
I saw the issue https://github.com/bigchaindb/bigchaindb/issues/2707 and tried the solution you mention in the conversation but it didn't fix the problem for me.
So, do you know what causes the error? Does upgrading "gevent" works?

I've upgraded "gevent" in the stack-fix branch and applied fixes you provided.  All docker images are up now and the "binary incompatibility" issue went away.  But I get internal error when creating transactions I haven't yet debugged.
You can try changing branch from "master" to "stack-fix" in stack.sh and see whether it works for you.

I've upgraded "gevent" in the stack-fix branch and applied fixes you provided.  All docker images are up now and the "binary incompatibility" issue went away.  But I get internal error when creating transactions I haven't yet debugged.
You can try changing branch from "master" to "stack-fix" in stack.sh and see whether it works for you.

Hello @zzappie
Using the branch "stack-fix" fixes the connection problem and tendermint docker seems to work fine. But I think tendermint nodes have problem connecting to each other according to the logs.

Hello @zzappie
Using the branch "stack-fix" fixes the connection problem and tendermint docker seems to work fine. But I think tendermint nodes have problem connecting to each other according to the logs.


Is "is_authenticated" missing "()"?

When I clone the project, I runserver, as AnonymousUser, It comes with error. So I find, in "app/auth/views.py" line 14, "if current_user.is_authenticated" , it should be "current_user.is_authenticated()" right?
Also at  "app/templates/base.html" line 35, the same problem.
Please check it, thanks!

@imnisen Check what version of Flask-Login you have installed in your virtualenv. In versions prior to 0.3.0, is_authenticated is a functon. In 0.3.0, for reasons I fail to understand, the author of Flask-Login changed it to a property, causing lot of confusion and problems like the one you have right now.
If you refresh the virtualenv from the requirements file you should be fine, I think.

Ah, thank you, that's the reason!


Local constants do not require initializers

E.g.
script;

fn main() {
    const X:u64;
}

This should fail to compile but it doesn't. Moving the declaration to module scope causes the compiler to emit an error, but the local case doesn't seem to be handled.

I believe this is a regression in https://github.com/FuelLabs/sway/pull/4140. Assigning to you @tritao.


[Bug] Display Area

Describe the Bug
Hello, I created a Hanging Protocol for Mammography. I’ve already managed to create rules for all types of layouts within the standard. I saw that there is an option called “displayArea parameter” that allows you to align a certain area (set right display area) and the manual asks to see an example in cornerstone (https://www.cornerstonejs.org/live-examples/programaticpanzoom 1) . I accessed the link so I can’t add it to my HP. can anybody help me ?
Steps to Reproduce
[Bug] Display Area
The current behavior
[Bug] Display Area
The expected behavior
[Bug] Display Area
OS
Windows 11
Node version
20.3.0
Browser
Chrome

we are expanding our display area support, follow this PR https://github.com/OHIF/Viewers/pull/3808


updated readme

Pull Request Test Coverage Report for Build 3

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 50.0%

Totals

Change from base Build 2:
0.0%

Covered Lines:
2

Relevant Lines:
4

💛  - Coveralls


add images to newly created models

This adds images of created devices to new asset models. Images are sourced from AppleDB. More info about their image service can be found at https://github.com/littlebyteorg/apple-device-images

This looks excellent - thank you! Any chance we can get you to update the readme with the new option?

Sure. However this can't be merged yet as Snipe-IT is constantly throwing an error when sending the payload: {"status":"error","messages":{"image":["The image field must be a file of type: png, gif, jpg, jpeg, svg, bmp, svg+xml, webp, avif."]},"payload":null}. I've opened a support ticket so they can pull logs from my hosted instance. The payload being sent looks like {"category_id": "2", "manufacturer_id": "1", "name": "MacBook Pro (13-inch, M1, 2020)", "model_number": "MacBookPro17,1", "image": "data:image/png;base64,iVBORw0K..."}

@robbiet480 I'm looking into it - we can also follow up on Discord ;)

README updated

Closest thing I can find (I have a meeting in 3 min) is related to this: #14698 (leaving it here as a reminder to myself more than anything.)


stage1: Ensure ptmx device usable by non-root for all flavours.

kvm-based stage1 flavours previously used a sym-link from /dev/ptmx to
/dev/pts/ptmx. However, the /dev/pts/ptmx device has perms 000 meaning
that non-root users could not access the device. Creating /dev/ptmx
unconditionally works with all flavours and matches behaviour on current
distributions.
Fixes #3252.
Signed-off-by: James O. D. Hunt<EMAIL_ADDRESS>

@reviewer lucab

ok to test

I didn't yet had time to have a look at this, but I imagine something was wrong with it. @jodh-intel which corner case you hit?

@lucab - Hi - unfortunately this fix created the device, but it wasn't usable.
I don't seem to be able to reopen this PR, so have raised a new one with a fix that works: #3484 :)


make a version service

make a special service called version. We will set the tag of this service to specify a node's version (instead of using the k/v store)

we are not going to do this, instead we will likely add a version tag


data: Mutai-Gilbert

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

It is no longer necessary to fix this as found out the file already exists: https://github.com/EddieHubCommunity/LinkFree/pull/4134
@Mutai-Gilbert in future, please can you close any open Pull Requests if they are no longer needed.  This helps maintainers manage the project.


Add support for pickling

https://discourse.itk.org/t/how-to-pickle-simpleitk-transforms/901/4
Currently SimpleITK does not support pickling of transformations and images.
Please add support for pickling transforms.

This would be a very good feature to add to better support Python MultiProcessing module.

closed by #857


LSP :: Error from the Language Server: content modified (Unknown error)

Suddenly the error mentioned in the title has become to appear whenever I'm trying to edit any rust file.
Content of the *lsp-log* buffer:
Command "rls" is present on the path.
Command "/path/to/rust-analyzer" is present on the path.
Command "rls" is present on the path.
Command "/path/to/rust-analyzer" is present on the path.
Found the following clients for /some/path/src/main.rs: (server-id rls, priority -1), (server-id rust-analyzer, priority 1)
The following clients were selected based on priority: (server-id rust-analyzer, priority 1)
Creating watchers for following 1 folders:
  /some/path/src
Cancelling textDocument/codeAction(8) in hook after-change-functions
Cancelling textDocument/codeAction(10) in hook after-change-functions
Cancelling textDocument/codeAction(14) in hook after-change-functions
Cancelling textDocument/codeAction(22) in hook after-change-functions
Cancelling textDocument/codeAction(27) in hook after-change-functions
Cancelling textDocument/codeAction(39) in hook after-change-functions
Cancelling textDocument/codeAction(43) in hook after-change-functions
Cancelling textDocument/codeAction(57) in hook post-command-hook

My config:
(use-package rustic)

Versions:
OS                 Ubuntu 18.04.5
emacs              27.1
rustic             20210609.1900
lsp-mode           20210620.607

Please let me know if any more info is needed. Thanks.

@yyoncho any idea ?

I need the logs as described in the lsp-mode issue template.

@heemayl can you open an issue at the lsp-mode repo ? Hopefully I can help with lsp-mode related stuff soon =)

@brotzeit Sure, will do. Please feel free to close this issue if you want. Thanks.

I hope it works by now. Thanks for the bug report.

After updating rust-analyzer to db2a7087b 2021-12-13 stable, the issue seems to be fixed.


Could coreg/pipelines.py get a different name?

As you may notice, I'm only now starting to catch up with all of the changes that happened in the spring! I love the new structure in general but got very confused when looking for the CoregPipeline class, as my intuition led me to check the pipelines.py file.
I unfortunately don't have a great suggestion for what it could be called instead. Here are some random ideas:

workflows
default_workflow
processing
aio (all-in-one)
fast (or a synonym, since it's made for quick-and-dirty-no-think co-registration)

I think "default_workflow" is the least worst suggestion in my opinion. What do you think, @adehecq , @rhugonnet ?

I like workflows.py too! What do you think @adehecq ?

Just reading this once the change has been implemented, but "workflows" is nice !


[Event Request] Table 5902 Service Line "OnAfterServiceLineSetHideWarrantyWarning"

Can we please get the following event?
procedure SetHideWarrantyWarning(Value: Boolean)
    begin
        HideWarrantyWarning := Value;
          // Event request begin
        OnAfterServiceLineSetHideWarrantyWarning(rec, HideWarrantyWarning)
           // Event request end
    end;

[IntegrationEvent(false, false)]
  local procedure OnAfterServiceLineSetHideWarrantyWarning(var ServiceLine: Record "Service Line"; var HideWarrantyWarning: Boolean)
  begin

  end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.