Issue when starting runelite-1.5.31-SNAPSHOT.war with Tomcat

This is my first time dabbling with Tomcat and i'm using Windows which has caused exponential pain to set up anything server related haha. Anyways I got up to the part on the "Running-the-Runelite-HTTP-API-Service" guide where I select runelite-1.5.31-SNAPSHOT.war but when I start it up I get two errors in which I cannot figure out how to solve (in the screenshot below). I'm not sure what I could be doing different due to a lack of experience with the software i'm using and i'm not sure what kind of questions I should be asking to approach this issue. This is also my first time setting up development environments on windows, normally I use a Mac for these kind of things but there's reasons.
I'm stoked to get into some runelite development and would appreciate any help, thank you!

LOGS:
stdout: tomcat7-stdout.2019-08-14.log
stderr: tomcat7-stderr.2019-08-14.log

Go look at the actual log files for the server, if you used the default install location they should be located in C:\Program Files\Apache Software Foundation\Tomcat 7.0\logs. IIRC stdout should be it.

Go look at the actual log files for the server, if you used the default install location they should be located in C:\Program Files\Apache Software Foundation\Tomcat 7.0\logs. IIRC stdout should be it.

Gotcha, i'm gonna look through it. In the meantime I just clipped the logfile to the post.

Hmm I might be having java runetime environment issues perhaps

https://github.com/deathbeam/runelite-ansible try this, and just run http-service from IntelliJ and connect it to stack. Our HTTP service guide is extremely outdated at this point

https://github.com/deathbeam/runelite-ansible try this, and just run http-service from IntelliJ and connect it to stack. Our HTTP service guide is extremely outdated at this point

Thanks so much man, i'm gonna get on it soon.

runelite-ansible as above doesn't have tomcat anymore as this commit says to run the .war files directly via the IDE. If you're running this stuff without a development IDE, how else can we run the http-service?

As I see there's no logs from this, the detailed logs is as follows:
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [net.runelite.http.service.SpringBootWebApplication]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class net.runelite.http.service.SpringBootWebApplication
        at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:181) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:270) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:93) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE]
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) ~[spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE]
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) ~[spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) ~[spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE]
        at org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151) [spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE]
        at org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131) [spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE]
        at org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:86) [spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE]
        at net.runelite.http.service.SpringBootWebApplication.onStartup(SpringBootWebApplication.java:212) [classes/:na]
        at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169) [spring-web-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5253) [tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) [tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) [tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) [tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) [tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:939) [tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1812) [tomcat8-catalina-8.0.32.jar:8.0.32]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_191]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_191]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191]
Caused by: java.lang.IllegalStateException: Failed to introspect annotated methods on class net.runelite.http.service.SpringBootWebApplication
        at org.springframework.core.type.StandardAnnotationMetadata.getAnnotatedMethods(StandardAnnotationMetadata.java:163) ~[spring-core-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        at org.springframework.context.annotation.ConfigurationClassParser.retrieveBeanMethodMetadata(ConfigurationClassParser.java:380) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:314) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:245) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:198) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:167) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        ... 27 common frames omitted
Caused by: java.lang.NoClassDefFoundError: com/mongodb/client/MongoClient
        at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.8.0_191]
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[na:1.8.0_191]
        at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[na:1.8.0_191]
        at org.springframework.core.type.StandardAnnotationMetadata.getAnnotatedMethods(StandardAnnotationMetadata.java:152) ~[spring-core-4.3.10.RELEASE.jar:4.3.10.RELEASE]
        ... 32 common frames omitted
Caused by: java.lang.ClassNotFoundException: com.mongodb.client.MongoClient
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1309) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1143) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        ... 36 common frames omitted

The likely culprit are these two commits: c6e24b832d2656e7bb80f0f442e79c7eeafc9eb4 and 277a3ccd35e55a3010c18bdb9c97d819418f3e06

The situation can be fixed if mongo-java-driver is downloaded from maven as a jar.
This jar can be placed in the tomcat8 shared lib (?) directory. For me, this is /usr/share/tomcat8/common/
Then, the following snippets must be added to context.xml (for me, at /etc/tomcat8/context.xml):
<Resource name="mongodb/runelite"
          auth="Container"
          type="com.mongodb.client.MongoClient"
          closeMethod="close"
          factory="com.mongodb.client.MongoClientFactory"
          singleton="true"
          connectionString="mongodb://localhost"/>

After that, tomcat8 should start. However, this seems like a relatively cumbersome procedure. How does runelite's official server install the mongo driver to its server?

@shuhaowu Without tomcat, you can just run the .war directly (with java -jar).

IntelliJ is my IDE. I had to write batch scripts to start and restart the server because tomcat is really finicky on windows for whatever reason. I’ll test your solution when I wake up thanks for the response!

Running it directly still would require the .jar for mongo tho, right?

Not sure, maybe. But I think spring boot plugin should package it

And if not, we should fix that

The war has to be deployable onto a container with jndi provided mongo+mysql, so we cannot really package it in due to the classes conflicting I believe.

We can probably add property for this then? Maaybe. ${property} should work, right?

They are already provided dependencies.

yes, and we can add property to not make them provided (and by default they would be), if it works

http-api project now lives in runelite/api.runelite.net, feel free to open a new issue there if this persists


i18n: italian translation

Added the possibility to select the Italian language

NOTE: since I couldn't find a guide and in the PRs, I only noticed these files. I may have forgotten to modify some ones, please tell me where they are, and I will take care of it

Great contribution @Berry-13 , thank you! Could you also fix typescript error? You need to add 'it' to LocaleType in client/src/types/general.ts on line 348

Done!


update gfx942 gridbased bf16 TN/NN

[----------] Global test environment tear-down
[==========] 50056 tests from 13 test suites ran. (577543 ms total)
[  PASSED  ] 50056 tests.
hipBLASLt version: 1200


fpdi.Importer wrapper for thread-safe usage

Thanks, @ayvan. This is a good change.
@phpdave11, there are a couple of options here. At the least, we should add documentation to the existing functions to indicate that for concurrent use, the wrapped importer should be used. In this case, I think it makes sense to factor out the content in the existing ImportPage() and call the wrapped version inside. The global variable fpdi would still be present, but it would be assigned from an importer that is returned from NewFpdiImporter().
The more extreme option would be to make a breaking change and switch over entirely to the multiple goroutine-safe version. Your thoughts?

I think, it's possible to make no-breaking changes that will support goroutine-safe work. I need some time to do this ...

@jung-kurt I'm thinking that we shouldn't duplicate those functions if possible.  If the code can be modified to allow for concurrent use, that would be my vote.  Thanks @ayvan!

I have made a number of improvements in this branch:
https://github.com/ayvan/gofpdf/blob/dev/contrib/gofpdi/gofpdi.go
But I think this is still not the best solution.
Potentially map of importers is really can leaks memory, and we must delete importers from map after usage.

Any ideas about  https://github.com/ayvan/gofpdf/commit/50632cb277a95d0383dd6158170bc3b2502a7bda#diff-f4a5b0b4df933cb5464904a786390c03 ?
I think, we need to clean map to avoid memory leaking, but have no ideas, how to do it, because we don't know, is this importer already used and is no longer needed.

I am inclined to get rid of the global variable, mutex, and unsafe fields. Let the application call gofpdi.NewImporter() and store the return value locally. This way each goroutine can obtain its own importer.

To maintain backward compatibility, we need to keep separate copies of importers, just as one importer is currently stored:
var fpdi = realgofpdi.NewImporter ()
Well, then you need to break backward compartibility and remove old functions.

Well, then you need to break backward compartibility and remove old functions.

This will be @phpdave11's call. Maybe it's just a matter of keeping the existing global importer but documenting its shortcoming and explaining how NewImporter() can be used to get a local instance.

What's the status of this proposal? I'd llike this feature, too. @ayvan are you still actively working on this? If not, I'd try to tackle this myself, based on your approach.

@mrtsbt that would be great if you wanted to finish up the work on this.  It would be nice to have backward compatibility if possible.  Thanks!

I picked up on this and created a pull request that hopefully achieves both goals: https://github.com/jung-kurt/gofpdf/pull/288


Train English model

Hi, when I trained English  model I got the following error:

I processed the data through the following command:
python ./src/preprocess.py -raw_path json_data -save_path bert_data -bert_temp_dir bert/English_bert -log_file logs/preprocess.log
I can't figure out what went wrong.

The word index of processed input data is out of range. You can check the vocabulary size of BERT and the maximum index of input src_id, and make sure that all src_id indexes are in the range of BERT vocabulary size.


[MICRO] Add input validation to DecimalMeta

as per Avro spec

@jcameron73 would love to use this soon, thanks @faph @jcameron73  ❤

We'll get this released today @dada-engineer

@jcameron73 As discussed, I have added a test confirming that only a single decimal meta is valid.


[QUERY] Is there a way to set the batch size for an EventProcessorClient?

Query/Question
Is there a way to set the batch size for an EventProcessorClient? I've been trying to figure it out as the remarks mention that events in the batch may be between 0 and a batch size?
https://docs.microsoft.com/en-us/dotnet/api/azure.messaging.eventhubs.eventprocessorclient.onprocessingeventbatchasync?view=azure-dotnet#remarks
Environment:

Name and version of the Library package used:
Azure.Messaging.EventHubs.Processor v5.6.1
Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): .NET 5
IDE and version : VS 16.11.2

Hi @stambunan.   The answer to your question is "it depends on your intent":

If you're asking "can my handler be called with more than a single event,"  the answer is no.   The EventProcessorClient reads events in a batch from the service and dispatches them to your ProcessEventHandler individually.   For batch-based processing, you'd want to use the EventProcessor<T> as the base for an event processor implementation.

If you're asking "can I tune my processor to read from the service more efficiently for my application's needs," the answer is yes.   The CacheEventCount controls the size of the batch read and can be tuned in collaboration with the PrefetchCount when constructing your EventProcessorClient.   These values can help tune throughput.

For more information on the Event Hubs clients and what scenarios they're intended to help with,  please see Event Hubs Clients and How to choose the right Azure Event Hubs .NET client library type for your application.
If you're interested in extending EventProcessor<T> for batch-based processing,  you may want to take a look at Building a custom processor with EventProcessor and Building A Custom Event Hubs Event Processor with .NET.
I'm going to mark this as addressed, but please feel free to use the "/unresolve" command if you'd like to continue the discussion.

Thanks @jsquire


the Light Api Method TurnOff() can not turn off the light, but the TurnOn() can work well

My code is below:
            var req = new UpdateLight().TurnOff();             var reuslt = await _client.UpdateLightAsync(Guid.Parse("d2e20330-302b-4059-bc91-f3621242bb5b"), req);
it can not work ,but Turn On can
            var req = new UpdateLight().TurnOn();             var reuslt = await _client.UpdateLightAsync(Guid.Parse("d2e20330-302b-4059-bc91-f3621242bb5b"), req);
can you tell me why? thank you!

I did a quick test and both TurnOn and TurnOff work as expected.
Not sure what the problem is here?
See this test: https://github.com/michielpost/Q42.HueApi/blob/9ad76ed95dc1e4d5507a5befad80ae12c5cd8c50/src/HueApi.Tests/LightTests.cs#L243

Thanks, great to hear!


#57 Allow an element to get out of bound

Add the ability to allow an element to get out of some edges of bound.
We add a demo in /usage/boundary.

Hy!
As you asked, I have change the string type for an array object.


typo: webapi.md

Changed ProductController to ProductsController to match the rest of the document and the example code.

Internal previews

📄 File
🔗 Preview link

aspnetcore/migration/webapi.md
Migrate from ASP.NET Web API to ASP.NET Core

/
Thanks for the contribution. Be sure to check out your name as a contributor about the 3rd of next month on the What's new page in the Community contributors section at the bottom.


Pending peer may exist for a long time when adding a learner peer

Bug Report

What version of TiKV are you using?

1fc68b2abd664e6bf73bdda874399c8db4435cf6
What operating system and CPU are you using?

don't matter
Steps to reproduce

create a simple cluster with 3 tikv nodes
start tpcc bench prepare
add remove-peer op for one region

What did you expect?
time to finish operator should be not too loog.
What did happened?
op always timeout due to pending peer and after restarting the cluster it remains the same situation.
Note that this occurs occasionally. Most of the time, the state after the above steps is that each of the 3 nodes has 3 voters, except that the removed peer id has changed.

Investigation I have done:
In pd log we can determine that the remove peer step will be completed soon, but later due to the replica checker, an automatic scheduling [add learner peer 8001 on store 1, promote learner peer 8001 on store 1 to voter], where the first step is to add learner, pd finds that the target peer has become a learner when processing the region heartbeat, but also finds that the same peer exists in the pending peers list. This state continues until the op timeout.
In tikv leader node, we can determine that "add learner successfully" and the config switch is successful in milliseconds after receiving the admin command. And in tikv learner node shows that the snapshot is persisted.

/severity Moderate

This problem seems to have been encountered many times, can we easy to reproduce it?

@hunterlxt Does it have a special operation to reproduce it? I tried it on tiup with 3 tikv nodes and can't reproduce it.

@hunterlxt Does it have a special operation to reproduce it? I tried it on tiup with 3 tikv nodes and can't reproduce it.

I meet a similar problem in the test. #13461

It's occasional behavior while I was testing other features. Add more information, the whole tidb cluster is deployed on a single machine (IDC).

@hunterlxt Does it have a special operation to reproduce it? I tried it on tiup with 3 tikv nodes and can't reproduce it.
And one more question here, does the learner peer will remain for a long time?

It's occasional behavior while I was testing other features. Add more information, the whole tidb cluster is deployed on a single machine (IDC).


Virus Detected

Describe the bug
Windows 10 Security is seeing [Windows] Molly Wallet - v2.0.3 as a virus.
Trojan:Win32/Zpevdo.B
To Reproduce
Steps to reproduce the behavior:
Download to PC, attempt to open the zip.
Desktop (please complete the following information):

OS: Win 10
Version: 10.0.18363 Build 18363

same. MalwareBytes marks it as malicious software too.


update_last_login on TokenObtainPair

Fix for last login update #132
Alternative solution to Fix user last_login field update #136 that only updates when the user gets a new refresh token (i.e. login). This should result in less database hits.

Database access and updating is only one-half the problem. People abusing the views is the other half of the problem. Please stop trying to add last_login. ref #234  You’ll inadvertantly slow your server down by exposing a security vulnerability. You can make a PR for signals instead, but it seems like another PR has already done it. Not sure when or if it’ll get merged.

If you really want this, make a new viewset and throttle it with DRF at the very least. If we throttle the viewset ourselves, we make the package less flexible.

@mjlabe I just talked with David. We'd like to make this repo a little more flexible in terms of features. If you don't mind, can you add a setting to the SIMPLE_JWT settings for last_login? Have the default still be on False. Thanks!

Will do. I'll also add your warnings of potential vulnerabilities to the docs.

@Andrew-Chen-Wang @davesque
PR has been updated with requested changes. Please let me know if you feel anything should be changed!

Thanks again @mjlabe!


Improve ockam tcp-inlet list --help text (clap command)

Current behavior
When a user runs ockam tcp-inlet list --help they are shown the following help text.

Desired behavior
Instead, they should be presented with the following help text for the command List TCP Inlets on the default node.
Implementation details

Replace the Rust doc comment for the ListCommand struct with the following: List TCP Inlets on the default node in this file

We love helping new contributors! ❤
If you have questions or need help as you explore, please join us on Discord. If you're looking for other issues to contribute to, please checkout our good first issues.

assign me this issue i would like to work on this

@priyanshu9899 That's awesome, this is all yours. Please let us know if you have any questions as you explore. You can also ask questions on the contributors discord https://discord.gg/RAbjRr3kds


Replace instances of Tag in comments, variable names and tests to ModuleClass

Fixed in #68 and #104.


Attendance Report - Event Status

Hi Simon,
Having used the attendance report to review the last 12 months of activities I have found a number of activities that were not finalised correctly (and therefore don't count in the stats).  It would be great if the attendance report could identify whether an activity is still in draft or if it has been finalised.
thanks Alex

Hi Alex,
That shouldn't be too much trouble.
Would something like
Unit Council 26/07/2022 (C) -- Concluded
Knot Games 27/07/2022 (P) -- Planned
work for the headings on the report.
I could also show on the page as well.
Simon

hi Simon - my personal preference is to keep the data fields separate for sorting/filtering so I would add a new row like this if possible?

Is this what you mean by show on page or are you suggesting something different?
thanks
Alex


Added tip for exiting main() in xv6.md

Added tip for exiting main() in xv6
@gparmer

Brilliant, thanks a ton!


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_e75ipuag4f/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_e75ipuag4f/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_e75ipuag4f/clone/recipe/meta.yaml:46: missing_description: The recipe is missing a description
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_3cytak4uam/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_3cytak4uam/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_3cytak4uam/clone/recipe/meta.yaml:46: missing_description: The recipe is missing a description
Errors were found


CORS security: reflecting any origin header value when configured to *  is dangerous

When CORS policy is configured to WithOrigins("*"), asp.net CORS will actively convert it to reflect any Origin header value. This kind of behavior is dangerous and has caused many security problems in the past.
Some similar security issues:
cyu/rack-cors#126
https://nodesecurity.io/advisories/148
Some related blog posts:
https://ejj.io/misconfigured-cors/
http://blog.portswigger.net/2016/10/exploiting-cors-misconfigurations-for.html

Hi, is there something I forget to do to advance this report?
Thanks,
Jianjun

I think the right people need to be pinged: @blowdart

We've been looking at this. So yes, in theory it can do ugly things, if you end up reflecting the origin header, and you don't encode it, and it's reflected in the body. Which is pretty hard to do unless you end up using Html.Raw. Having said that we're looking at actually validating the incoming header to at least ensure it's a valid host, in terms of character validation, and ensuring you can't do * and allow credentials. We do default to not allowing credentials, so we don't exhibit one of the problems you linked to, because it's only dangerous with allow credentials and *.
We do have folks going through the portswigger blog to see if we can make the API safer and help to avoid some of that misconfiguration.

Hi Barry, thanks a lot for your reply.
Yeah, setting credentials to false by default can reduce misconfigurations, but the point I want to say here is that, converting Origin: * and Credentials: true to origin reflection is insecure and incompatible with CORS standards.
Current CORS standards(both W3C CORS and WHATWG fetch standard) have a clear definition for the wildcard *, which means any domain is allowed. But they also have another important security requirement: Origin: * and Credentials: true cannot be used at the same time, to avoid overly loose permissions. Currently all browsers follow this requirement to disallow this configuration combination.
If a framework actively converts * to reflect any origin header value, it means Origin: * and Credentials: true can be used at the same time. This behavior leads to CORS protocol's security design to be bypassed, causing many misconfiguration security problems.
Therefore, I suggest frameworks to follow the standard definition of *. When a user configures Origin: *, frameworks just directly returns Access-control-Allow-Access: *. When a user configures both Origin:* and Credentials: true , frameworks should warn users that this is a misconfiguration instead of returning any Origin header.
Thanks,
Jianjun

Yea this might have to wait till 3.0 because it's a breaking change

Thanks for your reply.
FYI,  here are some more similar issues:
Yii2 framework, https://github.com/yiisoft/yii2/issues/16193
Tomcat CORSFilter, CVE-2018-8014, https://bz.apache.org/bugzilla/show_bug.cgi?id=62343
Go CORS, https://github.com/rs/cors/issues/55

As part of https://github.com/aspnet/CORS/commit/2690a3f621578d8f656f4b21eef023f702a4a169, for 2.2.0, CorsPolicy will
a) start responding with wildcard origin (*) if a policy supports credentials and any origin is allowed.
b) log a warning that says that the current configuration is invalid.
For 3.0, as part of https://github.com/aspnet/AspNetCore/issues/3452, we can throw an error when building the policy that prevents this configuration.

@pranavkm @blowdart
Isn't this a breaking change? I understand it is security change, but as it returns * instead of convert to request's origin value, it breaks client side code.
From version number, it is cors 2.2 package. If it is breaking change, it should be in 3.0 not 2.2 right? How come this got passed and deployed to 2.2 package?
Personally I can get around this, since it happened on non production ready projects. I believe this should be noted down inside release note as breaking change. Am I correct? Unless I missed, inside migration from 2.1 to 2.2 documentation, it didn't mention this breaking change.

I believe this should be noted down inside release note as breaking change.

Yup, I'll get this added to the migration notes.


Adding snackbar to components docs.

Also cleaned up the snackbar demos a bit.
@surma or @Garbee: PTAL!
Thanks for the icon, @mustafa-x!

LGTM. Thanks for hooking this up!

Thanks for the review, @Garbee!

Something still unclear for me in the documentation; what should be specified as timeout value if you want the snackbar to be visible until clicked?

@mfonville: There's intentionally no option for that. As per the spec: "Snackbars automatically time out from the screen." and "They should not be persistent or be stacked, as they are above other elements on screen."
That said, if you need to break the rules on this one, you could always set a high timeout value and hope that's enough.

@sgomes I understand. Indeed best to follow the spec.
I was just thinking that snackbar is a perfect component to comply with the cookie-consent regulation. (And I think many people will use it for that).
Per site it differs whether they will need explicit consent (which would mean an unlimited timeout, or until interacting with the site) or whether an informing statement to the user about cookies is enough (for which a decent time-out should be acceptable).

The cookie thing isn't something we should worry about internally. This is an area where, we adhere to our spec. If you have different needs, custom JS solutions are possible and then developers just take advantage of our styles.
If we start to worry about laws of different places being applied within our components, that would lead us down a nasty rabbit hole.

@Garbee I agree with that and it should not be leading in the development of components. I am just informing about the real-world practices that are bound to be asked on stackoverflow :-)


Replace default favicon and metadata with Virufy logo and metadata

Currently, the Next.js logo is being used. We would like to replace that with the Virufy logo. Logo will primarily be seen in the browser tab. Metadata should also be updated, as it currently states, "Create Next App" in the browser tab.

I have reached out to sherie for the virufy logo with 256 * 256 px size, Will update once I hear from her.
For the Dynamic tab names I will need to add this file from 4.0 to this repo. I haven't worked a lot on this repo so can you help me figure out where the location of this should be? @gevuong

I found the Virufy logo in virufy4 and updated the metadata 👍🏼


Refactoring code. Improve stability of execution

@savvinsergey,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


2022.8 deletes the tag properties if it's empty, Dynamo should check for the missing property.

The specific crash occured on line 23 of the DynamoFindNotes function.

Proposed fix for the line 23:
var _tags = _json[$ "tags"] ?? [];

Proof for the assertion in the title, this happened to every asset in GM :

Happened to @Damon too on the discord.

Fixed in 2.2.0


question about table component

Hi everyone, I am just wondering how I could take advantage of the data-* attribute when using the mdl table.
data-mdl-data-table-selectable-name="materials[]" data-mdl-data-table-selectable-value="acrylic"
how could I listen for the select event and retrieve the selected rows?

This question is better suited for StackOverflow; please ask it there 😄 Thanks!

Actually, this is an internal problem. Since we haven't pushed 1.2 yet the docs still aren't updated.
Don't use the data table JS at all. It is deprecated. Follow these instructions on replacing it which will allow you to set the name and values for the checkboxes.

@Garbee thanks so much for the instruction. it's great help


Settings & Resources do not persist option changes

When I click the harmonize extended colours or generate state layers, and generate text styles, these options do not remain clicked when I check the settings afterwards. Great tool otherwise.
would love an integration with MUI, thanks team

Thank you!
We are working on resolving an issue with persistent settings, and should be out in an upcoming update.
For MUI integration request, are you looking for a React export? MUI is not a Google library.

It's good to hear that an update is coming, and Google is on top of it! I appreciate the system and its ability to improve app and web development cohesiveness.
I apologize for not knowing that MUI was developed by a third party. I really like the colour palette and would love to see an option to customize an MUI theme to incorporate all the different layers of the Material Design Palette.
Thank you for your hard work regardless!

Settings now persist :)


search term highlighting in search results (gallery)

Descriptive Summary
The gallery view search results display for NewspaperPage or NewspaperArticle objects should highlight the search term on the page thumbnail, if a keyword search parameter is included (and word-coordinate data exists for the image).
This behavior is similar to how search terms are highlighted on page images in the full viewer. An overlay is drawn over the thumbnail image in the region where the search term exists on the page. The overlay should be yellow and opaque enough to view the text below.
Rationale
By highlighting the search term on the thumbnail image, the user is able to quickly determine whether the search result is relevant to their information search.
Highlighting in search results is a common pattern in newspaper search systems. See below for examples.
Expected behavior
As a non-logged in user
When I am on the home page
And I do a keyword search
And the search results are displayed in "gallery" format
And my search result includes NewspaperPage or NewspaperArticle objects
And those objects have word-coordinate data
In the thumbnail image for those items
I should see a highlight for each match of the search term
So that I can tell if that result is relevant to my search
Additional info
Highlighted search term in results thumbnail examples:

Michigan Daily Digital Archive
Chronicling America

This ticket will be complete when:
Functionality described above is complete.

Added via #166.


Speakers - added images, updated components & styles & data json

Speakers changes

@DmytroPopovSSA Please resolve conflicts, then re-submit PR

@dunphyben conflict are resolved


Improve provider version handling

Remove google-beta provider, not used in the module
change version constraint to ensure we are at least with latest 3.x provider having a breaking change.
also allow google provider with version 4, as the module is compatible with it (removed the ~>3.0 constrain)
not require provider version 4, as we don't depend on any feature from the v4 provider

This PR will be re-released as part of a v1.3.1 bugfix.


Socket time out crashes ArcMap

If you are attempting to download vectors from the UVI and the request times out ArcMap crashes. In the GBDX log a socket time out is recorded. This may be related to the issue where downloading several types at the same time or a type with a large amount of items #29 causes ArcMap to crash.

I haven't seen socket timeouts in over a month. Attempts today have caused a socket timeout but the crash did not occur.


fix copy-past

My belated thanks! Will be pushing this out shortly in the next version of bug-clinic.


add github actions

tl;dr

Adds Github actions
Adds shellcheck script
Updates vscode config to use the correct lint tool

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#96  👈
#95
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @neekolas and the rest of your teammates on  Graphite

Merge activity

Jul 29, 12:34 PM PDT: @neekolas started a stack merge that includes this pull request via Graphite.


fastapi version 0.115.0 breaks fastapi-pagination

get_body_field has changed it signature to accept flat_dependant instead of dependant
.venv/lib/python3.12/site-packages/pytest_asyncio/plugin.py:343: in _asyncgen_fixture_wrapper
    result = event_loop.run_until_complete(setup())
../../../.pyenv/versions/3.12.2/lib/python3.12/asyncio/base_events.py:685: in run_until_complete
    return future.result()
.venv/lib/python3.12/site-packages/pytest_asyncio/plugin.py:325: in setup
    res = await gen_obj.__anext__()  # type: ignore[union-attr]
tests/conftest.py:120: in application
    application = create_app()
src/de_usage_alarms/api/app.py:45: in create_app
    add_pagination(app)
.venv/lib/python3.12/site-packages/fastapi_pagination/api.py:390: in add_pagination
    _add_pagination(parent)
.venv/lib/python3.12/site-packages/fastapi_pagination/api.py:380: in _add_pagination
    _update_route(route)
.venv/lib/python3.12/site-packages/fastapi_pagination/api.py:364: in _update_route
    route.body_field = get_body_field(dependant=route.dependant, name=route.unique_id)
E   TypeError: get_body_field() got an unexpected keyword argument 'dependant'

Hi @scastlara,
What version of fastapi-pagination are you using? Is it the latest one?

Hi @scastlara,
What version of fastapi-pagination are you using? Is it the latest one?

Well, this is embarrassing. It's working on the latest version so nevermind!
Sorry for the noise!

No worries, happy to help!


Drawn the entire class diagram of the JException

Type of PR
Drawn the entire class diagram of the jexception.
Description
Let me explain the function

JException
JException is a GlobalException class that has JErorCode as a factor and is a runtime exception class that inherits RuntimeException. + JErrorCode is an Enum class and has message and status as factors.

JExceptionFactory
The JExceptionFactory is a factory interface that creates a JException class and has a CustomJExceptionFactory that creates a CustomJException and an implementation called OriginJExceptionFactory that creates a JException that was originally defined.

JExceptionFilter
The JExceptionFilter catches the JException, inserts the information into the HttpServletResponse, and proceeds with the exception process with the JsonParser class that returns it to the json.

I think it's a good idea to clarify the method diagram notation so that you know it's a method immediately, and to display details about the features of the core feature class.
Okay, I'll separate the methods and fields in the class diagram.

d22bf40f09a17c12c5f2e910ded8006b20400851
The method area and field area of the class digest are separated and the factory class example is specified.


randygaul.net is down.

I had not other way to reach you to let you know.


Can not delete or rename file after send it and result failed

I want to rename or unlink the file after send file to telegram. but I can not do it!
See this sample code:
<?php
require __DIR__ . '/vendor/autoload.php';
require __DIR__ . '/config.php';

use Longman\TelegramBot\Request;
use Longman\TelegramBot\Telegram;

$telegram = new Telegram($bot_api_key, $bot_username);

$file = 'a.jpg';

$data = array(
	'chat_id' => $channel_name,
	'caption' => 'سلام',
	'photo' => Request::encodeFile($file),
);

$result = Request::sendPhoto($data);
if ($result->isOk()) {
	echo "ok";
} else {
	echo "error: " . $result->printError(true);
}

rename($file, 'x.jpg'); //OR: unlink($file);

In this case, if result was ok there are not any problem.
But when result $result->isOk() return false, Can not do rename or unlink (seem this problem just there are on windows).
Return these errors:
error: Error N: 400, Description: Bad Request: photo caption must be encoded in UTF-8
Warning: rename(a.jpg,x.jpg): The process cannot access the file because it is being used by another process. (code: 32) in a.php on line 27

error: Error N: 400, Description: Bad Request: photo caption must be encoded in UTF-8
Warning: unlink(a.jpg): Permission denied in a.php on line 28

Any way seem this is caused by https://github.com/php-telegram-bot/core/blob/master/src/Request.php#L423 and open file and don't close it.
For resolve the problem, I close file pointer manualy before rename or unlink command, by this command:
fclose($data['photo']);

And my problem resolve temporary, But I thinks must fix this in code basically.

Not quite sure how this can be solved, as the handle of the file is required for the sending.
An option would be to simply close all file handles after a send command is called, but maybe a user passes the handle and then re-uses it to do other operations on the file. It would be a strange side-effect for the file handle to be closed suddenly.
So your solution of closing the handle yourself is the correct way I think.

This code work well temporary:
<?php
require __DIR__ . '/vendor/autoload.php';
require __DIR__ . '/config.php';

use Longman\TelegramBot\Request;
use Longman\TelegramBot\Telegram;

$telegram = new Telegram($bot_api_key, $bot_username);

$file = 'a.jpg';
$file_pointer = Request::encodeFile($file); //keep pointer of file

$data = array(
	'chat_id' => $channel_name,
	'caption' => 'سلام',
	'photo' => $file_pointer, //use pointer of file
);

$result = Request::sendPhoto($data);
if ($result->isOk()) {
	echo "ok";
} else {
	echo "error: " . $result->printError(true);
}

@fclose($file_pointer); //close pointer of file manually

rename($file, 'x.jpg'); //OR: unlink($file); //this work well


[Azure Maps] REST API reveiw for Azure Maps Weather - AirQuality, Historical, and Tropical

Question 1- Service Name: Please paste service name in the name field above. Please provide the name that matches the GitHub repo path.
Answer- weather
Question 2- Has your service already been deployed?
Answer- yes
Question 3- Is this a new or existing API?
Answer- new API
Question 4- Key contact for the review. Please provide name and email of all attendees (be sure to forward this invite).
Answer- Eva Ou<EMAIL_ADDRESS>Question 5- Please provide a link to your REST API Review PR (Pull Request).
Answer- https://github.com/Azure/azure-rest-api-specs/pull/16802
Question 6- Provide a description of the material to be reviewed/changed. Provide a description or a link to the section of the API to be reviewed.
Answer- add new weather APIs including air quality, historical weather, and tropical storms.
Question 7- Provide a link to the PR/issue in the azure-rest-api-specs (public)  or azure/azure-rest-api-specs-pr (private) repo.
Answer- https://github.com/Azure/azure-rest-api-specs/pull/16802

API Stewardship Board Review 14-Dec-22
Note: This API is based on AccuWeather APIs | Tropical API

2nd Review - 1/6 at 4pm PST

API Stewardship Board Review 6-Jan-22
query
Should the parameter query be more specific, e.g. location?
Versioning
If possible, consider using date based versioning as the query parameter.
Action: @markweitzel will bring up with the API LT team if, b/c this is query parameter base, we should recommend date based or numeric.
Handling Errors
See if you can match the recommended error structure. See: Handling Errors
There was a discussion around the plurals of forecasts vs. forecast. This is a case where this is a close representation of Accu-Weather (which uses plural forecasts).

Review (special session) scheduled for 1/20 at 5pm PST - pending board confirmation


Add a test for relaunching the app

Since a bug was fixed in #75 about the background state not working correctly in iOS 13 (at least in the sim) it would have been nice to catch that earlier with a test rather than in someone's project, so I think we just need one of the tests to relaunch the app to avoid a regression.

Note: .runningBackgroundSuspended  doesn't happen from iOS 13 locally on my machine  on Xcode 11.4.1  as per article but on Travis it doesn't seem to happen from iOS 12(possibly 12.4) on Xcode 10.3 The issue doesn't seem to be linked to Swift version, neither extending the timeout to 3 minutes on Travis solves the issue. However when.runningBackground  process is active the CPU goes down to zero on Xcode Instruments so it looks like the background processes get suspended somehow.


Sandbox crashing when passing in two children to HBox

In trying to create an exemplar for wrapping content I ran into a strange crashing bug. The following video shows the behavior. There are a couple of unexpected things happening in this video:

Panel is not sizing around the legend HBox as expected when it is passed directly through.
When trying to pass through earth, water, and fire HBoxes  as children to an HBox in the panel, the page crashes as soon as wate has been typed in.

(Currently having issues uploading video will try again later)
I think pairing on this would be useful as I am not fully sure what to explore next.

Index: doc/layout-exemplars.html
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/doc/layout-exemplars.html b/doc/layout-exemplars.html
--- a/doc/layout-exemplars.html	(revision 3d50365f56b185c359820f57db8203a3b134db2c)
+++ b/doc/layout-exemplars.html	(date<PHONE_NUMBER>671)
@@ -86,6 +86,50 @@

Basic Layout

+
Match Button Widths

+
+
Wrap Content

+

+      There may be situations where you want content to wrap if a string or other dynamic element becomes too long.
+      This example shows a panel that acts as a type of legend. Each icon has a label. As the label width changes for one of the icons,
+      the others wrap accordingly.
+

+

+
+
+
+
Aligning Panels Across Screens

+

Panel Alignment

@@ -746,6 +790,16 @@

Manual Constraint

+
+
TrickyCentering

+
This example comes from a use case Greenhouse Gases

+
+
Conditional Alignment

+
This example comes from a use case in Build a Nucleus

+
+
Dynamic Labels

+
This example comes from a use case in Density

+

Disconnected Nodes Alignment

       A resizer animates to demonstrate how Manual Constraint can connect the layout of two separate nodes. The
@@ -806,6 +860,12 @@

Origin

+

+

+      As seen in fractions LabScreen
+

+
+
Origin Orientation

       Demos the orientation feature for alignment in flow and grid layouts. Essentially the x=0 or y=0 point of the
       nodes

This was a user error on my end. I was passing in a Node to a scene twice. The minified version of the phet-lib build did not provide an error for that which confused me. Closing.


Update RxBus.kt

-idea for enhancement
pull request for hacktoberfest xD

Thank you for the PR @jamesdeperio, will look forward reviewing the suggestions. I will close this for now since these are just comments. Cheers! 🎉


Preload references if present in result set

Now:
post = repo.query(Query(Post).join(:author)).first
post.author # => nil

Wanted:
post = repo.query(Query(Post).join(:author)).first
post.author.class # => User

It is now possible with custom DB mapping 🎉


Fix doc typo

hands down the simplest PR I've ever made.

CI fails because PRs from forks don't have access to the needed secrets. Merging anyways.


allow last summary stat to be used with filters

The last value for a given time series is already being
tracked as part of the summary stats, but was not supported
by the :stat operator. This change allows that stat to
be used as part of a filter.

/cc @gnauHekiM

This is not available in the latest 1.5.X versions, correct? Do we need to wait for 1.6.0 for this?

Correct. It is a small enough change that I suppose we could backport if there is demand.
You could also use one of the 1.6 RCs as long as you are comfortable with the caveats mentioned in:
https://github.com/Netflix/atlas/blob/master/CONTRIBUTING.md#versions-and-compatibility


Support for multi-line string literals

Will RON ever support multi-line string literals? This is a feature that missing from JSON, but is present in YAML, TOML, and in Rust proper, like so:
# YAML multi-line string literals
key: >
  This is a very long sentence
  that spans several lines in the YAML
  but which will be rendered as a string
  without carriage returns.

# TOML multi-line string literals
key = '''
    This is a very long sentence
    that spans several lines in the TOML
    but which will be rendered as a string
    without carriage returns.
'''

// Rust multi-line string literals
let key = r#"
    This is a very long sentence
    that spans several lines in Rust
    but which will be rendered as a string
    without carriage returns.
"#;

let key = r##"
    This is a sentence which happens
    to contain a '#' character inside.
"##;

This could be a useful for storing localized strings for dialogue boxes, for example, or other complex strings that are too tedious and error-prone to escape by hand. Here is some pseudo-RON syntax showing how this feature could be used:
System(
    arch: "x86_64-linux",
    shell: "/usr/bin/bash",
    packages: ["firefox", "git", "rustup"],
    startup: r##"
        #!/usr/bin/bash
        export PS1="..."
        echo "Done booting!"
    "##,
)

Given that RON already mimics Rust's notation quite well, adopting its syntax for raw string literals would make this feature feel right at home. See the official reference page and Rust By Example for details.

Sounds like a useful feature to me @ebkalderon! Do you want to work on this?

@torkleyy Sure! I can try.

It seems that the contrived examples I gave in the initial post are slightly inaccurate, as I didn't even bother to properly comprehend the lines I copy and pasted. 😆 YAML renders its multi-line string literals as one long line without any carriage returns, while TOML and Rust appear to preserve their carriage returns. The implementation I gave in #112 resembles the TOML and Rust behavior. Is this okay?

Yes, I think that's the behavior we want.

Cool, thank you. Just wanted to be completely sure.


"Odin protocol version error!" on Samsung Galaxy S7 (SM-G930A)

This is on Arch Linux, installed from the AUR just a few hours ago (version 1.4.1.r37.gb6fe7f8-1) with the heimdall-git package.
Here's the log:
[austin@wolfram samsung-tools]$ sudo heimdall print-pit --usb-log-level debug
Heimdall v1.4.1

Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.011193] [00000b92] libusb: debug [libusb_get_device_list]
[ 0.011240] [00000b92] libusb: debug [discovered_devs_append] need to increase capacity
[ 0.011258] [00000b92] libusb: debug [libusb_get_device_descriptor]
[ 0.011266] [00000b92] libusb: debug [libusb_get_device_descriptor]
[ 0.011273] [00000b92] libusb: debug [libusb_get_device_descriptor]
[ 0.011286] [00000b92] libusb: debug [libusb_open] open 4.82
[ 0.011329] [00000b92] libusb: debug [usbi_add_pollfd] add fd 9 events 4
[ 0.011340] [00000b92] libusb: debug [libusb_get_device_descriptor]
[ 0.011350] [00000b92] libusb: debug [libusb_get_config_descriptor] index 0
Claiming interface...
[ 0.011380] [00000b92] libusb: debug [libusb_detach_kernel_driver] interface 1
[ 0.011396] [00000b92] libusb: debug [libusb_claim_interface] interface 1
Setting up interface...
[ 0.011447] [00000b92] libusb: debug [libusb_set_interface_alt_setting] interface 1 altsetting 0

Initialising protocol...
[ 0.011729] [00000b92] libusb: debug [libusb_alloc_transfer] transfer 0x1fd9998
[ 0.011748] [00000b92] libusb: debug [libusb_submit_transfer] transfer 0x1fd9998
[ 0.011759] [00000b92] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.011777] [00000b92] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 4
[ 0.011808] [00000b92] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.011819] [00000b92] libusb: debug [handle_events] poll fds modified, reallocating
[ 0.011831] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.012041] [00000b92] libusb: debug [handle_events] poll() returned 1
[ 0.012090] [00000b92] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=4
[ 0.012103] [00000b92] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.012113] [00000b92] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.012122] [00000b92] libusb: debug [disarm_timerfd]
[ 0.012133] [00000b92] libusb: debug [usbi_handle_transfer_completion] transfer 0x1fd9998 has callback 0x7f1c25c90b90
[ 0.012142] [00000b92] libusb: debug [sync_transfer_cb] actual_length=4
[ 0.012160] [00000b92] libusb: debug [libusb_free_transfer] transfer 0x1fd9998
[ 0.012175] [00000b92] libusb: debug [libusb_alloc_transfer] transfer 0x1fd9998
[ 0.012184] [00000b92] libusb: debug [libusb_submit_transfer] transfer 0x1fd9998
[ 0.012192] [00000b92] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.012203] [00000b92] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 7
[ 0.012227] [00000b92] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.012236] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.012683] [00000b92] libusb: debug [handle_events] poll() returned 1
[ 0.012733] [00000b92] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=4
[ 0.012746] [00000b92] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.012756] [00000b92] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.012765] [00000b92] libusb: debug [disarm_timerfd]
[ 0.012776] [00000b92] libusb: debug [usbi_handle_transfer_completion] transfer 0x1fd9998 has callback 0x7f1c25c90b90
[ 0.012784] [00000b92] libusb: debug [sync_transfer_cb] actual_length=4
[ 0.012795] [00000b92] libusb: debug [libusb_free_transfer] transfer 0x1fd9998
Protocol initialisation successful.

Beginning session...
[ 0.012869] [00000b92] libusb: debug [libusb_alloc_transfer] transfer 0x1fc66b8
[ 0.012878] [00000b92] libusb: debug [libusb_submit_transfer] transfer 0x1fc66b8
[ 0.012884] [00000b92] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 0.012893] [00000b92] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 1024
[ 0.012910] [00000b92] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.012917] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.013595] [00000b92] libusb: debug [handle_events] poll() returned 1
[ 0.013625] [00000b92] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=1024
[ 0.013635] [00000b92] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.013643] [00000b92] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.013651] [00000b92] libusb: debug [disarm_timerfd]
[ 0.013660] [00000b92] libusb: debug [usbi_handle_transfer_completion] transfer 0x1fc66b8 has callback 0x7f1c25c90b90
[ 0.013666] [00000b92] libusb: debug [sync_transfer_cb] actual_length=1024
[ 0.013675] [00000b92] libusb: debug [libusb_free_transfer] transfer 0x1fc66b8
[ 0.013684] [00000b92] libusb: debug [libusb_alloc_transfer] transfer 0x1fc66b8
[ 0.013690] [00000b92] libusb: debug [libusb_submit_transfer] transfer 0x1fc66b8
[ 0.013696] [00000b92] libusb: debug [add_to_flying_list] arm timerfd for timeout in 100ms (first in line)
[ 0.013704] [00000b92] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 0
[ 0.013719] [00000b92] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.013727] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.056606] [00000b92] libusb: debug [handle_events] poll() returned 1
[ 0.056661] [00000b92] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=0
[ 0.056670] [00000b92] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.056677] [00000b92] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.056686] [00000b92] libusb: debug [disarm_timerfd]
[ 0.056695] [00000b92] libusb: debug [usbi_handle_transfer_completion] transfer 0x1fc66b8 has callback 0x7f1c25c90b90
[ 0.056702] [00000b92] libusb: debug [sync_transfer_cb] actual_length=0
[ 0.056711] [00000b92] libusb: debug [libusb_free_transfer] transfer 0x1fc66b8
[ 0.056725] [00000b92] libusb: debug [libusb_alloc_transfer] transfer 0x1fc66b8
[ 0.056731] [00000b92] libusb: debug [libusb_submit_transfer] transfer 0x1fc66b8
[ 0.056738] [00000b92] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 0.056747] [00000b92] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[ 0.056767] [00000b92] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.056774] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 3.056804] [00000b92] libusb: debug [handle_events] poll() returned 1
[ 3.056868] [00000b92] libusb: debug [handle_events] timerfd triggered
[ 3.056886] [00000b92] libusb: debug [libusb_cancel_transfer] transfer 0x1fc66b8
[ 3.057207] [00000b92] libusb: debug [disarm_timerfd]
[ 3.057310] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[ 3.057334] [00000b92] libusb: debug [handle_events] poll() returned 1
[ 3.057351] [00000b92] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[ 3.057361] [00000b92] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[ 3.057370] [00000b92] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[ 3.057378] [00000b92] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[ 3.057388] [00000b92] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[ 3.057396] [00000b92] libusb: debug [disarm_timerfd]
[ 3.057433] [00000b92] libusb: debug [usbi_handle_transfer_completion] transfer 0x1fc66b8 has callback 0x7f1c25c90b90
[ 3.057444] [00000b92] libusb: debug [sync_transfer_cb] actual_length=0
[ 3.057458] [00000b92] libusb: debug [libusb_free_transfer] transfer 0x1fc66b8
[ 3.307605] [00000b92] libusb: debug [libusb_alloc_transfer] transfer 0x1fc66b8
[ 3.307677] [00000b92] libusb: debug [libusb_submit_transfer] transfer 0x1fc66b8
[ 3.307695] [00000b92] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 3.307714] [00000b92] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[ 3.307760] [00000b92] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 3.307775] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 6.307787] [00000b92] libusb: debug [handle_events] poll() returned 1
[ 6.307851] [00000b92] libusb: debug [handle_events] timerfd triggered
[ 6.307865] [00000b92] libusb: debug [libusb_cancel_transfer] transfer 0x1fc66b8
[ 6.308262] [00000b92] libusb: debug [disarm_timerfd]
[ 6.308328] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[ 6.308349] [00000b92] libusb: debug [handle_events] poll() returned 1
[ 6.308367] [00000b92] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[ 6.308378] [00000b92] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[ 6.308387] [00000b92] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[ 6.308396] [00000b92] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[ 6.308406] [00000b92] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[ 6.308416] [00000b92] libusb: debug [disarm_timerfd]
[ 6.308426] [00000b92] libusb: debug [usbi_handle_transfer_completion] transfer 0x1fc66b8 has callback 0x7f1c25c90b90
[ 6.308436] [00000b92] libusb: debug [sync_transfer_cb] actual_length=0
[ 6.308450] [00000b92] libusb: debug [libusb_free_transfer] transfer 0x1fc66b8
[ 6.808585] [00000b92] libusb: debug [libusb_alloc_transfer] transfer 0x1fc66b8
[ 6.808646] [00000b92] libusb: debug [libusb_submit_transfer] transfer 0x1fc66b8
[ 6.808659] [00000b92] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 6.808674] [00000b92] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[ 6.808708] [00000b92] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 6.808718] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 9.808695] [00000b92] libusb: debug [handle_events] poll() returned 1
[ 9.808769] [00000b92] libusb: debug [handle_events] timerfd triggered
[ 9.808792] [00000b92] libusb: debug [libusb_cancel_transfer] transfer 0x1fc66b8
[ 9.809176] [00000b92] libusb: debug [disarm_timerfd]
[ 9.809205] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[ 9.809226] [00000b92] libusb: debug [handle_events] poll() returned 1
[ 9.809247] [00000b92] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[ 9.809264] [00000b92] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[ 9.809280] [00000b92] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[ 9.809295] [00000b92] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[ 9.809311] [00000b92] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[ 9.809328] [00000b92] libusb: debug [disarm_timerfd]
[ 9.809349] [00000b92] libusb: debug [usbi_handle_transfer_completion] transfer 0x1fc66b8 has callback 0x7f1c25c90b90
[ 9.809366] [00000b92] libusb: debug [sync_transfer_cb] actual_length=0
[ 9.809386] [00000b92] libusb: debug [libusb_free_transfer] transfer 0x1fc66b8
[10.559545] [00000b92] libusb: debug [libusb_alloc_transfer] transfer 0x1fc66b8
[10.559611] [00000b92] libusb: debug [libusb_submit_transfer] transfer 0x1fc66b8
[10.559656] [00000b92] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[10.559676] [00000b92] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[10.559720] [00000b92] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[10.559734] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[13.559743] [00000b92] libusb: debug [handle_events] poll() returned 1
[13.559818] [00000b92] libusb: debug [handle_events] timerfd triggered
[13.559839] [00000b92] libusb: debug [libusb_cancel_transfer] transfer 0x1fc66b8
[13.560226] [00000b92] libusb: debug [disarm_timerfd]
[13.560270] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[13.560289] [00000b92] libusb: debug [handle_events] poll() returned 1
[13.560306] [00000b92] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[13.560316] [00000b92] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[13.560325] [00000b92] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[13.560333] [00000b92] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[13.560343] [00000b92] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[13.560351] [00000b92] libusb: debug [disarm_timerfd]
[13.560360] [00000b92] libusb: debug [usbi_handle_transfer_completion] transfer 0x1fc66b8 has callback 0x7f1c25c90b90
[13.560369] [00000b92] libusb: debug [sync_transfer_cb] actual_length=0
[13.560382] [00000b92] libusb: debug [libusb_free_transfer] transfer 0x1fc66b8
[14.560539] [00000b92] libusb: debug [libusb_alloc_transfer] transfer 0x1fc66b8
[14.560671] [00000b92] libusb: debug [libusb_submit_transfer] transfer 0x1fc66b8
[14.560687] [00000b92] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[14.560706] [00000b92] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[14.560750] [00000b92] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[14.560762] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[17.560776] [00000b92] libusb: debug [handle_events] poll() returned 1
[17.560859] [00000b92] libusb: debug [handle_events] timerfd triggered
[17.560876] [00000b92] libusb: debug [libusb_cancel_transfer] transfer 0x1fc66b8
[17.561195] [00000b92] libusb: debug [disarm_timerfd]
[17.561250] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[17.561271] [00000b92] libusb: debug [handle_events] poll() returned 1
[17.561290] [00000b92] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[17.561303] [00000b92] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[17.561314] [00000b92] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[17.561323] [00000b92] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[17.561335] [00000b92] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[17.561346] [00000b92] libusb: debug [disarm_timerfd]
[17.561357] [00000b92] libusb: debug [usbi_handle_transfer_completion] transfer 0x1fc66b8 has callback 0x7f1c25c90b90
[17.561368] [00000b92] libusb: debug [sync_transfer_cb] actual_length=0
[17.561383] [00000b92] libusb: debug [libusb_free_transfer] transfer 0x1fc66b8
[18.811551] [00000b92] libusb: debug [libusb_alloc_transfer] transfer 0x1fc66b8
[18.811623] [00000b92] libusb: debug [libusb_submit_transfer] transfer 0x1fc66b8
[18.811641] [00000b92] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[18.811660] [00000b92] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[18.811708] [00000b92] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[18.811723] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[21.811745] [00000b92] libusb: debug [handle_events] poll() returned 1
[21.811852] [00000b92] libusb: debug [handle_events] timerfd triggered
[21.811870] [00000b92] libusb: debug [libusb_cancel_transfer] transfer 0x1fc66b8
[21.812173] [00000b92] libusb: debug [disarm_timerfd]
[21.812217] [00000b92] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[21.812234] [00000b92] libusb: debug [handle_events] poll() returned 1
[21.812250] [00000b92] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[21.812261] [00000b92] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[21.812270] [00000b92] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[21.812279] [00000b92] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[21.812289] [00000b92] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[21.812298] [00000b92] libusb: debug [disarm_timerfd]
[21.812307] [00000b92] libusb: debug [usbi_handle_transfer_completion] transfer 0x1fc66b8 has callback 0x7f1c25c90b90
[21.812316] [00000b92] libusb: debug [sync_transfer_cb] actual_length=0
[21.812330] [00000b92] libusb: debug [libusb_free_transfer] transfer 0x1fc66b8
Releasing device interface...
[21.812373] [00000b92] libusb: debug [libusb_release_interface] interface 1

[21.812423] [00000b92] libusb: debug [libusb_close]
[21.812443] [00000b92] libusb: debug [usbi_remove_pollfd] remove fd 9
[21.812470] [00000b92] libusb: debug [libusb_exit]
[21.812480] [00000b92] libusb: debug [libusb_exit] destroying default context

If there's anything else I can provide, let me know.

I'm having a similar issue, on Debian 9.2, with heimdall v1.4.2 (built from commit 9bcc42d, which at the time I post this is HEAD). I'm also using a Samsung Galaxy S7 SM-G930A, and getting the error message "Odin protocol version error!" on it. Here's my log:
$ ./bin/heimdall version
v1.4.2
$ ./bin/heimdall print-pit --usb-log-level debug
Heimdall v1.4.2

Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.003532] [00000b3c] libusb: debug [libusb_get_device_list]
[ 0.003549] [00000b3c] libusb: debug [libusb_get_device_descriptor]
[ 0.003551] [00000b3c] libusb: debug [libusb_get_device_descriptor]
[ 0.003552] [00000b3c] libusb: debug [libusb_get_device_descriptor]
[ 0.003554] [00000b3c] libusb: debug [libusb_get_device_descriptor]
[ 0.003556] [00000b3c] libusb: debug [libusb_get_device_descriptor]
[ 0.003559] [00000b3c] libusb: debug [libusb_open] open 1.13
[ 0.003589] [00000b3c] libusb: debug [usbi_add_pollfd] add fd 9 events 4
[ 0.003593] [00000b3c] libusb: debug [libusb_get_device_descriptor]
[ 0.003596] [00000b3c] libusb: debug [libusb_get_config_descriptor] index 0
Claiming interface...
[ 0.003609] [00000b3c] libusb: debug [libusb_claim_interface] interface 1
Setting up interface...
[ 0.003629] [00000b3c] libusb: debug [libusb_set_interface_alt_setting] interface 1 altsetting 0

Initialising protocol...
[ 0.003924] [00000b3c] libusb: debug [libusb_alloc_transfer] transfer 0x55f02cdb2020
[ 0.003929] [00000b3c] libusb: debug [libusb_submit_transfer] transfer 0x55f02cdb2020
[ 0.003931] [00000b3c] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.003936] [00000b3c] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 4
[ 0.003946] [00000b3c] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.003951] [00000b3c] libusb: debug [handle_events] poll fds modified, reallocating
[ 0.003962] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.003981] [00000b3c] libusb: debug [handle_events] poll() returned 1
[ 0.003986] [00000b3c] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=4
[ 0.003990] [00000b3c] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.003994] [00000b3c] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.003999] [00000b3c] libusb: debug [disarm_timerfd]
[ 0.004002] [00000b3c] libusb: debug [usbi_handle_transfer_completion] transfer 0x55f02cdb2020 has callback 0x7f408cd59ff0
[ 0.004004] [00000b3c] libusb: debug [sync_transfer_cb] actual_length=4
[ 0.004015] [00000b3c] libusb: debug [libusb_free_transfer] transfer 0x55f02cdb2020
[ 0.004021] [00000b3c] libusb: debug [libusb_alloc_transfer] transfer 0x55f02cdb2020
[ 0.004025] [00000b3c] libusb: debug [libusb_submit_transfer] transfer 0x55f02cdb2020
[ 0.004028] [00000b3c] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.004032] [00000b3c] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 7
[ 0.004038] [00000b3c] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.004042] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.004870] [00000b3c] libusb: debug [handle_events] poll() returned 1
[ 0.004876] [00000b3c] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=4
[ 0.004879] [00000b3c] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.004883] [00000b3c] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.004886] [00000b3c] libusb: debug [disarm_timerfd]
[ 0.004891] [00000b3c] libusb: debug [usbi_handle_transfer_completion] transfer 0x55f02cdb2020 has callback 0x7f408cd59ff0
[ 0.004895] [00000b3c] libusb: debug [sync_transfer_cb] actual_length=4
[ 0.004899] [00000b3c] libusb: debug [libusb_free_transfer] transfer 0x55f02cdb2020
Protocol initialisation successful.

Beginning session...
[ 0.004925] [00000b3c] libusb: debug [libusb_alloc_transfer] transfer 0x55f02cdb9d40
[ 0.004928] [00000b3c] libusb: debug [libusb_submit_transfer] transfer 0x55f02cdb9d40
[ 0.004931] [00000b3c] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 0.004934] [00000b3c] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 1024
[ 0.004941] [00000b3c] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.004945] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.005867] [00000b3c] libusb: debug [handle_events] poll() returned 1
[ 0.005871] [00000b3c] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=1024
[ 0.005875] [00000b3c] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.005880] [00000b3c] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.005884] [00000b3c] libusb: debug [disarm_timerfd]
[ 0.005889] [00000b3c] libusb: debug [usbi_handle_transfer_completion] transfer 0x55f02cdb9d40 has callback 0x7f408cd59ff0
[ 0.005893] [00000b3c] libusb: debug [sync_transfer_cb] actual_length=1024
[ 0.005898] [00000b3c] libusb: debug [libusb_free_transfer] transfer 0x55f02cdb9d40
[ 0.005903] [00000b3c] libusb: debug [libusb_alloc_transfer] transfer 0x55f02cdb9d40
[ 0.005907] [00000b3c] libusb: debug [libusb_submit_transfer] transfer 0x55f02cdb9d40
[ 0.005911] [00000b3c] libusb: debug [add_to_flying_list] arm timerfd for timeout in 100ms (first in line)
[ 0.005916] [00000b3c] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 0
[ 0.005923] [00000b3c] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.005928] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.049005] [00000b3c] libusb: debug [handle_events] poll() returned 1
[ 0.049019] [00000b3c] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=0
[ 0.049021] [00000b3c] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.049023] [00000b3c] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.049025] [00000b3c] libusb: debug [disarm_timerfd]
[ 0.049028] [00000b3c] libusb: debug [usbi_handle_transfer_completion] transfer 0x55f02cdb9d40 has callback 0x7f408cd59ff0
[ 0.049030] [00000b3c] libusb: debug [sync_transfer_cb] actual_length=0
[ 0.049032] [00000b3c] libusb: debug [libusb_free_transfer] transfer 0x55f02cdb9d40
[ 0.049037] [00000b3c] libusb: debug [libusb_alloc_transfer] transfer 0x55f02cdb9d40
[ 0.049039] [00000b3c] libusb: debug [libusb_submit_transfer] transfer 0x55f02cdb9d40
[ 0.049040] [00000b3c] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 0.049043] [00000b3c] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[ 0.049050] [00000b3c] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.049053] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 3.049116] [00000b3c] libusb: debug [handle_events] poll() returned 1
[ 3.049155] [00000b3c] libusb: debug [handle_events] timerfd triggered
[ 3.049166] [00000b3c] libusb: debug [libusb_cancel_transfer] transfer 0x55f02cdb9d40
[ 3.049224] [00000b3c] libusb: debug [disarm_timerfd]
[ 3.049238] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[ 3.049248] [00000b3c] libusb: debug [handle_events] poll() returned 1
[ 3.049258] [00000b3c] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[ 3.049267] [00000b3c] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[ 3.049274] [00000b3c] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[ 3.049285] [00000b3c] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[ 3.049299] [00000b3c] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[ 3.049311] [00000b3c] libusb: debug [disarm_timerfd]
[ 3.049319] [00000b3c] libusb: debug [usbi_handle_transfer_completion] transfer 0x55f02cdb9d40 has callback 0x7f408cd59ff0
[ 3.049332] [00000b3c] libusb: debug [sync_transfer_cb] actual_length=0
[ 3.049347] [00000b3c] libusb: debug [libusb_free_transfer] transfer 0x55f02cdb9d40
[ 3.299510] [00000b3c] libusb: debug [libusb_alloc_transfer] transfer 0x55f02cdb9d40
[ 3.299544] [00000b3c] libusb: debug [libusb_submit_transfer] transfer 0x55f02cdb9d40
[ 3.299552] [00000b3c] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 3.299563] [00000b3c] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[ 3.299592] [00000b3c] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 3.299601] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 6.299648] [00000b3c] libusb: debug [handle_events] poll() returned 1
[ 6.299696] [00000b3c] libusb: debug [handle_events] timerfd triggered
[ 6.299704] [00000b3c] libusb: debug [libusb_cancel_transfer] transfer 0x55f02cdb9d40
[ 6.299763] [00000b3c] libusb: debug [disarm_timerfd]
[ 6.299778] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[ 6.299791] [00000b3c] libusb: debug [handle_events] poll() returned 1
[ 6.299804] [00000b3c] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[ 6.299813] [00000b3c] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[ 6.299825] [00000b3c] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[ 6.299833] [00000b3c] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[ 6.299845] [00000b3c] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[ 6.299858] [00000b3c] libusb: debug [disarm_timerfd]
[ 6.299866] [00000b3c] libusb: debug [usbi_handle_transfer_completion] transfer 0x55f02cdb9d40 has callback 0x7f408cd59ff0
[ 6.299875] [00000b3c] libusb: debug [sync_transfer_cb] actual_length=0
[ 6.299897] [00000b3c] libusb: debug [libusb_free_transfer] transfer 0x55f02cdb9d40
[ 6.800056] [00000b3c] libusb: debug [libusb_alloc_transfer] transfer 0x55f02cdb9d40
[ 6.800094] [00000b3c] libusb: debug [libusb_submit_transfer] transfer 0x55f02cdb9d40
[ 6.800105] [00000b3c] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 6.800117] [00000b3c] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[ 6.800145] [00000b3c] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 6.800159] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 9.800206] [00000b3c] libusb: debug [handle_events] poll() returned 1
[ 9.800254] [00000b3c] libusb: debug [handle_events] timerfd triggered
[ 9.800262] [00000b3c] libusb: debug [libusb_cancel_transfer] transfer 0x55f02cdb9d40
[ 9.800324] [00000b3c] libusb: debug [disarm_timerfd]
[ 9.800338] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[ 9.800348] [00000b3c] libusb: debug [handle_events] poll() returned 1
[ 9.800360] [00000b3c] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[ 9.800368] [00000b3c] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[ 9.800375] [00000b3c] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[ 9.800379] [00000b3c] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[ 9.800386] [00000b3c] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[ 9.800393] [00000b3c] libusb: debug [disarm_timerfd]
[ 9.800398] [00000b3c] libusb: debug [usbi_handle_transfer_completion] transfer 0x55f02cdb9d40 has callback 0x7f408cd59ff0
[ 9.800406] [00000b3c] libusb: debug [sync_transfer_cb] actual_length=0
[ 9.800420] [00000b3c] libusb: debug [libusb_free_transfer] transfer 0x55f02cdb9d40
[10.550600] [00000b3c] libusb: debug [libusb_alloc_transfer] transfer 0x55f02cdb9d40
[10.550634] [00000b3c] libusb: debug [libusb_submit_transfer] transfer 0x55f02cdb9d40
[10.550642] [00000b3c] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[10.550654] [00000b3c] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[10.550683] [00000b3c] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[10.550695] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[13.550731] [00000b3c] libusb: debug [handle_events] poll() returned 1
[13.550766] [00000b3c] libusb: debug [handle_events] timerfd triggered
[13.550773] [00000b3c] libusb: debug [libusb_cancel_transfer] transfer 0x55f02cdb9d40
[13.550833] [00000b3c] libusb: debug [disarm_timerfd]
[13.550849] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[13.550858] [00000b3c] libusb: debug [handle_events] poll() returned 1
[13.550880] [00000b3c] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[13.550888] [00000b3c] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[13.550901] [00000b3c] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[13.550911] [00000b3c] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[13.550922] [00000b3c] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[13.550932] [00000b3c] libusb: debug [disarm_timerfd]
[13.550946] [00000b3c] libusb: debug [usbi_handle_transfer_completion] transfer 0x55f02cdb9d40 has callback 0x7f408cd59ff0
[13.550955] [00000b3c] libusb: debug [sync_transfer_cb] actual_length=0
[13.550969] [00000b3c] libusb: debug [libusb_free_transfer] transfer 0x55f02cdb9d40
[14.551147] [00000b3c] libusb: debug [libusb_alloc_transfer] transfer 0x55f02cdb9d40
[14.551180] [00000b3c] libusb: debug [libusb_submit_transfer] transfer 0x55f02cdb9d40
[14.551187] [00000b3c] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[14.551199] [00000b3c] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[14.551228] [00000b3c] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[14.551240] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[17.551294] [00000b3c] libusb: debug [handle_events] poll() returned 1
[17.551326] [00000b3c] libusb: debug [handle_events] timerfd triggered
[17.551334] [00000b3c] libusb: debug [libusb_cancel_transfer] transfer 0x55f02cdb9d40
[17.551433] [00000b3c] libusb: debug [disarm_timerfd]
[17.551449] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[17.551460] [00000b3c] libusb: debug [handle_events] poll() returned 1
[17.551472] [00000b3c] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[17.551481] [00000b3c] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[17.551491] [00000b3c] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[17.551499] [00000b3c] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[17.551508] [00000b3c] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[17.551518] [00000b3c] libusb: debug [disarm_timerfd]
[17.551529] [00000b3c] libusb: debug [usbi_handle_transfer_completion] transfer 0x55f02cdb9d40 has callback 0x7f408cd59ff0
[17.551542] [00000b3c] libusb: debug [sync_transfer_cb] actual_length=0
[17.551556] [00000b3c] libusb: debug [libusb_free_transfer] transfer 0x55f02cdb9d40
[18.801715] [00000b3c] libusb: debug [libusb_alloc_transfer] transfer 0x55f02cdb9d40
[18.801748] [00000b3c] libusb: debug [libusb_submit_transfer] transfer 0x55f02cdb9d40
[18.801755] [00000b3c] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[18.801769] [00000b3c] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[18.801806] [00000b3c] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[18.801819] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[21.801852] [00000b3c] libusb: debug [handle_events] poll() returned 1
[21.801897] [00000b3c] libusb: debug [handle_events] timerfd triggered
[21.801905] [00000b3c] libusb: debug [libusb_cancel_transfer] transfer 0x55f02cdb9d40
[21.801964] [00000b3c] libusb: debug [disarm_timerfd]
[21.801978] [00000b3c] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[21.801991] [00000b3c] libusb: debug [handle_events] poll() returned 1
[21.802007] [00000b3c] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[21.802019] [00000b3c] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[21.802027] [00000b3c] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[21.802037] [00000b3c] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[21.802048] [00000b3c] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[21.802059] [00000b3c] libusb: debug [disarm_timerfd]
[21.802071] [00000b3c] libusb: debug [usbi_handle_transfer_completion] transfer 0x55f02cdb9d40 has callback 0x7f408cd59ff0
[21.802082] [00000b3c] libusb: debug [sync_transfer_cb] actual_length=0
[21.802103] [00000b3c] libusb: debug [libusb_free_transfer] transfer 0x55f02cdb9d40
Releasing device interface...
[21.802143] [00000b3c] libusb: debug [libusb_release_interface] interface 1

[21.802182] [00000b3c] libusb: debug [libusb_close]
[21.802203] [00000b3c] libusb: debug [usbi_remove_pollfd] remove fd 9
[21.802230] [00000b3c] libusb: debug [libusb_exit]
[21.802240] [00000b3c] libusb: debug [libusb_exit] destroying default context
$

Please let me know if there's any other information I have that may be useful!

Same exact problem but on Windows. Phone says Odio protocl version error. Heimdall says libusbx: error [init_device] device '\\.\USB#VID_1532&PID_0504&MI_03#7&124BE690&0&0003' is no longer connected!

I have a patch for this, is @Benjamin-Dobell still maintaining this project?

@Blefish Yes, and PRs are welcome. They just need to be thorough. Fixes for one device tend to break them for others.

There is a patch available here, can anyone confirm whether it works? #459

Can i install twrp with heimdall as i tried to install twrp with herolte odin 3.14 but it failed. After googling I found that there is a problem with the SM-G930A. If it shows Qualcomm secure boot enabled then we can't install twrp. So odin failed to install twrp and shows an error SECURE CHECK FAIL : Recovery
Thanks in advance.

Can i install twrp with heimdall as i tried to install twrp with herolte odin 3.14 but it failed. After googling I found that there is a problem with the SM-G930A. If it shows Qualcomm secure boot enabled then we can't install twrp. So odin failed to install twrp and shows an error SECURE CHECK FAIL : Recovery Thanks in advance.

Did you ever find a resolution for this?  I am trying to flash an S10 with Lineage, and I'm getting the "Odin protocol version error!", and mine too is saying "Qualcomm secureboot : enabled".  Which I have a feeling is causing my problem.
This device was already rather bricked because using the stock recovery, I did a "wipe and restore to factory defaults", but that process didn't work right because it just boot loops into recovery now.  So I cannot boot in to the stock android to turn on developer mode.  I was basically just hoping that I could salvage this phone but I have a feeling it's going to have to go to e-waste.


Problems when changing t5 model to other Causal Models

Hi,
I am trying to use this framework on causal models such as llama based models and other LLMs. For my case, I use Tinyllama and Pythia to replace the T5 model in the original pipeline (TinyLlama-1.1B-Chat-v1.0 and EleutherAI/pythia-1.4b).
However, after I replace the model and run through all the steps provided in the code, which is, using the reasoning from GPT to fine-tune a smaller model (in this case Tinyllama and Pythia) and also use the external knowledge from KB. The response of the fine-tuned model is not readable and performs badly. For example, in medqa dataset, using wikipedia KB, and the provided reranker, the distilled model response text like
"A correct: that5). ( answer5C is the to of answer
is the A is root (
A:). C, - A
also: for:. C,
:) is of: isC.:
1 C a
ThereforeC
=:),,, C"
which is not a readable sentence and definitely fail in this task. I want to know why this happen and hope you can give me some possible explanations.
Other details:

To make sure I reproduce the code correctly, I also perform the pipeline on FlanT5-base, which works fine
When distilling causal models, I use the "run_clm_deepspeed.py" code instead of the seq2seq one
The reproduce process is based on medqa dataset and using wikipedia as the knowledge base

Thank you for your interest in our work!
Currently, our code supports only T5-based models. As a result, causal models may not function correctly. Implementing support for causal models requires different data preprocessing and generation codes, which are not yet included in our repository.
We will update our repository as soon as possible to include these features.
Thank you for your understanding and patience!


toType - better implementation for typeof

I use this method a lot and thought it might be also relevant to this repo.

👍


Failed to send request: {"jsonrpc":"2.0"..... flutter_windows_v1.7.8+hotfix.3-stable

I am getting plenty of the below exception
Failed to send request: {"jsonrpc":"2.0","id":"593","method":"getVM","params":{}}
Failed to send request: {"jsonrpc":"2.0","id":"594","method":"getVM","params":{}}
Failed to send request: {"jsonrpc":"2.0","id":"595","method":"getVM","params":{}}
Failed to send request: {"jsonrpc":"2.0","id":"596","method":"getVM","params":{}}
Failed to send request: {"jsonrpc":"2.0","id":"597","method":"getVM","params":{}}
Failed to send request: {"jsonrpc":"2.0","id":"598","method":"getVM","params":{}}
Failed to send request: {"jsonrpc":"2.0","id":"599","method":"getVM","params":{}}
Failed to send request: {"jsonrpc":"2.0","id":"600","method":"getVM","params":{}}
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.7.8+hotfix.3, on Microsoft Windows [Version 10.0.17763.615], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 3.4)
[√] VS Code (version 1.36.1)
[√] Connected device (1 available)
When i switched to master branch I got Lost connection to device..
Syncing files to device SM G965F...
E/DartVM  (30216): vm-service: Error: Unhandled exception:
E/DartVM  (30216): Unrecognized response: null
E/DartVM  (30216): #0      new Response.from (dart:_vmservice/message_router.dart:70:7)
E/DartVM  (30216): #1      Message._setResponseFromPort (dart:_vmservice/message.dart:244:29)
E/DartVM  (30216): #2      Message.sendToVM. (dart:_vmservice/message.dart:216:7)
E/DartVM  (30216): #3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
E/DartVM  (30216):
E/flutter (30216): [ERROR:flutter/runtime/dart_isolate.cc(814)] Unhandled exception:
E/flutter (30216): Unrecognized response: null
E/flutter (30216): #0      new Response.from (dart:_vmservice/message_router.dart:70:7)
E/flutter (30216): #1      Message._setResponseFromPort (dart:_vmservice/message.dart:244:29)
E/flutter (30216): #2      Message.sendToVM. (dart:_vmservice/message.dart:216:7)
E/flutter (30216): #3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
Lost connection to device.
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, v1.8.2-pre.61, on Microsoft Windows [Version 10.0.17763.615], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
[√] Android Studio (version 3.4)
[√] VS Code (version 1.36.1)
[√] Connected device (3 available)

I am having the same issue on macOS. Using 'flutter run' in terminal doesn't have this issue. I am on master branch.

Am seeing this on Windows in Android Studio. Like @rahulmanthena using flutter run in a command prompt doesn't have this issue.

I am having the same issue on macOS. Using 'flutter run' in terminal doesn't have this issue. I am on master branch.

Same problem here

Thank you @rahulmanthena tried to run via command line and is working correctly.

also same issue on MacOSX

Same issue

vm-service: Error: Unhandled exception:
Unrecognized response: null
#0      new Response.from (dart:_vmservice/message_router.dart:70:7)
#1      Message._setResponseFromPort (dart:_vmservice/message.dart:244:29)
#2      Message.sendToVM. (dart:_vmservice/message.dart:216:7)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
[VERBOSE-2:dart_isolate.cc(814)] Unhandled exception:
Unrecognized response: null
#0      new Response.from (dart:_vmservice/message_router.dart:70:7)
#1      Message._setResponseFromPort (dart:_vmservice/message.dart:244:29)
#2      Message.sendToVM. (dart:_vmservice/message.dart:216:7)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
Lost connection to device.
Failed to send request: {"jsonrpc":"2.0","id":"7","method":"getVM","params":{}}

[✓] Flutter (Channel master, v1.8.2-pre.30, on Mac OS X 10.14.5 18F132, locale nl-NL)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
[✓] iOS tools - develop for iOS devices
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.4)
[✓] IntelliJ IDEA Community Edition (version 2018.2.7)
[✓] Connected device (3 available)

Same here, but on channel stable.
[√] Flutter (Channel stable, v1.7.8+hotfix.3, on Microsoft Windows [Version 10.0.17763.615], locale de-DE)
• Flutter version 1.7.8+hotfix.3
• Framework revision b712a172f9 (4 days ago), 2019-07-09 13:14:38 -0700
• Engine revision 54ad777fd2
• Dart version 2.4.0
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[√] Android Studio (version 3.4)
• Flutter plugin version 37.0.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[√] IntelliJ IDEA Ultimate Edition (version 2019.1)
• Flutter plugin version 36.0.4
• Dart plugin version 191.7830
[√] Connected device (1 available)
• android-arm64 • Android 9 (API 28)

Facing the same problem on Android Studio (Windows 10). flutter run via the console, however, is working.
[√] Flutter (Channel master, v1.8.2-pre.29, on Microsoft Windows [Version 10.0.18362.239], locale en-FJ)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.1.6)
[√] Android Studio (version 3.4)
[√] VS Code (version 1.36.1)
[√] Connected device (2 available)

Same issue with Idea IDE.

the same problem in master and stable

wow shocked to see so many people also having this problem. Running Mojave, with Intellij Ultimate, with the latest iPad running the latest version.

This might be the same as https://github.com/flutter/flutter/issues/36150

Assuming this is a duplicate of https://github.com/flutter/flutter/issues/36150. Closing.

Follow this issue for the fix, which will likely involve updating IntelliJ plugin: https://github.com/flutter/flutter-intellij/issues/3670

I am also facing this issue on flutter master channel in MacOs

This has been fixed in flutter/flutter-intelli#3669. Updating to the latest IntelliJ/Android Studio plugin should address the issue.

I'm seeing this issue as well. Have Flutter plugin v47.1.2 and Dart v193.9361. Android Studio v4.0.1.

Android Studio 4.2
Dart Plugin 202.8488
Flutter Plugin 56.0.2

Dart version 2.13.0
Flutter version 2.2.0


Configurable delay durations

Issue
It should be possible to configure the duration for delays:

reconnectDelay -  Milliseconds between WebSocket reconnect attempts. Defaults to 3000.
subscribeStaleDelay - Milliseconds until a subscribe attempt is made on a stale resource. Zero means no attempt to subscribe. Defaults to 2000.
subscribeRetryDelay - Milliseconds between subscribe attempts on a stale resource after a failed stale subscribe. Zero means no retries. Defaults to 10000.
unsubscribeDelay - Milliseconds between stopping listening to a resource, and the resource being unsubscribed. Defaults to 5000.

Resolved in PR #62


[ILLA App idea] Gift Swap Guest List

Description
Create an Illa Cloud App that uses Appwrite to generate a gift swap guest list.
Additional Information
This app uses Appwrite Cloud as the database. It allows the user to create a guest to add to a gift exchange via a form that saves the data to appwrite, and lists the guests saved in the database.

/assign @AudreyLin