IgResponseError when trying to fetch dm thread items

Form
Put an [x] if you meet the condition, else leave [ ].
Requirements

[x] I've searched the Issues
[x] I've read the basic concepts
[x] I'm using the latest version
[ ] I've debugged my code using the DEBUG variable.

Platform

[x] I'm using Node.js version 12.18.3

Description
Fetching DM threads stopped working and throws IgResponseError. This is the line of code in the instagram-private-api that throws the error. Maybe the request to instagram is not working properly anymore?
// login
const username = "yourusername";
const password = "yourpassword";
const ig = new IgApiClient();
ig.state.generateDevice(username); // generate device
await ig.simulate.preLoginFlow();
const user = await ig.account.login(username, password);
process.nextTick(async () => await ig.simulate.postLoginFlow());

// fetch all direct threads (message threads)
let directInbox = await ig.feed.directInbox(user.pk);
let threads = []; // bucket for all threads
do {
  console.log("loading batch of DM-threads");
  const threadsBatch = await directInbox.items(); // <-- THIS THROWS THE ERROR
  threads = threads.concat(threadsBatch);
  } while (directInbox.isMoreAvailable());
console.log(`🎉 successfully fetched ${threads.length} DM threads`);

Error and Output
(node:4) UnhandledPromiseRejectionWarning: IgResponseError: GET /api/v1/direct_v2/inbox/?visual_message_return_type=unseen&thread_message_limit=10&persistentBadging=true&limit=20 - 560 -;
  at Request.handleResponseError (/app/node_modules/instagram-private-api/dist/core/request.js:125:16)
  at Request.send (/app/node_modules/instagram-private-api/dist/core/request.js:53:28)
  at async DirectInboxFeed.request (/app/node_modules/instagram-private-api/dist/feeds/direct-inbox.feed.js:21:26)
  at async Client.login (/app/node_modules/@androz2091/insta.js/src/structures/Client.js:385:23)
  (node:4) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
  (node:4) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

+1

Does this happen if the version of the api is a newer one? It's currently very old.

tested on 1.43.3. Using this from few months and it used to work well, but recently it started giving error

tested on 1.43.3. Using this from few months and it used to work well, but recently it started giving error

Sorry, I was referring to the instagram constants used.

@Nerixyz okay.
Its not limited to messages anymore.
IgResponseError: POST /api/v1/accounts/login/ - 400 Bad Request; There was an error with your request. Please try again. The same request that was working before.

Has anyone solved this problem? For me, it only occurs with one particular Instagram account, and I don't have any issues with other accounts. Could it be related to specific Instagram account settings, or is there something else I should be aware of? Any help or suggestions would be greatly appreciated.

@DebuggingUnicorn I have a suspicion that for some selected users, Instagram is disabling this endpoint and instead forces the client to use MQTT. My web client recently started using MQTT over websockets to fetch DM thread items, with no references in devtools at all to the older HTTP API.

try to remove the user.pk params
in this line : let directInbox = await ig.feed.directInbox(user.pk);
to this : let directInbox = await ig.feed.directInbox();


Update repo to maintainer spec

See here: https://docs.openedx.org/en/latest/developers/how-tos/maintain-a-repo.html

I think we've gone as far as we need to on this one right now


Mobile Friendly

USER STORY:   Mobile Friendly
URL: https://github.com/suwebdev/wats2020-fq15/wiki/User-Story:-Mobile-Friendly
SIZE: Medium
PRIORITY LEVEL:  High
HOW DOES THIS FIT IN THE PROJECT?:  We are designing with a mobile-first approach. This will prevent developers from having to go back and rewrite code for mobile.
WHY THIS SPRINT: To prevent duplicate work.

The site has bootstrap built in.  I will continue to look at code added each week to make sure the code we are adding is utilizing the asset, which will help us develop a  responsive, mobile first project. Ongoing.


Question: possibility of making a tag like NTAG213 specific to a user, except for making it read-only

Hi
I have a question.
Is it possible to make a tag password protected (if possible on a tag like NTAG213), so the tag becomes personal to a specific user, with this package? or is there any other way to make a tag specific to a user?
Hope to hear soon from you.
Thank you

Duplicate of #20

Thank you


Add rudimentry 'Go To Definition' support

I still need to do some cleanup, I'd like to reduce the duplication in some of the logic, the TODOs are what I'd like to figure out how to not duplicate.
I wasn't able to get racer to find definitions in other files inside my own project. It did find definitions in the std library, and definitions that were in the same file. Not sure what's happening there, but I wanted to post this to see if someone else could try it out.

@vosen Do you have any comments on this?

Very nice, i have no objections for this code.
Sorry, for taking so long


DBZ-1515 Add poll pause only after multiple no message attempts

https://issues.jboss.org/browse/DBZ-1515

@jpechane, @Naros are you all onboard for merging this for 0.10.0.Final?

@gunnarmorling Half of us is :-)

@gunnarmorling +1

Applied, thanks @jpechane !

So does this fix the problem?

@davecramer Yes, the test proves it.

@jpechane so here's the deal. pgoutput issues N+2  where N is the number of inserts in the TX messages for this.
BEGIN;
INSERT
....
INSERT
COMMIT
wal2json does this in one message.
{"xid":14096,"change":[{"kind":"insert","schema":"public","table":"t0","columnnames":["pk","val3"],"columntypes":["integer","b....
Interesting.

@davecramer protobuf decoder issuses N messages (no BEGIN and COMMIT) and still does not have the same problem.

interesting. I tested the pgoutput decoder and all the messages come out in less than a second with 1000 inserts inside a transaction. I wonder if we truly understand what is going on here ?

@davecramer I think for real understanding we should probably use wirshark to capture what happens on network layer and how it differs betweem pgoutpu and protobuf decoder.
If you compare source code between https://github.com/postgres/postgres/blob/master/src/backend/replication/pgoutput/pgoutput.c and https://github.com/debezium/postgres-decoderbufs/blob/master/src/decoderbufs.c then you'll see that protobuf does not emit anything on begin and commit. SO my theory is that begin/commit arrives as a separate message which means that no data are present which would trigger the poll pause. By introducing poll pause only after multiple empty messages to ahppen we effectivelly solve the problem of empty messages.

@jpechane it was on my list to test yesterday. Somehow it did not make it to the top :( I'll try today

So as mentioned in gitter pgoutput is the only one that sends BEGIN and COMMIT which I guess you consider empty. I now understand that the sink does NOT use this data to wrap the inserts in a transaction due to the way kafka works, thanks


Paste Issue

When we paste anything in the Windows Terminal ubuntu instance using any command like vim abc.txt, it automatically inserts new line after each line, and eats up some characters from the beginning of the pasted text.
Here is the screenshot: https://i.imgur.com/pJ0Fsbw.png
Here the text copied to my clipboard copied was:
Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7

I ran command: vim abc.txt
And after paste, it became
ne 1

Line 2

Line 3

Line 4

Line 5

Line 6

Line 7

Please search before reporting new issues. /dup #1093.


Allow package to be pip-installed

While trying to fix an issue on macOS I noticed that I was unable to install this package using a pre-existing virtualenv and using
pip install -e rmfuse

I understand the attractiveness of Poetry, and do not want you to steer away from it. But I would suggest that this package should be installable in both Poetry and PIP.

OK, I don't think this is easily doable and I am comfortable enough in Poetry, so don't worry about it :-)


Update the definition of the director tag to include Audio Director

Summary
This is a…

[x] Correction
[ ] Addition
[ ] Restructuring
[ ] Minor / simple change (like a typo)
[ ] Other

Reason for the Change
The director tag definition is being changed in https://github.com/metabrainz/picard/pull/2276
Description of the Change
Update the tag definition in the documentation to match the change in Picard.
Additional Action Required
Do not merge until the change is merged into Picard.  Once merged, the translation files will need to be updated.

The change itself looks good, but I'm wondering whether the director tag shouldn't belong into the Advanced Tags section (as it requires relationship data to be fetched). I know that the "Track Relationship Tags" heading there makes this tag (which is based on track or release level relationships) look like it doesn't belong there, but there are already other tags (producer and releasedate) which do not really fit the heading.

Excellent point.  @phw what do you think of moving this tag and the others that @kellnerd mentioned to the "Advanced Tags" page?  Are there any others that should be moved?

Just to clarify: producer and releasedate are already on the "Advanced Tags" page, it's just the heading "Track Relationship Tags" which is inappropriate.
I'm not sure whether it makes sense to have a separate section for tags which are filled with track and release level relationship data (producer and director are the most obvious candidates), or whether we should just change the heading and the description at the top of the page.

Sounds plausible to move this over to advanced


question from sanmoy27

@sanmoy27

In post call I have there is a field named field1 which is mandatory to be provided in the body,which is mentioned as inputs field1:{required: true} but in swagger this input field is going as query parameter.
When I am mentioning it in model schema it is going in body as well as quey parameters.
I want to mention only in body not as query parameters

Also I have put call in order to upload a file,I cannot change the content-type to applucation/binary instead of application/json and also the option to choose file is not appearing.Please help

Also I have put call in order to upload a file,I cannot change the content-type to applucation/binary instead of application/json and also the option to choose file is not appearing.Please help

I believe that uploads are fairly limited (buggy) with the version of swagger that is used.  You'll just have to settle for POSTMAN or in the meanwhile.

When I am mentioning it in model schema it is going in body as well as quey parameters.
I want to mention only in body not as query parameters

Can you provide a more detailed example of how exactly you are defining your parameters?

I dont have any query parameters,I just have body in my POST call
{
"field1":"string"
}
and my action is like this /api/analytics/jobs POST call
In swagger it is appearing like /api/analytics/jobs?field=xyz
I just want.to pass this field only in body

Yes I know multipart form upload is buggy in swagger so for now is it possible to bring the choose file option field in swagger

exports.createTask = {
name: 'createTask',
description: 'It will create a Task and will return an id in reponse',
summary: 'It will create a Task and will return an id in reponse',
inputs: {
jobName: { required: true }
},
responseSchemas: {
// By default set this 200 property to provide a sample response in the form of a JSON schema
// object.  Since schemas can get pretty bulky, consider requiring a file instead of having
// everything in-line.  E.g. '200': require('myResponseSchema.js')
//
// It's also possible to automate schema generation with json-schema-generator with json-patch.
'200': {
description: 'Sample http 200 response',
schema: {
type: 'object',
properties: {
'jobName': {
type: 'string'
},
'jobId': {
type: 'string'
},
'createdTime': {
type: 'integer'
},
'isCron': {
type: 'boolean'
},
'jobState': {
type: 'string'
},
'isReadyToRun': {
type: 'boolean'
},
'cronTime': {
type: 'integer'
},
'scheduleStatus': {
type: 'string'
},
'scheduleAt': {
type: 'integer'
},
'counts': {
type: 'integer'
},
'startAt': {
type: 'integer'
},
'endAt': {
type: 'integer'
}
}
}
}
},
modelSchema: {
jobName: {
type: 'string'
}
},
run: function(api, data, next){
	var apiKey = data.connection.rawConnection.req.headers['x-api-key'];
	api.taskController.addTask(data.params.jobName,apiKey, function(error, success){
		if(error)
			next(error);
		else {
			data.response.success = success;
			next(error, success);
		}
	});

}

};

In post call I have there is a field named field1 which is mandatory to be provided in the body,which is mentioned as inputs field1:{required: true} but in swagger this input field is going as query parameter.
When I am mentioning it in model schema it is going in body as well as quey parameters.
I want to mention only in body not as query parameters

latest version of swagger will resolve the above issue


Databricks connection doesn work

Description of the bug
When trying to connect to a databricks table I get an Assertion error

Code you used
# Optional: Set logging to display the progress of the diff
import logging
logging.basicConfig(level=logging.INFO)

from data_diff import connect_to_table, diff_tables

catalog_user = dbutils.secrets.get("data-platform", "catalog-user")
catalog_password = dbutils.secrets.get("data-platform", "catalog-password")
host = "abc.rds.amazonaws.com"

http_path = "sql/protocolv1/..."
access_token = "MyToken"
server_hostname = "dbc-123456-123a.cloud.databricks.com"

source_endpoint = f"postgresql://{catalog_user}:'{catalog_password}'@{host}:5432/catalog-management"
target_endpoint = f"databricks://{http_path}:{access_token}@{server_hostname}/default"
# databricks://<http_path>:<access_token>@<server_hostname>/<catalog>/<schema>

table1 = connect_to_table(catalog_endpoint, "tour", "id")
table2 = connect_to_table(target_endpoint, "catalog__tour", "id")

for different_row in diff_tables(table1, table2):
    plus_or_minus, columns = different_row
    print(plus_or_minus, columns)

Describe the environment

just ran in a databricks notebook, in a Python env (3.8.0 (default, Dec  9 2021, 17:53:27))
data-diff (0.2.8)

Improvements

It would help to give examples for the connection string and where to find this info, such as here
also I'm not sure if I did something wrong with building the connection string or if the issue is that the the dsnparse returns username and not user (docs)

We expect the databricks URL to look like this:
databricks://:<access_token>@<server_name>/<http_path>

The documentation is wrong, sorry, we will fix it soon.


escapeHandler not fired if Dialog is defined in XML

OpenUI5 version: Since 1.44
URL (minimal example if possible): https://embed.plnkr.co/qMqrfO/
What is the expected result?
The escapeHandler assigned in any XML type of fragment or view gets called in the event listener.
What happens instead?
The dialog gets closed ignoring the hook to the escape event.
Any other information? (attach screenshot if possible)
Currently it works only when the dialog was instantiated in the controller where the escape handler is defined, just as the example in Explored.

Hi @boghyon ,
Thank you for your findings. I have created an internal incident: #1770135862
Kind Regards,
Gery (github dispatcher)

Hi @boghyon,
This is a known limitation of the XML views. You can't pass a function as a property in XML. The same limitation can be seen in the sap.m.MessageView - the properties "asyncDescriptionHandler" and "asyncURLHandler" face the same problem.
What I can suggest is either to declare the dialog only using javascript or attach the escape handler after you've created the XML fragment:
onOpenDialogFromFragmentPress: function() {
	var dialog = sap.ui.xmlfragment("demo.view.fragment.MyDialog", this);
	dialog.setEscapeHandler(onEscapePress);
	dialog.open()
}

Best regards,
Nikolay Vankov

This is a known limitation of the XML views. You can't pass a function as a property in XML.

@nvankov Since https://github.com/SAP/openui5/commit/860805dd329496be983a5534e1330243a742e457, a function can be now assigned in XMLView. It would be nice if the "any" in escapeHandler could be replaced with "function" to enable assigning functions in XML, as requested in https://github.com/SAP/openui5/issues/1908. Not sure what it means to compatibility though..
https://github.com/SAP/openui5/blob/5d560b4971e7acabb6cb6c1885c438a08ba4863c/src/sap.m/src/sap/m/Dialog.js#L223-L229
Is it possible to reopen this issue with enhancement? Or should I create a new issue for this?

Fixed with https://github.com/SAP/openui5/commit/16fad20e89b7beaf7a4cbe88831f9bea0ea9eabe. I just tested it with the current nightly build (1.86). Works great! 👍


Key held down behavior link in the left menu leads to a 404 error

In the left menu, misc section, the link Key held down behavior leads to a 404.
This link is not listed on index page. I don't find any related docs in the repo.
Is it an old deleted content?

Thanks for creating the issue! It actually moved to the Keyboard section.
I just removed it in https://github.com/yannbertrand/macos-defaults/pull/359.


Fixing content based on customer requests

Had a few customers who were confused with this article.  Adding current information and updating metadata

Hi @jeffhollan, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (jehollan). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

Going to add some more content


Chapter 25 blank #10 reference

Investigate citation #10 and blank #10 reference at the bottom. Check .bib file.

Fixed in https://github.com/kylerove/pediatricurologybook/commit/0edf7ea0979066ccd3415a3ccde3c63379e43e0a


tagsinput: match height of buttons & text inputs

What You're Solving

Redo some layout to make tagsinput consistent with buttons and text inputs at 40px tall
Fixes text input box being too tall which was adding extra space above the last row of tags
Fixes placeholder being cut off because it wasn't flex-growing
Adds "Empty" and "Multiple lines" stories

Design Decisions

The gutter around the edges of the box is 8px and the spacing between tags is 4px

How to Verify

Verify the tagsinput component is 40px tall
Verify scrolling a multi-line tagsinput looks correct (scroll bar in the right place, spacing around the edge of the box is correct, etc...)
Verify a longer placeholder text no longer gets cut off
Verify the space above the third row of tags is not larger than above the second row

👍  LGTM. we can probably make the same changes to MultiSelect - i can do that though


[INTERNAL] Async bundling for require section

Require's section async flag has different default values based on the specVersion. However, async require is now build by default.
We need to explicitly default async=false for specVersions lower than 4.0

coverage: 94.711% (+0.002%) from 94.709%
when pulling d8c09f3e7d9810acdc42562b79236366397a8ead on fix-async-require-bundling
into 8a2868d76096ade165eff2a9e9a8ef728b5eb73e on main.

Please use [INTERNAL] as this fixes an issue of a feature that hasn't been released, so it is not relevant to be mentioned in the changelog.

Please also keep @RandomByte's comment in mind: https://github.com/SAP/ui5-builder/pull/1042#discussion_r1673712338

@KlattG , would you take a look at this one, please?

The build fails as we need to publish specVersion: 4.0 in order tests to sun successfully

The build fails as we need to publish specVersion: 4.0 in order tests to sun successfully

Tests already fail in main as we're about to do the release. cc @flovogt
Independent from that there are also two eslint errors introduced with this PR.

Hi @KlattG,
I have updated the texts according to the comments above.
Would you take a look again at this PR, please?

@KlattG could you please check my changes in https://github.com/SAP/ui5-builder/pull/1048/commits/3a8289bb4fdc151e937af8478f19b2c1af39a9ed?


Recording Oracle - Exchange Oracle - Notify Exchange Oracle about invalid answers

Description
In case the Recording Oracle detects an invalid answer, it needs to notify it to the Exchange Oracle to keep gathering for new answers
https://tech-docs.humanprotocol.org/architecture/exchange-oracle#webhook

Is there a payload specification for this? I'd assume it would look something like this:
{
  chainId: number
  escrowAddress: string
  dataPoints: string[] // task_keys or datapoint_uris
}

Is there a payload specification for this? I'd assume it would look something like this:
{
  chainId: number
  escrowAddress: string
  dataPoints: string[] // task_keys or datapoint_uris
}

Check the updated docs for exchange oracle: https://tech-docs.humanprotocol.org/architecture/exchange-oracle#webhook


enable notification hub cli generation

/azp run automation - sdk

/azp run automation - sdk

/azp run

/azp run automation - sdk

It seems it's a bug about azure pipeline. Maybe you can create a new PR and close this one. It will work.

This is an issue in pipeline when PR is push from a branch, will force merge it.


Unable to use other Sim800L Libraries after using this Library

Hi, First of all sorry for using such mean title. Getting right to the point, I am unable to use any other library for Sim800l apart from this. Other libraries worked before using this library. Now, for some reason only this library works, while others don't.

I developed the library to operate on higher baud rate. So my library is changing baud rate of your SIM module. This might be one the reason others Libraries are not working.


[release-1.24] Fix version command to parse helm chart tags

Porting https://github.com/kubernetes-sigs/descheduler/pull/823 to 1.24

/lgtm

/hold cancel
/approve
(also re-adding lgtm, just picked https://github.com/kubernetes-sigs/descheduler/pull/825 was the only change)


Make sure node app environment variables are resolved

@csabapalfi can you squash the patch commits together, and then check why the CI was failing?

Commits squashed, build passing.

Looks good, merging.


Running app locally results in "Unable to read the configuration"

Clone& run app locally via mvn compile vertx:run
ERROR: Pressing "Invoke" button results in "Unable to read the configuration":

version of app v13
related openshift.io issue - https://github.com/openshiftio/openshift.io/issues/2988

Let me try a few things, I may have a (bad) solution.

Fixed in master. Actually not a bad approach.


Tensor names prepended with "import/" when loaded from protobuf

When I load a (frozen) Tensorflow model from disk using:
    graph = tf.Graph()
    with graph.as_default():
        f = gfile.FastGFile("frozen_graph.pb", "rb")
        graph_def = tf.GraphDef()
        graph_def.ParseFromString(f.read())
        tf.import_graph_def(graph_def)

It seems that all tensor names are prepended with import/.
This is the code I use to print the names:
with tf.Session(graph=graph) as sess:
        all_ops = sess.graph.get_operations()
        op_values =  [op.values() for op in all_ops]
        for values in op_values:
            for each in value:
                print each.name

Why? Is this some kind of default option that can be overriden? Or can I rely on this in my code? I could not find this documented anyhwere, can anybody point me to references regarding this?

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!

That is the default value specified in tf.import_graph_def.
You can pass in a name argument to use a different prefix.
https://stackoverflow.com/questions/44518790/are-tensor-names-always-prepended-with-import-when-loaded-from-protobuf


Add cpu limit please

https://github.com/coreos/prometheus-operator/blob/7a25bf6b6bb2347dacb235659b73bc210117acc7/contrib/kube-prometheus/manifests/prometheus-prometheus.yaml#L18-L20
Prometheus use 95%+ CPU on one of my node , all pods on this node hangs.

The rendered manifests are just an example, you are free to modify them as you see fit, ideally following the guides we have provided for customization: https://github.com/coreos/prometheus-operator/tree/master/contrib/kube-prometheus#customization-examples
Closing here as this is up to users to do.


Creating Applet with Threads

This closes #4407

@AndrewOdera, Kindly link the issue number that will be closed by this PR.

This closes issue number #4407

Unfortunately, this PR failed the plagiarism test. It was too high. Work on it and resubmit later. Thanks
Uploading New Scan 12_46 PM Copyleaks Report.pdf…


Please define outside collaborators in code

Hi there
We now have a process to manage github collaborators in code:
https://github.com/ministryofjustice/github-collaborators/blob/main/README.md#github-outside-collaborators
Please follow the procedure described there to grant @BurnettpA access to this repository.
If you have any questions, please post in #ask-operations-engineering on Slack.

Outside collaborator not required


Add example of summary list with missing info

This shows how to code the pattern for showing missing information within the summary list.

Force pushed to remove the empty line slim lint was complaining about ☝🏽


The server "" does not have a valid connection for casting. Check that the server is claimed in server settings

I'm unable to use the shim even with the userscript mentioned in #87, tried both firefox and chrome
It will connect to the shim but when i try to play any media it will buffer for a while and then throw the error The server "" does not have a valid connection for casting. Check that the server is claimed in server settings
I've checked the logs on both the shim and the server itself but it doesnt seem to show any entries at all when trying to cast.
The server is claimed, i am logged in, tried setting "allow_http" to both true and false.
The only thing that works is casting via android but i just cannot get it to work on desktop.
I thought it might have something to do with the authentication since the same message was fixed by logging in in #23 .
Weird thing is casting did work on the "plex for windows" desktop app just 2 days ago but then suddenly stopped working yesterday. and i cannot for the life of me think of anything that i have changed.

This is because the Greasemonkey script fakes out Plex with a fake, invisible cast server it injects into the API. I will have to take a look at it.

I pulled down the latest Plex version from linuxserver.io and tested with the Greasemonkey script. It still works for me. I can't reproduce the issue.

Hmm you're right if i go via app.plex.tv the script works but not if i access it via its local ip.
Does this mean that you cannot cast to the shim without internet access?

not an issue casting from the local plex webui any longer, works without the previously mentioned error.
Plex server Version <IP_ADDRESS>39


Task/redirect dashboard

What's this PR do?
Implements the redirection hub.
Where should the reviewer start?
base/views.py
base/test_views.py
How should this be manually tested?
python manage.py test
Any background context you want to provide?
Note that each URL of redirection was set according to the wireframe document. Many of these views (e.g. "estudios" inside captura.views) are currently dummy, and should be properly implemented and renamed if necessary.
This template was adapted ~stolen~ from Quickleft/Sprint.ly

Codecov Report

Merging #38 into develop will increase coverage by 0.31%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop      #38      +/-   ##
===========================================
+ Coverage    94.68%   94.99%   +0.31%
===========================================
  Files           75       81       +6
  Lines         1091     1159      +68
===========================================
+ Hits          1033     1101      +68
  Misses          58       58

Impacted Files
Coverage Δ

jp2_online/urls.py
100% <ø> (ø)
:white_check_mark:

captura/urls.py
100% <100%> (ø)

tosp_auth/tests.py
100% <100%> (ø)
:white_check_mark:

base/test_views.py
100% <100%> (ø)
:white_check_mark:

base/views.py
100% <100%> (ø)
:white_check_mark:

captura/views.py
100% <100%> (ø)

indicadores/urls.py
100% <100%> (ø)

indicadores/views.py
100% <100%> (ø)

becas/views.py
100% <100%> (ø)

becas/urls.py
100% <100%> (ø)

... and 7 more

Continue to review full report at Codecov.

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


Swap axes

Currently
On narrow phones, the rooms on the left take up a significant amount of space.
Expected
The option to swap axes on the agenda component is a premium feature. Either:

Swap the component with another one that supports this feature for free or
Reduce the font-size
Use abbreviations for room names and display a tooltip on hover or click to reveal the full name.
Options 2 & 3 (preferred option).

After reducing the padding on multiple elements, the sidebar does not cover that much space that session cards are not clearly visible.


Catch ConnectionErrors

The gerok module throws a lot of exceptions lately concerning the unreachability of zaphod (whyever this is the case). However, they should be catched.
Stacktrace (most recent call last):

  File "flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "flask/_compat.py", line 33, in reraise
    raise value
  File "flask/app.py", line 1473, in full_dispatch_request
    rv = self.preprocess_request()
  File "flask/app.py", line 1666, in preprocess_request
    rv = func()
  File "sipa/blueprints/generic.py", line 32, in log_request
    'ip_user': get_user_name(user_from_ip(request.remote_addr))
  File "sipa/model/__init__.py", line 131, in user_from_ip
    return datasource.user_class.from_ip(ip)
  File "sipa/model/gerok/user.py", line 72, in from_ip
    userData = do_api_call('find?ip=' + ip)
  File "sipa/model/gerok/user.py", line 228, in do_api_call
    headers={'Authorization': authHeaderStr})
  File "requests/api.py", line 69, in get
    return request('get', url, params=params, **kwargs)
  File "requests/api.py", line 50, in request
    response = session.request(method=method, url=url, **kwargs)
  File "requests/sessions.py", line 465, in request
    resp = self.send(prep, **send_kwargs)
  File "requests/sessions.py", line 573, in send
    r = adapter.send(request, **kwargs)
  File "requests/adapters.py", line 415, in send
    raise ConnectionError(err, request=request)

This has been reopened since the errors apparently haven't been cached.

Rendered obsolete by 26e6f548cf851aeb2510143bd3a4fb1553502a0a


Docking/window position should be preserved when closing and opening Terminal

Steps to reproduce:

Start Terminal.
Press Win+Left key to dock Terminal window to the left half of my monitor. The Terminal window starts at (0|0) left top position.
Exit Terminal.
Start Terminal.

Actual results:
After step 4, the Terminal window starts at some probably random (X|Y) position.
Now I have to repeat above step 2:

Press Win+Left key to dock the Terminal window to the left half of my monitor.

This is really annoying.
Expected results:
The Terminal window should start pixel perfect at the very same position where I closed it the last time. No offset or anything. Just start with the same size and the same position. No matter whether I manually resized the window or whether being docked before.
Google Chrome does this very well, Microsoft Edge based on Chromium does this very well, too, same does e.g. Visual Studio Code. I hope Terminal can do better, too.
Additional information:
I've described a similar issue some years back over at Super User, together with some UI mockups.

Duplicate of #1387, #1043

Also, just pitching in: I disagree. I might open multiple windows and I absolutely don’t want them all spawning over top of each other.


Support Binary Files

I'm using hygen to generate projects and I noticed that binary files aren't supported yet, it would be great to have them copied over to the generated project.

Did you try the shell operator with a regular cp command?

I tried but before hygen could execute the shell action it terminates with an error showing that it is reading the binary file as a template, attempting to render the file when it shouldn't.
Here's what my template looks like:

The highlighted PLAYPAL.pal is the binary file, running my generator shows that hygen is attempting to render this file:
Error: Could not find matching close tag for "<%".

Searching for <% led me to a line inside PLAYPAL.pal:

Interesting. this means hygen needs to support some kind of ignores.
I'm thinking in order to help you with this, to implement one of the following, to ignore these:

folders/files that start with a dot (.) are ignored
folders/files that are named assets
folders/files that start with __

What do you think? any other ideas maybe?

The dot prefix and assets directory sounds good! but perhaps instead of prefixing dots, hygen will have something akin to .gitingore that will act as a list of files and/or templates to be ignored altogether.

Fantastic idea. Something like .spectralignore, which is generator specific or simply relevant for all files if placed at the root of .templates.
I'm going to do some research to see how that can be implemented efficiently

Should be now supported with a local .hygenignore per action.
Note this also helped speed up Hygen by a good margin since I notice we can skip reading metadata OS files such as .DS_Store
Thanks for driving this feature!
Please reopen if this is not quite working as you expect

I am not able to make this feature work. I have a .hygenignore in my repo and it lists src/favicon.ico in it. The idea is that since favicon.ico is a binary file, it should be copied to the destination as is. In reality, when I run the generator, the file does not get copied at all.  Try hygen react-app new my-app.
Am I using this correctly?

Same issue here, how to make hygen work with image files - Just copy to the destination folder?

I get the same issue. I replicated @nareshbhatia config without the luck. Also tried to cp it to the destination, but hugen shows below error:
cp: network-diagram.jpg: No such file or directory

@jagnk I have moved over to a different code generator since my earlier comment (https://www.code-shaper.dev/) which does not have this issue.


Tests performance are dramatically dropped since Selenide version 3.10

I've been using Selenide version 3.9.3 in my project for a while. Recently I decided to bump Selenide to the last new version (currently it is 4.2). But after some tests run I noticed in Allure report that tests performance are dramatically dropped in that Selenide version. After some investigation (roll back to some low versions, checking tests performance there), I found out that starting from Selenide version 3.9.10 tests performance are really dropped. All these experiments were conducted on the same tests environments, the same version of app, the same tests were run (smoke scope of tests with paralleling) and only Selenide version was different (you can see difference in two attaches I provided below).
It looks like some changes were made in Selenide version 3.9.10 which lead to tests performance dropping (probably during fixing the issue #401 where were added synchronized on execute method of every command). Could you please take a look at this one? Would it be the reason of that performance dropped?
Attach 1 - Selenide version 3.9.3 - good tests performance

Attach 2 - Selenide version 3.9.10 or higher - poor tests performance

try to use:
Configuration.pollingInterval = 25;
Configuration.collectionsPollingInterval = 25;
Maybe it help. I have no similar problems after update selenide

Thanks for the fast reply. Sadly, but it didn't help. Did you check performance of your tests on 3.9.3 Selenide version and then 3.9.10 (or higher)? Was it good enough and in the same degree as before? BTW, how many parallel threads have you had?

@slipwalker Any chance you had one suite you could share with us? Or just a part of it, with runtime at 5+ seconds in the "fast" version.

@vinogradoff Nothing special with the tests suite. Moreover low performance is not related to the specific test, but to whole scope of the tests. Actually, switch back to Selenide 3.9.3 solved the issue, but could not be the solution for future perspective. Meanwhile, I can share with you some general structure of my suite:
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >

<suite name="Smoke Suite" verbose="2"  parallel="tests" thread-count="18">
    <test name="Create Profile Card Tests">
        <classes>
            <class name="com.somepackage.sometestspackage.CreateProfileCardTests"/>
        </classes>
    </test>
    <test name="Trends Style Switching Tests">
        <classes>
            <class name="com.somepackage.sometestspackage.TrendsStyleSwitchTests"/>
        </classes>
    </test>
    <test name="User Permission Tests">
        <classes>
            <class name="com.somepackage.sometestspackage.UserPermissionTests"/>
        </classes>
    </test>
</suite>

@slipwalker I didn't see any performance drawback in my current work project.

Can you share some working example that I could run to reproduce the problem?
Can the problem be caused by new version of Selenium webdriver or browser (by the way, what browser do you use)?
Could you try to run your tests with Selenide 3.9.3, but latest Selenium webdriver? Or otherwise, with latest Selenide 4.2.1, but older selenium?

Hi @slipwalker sure, performance will be downgraded, after adding synchronization to Commands.exeute(....) - but if you start tests in parallel mode (https://github.com/codeborne/selenide/issues/401).

@admizh I don't think that this synchronized could cause any performance degradation even in multi-threaded tests. synchronized is very well optimized in Java. But every call of any webdriver method goes through http request, which is by definition much longer than 100500 of local method calls, even synchronized.

@admizh, yeah, I suspect that too. And frankly speaking my tests are run against Chrome browser (latest version) exactly in 20 parallel threads.
@asolntsev Sorry, but by some reason cannot share for you my project code. What I made is changing Selenide version to new one, then to older and compare tests performance. Nothing else changed. Other dependencies, libraries, build infrastructure are the same for both cases. And what I've been encountered with, that starting from version 3.9.10 something new has been introduced that lead to tests performance dropping (at least for me). BTW, what do you mean by "Selenide 3.9.3, but latest Selenium webdriver" ? As far as I know Selenide particular version already includes specific webdriver version. Am I right? I can try this trick if you explain it to me.

@slipwalker Yes, you are right: every Selenide version includes (more exactly, depends on) particular webdriver version. But you can override it.
For example,

selenide 3.10 depends on selenium-java 2.53.1, and
selenide 4.3 depends on selenium-java 3.1.0

So, please try to declare these dependencies in your pom.xml (or build.xml):

selenide 4.3 and selenium-java 2.53.1.

Is it faster than just selenide 4.3?

@asolntsev @slipwalker  hi team,
I've done simple performance measurements through 2 scenarios:

Fist test performed with Commands.public synchronized <T> T execute(..)
Second test performed with Commands.public <T> T execute(...)

For testing, i use html page with slow redirection after click to button. This was done to increase response time for click command.:
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Page</title>
    </head>
    <body>
        <a href="http://deelay.me/5000/http://ya.ru">
            <button id="slowclick">Click and wait loading new page</button>
        </a>
    </body>
</html>

It is test scenario, test started in 5 different threads, without forking in gradle (in one JVM):
public class SyncTest extends OnbBaseTest {

    @DataProvider(name = "loop", parallel = true)
    public static Iterator<Object[]> getDataWithStream() {
        return IntStream.range(1, 6).mapToObj(i -> new Object[]{UUID.randomUUID().toString()}).iterator();
    }

    @Test(dataProvider = "loop")
    public void testSyncForCommands(String guid) throws Exception {
        URL url = this.getClass().getResource("/pageWithSlowRedirect.html");
        open(url);
        $("#slowclick").click();
    }
}

Tests duration results for two scenarios

Without synchronized: ~ Total execution time: 50 000.ms (average of 50 runs)
With synchronized: ~ Total execution time: 20 000.ms (average of 50 runs)

It is thread map for synchronized method:

How you see all parallel threads are waiting click. In fact only one thread will be work.
It is thread map for not synchronized method:

@admizh Wow! You are incredible!
Thank you for such a detailed information. I will investigate it.

Well... Here is some more investigation on this. (My first thought was that it's a Grid issue, but it's not...)
I've started a suite of 11 test cases in 12 threads(therefore it'll prove that it's not a thread dependency issue). All tests are ran in Chrome latest.
Selenide 3.8.1 with overriden Selenium 2.53.1 : 2m20sec
Selenide 4.3(w/o selenium dependency): 5m:18s:857ms
Selenide 4.3 + Selenium 2.53.1 - 5m:47s:804ms
Results vary a bit, but you may see a tremendous performance degradation between 3.8.1 and 4.3.
To prove that it's not a site issue, RAM issue, moon phase, whatever... I've start one more test:
Selenide 3.8.1: 2m:20s
Just to narrow the issue:
Selenide 3.10: 5m:25s:396ms
Selenide 3.9.1: 2m:55s:687ms (but there are security notifications about insecure connection due to proxy).
As you may see smth odd happened with Selenide starting 3.10 version. As I've written before, I see that each test closes not only webdriver but proxy as well - it means that proxy is started for each test case...
Selenide 3.10(with Configuration.fileDownload = HTTPGET;): 5m:22s:340ms. And even with this option I see
INFO: Close proxy server: 1 -> null in logs.
It seems that this option doesn't work and Selenide starts proxy at any possible case.

@admizh well done! I confirm everything you described above. The same happened to my tests as well.

@AlexanderPoleschuk Wow. Thank you. I will research this problem.

I am having the same issue with all my threads blocking on Commands.execute().  Perhaps ThreadLocal?

David,
Thank you!!! You are the champion!
Your really helped to solve this issue.
Of course, the problem is with synchronized method Commands.execute(). It
should not be synchronized.
 :(
I will fix it asap.
Andrei Solntsev
2017-03-24 8:14 GMT+02:00 David Phillips<EMAIL_ADDRESS>
I am having the same issue with all my threads blocking on
Commands.execute(). Perhaps ThreadLocal?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codeborne/selenide/issues/457#issuecomment-288942254,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARE3f9V7IDPkdHBqJo43VG2XNRhKj5Hks5ro183gaJpZM4LpNAS
.

Cool. As you could see this commit was exactly mentioned on the very first message of this topic ). Two months passed, many assumptions about the issue and we finally got the root of it (funny, but which was described on the beginning). Anyway, it's great that we found the reason at least such way ).

Yes, it's right: this commit was mentioned at the very beginning.
But that time I reviewed it and didn't find any problems. My bad :(
Andrei Solntsev
2017-03-25 13:29 GMT+02:00 slipwalker<EMAIL_ADDRESS>
Cool. As you could see this commit was exactly mentioned on the very first
message of this topic ). Two months passed, many assumptions about the
issue and we finally got the root of it (funny, but which was described on
the beginning). Anyway, it's great that we found the reason at least such
way ).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codeborne/selenide/issues/457#issuecomment-289206172,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARE3cPLySIUWaXDgkDAO9DEOvib6MBnks5rpPqngaJpZM4LpNAS
.

@slipwalker @admizh @rmarinsky @vinogradoff @AlexanderPoleschuk @fyrewall77
Hi!
We have resolved this issue and released Selenide 4.4. Can you check if it helped?

Works like a charm! Execution time is back to normal with Selenide 4.4. Thanks for the fix!

@asolntsev really appreciate! It works now as intended.

Works well...
On 29 Mar 2017 6:48 am, "slipwalker"<EMAIL_ADDRESS>wrote:

@asolntsev https://github.com/asolntsev really appreciate! It works now
as intended.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codeborne/selenide/issues/457#issuecomment-290095177,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2KnFf_9KhJEhMgegCM70El45yulBnrks5rqmERgaJpZM4LpNAS
.

@slipwalker @admizh @rmarinsky @vinogradoff @AlexanderPoleschuk @fyrewall77
FYI: I didn't get this error because I run tests with Gradle. Gradle run parallel tests in different processes, not threads. As a result, tests do not experience any problem with static fields, synchronized blocks etc. Don't you want to migrate to Gradle? I believe it's better than Maven in many aspects.

I'm not running Selenide as tests, but as a webpage scraper.
On Wed, Mar 29, 2017 at 10:00 AM, Andrei Solntsev<EMAIL_ADDRESS>wrote:

@slipwalker https://github.com/slipwalker @admizh
https://github.com/admizh @rmarinsky https://github.com/rmarinsky
@vinogradoff https://github.com/vinogradoff @AlexanderPoleschuk
https://github.com/AlexanderPoleschuk @fyrewall77
https://github.com/fyrewall77
FYI: I didn't get this error because I run tests with Gradle. Gradle run
parallel tests in different processes, not threads. As a result, tests
do not experience any problem with static fields, synchronized blocks etc.
Don't you want to migrate to Gradle? I believe it's better than Maven in
many aspects.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codeborne/selenide/issues/457#issuecomment-290154810,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2KnCa04JHzlkZNKilB-YglqPI7Rt_8ks5rqo5GgaJpZM4LpNAS
.

@asolntsev good idea, but not in my current project. Anyway, it is worth getting more deeply into Gradle.


bump python sdk to 1.2.0/0.21b0

The change looks good, you may want to add opentelemetry-semantic-conventions to the requirements file: https://pypi.org/project/opentelemetry-semantic-conventions/

Good to know, will refer this dependency when moving lambda instrumentation to python-contrib.


[BUG] RetryPolicy does not seem to have any impact on subscriptions

Describe the bug
When I susbscribe to a Topic with a retry policy that basically says 'keep trying for maximum of 100 times with maximum delta of 30 sec and then give up', I see that the retry continues whatever settings i do for the RetryPolicy. In short RetryPolicy does not seem to play any role in this.
Following is sample code to create the client and susbcribe
var client = new SubscriptionClient(
                    "<<>ConnectionString>",
                    "<<topic>>",
                    "<<subscription>>",
                    ReceiveMode.PeekLock,
                    new RetryExponential(TimeSpan.Zero, TimeSpan.FromSeconds(1), 5));
var messageHandlerOptions = new MessageHandlerOptions(this.OnExceptionReceived)
            {
                AutoComplete = false
            };
client.RegisterMessageHandler(async (message, token) => { await ProcessMessage(message, token); }, messageHandlerOptions);

When i introduce a network issue and bring it back, things keep working automatically which is nice. However, in cases where the network connectivity issue has spanned more than specific retry limit, i expect this to stop retrying. It does not however do so and seems to infinitely retry.

The question is -  what is then the use of RetryPolicy for subscription scenario? How do i achieve this behavior of stopping to retry after it as exhausted the configured value.

Exception or Stack Trace
Not applicable
To Reproduce
As given in the description above
Code Snippet
Given in the description
Expected behavior
RetryPolicy should be honored for subscription use cases or please point me to a documentation for how it works for mainly subscription use case.
Screenshots
Not applicable
Setup (please complete the following information):

OS: Windows 10
IDE : Visual Studio 2019, .Net 4.6.2
Version of the Library used: Microsoft.Azure.ServiceBus 3.4.0

@sanjaysingh, thanks for creating this issue. We are going to try to reproduce your scenario and we will get back to you with our findings.

@sanjaysingh , the given description is by-design.
So the RetryPolicy that you provide is applicable at an operation level. For example CompleteMessageAsync() or MessageReceiver.ReceiveAsync(). Given an individual operation, it is wrapped under the RetryPolicy to ensure it gets its fair share of retries.
But the pumps (i.e., RegisterMessageHandler) works differently where-in it is expected to recover automatically and remove lot of complications of error handling etc from the end-user. It internally calls ReceiveAsync() with the right RetryPolicy but the pump itself continues infinitely until you close the client.
If for any reason the default behavior does not suit you, feel free to use the individual pieces on which the pump is built (for e.g., MessageReceiver) to get what you want.


feat: implement greptime cli export

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
implement greptime cli export command line for exporting all SHOW CREATE TABLE under one catalog。
E.g.:
greptime cli export --addr "<IP_ADDRESS>:4001" --catalog greptime --schema public --output-dir /tmp/greptimedb-export --target create-table

Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

How about changing --schema and --catalog to --database for consistency with mysql? So we don't need to explain schema/catalog concept in our docs.

How about changing --schema and --catalog to --database for consistency with mysql? So we don't need to explain schema/catalog concept in our docs.

--schema and --catalog can be assigned separately, e.g., only export tables under catalog = greptime. Does --database has the same semantic?

In that case we will need to support wildcard with database, like --database=*, --database=greptime-* or --all. Note that we only have one catalog in self-hosted version so in most case it's like --all.
I think it's OK to have catalog/schema as an internal tool. But if we expose it as a user-facing tool we will need to explain those concepts.

@sunng87 @shuiyisong PTAL

LGTM.
But on top of this we may need authentication or tls setup to secure this tool.

@shuiyisong PTAL

@shuiyisong PTAL


result_backend config option doesn't work in .ini file

Pyramid 1.10.4
Celery 4.4.2
pyramid_celery 3.0.0
Python 3.6.9
I was trying to specify my celery result_backend using the .ini file. But it just wouldn't work. Kept getting results:     disabled://.
Moving the config to celeryconfig.py with USE_CELERYCONFIG = True fixed the issue for me, but thought this might still be something to look into, as expected behaviour might be for it to work either way.
Thank you,

Pyramid 2.0.2
Celery 5.3.4
pyramid_celery 4.0.0
Python 3.10.12
Specifying the result_backend option worked for me. Maybe this is fixed and the issue can be closed?
I was getting  AttributeError: 'DisabledBackend' object has no attribute '_get_task_meta_for' from Celery, and solved it by adding result_backend = rpc://


Adds IonSystem field to IonContainerLite

Fixes #360.
Description
All IonValueLite subclasses implement getSystem() by delegating that call to their internal _context field, which represents the parent value. The context will then delegate to its own context, and this process repeats up the tree until the top level is found. In deeply nested data, this linear search becomes especially expensive.
The getSystem() method is widely used. Among other examples, it is called several times per add() operation on a container.
This commit modifies IonContainerLite (the abstract base class for IonStructLite and IonSequenceLite) by adding an IonSystem field that is populated at instantiation time. Storing this reference guarantees that calls to getSystem() can always be resolved by either the current value or its immediate parent container.
By adding this functionality to IonContainerLite we are increasing the memory footprint of the container types but leaving the in-memory representation of the scalar types as-is.
Testing
I used the reproduction code provided by @fnmdx111 to verify that getSystem() delegation was the issue -- profiling showed an outsized percentage of CPU time being spent in that method and callstacks thousands of frames deep. I ran it again after applying the fix and confirmed that the problem was gone.
The reproduction code produces a binary tree 1000 levels deep. I trimmed the test to 24 levels deep to get it to complete in a reasonable amount of time and then ran a few before-and-after tests to collect some unscientific performance numbers.
public class Main {
    public static void main(String[] args) {
        System.out.println("Started at " + new Date());
        Plan plan = new CreateDeeplyNestedPlanTree(24).create(0);
        System.out.println("Created plan");

        try {
            IonSystem ion = IonSystemBuilder.standard().build();
            IonSexp sexp = ion.newEmptySexp();
            System.out.println("Serializing");
            long before = System.currentTimeMillis();
            plan.serializeInto(sexp);
            long after = System.currentTimeMillis();
            System.out.println("Serialized");
            System.out.println("Millis: " + (after - before));
        } finally {
            System.out.println("Finished at " + new Date());
        }
    }
}

Before (3 runs)

11,250 ms
11,983 ms
12,290 ms

After (3 runs)

7,152 ms
7,180 ms
8,489 ms

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Side question is there a reasonable unit test we could have that helps replicate or verify this is fixed? I'm guessing not, but just wondering if you had thoughts here.

I spent some time pondering it but didn't have any brilliant ideas. This change shouldn't produce any observable difference in behavior, just in resource usage. We could build a DOM so deeply nested that constructing it would cause a StackOverflowError, but that doesn't seem very satisfying.


Missing git tags from gitlab

Right now, this repo here has no tags, but the one on gitlab does: https://gitlab.com/wg1/jpeg-xl/-/tags

Thanks for the report. Fixed.


102.0.5005.61-1: can't connect to https with self-signed cert

After upgrading from 100.0.4896.127 it looks like I can no longer connect to https sites with invalid certs, I just receive a generic error:

Not even thisisunsafe works.
If I check out and build vanilla chromium 102.0.5005.61, it works as expected:

After some digging around, it seems like safe_browsing_mode=0 and applying the two related patches (core/inox-patchset/0001-fix-building-without-safebrowsing.patch, core/ungoogled-chromium/fix-building-without-safebrowsing.patch plus some manual fixes) on a normal chromium checkout is enough to trigger this.

Yep, 40 minutes ago


Update README

This PR brings the README up to date with the styleguides.
It also contains a list of features and their replacements once this app is deprecated. I wasn't a 100% sure these replacements belong in the readme (as it's mostly a project management concern). However, in this case I think the benefit of having this information in a visible place and close to code outweighs that concern.
Best reviewed in markdown mode:
https://github.com/alphagov/panopticon/blob/8524d4b66d7f95b69b253c2571c8dae3288bcd9e/README.md

:+1:  looks GREAT


inbox.mpack placed in Home Directory on Keybase Start.

Ubuntu 18.04  Kernel 4.17.12-041712-generic
When Opening Keybase (on boot, or manually) an "inbox.mpack" file is placed in the home directory.

my log id: 7ba095aa54c78534ca97711c

Sorry about that, it will keep coming back until I push an update to fix it, then you can delete it.

(Update will hit very shortly)

https://github.com/keybase/client/pull/13611

Awesome! Thanks for the quick response!
Just updated, and everything looks good!


Can't adjust the width of the taxonomy dropdown

Describe the bug
The width of the taxonomy dropdown is too small. The texts cannot be displayed in one line and is wrapped to the next line, overlapping with the text in the next line.
Adjusting the width in the html does not help.

Version 1.4 does not have this issue with exactly the same labeling configuration.
Expected behavior
No text overlapping should happen.
Screenshots

Environment (please complete the following information):

OS: ubuntu
Label Studio Version
label-studio                   1.5.0.post0
label-studio-converter         0.0.40
label-studio-tools             0.0.0.dev14

Additional context
Add any other context about the problem here.

We have fix for this and it had to get to the release, but as I can see it's only in develop right now. So you can use it from the repo. Or you can use Taxonomy minWidth="200px" or any other size which works for you.
If the bug is still there, reopen issue, please! Thank you!


Add version of code file for compilers that support #nullable

Prerequisite for #42, based on https://github.com/stakx/TypeNameFormatter/pull/43#issuecomment-720692379. Closes #43.

@kzu this should do it. I got to ask though, what nullable warnings did you actually observe? When I included the temporarily #nullable enable-d code file in a `enable project, I was surprised to not even get a single nullable warning... so this change may not actually be needed at all.
(However I don't quite trust VS 2019. I've installed and reinstalled it many times, the diagnostics produced by its IntelliSense and an actual build are highly volatile and keep changing from one build to the next.)

I did get all sorts of nullable warnings, like Type.ContainingType can be null, Namespace and the like. Don't recall, but the reflection API has all sorts of nullable annotations that don't even make sense (like AssemblyQualifiedName can be null?? see https://docs.microsoft.com/en-us/dotnet/api/system.type.assemblyqualifiedname?view=net-5.0).


Help

I can't for the life of me figure out how to use this. I include all files in the project I'm doing, but I don't see the corresponding classes anywhere in the repository, and the classes/package does not show up when I am typing. Am i missing something?

Hi, no idea, the project is working. Just copy the OMScrollableChart directory into your project, that's all. Be aware that it is still in development, although there are several apps that are using it, it still has work to do.
cya.
Installation

To use OMScrollableChart you must include manually all swift files located inside theOMScrollableChartdirectory directly in your project.

Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, 27 de September de 2020 3:20, Jake Noe<EMAIL_ADDRESS>wrote:

I can't for the life of me figure out how to use this. I include all files in the project I'm doing, but I don't see the corresponding classes anywhere in the repository, and the classes/package does not show up when I am typing. Am i missing something?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


docs: markdown issue

https://trpc-nuxt.vercel.app/get-started/usage/simple
https://github.com/wobsoriano/trpc-nuxt/blob/adeb5a5afdd4ebde7743ca9e16148a0f134cb448/docs/content/1.get-started/2.usage/1.simple.md?plain=1#L37

I reported this upstream https://github.com/vuejs/vitepress/issues/2775

Looks like an issue on their side. Will update this issue once resolved


Window won't close on macOS with advanced input

This is a weird bug I've noticed during development, and I'm not sure if it's with RLTK/bracket-lib or something upstream.
On macOS with advanced_input enabled on a BTerm instance, I can't seem to close the window with the native window buttons - the minimize and fullscreen buttons works normally, but the close button won't. Maybe I'm crazy and not clicking in the right spot.
To replicate, you just need a minimal "hello world" style program:
main.rs
use bracket_terminal::prelude::*;

struct State {}

impl GameState for State {
    fn tick(&mut self, ctx: &mut BTerm) {
        ctx.print(1, 1, "Hello Bracket World");
    }
}

fn main() -> BError {
    let context = BTermBuilder::simple80x50()
        .with_title("Hello Minimal Bracket World")
        .with_advanced_input(true) // comment this out and the window close button should work
        .build()?;

    let gs: State = State {};
    main_loop(context, gs)
}

If you need any help figuring stuff out, I'm game to help, I'm just not sure where to start (or if I'm missing something).

So, upon further reading of the library's code, it's user error, not a bug. There is an event from the even queue signifying that the window has requested to be closed, I just need to handle that. Closing this issue.


Feature-req: Perf options

The graphs produced by this plugin are very beautiful, but they use a lot of cpu, are there any, or could there be any configurable perf options; perhaps make the animation less fluid at the cost of cpu cycles?

I think it is great idea to introduce something like the frame-per-second rendering option. I will work on it when I have time.

I have added the frameRate option and set the default value to 30 with f1e773e to lower CPU usage. See this sample: https://jsfiddle.net/nagix/wgswzor3/. I also recommend to disable animation as stated at Chart.js docs.


Remove AgentTestCase's dependency on TestRunner.

Dependency was only for storing objects in the journal.
Since it is already using JournalLogger, and store only forwards to the
global runner's logger, it asks the JournalLogger to store the object instead.
Also added test for AgentTestCase.
@jtk54

LGTM after resolving conflicts.


[question] disabling keybinds

hi! this is my favorite scrollbar plugin, however ive got a really annoying issue
i use z in some of my keymaps i.e. to go to the start of the line
however scrollview uses MANY z bindings and ive got no clue how to
1: either remove scrollview binds all together
2: or disable any keybind beginning with z and then setting my own z binds
please help as this is gonna be keeping me from using scrollview, which would be a shame just because of one keybinding

Hi @qube-03, I assume you're referring to the following lines in your Neovim config:
https://github.com/qube-03/configs/blob/80daf4aa860d7cb0f3fa0d4de9d0edb0402ed877/.config/nvim/lua/keybinds.lua#L22-L24
nvim-scrollview has a bunch of builtin mappings that begin with z, so that scrollbars and signs are refreshed after commands that modify folds.
<nowait> can be used to prevent the delay when you press z (see :help :map-Nowait>), effectively disabling the scrollview mappings that are causing the issue for you. For example, kset('n', 'z', '<Home>') from your config would become kset('n', 'z', '<Home>', {nowait = true}).

I've updated the code in d2a9d1538741752642bb76ba1274e89d6213e69d so that a key sequence mapping will not be created if one already exists for a prefix of the sequence.

hey, thanks for the kind response
ive tried the nowait thing but until now have had little luck, ill see if i had any errors and will try again, thanks for the example too
(the config in question is wayyy outdated btw, but the same still applies)

just tried the nowait option exactly as you specified, no luck (tried with m this time)
it doesnt matter now though, i changed my binds so it works now
thanks for your efforts!

Glad to hear the problem is worked around.
Please let me know if you have any ideas for what the issue is or any steps I can use to reproduce. If I execute the following line, either in a Neovim config file or after starting Neovim, z works as expected (effectively working like <home>).
lua vim.keymap.set('n', 'z', '<Home>', {nowait = true})

yes it does do that, on the previous version from before this issue though, scrollview would have many bindings with z and so it would delay the actual input, not even { nowait = true } helped then
sadly enough another keybinding i used is m and ive rebound that now to not interfere with scrollview

so from what i can tell, the issue with keybindings interfering still persist, because it didnt detect that i also had m bound,
could be a misconfiguration on my end though

I have the same issue:
Error detected while processing function <lambda>120[1]..script /home/username/.local/share/nvim/lazy/nvim-scrollview/autoload/scrollview.vim:
line  507:
E227: mapping already exists for mj
Press ENTER or type command to continue
vim/keymap.lua:0: E227: mapping already exists for mj
Press ENTER or type command to continue
stack traceback:
Press ENTER or type command to continue
^I[C]: in function 'nvim_set_keymap'
Press ENTER or type command to continue
^Ivim/keymap.lua: in function 'set'
Press ENTER or type command to continue
^I...nvim/lazy/nvim-scrollview/lua/scrollview/signs/marks.lua:48: in function <...nvim/lazy/nvim-scrollview/lua/scrollview/signs/marks.lua:15>

I have bound mj as a keybinding and scrollview complains. Any workaround? Thank you!

Same here (mg in my case), I'd like to disable any keymap creation by nvim-scrollview, as I don't manually toggle anything when using it.

For me that fixes it. I re-enabled my mg mapping and no more error messages appear. Thanks @dstein64, love how seamless this plugin works, aside from this small hiccup!

Glad to hear it's fixed. I'll close this issue for now and re-open if anyone is still having the problem.

The latest commit also fixed it for me too. Thank you for your prompt resolution. I appreciate it:)

im not home rn so i cant comment on anything really
but thanks a lot for your commitment! ill be happy once i get home

md doesn't work in Nerdtree now. When I write :map md I get:
n  m           *@:call nerdtree#ui_glue#invokeKeyMap("m")<CR>
x  md          * md<Cmd>ScrollViewRefresh<CR>
n  md          * md<Cmd>ScrollViewRefresh<CR>

How can I turn off nvim-scrollview for md?

Thanks for letting me know @evmorov. I'll open a separate issue.
Until a proper fix is implemented, the following workaround can be used (but this will disable signs for marks).
VimScript
let g:scrollview_marks_characters = []

Lua
-- Lua method 1: setup() function
require('scrollview').setup({
  ...
  marks_characters = {},
  ...
})

-- Lua method 2: config variable
vim.g.scrollview_marks_characters = {}

Thanks @dstein64! I confirm that the temporal solution works.

md doesn't work in Nerdtree now.

@evmorov Offtopic, but I recommend taking a look at neo-tree as an nvim-native replacement. NerdTree has been on life-support for a long time now.

ima hop in on this one too, even if offtopic
if you dont like neotree then take a look at oil.nvim
its improved my workflow drastically over using a traditional sidebar tree


No loader is configured for ".node"

Hi, i'm not sure what I'm doing wrong, I'm trying to deploy an Astro Website with sst.
flo@Florians-MBP mc-donald % sst deploy --verbose
time=2024-05-20T20:56:02.470+02:00 level=INFO msg="checking for pulumi" path="/Users/flo/Library/Application Support/sst/bin/pulumi"
time=2024-05-20T20:56:02.595+02:00 level=INFO msg="checking for bun" path="/Users/flo/Library/Application Support/sst/bin/bun"
time=2024-05-20T20:56:02.599+02:00 level=INFO msg="initializing project" version=0.0.383
time=2024-05-20T20:56:02.600+02:00 level=INFO msg="esbuild building"
time=2024-05-20T20:56:02.980+02:00 level=ERROR msg="esbuild error" text="Could not resolve<EMAIL_ADDRESS><EMAIL_ADDRESS>location.line=99 column=40
time=2024-05-20T20:56:02.980+02:00 level=ERROR msg="esbuild error" text="No loader is configured for \".node\" files: node_modules/fsevents/fsevents.node" location.file=node_modules/fsevents/fsevents.js location.line=13 column=23
time=2024-05-20T20:56:02.981+02:00 level=ERROR msg="exited with error" err="node_modules/@babel/core/lib/config/files/module-types.js:99:40: Could not resolve \"@babel/preset-typescript/package.json\"\nnode_modules/fsevents/fsevents.js:13:23: No loader is configured for \".node\" files: node_modules/fsevents/fsevents.node"
×  node_modules/@babel/core/lib/config/files/module-types.js:99:40: Could not resolve<EMAIL_ADDRESS>node_modules/fsevents/fsevents.js:13:23: No loader is configured for ".node" files: node_modules/fsevents/fsevents.node

Literally every cmd I run there's something that blocks it.
Very weird
flo@Florians-MBP mc-donald % sst install
×  node_modules/fsevents/fsevents.js:13:23: No loader is configured for ".node" files: node_modules/fsevents/fsevents.node
flo@Florians-MBP mc-donald % sst upgrade
✓  Already on latest 0.0.383
flo@Florians-MBP mc-donald % sst refresh
×  node_modules/fsevents/fsevents.js:13:23: No loader is configured for ".node" files: node_modules/fsevents/fsevents.node
flo@Florians-MBP mc-donald %

Version of Node?

I don't even know what I'm doing, sorry for taking your time, way too many coding hours.
Running "npx sst deploy --verbose" works (*uses sst2)
Running "sst deploy --verbose" does not.
Closing as not an issue.

Version of Node?

20


Establish cross-client validation suite.

Summary
As part of our last Retrospective we've been discussing the ability to use the same suite to test against Lotus, Forest and whatever else is going to implement the node RPC API.
This issue needs to be fleshed out further, however I'll share my vision for some of the steps:

Move RPC types from Forest to CommonNodeAPI in order to be able to:
a. Have no dependency on Forest or any other big library here
b. Be able to reuse RPC definitions for tests and Forest RPC implementation itself.
NOTE: This will introduce extra burden similar to fil-actor-states where we'd have to define RPC types in one repo and then use them in Forest to define endpoints.
Inspire from Forest API tests that already knows how to test against various node implementations and move this into common-node-api.
Integrate RPC types and whatever else is needed back into Forest.

Motivation
We need a cross-client test suite for node RPC API. This is needed to make sure we can enforce the standard defined as part of common node API, use this in the CI for all the relevant projects and test our local changes.
Tasks

[ ]

Risks & Dependencies

Additional Links & Resources

cc @elmattic @ansermino I believe you guys are better equipped to take this further in terms of defining tasks and priorities here. That said, I'm happy to discuss any questions you might have on the subject in addition to what's already included in the description.


Can't write into MultiplexedStream

Writing into MultiplexedStream throws System.NotSupportedException: 'Specified method is not supported': https://github.com/dotnet/Docker.DotNet/issues/554#issuecomment-1190158337.

Fixed by #579, not yet published.


undefined media queries of screen size under 30em on tachyons.css

I guess that '@media screen and (min-width: 30em)' on tachyons.css is a typo from (max-width: 30em).
I clearly point out word, 'min' and ' max'.
tachyons.css has the below media queries.

@media screen and (min-width: 30em)
@media screen and (min-width: 30em) and (max-width: 60em)
@media screen and (min-width: 60em)

screen size under 30em is only not defined.
I hope you will comment about this issue.

It's because the base classes are mobile by default, following the mobile-first architecture. You already "start" below 30em and then progress upwards. But be aware of #578.

Hi @cristianofromagio,
My mobile phone have a screen width less than 30em.
All of media queries on tachyons.css do not affect my mobile phone.
"screen and (min-width: 30em)" means screen width MORE than 30em.
tachyons.css said the following,

screen size < 30em
No effect.
30em < screen size < 60em
Effect '@media screen and (min-width: 30em) and (max-width: 60em)'
60em < screen size
Effect '@media screen and (min-width: 60em)'

I strongly insist that "@media screen and (min-width: 30em)" is corrected to "@media screen and (max-width: 30em)".

All of media queries on tachyons.css do not affect my mobile phone.

Yes, that is intended. On a mobile-first approach you don't need a media query to target a small device, it's by default applied to it as the base.
But if you have a layout created for a desktop view and now need to adapt it for mobile view, then you need to use max-width. Either way, media queries should be viewed as "adaptations". Whatever approach you use (mobile-first or not) the base classes you use are always going to be applied to the element, unless if overwrite by the media-query declarations ("adaptation").
Take a look at the media-queries variables names for tachyons:
@custom-media --breakpoint-not-small screen and (min-width: 30em);
@custom-media --breakpoint-medium screen and (min-width: 30em) and (max-width: 60em);
@custom-media --breakpoint-large screen and (min-width: 60em);

When you apply a base class on a mobile-first architecture, you are already at "small". After 30em you are at "not small", between 30em and 60em you are at "medium" and after 60em you are at "large". Roughly, what the min-width rule says is "apply these classes if the screen size is X value or more" and what the max-width rule says is "apply these classes if the screen size is X value or less".

Hi @cristianofromagio,
Now I am wondering that "breakpoint-not-small' never  affected anything in spite of existence of "breakpoint-not-small".

"small" as screen size < 30em
No effect.
"medium" as 30em < screen size < 60em
Effect '@media screen and (min-width: 30em) and (max-width: 60em)'
"large"" as 60em < screen size
Effect '@media screen and (min-width: 60em)'

It looks you can remove ""breakpoint-not-small"" from tachyons.css.
If you would not remove it, you are misleading "breakpoint-not-small" is still alive.

Breakpoints have been refactored here: https://github.com/tachyons-css/tachyons/pull/705


GH-2843: Fix automatic Serde detection for branched function components

Ensures to properly store outbound type to type map for branched function component outputs.
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2843

@sobychacko: Would be great if you could also backport this to the 4.0.x line.
Thanks in advance for your help.

@GFriedrich, Any updates on when you can add the author tag?

Also, could you please rebase against the latest main branch?

hey @sobychacko,
Sorry for the late response.
I'll try to tackle all the things you've mentioned by tomorrow.

Thank you, @GFriedrich, for the PR. It is now merged upstream and backported to 4.0.x.


A small incremental PR refactoring the drawNametag function (a PR with only 2 file changed)

Just a demo to have a PR with only 2 file changed, it is not going to work as the latest tab style.

Can we rebase this change on top of main now?
I still think the changes to the API are relevant.


CONFORMANCE: PVC/PV conformance testing discussion

https://github.com/kubernetes/kubernetes/issues/65155

Core conformance: All Kubernetes distros must pass

In-tree ephemeral volumes like emptydir, secrets, configmaps, downward api, etc (these already exist, maybe more can be added)
Hostpath
PVC/PV features that don't require a specific volume plugin: pre-binding, PV protection, Retain reclaim policy, etc.

eg: atomic writer volume subpaths https://github.com/kubernetes/kubernetes/pull/66871

Closing in favor of the original issue.
Note that kubernetes/kubernetes#66871 wasn't about PV/PVC.


coco classes in objects365

Could you provide the coco class list in objects365?

@wangchust Could you provide the coco class list in objects365?


Three Item at a time from 100 items

I need to render three items once out of 100, if swipe next then render next 3item if swipe prev then again render prev 3 item
what can I do
Plz sugget me

You can use the technique mentioned here - https://github.com/react-native-community/react-native-tab-view#optimization-tips


Remote SSH: The argument 'file' cannot be empty. Received ''

Environment data
Version: 1.59.1
Commit: 3866c3553be8b268c8a7f8c0482c0c0177aa8bfa
Date: 2021-08-19T11:53:52.479Z
Electron: 13.1.7
Chrome: 91.0.4472.124
Node.js: 14.16.0
V8: 9.1.269.36-electron.0
OS: Darwin x64 20.6.0

VS Code version: 1.59.1
Extension version (available under the Extensions sidebar): v2021.8.1159798656
OS and version: macOS 11.15.2
Python version (& distribution if applicable, e.g. Anaconda): Available through nix-shell environment, Python 3.9.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): nix-shell
Relevant/affected Python packages and their versions: n/a
Relevant/affected Python-related VS Code extensions and their versions: n/a
Value of the python.languageServer setting: "Default"

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
Saving python files to operate without error.
Actual behaviour
Every time I save a python file. An error dialog is displayed:

"The argument 'file' cannot be empty. Received ''"
Steps to reproduce:

Run VSCode from macOS.
Remote SSH into a NixOS machine.
Install the Python extension on the remote machine.
Attempt to save a Python file. (I suspect this is triggering a format-on-save. Many other extension commands trigger the same error however.)

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

User belongs to experiment group 'pythonaa'
User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'pythonDiscoveryModuleWithoutWatcher'
User belongs to experiment group 'pythonTensorboardExperiment'
User belongs to experiment group 'PythonPyTorchProfiler'
User belongs to experiment group 'pythonDeprecatePythonPath'
User belongs to experiment group 'pythonSortEnvs'
Starting Pylance language server.
Error 2021-08-24 04:57:04: Failed to check if file needs to be fixed EntryNotFound (FileSystemError): Unable to read file 'vscode-remote://ssh-remote+doodoo/home/skainswo/.config/Code/User/settings.json' (Error: Unable to resolve non-existing file 'vscode-remote://ssh-remote+doodoo/home/skainswo/.config/Code/User/settings.json')
    at _handleError (/home/skainswo/.vscode-server/bin/3866c3553be8b268c8a7f8c0482c0c0177aa8bfa/out/vs/server/remoteExtensionHostProcess.js:85:158459)
    at y.readText (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:9:320331)
    at p.doesFileNeedToBeFixed (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:586718)
    at /home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:585845
    at async Promise.all (index 0)
    at p.getFilesToBeFixed (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:585791)
    at p.updateTestSettings (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:585418) {
  code: 'FileNotFound'
}
Error 2021-08-24 04:57:04: Diagnostic Code: NoPythonInterpretersDiagnostic, Message: Python is not installed. Please download and install Python before using the extension.
Diagnostic Code: NoPythonInterpretersDiagnostic, Message: Python is not installed. Please download and install Python before using the extension.
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
Error 2021-08-24 05:03:50: Failed to format imports for '/home/skainswo/dev/research/research/bayesian_optimization/vanilla_bo_quadratic.py'. TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
    at normalizeSpawnArguments (child_process.js:414:11)
    at Object.spawn (child_process.js:551:13)
    at Object.t.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:9:403189)
    at o.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:29:13614)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:98259)
    at s.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:97403)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:92888)
    at /home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:499849
    at _provideDocumentSortImportsEdits (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:497735) {
  code: 'ERR_INVALID_ARG_VALUE'
}
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
Error 2021-08-24 05:03:58: Failed to format imports for '/home/skainswo/dev/research/research/bayesian_optimization/vanilla_bo_quadratic.py'. TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
    at normalizeSpawnArguments (child_process.js:414:11)
    at Object.spawn (child_process.js:551:13)
    at Object.t.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:9:403189)
    at o.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:29:13614)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:98259)
    at s.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:97403)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:92888)
    at /home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:499849
    at _provideDocumentSortImportsEdits (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:497735) {
  code: 'ERR_INVALID_ARG_VALUE'
}
> conda --version
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
Error 2021-08-24 05:04:21: Failed to format imports for '/home/skainswo/dev/research/research/bayesian_optimization/vanilla_bo_quadratic.py'. TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
    at normalizeSpawnArguments (child_process.js:414:11)
    at Object.spawn (child_process.js:551:13)
    at Object.t.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:9:403189)
    at o.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:29:13614)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:98259)
    at s.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:97403)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:92888)
    at /home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:499849
    at _provideDocumentSortImportsEdits (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:497735) {
  code: 'ERR_INVALID_ARG_VALUE'
}

Formatting with yapf failed.
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
Error 2021-08-24 05:04:24: Failed to format imports for '/home/skainswo/dev/research/research/bayesian_optimization/vanilla_bo_quadratic.py'. TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
    at normalizeSpawnArguments (child_process.js:414:11)
    at Object.spawn (child_process.js:551:13)
    at Object.t.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:9:403189)
    at o.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:29:13614)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:98259)
    at s.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:97403)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:92888)
    at /home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:499849
    at _provideDocumentSortImportsEdits (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:497735) {
  code: 'ERR_INVALID_ARG_VALUE'
}

Formatting with yapf failed.
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
Error 2021-08-24 05:27:42: Failed to format imports for '/home/skainswo/dev/research/research/bayesian_optimization/bo_gradients_quadratic.py'. TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
    at normalizeSpawnArguments (child_process.js:414:11)
    at Object.spawn (child_process.js:551:13)
    at Object.t.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:9:403189)
    at o.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:29:13614)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:98259)
    at s.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:97403)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:92888)
    at /home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:499849
    at _provideDocumentSortImportsEdits (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:497735) {
  code: 'ERR_INVALID_ARG_VALUE'
}

Formatting with yapf failed.
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
Error 2021-08-24 05:28:21: Failed to format imports for '/home/skainswo/dev/research/research/bayesian_optimization/bo_gradients_quadratic.py'. TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
    at normalizeSpawnArguments (child_process.js:414:11)
    at Object.spawn (child_process.js:551:13)
    at Object.t.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:9:403189)
    at o.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:29:13614)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:98259)
    at s.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:97403)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:92888)
    at /home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:499849
    at _provideDocumentSortImportsEdits (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:497735) {
  code: 'ERR_INVALID_ARG_VALUE'
}

Formatting with yapf failed.
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''

Formatting with yapf failed.
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
Error 2021-08-24 05:33:27: Failed to format imports for '/home/skainswo/dev/research/research/bayesian_optimization/bo_gradients_quadratic.py'. TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
    at normalizeSpawnArguments (child_process.js:414:11)
    at Object.spawn (child_process.js:551:13)
    at Object.t.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:9:403189)
    at o.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:29:13614)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:98259)
    at s.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:97403)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:92888)
    at /home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:499849
    at _provideDocumentSortImportsEdits (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:497735) {
  code: 'ERR_INVALID_ARG_VALUE'
}

Formatting with yapf failed.
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''

Formatting with yapf failed.
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
Error 2021-08-24 05:33:52: Failed to format imports for '/home/skainswo/dev/research/research/bayesian_optimization/bo_gradients_quadratic.py'. TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
    at normalizeSpawnArguments (child_process.js:414:11)
    at Object.spawn (child_process.js:551:13)
    at Object.t.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:9:403189)
    at o.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:29:13614)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:98259)
    at s.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:97403)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:92888)
    at /home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:499849
    at _provideDocumentSortImportsEdits (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:497735) {
  code: 'ERR_INVALID_ARG_VALUE'
}

Formatting with yapf failed.
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
Error 2021-08-24 05:34:32: Failed to format imports for '/home/skainswo/dev/research/research/bayesian_optimization/bo_gradients_quadratic.py'. TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
    at normalizeSpawnArguments (child_process.js:414:11)
    at Object.spawn (child_process.js:551:13)
    at Object.t.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:9:403189)
    at o.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:29:13614)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:98259)
    at s.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:97403)
    at Object.execObservable (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:78:92888)
    at /home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:499849
    at _provideDocumentSortImportsEdits (/home/skainswo/.vscode-server/extensions/ms-python.python-2021.8.1159798656/out/client/extension.js:59:497735) {
  code: 'ERR_INVALID_ARG_VALUE'
}

Formatting with yapf failed.
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''

If I use https://github.com/arrterian/nix-env-selector to select a Nix environment with python installed, and reload the window then the extension seems to work fine. So it's just a confusing error message that should say something like "Hey, you don't have a python installation. You can't do that action." Or just present the initial "Hey, you don't have a python installation" and then not show future warnings.

May be related https://github.com/microsoft/vscode-python/issues/14067

My default python is located at /usr/bin/python and this project has a different Python interpreter selected from pyenv. I've included the full Python output separated by notable events. If you think this is unrelated, please let me know and I can make this a separate issue to prevent this issue getting messy!
Note: I've redacted the repo and directory as project-name throughout

On startup for project with no files open

User belongs to experiment group 'pythonaacf'
User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'pythonDiscoveryModuleWithoutWatcher'
User belongs to experiment group 'pythonTensorboardExperiment'
User belongs to experiment group 'PythonPyTorchProfiler'
User belongs to experiment group 'pythonDeprecatePythonPath'
User belongs to experiment group 'pythonSortEnvs'
Python interpreter path: ~/.pyenv/versions/3.6.8/bin/python
Starting Pylance language server.
> conda --version

Opening file example.py

> ~/.pyenv/versions/3.6.8/bin/python -m flake8 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s ~/projects/project-name/example.py
cwd: ~/projects/project-name
> ~/.pyenv/versions/3.6.8/bin/python -m flake8 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s ~/projects/project-name/example.py
cwd: ~/projects/project-name
##########Linting Output - flake8##########

Saving example.py with additional line at EOF

Formatting with autopep8 failed.
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
> ~/.pyenv/versions/3.6.8/bin/python -m flake8 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s ~/projects/project-name/example.py
cwd: ~/projects/project-name
> ~/.pyenv/versions/3.6.8/bin/python -m flake8 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s ~/projects/project-name/example.py
cwd: ~/projects/project-name
##########Linting Output - flake8##########

@baldyeagle Thanks for providing the logs, it seems very strange that you do have an interpreter selected which is used for linting with flake8 but for some reason formatting fails. I suspect you may have configured some settings related to formatting, which are invalid. Please do create a new issue and make sure to try older versions of the extension to see if it works 🙂

I have created a VSIX including the fix: https://github.com/karrtikr/vscode-python/suites/3634815359/artifacts/88030738, please try it out. You can follow the prompts from "Extensions: Install from VSIX..." in the command palette.


bumping grpc packages

Issue describing the changes in this PR
Moving to latest grpc versions.
Pull request checklist

[x] My changes do not require documentation changes

[ ] Otherwise: Documentation issue linked to PR

[ ] My changes should not be added to the release notes for the next release

[x] Otherwise: I've added my notes to release_notes.md

[x] My changes do not need to be backported to a previous version

[ ] Otherwise: Backport tracked by issue/PR #issue_or_pr

[x] I have added all required tests (Unit tests, E2E tests)

#1714 can be closed?