Token sub is false if using uuid instead of int

Subject of the issue
Token sub is false if using uuid instead of int
Steps to reproduce

Create a trait to use uuids as user primary key
Login to request a token

Expected behaviour
Token sub should be user-> id  (UUID)
8b597663-8bbf-4d40-99c7-e35f64710394
Actual behaviour
I get the first number of the uuid instead
8
if user's uuid does not start with a number we get a 0
{
  "iss": "http://api.starter.test/api/auth/login",
  "iat":<PHONE_NUMBER>,
  "exp":<PHONE_NUMBER>,
  "nbf":<PHONE_NUMBER>,
  "jti": "8KoLMTMOwjUklB1b",
  "sub": "0",
  "prv": "23bd5c8949f600adb39e701c400872db7a5976f7"
}

@hgoncalves have a look at this issue: https://github.com/PHP-Open-Source-Saver/jwt-auth/issues/130
Does this solve your problem?

@eschricker no it did not solve my problem but it helped me find the solution.
My primary is indeed id therefore I was not useful to change to set protected $primaryKey = 'id';
But and is important 😄 , adding the following lines to User model solved it 🥳 .
protected $keyType = 'uuid';

public $incrementing = false;


Poor results when using pretrained model in sparse view setting

Hello, thanks for your wonderful work.
We employ the pretrained model offered in BaiduNetDisk without finetuning to predict in a sparse view setting (67.5°).
Input views:

Interpolated target view

The results are much worse than the sparse view experiment shown in the paper.
The problem is similar to #32 where Gaussian regression network fails to learn how to combine the Gaussian from the left/right views.
It seems that the pretrained model cannot be used directly in sparse settings.
If so, will finetuing on sparse view datasets alleviate the problem?
Thanks for your time!

This issue is also related to #13 and #35

We use the model trained under 8-camera setup to perform inference on a 6-camera setup.

Could you possibly provide the pretrained model under 8 camera settings, which you mentioned in Table 2. in the paper?
Thanks for your help

Hi, thanks for your interest.
The pretrained model is trained for the 22.5° setup, which is significantly different from the targeting sparse view. The sparse view experiment in our paper uses the model trained on 45° synthetic data. The model can not generalize well to such an obvious domain gap if not trained on synthetic data with an augmented camera setting (e.g. from 22.5°-60°). However, the problem is not similar to #32, since the head data have a fixed topology which makes GPS-Gaussian tolerate a much wider baseline. The unreasonable results in #32 are caused by some bugs.
I think a model trained on your targeting camera setup will have a better performance. However, in a sparse-view camera setup, the FoV and the scans should be carefully adjusted to ensure the completeness of human body after rectification. For example, the scans with significant torso movements should be resized smaller. Also, I think a baseline larger than 60° is difficult for GPS-Gaussian, even trained on elaborate data. Too many restrictions exist due to the binocular depth estimation.

This issue is also related to #13 and #35

We use the model trained under 8-camera setup to perform inference on a 6-camera setup.

Could you possibly provide the pretrained model under 8 camera settings, which you mentioned in Table 2. in the paper? Thanks for your help

Sorry, I rarely used the model under 8 camera setup after conducting the experiments for the paper, and the code is slightly different from the open-source version. You can synthesize the training data and re-implement it.

I see. Thanks for the quick reply.


LowLevelILInstruction for call instruction is missing dest

This issue seems to have been introduced between 1.1.1712-dev and 1.1.1714-dev.
Expected Behavior
Make a windows x86 function with the following bytes
e822222222 -> call       0x22222227
Now, in that function, running current_llil[0].dest should yield an IL object.
Weird Behavior
In 1.1.1714-dev and newer, I instead get this error:
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/Applications/Binary Ninja.app/Contents/MacOS/plugins/../../Resources/python/binaryninja/lowlevelil.py", line 1080, in dest
    return self._dest
AttributeError: 'LowLevelILInstruction' object has no attribute '_dest'

Thanks for catching that. Fixed in  builds >=1719.


Cleanup and split troubleshooting page

The troubleshooting page was split, with sections covering platform customization getting their own page, which will later serve as an umbrella for other sections in the user guide.
The troubleshooting page itself was moved from reference manual to the user guide. Content was somewhat grouped and organized. There was a number of formatting issues that were addressed. Further changes to content may be needed.
Work was done to hopefully avoid any merge conflicts, as this commit has been in progress for a good while.
QA steps and results: checked rendered content and ran linkcheck. However conf.py was changed to try and avoid merge issues, which made a final check not possible. Redirects from troubleshooting page headers to new sections under platform-customization are not functional; this means we may end up with broken links, and Customer Service should be aware of this before we decide to merge. Due to the breadth of subjects, not all content could be verified for correctness in this cleanup, and would benefit from multiple PR reviews.
No Jira issue to link.
Readiness
This may end up being more of a draft, despite my dreams and hopes.

[x] Merge (pending reviews)
[ ] Merge after date or event
[ ] Draft

Overview
Cleanup, restructuring and more to the former troubleshooting page which was becoming disorganized and difficult to navigate.
Checklist

[x] Run spelling and grammar check, preferably with linter.
[ ] Avoid changing any header associated with a link/reference.
[ ] Step through instructions (or ask someone to do so).
[x] Review for wordiness
[x] Match tone and style of page/section.
[x] Run make linkcheck.
[x] View HTML in a browser to check rendering.
[x] Use semantic newlines.
[x] follow best practices for commits.

[x] Descriptive title written in the imperative.
[x] Include brief overview of QA steps taken.
[x] Mention any related issues numbers.
[x] End message with sign off/DCO line (-s, --signoff).
[x] Sign commit with your gpg key (-S, --gpg-sign).
[x] Squash commits if needed.

[x] Request PR review by a technical writer and at least one peer.

Comments
Broken links will occur as redirects from subsections could not be made functional, despite redirects to subsections functioning.

Docs for ef10fc75037afa3810c99a7c07601b24eaaf81ed are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2000/docs/artifacts/html/index.html

Docs for 26b6843b1573cde7e8d8342f3f4cc05405e4ce89 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2016/docs/artifacts/html/index.html

Docs for 31df242fcf5c089dc7e5e0608e21940f50a4f1b9 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2025/docs/artifacts/html/index.html


SDK creates subprocess breadcrumbs for ctypes.util.find_library

How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.12.0
Steps to Reproduce

Have python project that utilizes ctypes.util.find_library from the python stdlib (in our case it's used by a dependency)
Have python project log an exception to sentry

Expected Result
Sentry issue contains mostly information that's relevant to the error
Actual Result
Sentry issue has a lot of subprocess breadcrumbs like this that are not relevant to the error:
-  ld -t -L /app/.heroku/vendor/lib -L /app/.heroku/python/lib -L  -o /dev/null -llibgdk-3-0.dll
- /usr/bin/gcc -Wl,-t -o /tmp/tmpg_6ym035 -llibgdk-3-0.dll
- /sbin/ldconfig -p

Hey @vnznznz, could you post a link to a Sentry error that contains the irrelevant breadcrumbs?

Hey @vnznznz, could you post a link to a Sentry error that contains the irrelevant breadcrumbs?

I'm afraid a can't publicly share from this project but here's a screenshot

I'm afraid I can't publicly share from this project but here's a screenshot

@vnznznz To clarify, you don't need to make your project public. As a Sentry employee, I can access your issue as long as you provide the URL.
Sharing the URL here only makes the information contained in the URL (e.g. your org slug) public; the issue itself remains inaccessible to anyone outside your org (besides Sentry employees). However, if you would prefer not to publicly share the URL, you can email it to me at<EMAIL_ADDRESS>

@vnznznz To clarify, you don't need to make your project public. As a Sentry employee, I can access your issue as long as you provide the URL.

Ah okay, here's the URL https://wube-software.sentry.io/issues/5786400820/

Hey @vnznznz, have a look at before_breadcrumb (see docs) -- it's a hook where you get the breadcrumb before it's attached to the event and you can decide to drop it based on the content. Let us know if this works for you.


How to retrieve games played in a season for a player

I am looking for a way to query the database and return the # of games a player played in for any given season. Anyone found a way to do this? Thanks in advance!

A previous discussion on the topic: https://github.com/BurntSushi/nflgame/issues/69
Keep in mind the player.games is not guaranteed to be the number of games a player played in - only the number of games a player recorded a statistic in.


Example for http caching proxy

Any examples on how to use colossus as a caching proxy? would be good to have one in the examples.

@ryudice can you give more details of what you are looking for? You want to see an example of a service that receives a http request, if in internal memory then return that, otherwise use http client to get the response. Is that the idea?

Going to close due to no response

Hi,
We are trying to use colossus as a caching proxy. We want to have a microservice built with colossus that will receive all requests and cache the response if it is the first time receiving the request. We are going to use Redis for the caching.
We already built something, however we are having issues with the synchronization. When we get 100 simultaneous requests, all requests will go to the proxied microservice, instead of just the first request and subsequent requests going only to redis.
Hopefully I make myself clear.
Thanks,
Roberto

I understand. If you can share the code, maybe I can identify the problem.

@benblack86, sure, here is the code. Thanks!
https://gist.github.com/ryudice/4b0e397c2b7698974c925944fc62c67f#file-colossus proxy-scala

Ok oh, I understand. You seem to be using the url object request.head.url to synchronize on, but that object will be different on every request.
If you receive 100 simultaneous requests, then presumably most of them will be able to check the cache and notice it is empty, before the cache gets populated by the first request. If you really want to synchronize this behavior then you will want to create a global lock that is passed into the ProxyInitializer, which can be shared between all colossus worker threads. However, I'm not sure why you want to do this as it would badly affect performance. The race condition doesn't seem to be a harmful one.


Removes 🤢 Hogan.js

Hogan has not been maintained or released for over 5 years. Looking at what we are using Hogan for, it seems a bit overkill for templating and we could achieve the same results using find/replace.

Removes Hogan dependency from ListEntry.js
Removes any reference to Hogan.js
Fixes a minor usability issue identified whereby users could not remove the first entry even if there was more than one entry in the list. Users will not be able to remove the last entry if there is only one entry in the list.

Before:

After:

@tombye Would you mind reviewing this from Frontend perspective?

Agree that this probably isn't a breaking change, as the frontend apps have hogan.js as a top level dependency in package.json anyway.
Speaking of which, is there a separate ticket to remove hogan.js from the package.json and application.js on each of the FE apps? Or will it be done as part of this one?

@katstevens I haven't created another ticket but I think that we should remove hogan.js from package.json and application as part of updating each app to this new version.

I will create a ticket for that piece of work


HOCON ordering vs comments

Currently users of this library are forced to choose between having comments using the HOCON loader and having ordering using other loaders. Is there any way to have both proper ordering and comments on nodes? This is very irritating for me.

it's a limitation of the HOCON library. not going to change until i get a chance to replace hocon entirely.

Is it possible to have comments on other loaders, then?

YAML and XML supports comments.
GSON supports reading json with comments, but not writing

xakep, please don't comment if you're just going to be wrong.
XML is the only other format that can roundtrip comments. yaml and json will accept input with comments but will not store comments and will not write comments.
PRs will be accepted to change this behaviour.


Missing LS372 ops

Definitely engage_channel, maybe others.

input_configfile would be super helpful, is that feasible?
others to add: engage_autorange, get_input_setup
I don't feel very strongly about set_calibration_curve because that's a likely one-off event that happens in the beginning (and input_configfile addresses calibration curve setup as well) but telescope folks may disagree

A recent request from site - enable entering parameters for custom_pid in order to servo the focal plane from ocs-web.

For custom_pid, docstring says:
P (int) – Proportional value in Watts/Kelvin
I (int) – Integral Value in Hz
update_time (int) – Time between PID updates in seconds

However, it will actually accept float for I.  But I think all three of these could / should be floats, in the agent.
I'll get the panel ready but consider whether you want to adjust how args are handled.

Great point. This updates to allow floats everywhere: https://github.com/simonsobs/socs/pull/548

How should custom_pid be situated with respect to the other operations on the panel?  After "set_pid"?

Hmm, good question. I don't really have a strong opinion on where. Those PID commands are two different PIDs though, so I'm not sure if users will find that confusing (or perhaps already do...)

I believe all the requested ops are now implemented.


modified code for readability and security

since readability is one of the most important things when you code, I've modified the code so that others can read and understand the code easily :)

can you rename
modified code for readability and security  to modified_code_for_readability_and_security
Best Practice

can you rename
modified code for readability and security to modified_code_for_readability_and_security
Best Practice

I understand your concern @MockArch . But it is a commit message and I don't think that what you are asking is possible (I only know that branch name shouldn't have white spaces). If possible, please help me to do it. I'm a newbie :).
Thanks in advance

i m extremely, i have found a lot of white spaced file name , that is really annoyed me. My bad! i just got confused with it. anyways thanks ! :) :+1:

Thank you for you contribution to the repo and the community


EDSDK v3.2 crashes on OS X

Hi,
9 times out of 10, the EDSDK v3.2 crashes when trying to open a session with the Rebel T6s. It tries to access a deallocated instance. The same versions of the add-on and EDSDK work fine with the Rebel T1i and the Rebel T5i.
Here is the message when enabling the Zombie mode in Xcode:
exampleDebug[1506:66502] *** -[CFDictionary objectForKey:]: message sent to deallocated instance 0x600000061280

Am I correct to think that this is a Canon issue and that nothing can be done on the OF side?
I even have sent a quick email to Canon about this, but they do not give any support on the EDSDK.
Thanks

Hi,
I'm dealing with the same issue. Works well on a 7D but not on a 5D. Same crash. Any help would be appreciated. EDSDK version <IP_ADDRESS>02.
Thanks.

Hi,
I had better luck with @elliotwoods fork of the addon.
Where did you get that version of the EDSDK? The latest version available on http://meeting.usa.canon.com/camera being the <IP_ADDRESS>.
Thanks.

I just ran into this issue. Any updates?


Throttle limits should not be hard-coded

@markusthoemmes @rabbah
Throttle limits (concurrency and rate limits) should be configurable per deployment with the intention that the limits for larger deployments be raised.  For test systems where we are explicitly testing that throttling is triggered, we may want to use lower limits.

Should be doable now - these limits are set in ansible so could have overrides per deployment (@domdom82 @lehoanganh thoughts?).

yes, from CLI such values can be overriden. But, like discussed in other issue, this is not human-friendly. This limits var has 3 layers.

After reading through some points raised by @lehoanganh in other issues, @rabbah and I think the cleanest way to do this is with a default set of limits and a per deployment set of limits.  These are 2 different sets of variables and WhiskConfig will export the more specific one so we have the option of choosing whatever we want for any deployment but still have a default in case it is unspecified.
For the CI configuration, we will deliberately set lower limits so the throttle tests will work.  It also makes sense since the CI cluster is deliberately tiny.  For YS0 and YP, we will use higher limits (higher than what we currently have) so that users are not impacted.

For expedience, I propose the following phased approach.  I am proceeding with this plan immediately.

raise existing limits unconditionally and disable throttle test for now
put in per deployment override (use low CI values) and re-enable throttle test
per subject stuff will take longer to do correctly

Related proposal: let's nuke the hourly limit entirely.

@perryibm done/close?

done - closing


white background on Reddit dark mode

If I turn on Reddit dark mode, the comment face's background still displays as white.

This is because the <body> tag within the shadow root has background-color: white for some reason (reddit being reddit ™).
It should be fixed if you override it with background-color: inherit. If needed, I can make a PR tomorrow.

Thanks for the report, a PR would be more than welcome!


User can view logs from application

This would include staging and running logs. It should also follow across builds so if I push again I shouldn't need to reload or click to a different application.

It looks like streaming Application / Staging Logs won't make it in to Beta2. It was proposed to handle auth in web sockets via cookie, however since we've now switched to contacting the Epinio API natively and not proxied these count as 'third-party' and there's a heap of issues with that

these count as 'third-party' and there's a heap of issues with that

Would it be feasible to have the Epinio server initiate the web socket for streaming logs? I'm thinking it won't violate CORS if the front end doesn't initiate it

Linking two issues blocking standalone ui

https://github.com/epinio/ui/issues/83
https://github.com/epinio/ui/issues/84

One that's blocking embedded ui

https://github.com/epinio/epinio/issues/1234

As per comment in https://github.com/epinio/ui/issues/83#issuecomment-1069229305, this has been fixed for both embedded and standalone and will be available in the next UI release after 0.6.0


Fireworks not working

when i open a crate with a key and get my winnings the firework won't work

Strange what version of MC is your server?

I have the same problem. I am using spigot 1.8.8

Hmmmm, I have been testing and its been fine for me.


Allow setting dependency to older MD/addin versions

The required version for addin references doesn't seem to have an effect.
I've set it in the properties of the reference in Xamarin Studio, and it saves to the .csproj.  However, the built addin dll has an AddinDependency attribute with the current version, not the explicitly specified version.
I believe this line is the culprit, where it uses the addin's current version rather than checking if something is specified by addinName.GetMetadata("Version") first.
Also, there does not seem to be a way to specify the required version for MonoDevelop.Core and MonoDevelop.Ide..  unless I missed something?  I tried adding the AddinDependencyAttribute to the assembly with an explicit required version, but it was just duplicated by the addin with the current version of Xamarin Studio.

The version on an addin reference is a compile-time check, i.e. the version you have at compile time must be compatible with the version specified in the reference.
However, the generated dependencies currently all use the versions that were resolved at compile time. I could allow explicitly overriding this (at your own risk) but it would need another metadata value, and I'm not sure how to surface it for the core addins.

Ah, ok, I misunderstood what the addin reference version was for.  Thanks for clarifying!
I ran into this trying to test my addin on linux with md 5.10 when compiled with 5.10.1 on OS X.  Given that monodevelop.com doesn't list previous version downloads (afaik?), it makes it hard to build and test an addin with an older version.
If there's gotcha's that this would expose then it's probably not worth doing, and just using an older version is a better way.. Just need to find those downloads! (;

This is now fixed :)
The fix will go out next time I update the NuGet.

Awesome, thanks for getting around to this!  It'll definitely come in handy trying to support specific versions. (;


[FLINK-36030][state / changelog] Don't use negative values in changelog recovery tests

What is the purpose of the change
FLINK-34030 introduced a new option that allows to explicitly disable materialization instead of using a negative values.
Negative values might cause parsing exceptions, for example when using adaptive scheduler with Changelog Switch IT Case
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? no

cc: @masteryhx


TransferManager fixes

Small bug I noticed while onboarding where channel reading tasks are static but perform non-static work. Also, some field cleanup to better convey intent.

API change check
API changes are not detected in this pull request.


Problems to install your package

Hi! I tried to install your package but show me this error

why is that? I'm using laravel 7.
Regards

We only support the latest Laravel version. Feel free to make your own fork and any necessary changes to support older versions.

We only support the latest Laravel version. Feel free to make your own fork and any necessary changes to support older versions.

@mikebronner so may its better to update Requirements and Compatibility as you mentioned it is supporting Laravel >= 7.0 but doesn't, so others will know what is the proper version.

@nakarimi Thanks for the documentation issue, will get that updated ASAP.


TextExtractor missing path text in the output

Microsoft PowerToys version
0.65.0
Installation method
GitHub
Running as admin
No
Area(s) with issue?
TextExtractor
Steps to reproduce

Download and extract  .zip file of Eclipse IDE in C:\Temp directory
After executing the C:\Temp\eclipse\eclipse.exe an error occurred
Hit Win+Shift+T and snap the error box
Paste the text from clipboard
In the pasted text is missing  the  C:\Temp\eclipse\jre\bin\javaw.exe path text

Actual error message:

Actual extracted text:
Eclipse
A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse, No Java virtual machine
was found after searching the following locations:
javaw.exe in your current PATH
0K

Problem:
There is missing the line with the path  C:\Temp\eclipse\jre\bin\javaw.exe in the output text.
✔ Expected Behavior
I would expect the text is copied in full length including the C:... path, ie:
Eclipse
A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse, No Java virtual machine
was found after searching the following locations:
C:\Temp\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH
0K

❌ Actual Behavior
The output text is missing the line with the path  C:\Temp\eclipse\jre\bin\javaw.exe in the output text, ie:
Eclipse
A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse, No Java virtual machine
was found after searching the following locations:
javaw.exe in your current PATH
0K

Other Software

Windows: MajorVersion: 10, MinorVersion: 0, BuildNumber: 19045
app that fired the error on first run without installed Java Eclipse IDE PDT 2022-12

This is basically the OCR engine issue at this point.

Solution would be to switch OCR engine.


Add SwiftReorder

Project URL
https://github.com/adamshin/SwiftReorder
Description
Added SwiftReorder to the UI section.
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 7 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

Hey @adamshin, nice library!
Thanks for contributing! 😄


DLL has wrong version information

Description
The version information of the DLL file are wrong.
Please note that we are working on an improvement for the plugin manager user interface that will show the File version as plugin version.

Steps to reproduce
View file properties.

@8LWXpg
Did you publish the wrong assets for 1.9.0? The JSON still shows 1.8.1 and the DLL still shows 1.0.0.

Forgot to change release script to .net9, will make a quick fix.

Perfect. Not it is as expected.


User assigned managed identity

Should we switch to user assigned managed identity?  Sharing one identity across all the modules has some benefit in that it would simplify permissions assignment as the identity is shared but there could also be downsides.

I would like to give a +1 to User Assigned as this allows for an easier time in a CI/CD scenario!

@ThijsLecomte-TC
STAT v2 Preview is ready for you to try.  This is a major move forward from previous versions of STAT, now using an Azure Functions backend and Logic Apps front end.  The look and feel is the same as v1, but the improvements on the backend are substantial. This is also a complete rewrite of all of the backend functionality, so do be aware there may be some undiscovered bugs, though there are no known issues in this build.  If you encounter any bugs, or even unexpected changes in functionality from previous version please open an issue no matter how small the issue may be.
This build includes the following new features:

Backend of STAT is now using Azure Functions instead of Logic apps
Support for User Assigned Managed Identities, Service Principal and Multi Tenant service principal authentication (in addition to existing system assigned managed id support)
Support for the Sentinel Alert trigger (in addition to existing incident trigger)
Ability to create a new Sentinel incident from an alert and automatically link the alert
Additional performance and other minor improvements

The Preview deployment can be found only in the statv2_preview branch of this repo as well as supporting documentation. That includes documentation specific to multi-tenant/MSSP scenarios.
The main branch does not contain any information about v2 at this time, so ensure you select the correct branch.


"TypeError: Cannot add property url, object is not extensible" when using sb.connect()

sb.connect()  is not working
when using the below
var sb = new SendBird({appId: 'MyAppID'});
console.log("sendBirds APPID"+sb.getApplicationId());
var userID = 'MyUserID';
sb.connect(userID, function(user, error) {
if(error){
console.log("got error "+error);
return;
}
});
its working fine till sb.getApplicationId();
but sb.connect() is failing with the below logs
got error "TypeError: Cannot add property url, object is not extensible"
also tried the below with promise
sb.connect(userID).then((result) => {
console.log('Got data!');
}).catch((error) => {
console.log("got error "+error);
});
got the same error
can you please help

Hello @RRAVITEJA,
Could you please tell me the type of the sample you are using?

its with the SendBird JavaScript SDK

it's the issue when we are trying to connect from salesforce, when i tried using a normal JS script file it's working fine.
but from SalesForce we are getting the above error.
any idea ?

This is a strange behavior. Can you please share more context? Also which sample are you using, is it web-basic-sample?


Keyboard handling changes

Right now details screen on iPad is not handling keyboard when search field is first responder (like on screenshot).
I'm not sure how to fix yet since i'm not that familiar with SLKTextViewController but if anyone can give me an advice on place from which i should start — i can help with this :)

@Austinate you mean when the keyboard displays the scroll view for issues doesn’t adjust? Is that the issue?
Sent with GitHawk

@rnystrom exactly :)


New Rule: requirePaddingNewLinesAfterBlockDeclarations

requirePaddingNewLinesAfterBlockDeclarations / disallowPaddingNewLinesAfterBlockDeclarations
Fixes #1010

Coverage increased (+0.02%) to 98.73% when pulling e9f2ccf7224191058cfb109948a56ed7985e82e4 on TheSavior:require-padding-newlines-after-block-declarations into 38459ea13a12a235d8e16e321d5f4a6677fc504e on jscs-dev:master.

Coverage increased (+0.02%) to 98.73% when pulling 9dcfbb289707aad6bfa9afcaf7a95404427f9155 on TheSavior:require-padding-newlines-after-block-declarations into 38459ea13a12a235d8e16e321d5f4a6677fc504e on jscs-dev:master.

Coverage increased (+0.02%) to 98.73% when pulling da62cf341524b18b38f8ee48dbdcefd6c536392e on TheSavior:require-padding-newlines-after-block-declarations into 38459ea13a12a235d8e16e321d5f4a6677fc504e on jscs-dev:master.

This PR updated differentLine in tokenAssert. Most of the whitespace only rules that will need to be updated to accomplish the next step in #516 will require an even more robust differentLine function.
I don't want to update those until after this is merged, otherwise there will be conflicts or two barely related PRs relying on each other.

@TheSavior thanks a bunch for contributing! The rule names should be named (require|disallow)PaddingNewLinesAfterBlocks. Technically, it's a block statement, and never a block declaration.

Coverage increased (+0.02%) to 98.73% when pulling a3b69bcee98125cf72c4888e55e86303347b6c6d on TheSavior:require-padding-newlines-after-block-declarations into 394edc90eb6b012852c55ddd0868656455b8fec0 on jscs-dev:master.

Coverage increased (+0.02%) to 98.73% when pulling bc8dff4c05c8ef3aa93e0930556275642634aeb4 on TheSavior:require-padding-newlines-after-block-declarations into 394edc90eb6b012852c55ddd0868656455b8fec0 on jscs-dev:master.

Updated and squashed.

Great work here! :+1:

Updated to fix naming / usage of 'options.lines'. I think all of these TokenAssert whitespace functions will need to be changed anyways once we update all of the whitespace rules to use them.

Coverage increased (+0.3%) to 99.01% when pulling 82ca0d4eec9e5da535b7cc589f0d95c5a0724b39 on TheSavior:require-padding-newlines-after-block-declarations into 394edc90eb6b012852c55ddd0868656455b8fec0 on jscs-dev:master.

What do we need to land this?

@savior, nothing. Just wait until I come through and land a bunch of these.
Although, I wonder if we need requirePaddingNewLinesBeforeBlocks too?

Cool.
That rule kind of exists already, but it obviously has to be very different logic. There is this rule: requireNewLineBeforeBlockStatements

Coverage increased (+0.31%) to 99.02% when pulling c1e93fd1068efeaba872a9f61d7643e3af34bae2 on TheSavior:require-padding-newlines-after-block-declarations into 394edc90eb6b012852c55ddd0868656455b8fec0 on jscs-dev:master.

I've gone ahead and taken this opportunity to set up differentLine for us to be able to use it when porting the other whitespace rules to use it. I didn't particularly want to land this with an incompatible version of differentLine.

Coverage increased (+0.02%) to 99.02% when pulling 96c86e8fcbf851e1d5712854a38c7c3b316f893e on TheSavior:require-padding-newlines-after-block-declarations into fd405cd83849c8e5052a7dc0da5f07cde46e51ce on jscs-dev:master.

@mdevils or @markelog I'm a fan of the additions to the assertions, but just wanted to get a +1 from either of you before I land this.

Rebasing from master

Coverage increased (+0.02%) to 99.01% when pulling 16cc71ed14bb927a635e5b43157482eadab4911b on TheSavior:require-padding-newlines-after-block-declarations into 0feb327f1551ededd70489d2e2466f776ebe95e4 on jscs-dev:master.

This rule has been added to the Airbnb style guide: https://github.com/airbnb/javascript#whitespace

@mdevils or @markelog bump :+1:

@mdevils or @markelog bump :+1:
We're still looking for some more concrete thoughts about the change to the differentLine assertion here.

I'd add a new assertion method blankLinesBetween. What do you think about it?

@mdevils It's totally fine if it'd make autofix easier. For now I feel that assertion methods should be as simple as possible so new method should be better than extended old one.

So we will have sameLine, differentLine, and blankLinesBetween. BlankLinesBetween will take a number of lines and lessThan, greaterThan, and exactly. Are we good with that?
There is definitely some cases where you want to say that there should be exactly one line between them. disallowMultipleLineBreaks(3) is an example that would want to say at most 3 line breaks, and then most other cases would want greaterThan so that it doesn't conflict with disallowMultipleLineBreak.

BlankLinesBetween should be able to simultaneously take lessThan and greaterThan, but should be mutually exclusive of exactly.
@TheSavior sounds like you got what you need. Once you finish up here I can land this, and we can move on to #1023 :-)

Agreed that it should be mutually exclusive with exactly. I'll plan on throwing an Error if exactly and (lessThan or greaterThan) are set.
I should be able to get to this in the next two days. I'm really excited to move forward on these PRs.

@TheSavior thanks again for sticking with this!

To be consistent with whitespaceBetween, I'm going to call it linesBetween instead of blankLinesBetween. Any issues with that?

Go ahead!

@mdevils @mikesherov, can you guys take a look at the new assertion? I want to make sure that is something we agree on before I go through the merge conflicts (adding whitespace fixing to the assertions)

Coverage increased (+0.02%) to 98.85% when pulling e3e7f63a805a95ec99679096e6d8b21d98a25882 on TheSavior:require-padding-newlines-after-block-declarations into 5fde02156012dd0438abb2793a05abfc871a4242 on jscs-dev:master.

@mdevils There are no tests for the functionality of adding the whitespace prefixed data in the assertions. Since this required changing a bunch of that logic for the differentLine assertions and then dealing with that part of the merge conflicts, this PR currently doesn't have autofixing for lines.
Can you add tests (at least 1 or two) in the style that you would want to see those tests for token-assert and then we can get these assertions adding whitespace properly.

@TheSavior I'm going to land this with the slight modifications I suggested so we can move forward on the rest of the great work you did.

@TheSavior landed thanks!


figure out what ClusterFuzzLite is/does and maybe implement

as per OSSF Scorecard Security Scan Report 58 https://github.com/JonasPammer/cookiecutter-pypackage-test/security/code-scanning/58
https://google.github.io/clusterfuzzlite/build-integration/

too much setup and new theoretical components and projects involved for so little outcome


update java example for managedidentity using azure-identity library and latest dependency versions [FEATURE REQ]

Is your feature request related to a problem? Please describe.
We wanted to use the latest version of the azure-identity library to implement managedidentity authentication over kafka api. The java example included in this repository only shows the approach using the old azure-client-authentication library. When we tried to simply replace the azure-client-authentication with azure-identity, we encountered the following issue:
Requesting a token for scope "https://mynamespace.servicebus.windows.net" failed. After investigating the issue we found out that we had to add "/.default" as suffix to the requested scope.
Another problem we encountered was the usage of the outdated java version 1.7. We would expect to use the latest java and dependency versions.
Describe the solution you'd like
We would like to have an example that:

shows the usage of the azure-identity library
is working (adds the '/.default' suffix to the requested scope
has java version and all dependencies updated

Describe alternatives you've considered
none
Additional context
none
Information Checklist

[x] Description Added
[x] Expected solution specified

@billwert could you follow up with @tristanessquare on this azure-identity documentation/sample improvement?

I think this issue should have been created under https://github.com/Azure/azure-event-hubs-for-kafka. I have already created a PR for this improvement there: https://github.com/Azure/azure-event-hubs-for-kafka/pull/234
Is it possible to move this issue or should I create a new one there and close this issue?
Thank you for your support.

hey @tristanessquare!
Thanks for making the PR. It is probably easiest to just make a new issue over there. Thank you!


[REQUEST] ip-blacklist - CIDR (diapasones) support

Would be nice to have support for a blocking IPs not only one by one, but using diapasones (subnets).
Let's say, I know some spying/ad/tracking/malware subnet.
For example (M$ Ads Partner):
<IP_ADDRESS> - <IP_ADDRESS> --- (1024 ip) --- AppNexus (US) ----M$ Ads Partner
Blocking all 1024 IPs one-by-one is an absurd.
But if CIDR will be supported, you can easily and fast add whole unwanted subnet
<IP_ADDRESS> - <IP_ADDRESS> with only one string in CIDR format:
<IP_ADDRESS>/22

You can easily transform any IP diapasone to CIDR (and backward) using one of the websites over Internet:
IPADDRESSGUIDE: http://www.ipaddressguide.com/cidr

The ratio between tickets labeled "Features request" and contributions is a bit too high already. In fact, it triggers a division by zero.

OK. If you can, you do.
This feature is rare supported by different software products, unfortunattelly (far not all Firewalls or filtering parts in other products have this). I guess, it is not easy to implement...
But it will be bless feature for portable devices/mobile phones that lack of the firewalls (not many of people install firewalls on mobiles). It will be handy and simple to restrict thousands of unwanted connections via dnscrypt-proxy, using IPs blackist also, not only domain filtering.


markdown

filetype = {
markdown = "MarkdownPreview",
},
zsh:1: command not found: MarkdownPreview

Vim script is used to solve this problem perfectly.
vim.api.nvim_exec(
[[
" noremap rr :call CompileRunGcc()
func! CompileRunGccA()
exec "w"
for i in ["c","cpp","python","sh","html","go","lua","rust","r","nix","javascript","java"]
if &filetype == i
exec "RunFile float"
elseif &filetype == 'markdown'
exec "MarkdownPreview"
elseif &filetype == 'tex'
silent! exec "VimtexStop"
silent! exec "VimtexCompile"
endif
endfor
endfunc
]] ,
false
)

Hello,
Have you tried something like:
filetype = {
     markdown = "cd $dir && nvim --headless +MarkdownPreview qa",
}

...?
Based on my understanding, part of which comes from this question on Reddit, writing it this way should allow you to give code_runner a command similar to the commands used for other languages like Java, Rust, or Go. I haven't tested it yet, so I can't say for sure it will work. If you decide to try it, please let me know what happens!
Good luck!

the problem occurs, because code runner is meant to be used with terminal commands, all commands are executed in a shell


Fix UserIntegrationTests

If time allows help Fabio to write tests

Should have been closed by pull request #80


Edit: America Television

Channel ID (required)
AmericaTelevision.pe
Channel Name
America TV
Alternative Names
AMERICA
Network
No response
Owners
No response
Country
CN
Subdivision
No response
City
No response
Broadcast Area
No response
Languages
Español
Categories
No response
NSFW
None
Launched
No response
Closed
Never
Replaced By
https://cabletvhd.xyz/en-vivo/america-tv
Website
https://cabletvhd.xyz/en-vivo/america-tv
Logo
No response
Notes
Actualizer

Actualizado

Ok


ci: e2e tests for the installer

- What I did
Working on e2e tests so we can comfortably merge #320
Added end2end tests that test the sshnp and sshnpd installers against local and trunk.
Updated the sshnp and sshnpd installers in order to get it running on the debian slim test image, had to cut back on certain shell features which weren't available in the slim environment.
On the sshnp side, it does not test the custom script, I will think about doing a later update once the newer script template is released, since the newer script template allows passing custom args to sshnp.
On the sshnpd side, it tests the custom script, but doesn't test the job used to install the script (i.e. with cron/tmux/etc.).
This is a start, there is room for improvement but it is good enough for now.
- How I did it
- How to verify it
- Description for the changelog
ci: e2e tests for the installer

It seems that the slim environment is unhappy with some of the shell syntax used in the install scripts, might take a bit longer than expected to get them working

I remember going with some of these solutions before, and shell check recommending a different approach... where it would recommend the cleaner solution which works 90% of the time instead of the dirty 99% solution.

The installer - installer test seems to not be running anything, @JeremyTubongbanua maybe you have some insight into what I did wrong?

My only feedback would be to create a whole new template like "sshnp_installer_entrypoint.sh" then when we copy it over into the context, make sure it's named "entrypoint.sh"
Like
cp /../sshnp_installer_entrypoint.sh /../entrypoint.sh

My only feedback would be to just create a whole new template like "sshnp_installer_entrypoint.sh" then when we copy it over into the context, make sure it's named "entrypoint.sh"
Like

cp /../sshnp_installer_entrypoint.sh /../entrypoint.sh

Could do, but most of the logic is the same, so I introduced the USE_INSTALLER environment variable to deal with the few differences.

My only feedback would be to just create a whole new template like "sshnp_installer_entrypoint.sh" then when we copy it over into the context, make sure it's named "entrypoint.sh"
Like
cp /../sshnp_installer_entrypoint.sh /../entrypoint.sh

Could do, but most of the logic is the same, so I introduced the USE_INSTALLER environment variable to deal with the few differences.

Cause when we add more tests, it'll fill up the sshnpX_entrypoint.sh

My only feedback would be to just create a whole new template like "sshnp_installer_entrypoint.sh" then when we copy it over into the context, make sure it's named "entrypoint.sh"

Like

cp /../sshnp_installer_entrypoint.sh /../entrypoint.sh

Could do, but most of the logic is the same, so I introduced the USE_INSTALLER environment variable to deal with the few differences.

Cause when we add more tests, it'll fill up the sshnpX_entrypoint.sh

Ah, makes sense

@JeremyTubongbanua I'll need a reapproval, feel free to merge if you are happy with the changes.

I made it so that the composite action controls the name of the entrypoint template file to use

Please squash when you merge this PR!


Fixing sensor smoothing when sensor_direction is CCW

Using motor.sensor_direction so the smoothing works on both sensor directions.
It was discussed with dekutree64.
Tested it by swapping phases to make sure it works in both directions.

Thank you very much for this!!


test: update k8s tested versions

Update to 1.18.17, 1.19.9 and 1.20.5
Signed-off-by: André Martins<EMAIL_ADDRESS>

test-me-please

test-1.16-netnext

test-1.21-4.9


Error when $ pip install -r requirements.txt

Collecting pytube (from -r requirements.txt (line 31))
Cloning https://github.com/abanand132/pytube.git (to revision master) to c:\users\snow\appdata\local\temp\pip-install-ltu0eo5l\pytube_5eb078e3107243139596b8ec38dd9aa0
Running command git clone --filter=blob:none --quiet https://github.com/abanand132/pytube.git 'C:\Users\Snow\AppData\Local\Temp\pip-install-ltu0eo5l\pytube_5eb078e3107243139596b8ec38dd9aa0'
fatal: unable to access 'https://github.com/abanand132/pytube.git/': Recv failure: Connection was reset
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/abanand132/pytube.git 'C:\Users\Snow\AppData\Local\Temp\pip-install-ltu0eo5l\pytube_5eb078e3107243139596b8ec38dd9aa0' did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/abanand132/pytube.git 'C:\Users\Snow\AppData\Local\Temp\pip-install-ltu0eo5l\pytube_5eb078e3107243139596b8ec38dd9aa0' did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip

I got the same error, has anyone found a solution?


refactor: Small changes in flank-scripts module

Fixes #1431
No new logic implemented. Unit tests + integration tests should be enough.

@flank-it

Integration tests failed, you could see results here

IT failed due to quota limit exceeded 😢

@pawelpasterz what exactly does this PR accomplish?

@pawelpasterz what exactly does this PR accomplish?

This is, let's say, a 'refactor' part of my work on https://github.com/Flank/flank/issues/1422. I wanted to avoid PR with a huge scope so I divided my work into 2 PR (the second is not yet created as it depends on that one)


Random Crash & Watchdog dont restart Add-on

The addon randomly dies, I have attached the log below. The watchdog service also does not restart it, once it dies.
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[12:51:17] INFO: Installed custom component.
[2022-12-01T12:51:19.303] [INFO] default - Whatsapp Addon started.
[2022-12-01T12:51:20.655] [INFO] default - default client is ready.
/whatsapp.js:126
            const messageType = Object.keys(msg.message)[0]
                                       ^
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at EventEmitter.<anonymous> (/whatsapp.js:126:40)
    at EventEmitter.emit (node:events:513:28)
    at EventEmitter.<anonymous> (/node_modules/@giuseppecastaldo/baileys/lib/Utils/event-buffer.js:47:16)
    at EventEmitter.emit (node:events:513:28)
    at Object.flush (/node_modules/@giuseppecastaldo/baileys/lib/Utils/event-buffer.js:88:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async WebSocket.<anonymous> (/node_modules/@giuseppecastaldo/baileys/lib/Socket/messages-recv.js:558:9)
Node.js v18.9.1
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

I receive this message at start up - Even after a rebuild. Any suggestions will be appreciated.
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[02:41:41] INFO: Installed custom component.
[2022-12-07T02:41:43.924] [INFO] default - Whatsapp Addon started.
[2022-12-07T02:41:45.841] [INFO] default - default client is ready.
/whatsapp.js:126
            const messageType = Object.keys(msg.message)[0]
                                       ^
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at EventEmitter.<anonymous> (/whatsapp.js:126:40)
    at EventEmitter.emit (node:events:513:28)
    at EventEmitter.<anonymous> (/node_modules/@giuseppecastaldo/baileys/lib/Utils/event-buffer.js:47:16)
    at EventEmitter.emit (node:events:513:28)
    at Object.flush (/node_modules/@giuseppecastaldo/baileys/lib/Utils/event-buffer.js:88:16)
    at async WebSocket.<anonymous> (/node_modules/@giuseppecastaldo/baileys/lib/Socket/messages-recv.js:558:9)
Node.js v18.9.1
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Still experiencing this problem - I have not been able to pinpoint what is causing this. I suspect it might be something with "Community Group" messages, but cannot confirm.

Still experiencing this, it seems that "Security Code changed" messages also crashes the add-on. Currently I restart the add-on every hour, which is not ideal.

I'm working on it, please be patient.

Thank you! I really appreciate it... I'm try to provide as much as possible information for you to troubleshoot :-)

Thank you!

Hi, Unfortunately it seems to be more unstable now on 1.2.3 after the update. It seems to stop and the log is empty, so unfortunately I can't even supply information on why it crashed.
I will scratch around in the docker container to see if I can find some log traces.


Adding Rubika

Added a French University For Video Game Developpment (SupinfoGame), Animation (SupinfoCom), and Design (ISD)

@Narudgi Pull request merged. Thank you!


Give error message if word list contains non base58 characters.

Right now, we silently ignore them and strip them away. users experience this as a bug. So make it clear that it's not by exit with an error message in those cases.

Fixed in 64f9026f96f3927e40e5b8646530e78e976c6704


Measuring battery voltage on a adafruit feather esp32-s3 tft  fails in circuitpython

IDE: Thonny (german)
Device: adafruit esp32-s3 tft
circuitpython from end of september 2022
LipO WITH 2000mAh ist attached
Using the code simpletest.py
Libraries installed (including the latest versions of adafruit_lc709203f.pmy, adafruit_bus_device, adafruit_register)

Result:
LC709203F simple test
Make sure LiPoly battery is plugged into the board!
Zurückverfolgung (jüngste Aufforderung zuletzt):
Datei "", Zeile 12, in
Datei "/lib/adafruit_lc709203f.py", Zeile 132, in init
Datei "/lib/adafruit_lc709203f.py", Zeile 136, in init_RSOC
Datei "/lib/adafruit_lc709203f.py", Zeile 257, in _write_word
OSError: [Errno 116] ETIMEDOUT
Measuring the distance with the VL53L4CX, air quality with the bme688 and luminance with the bh1750 on the same esp32 works fine.   Detaching the sensors does not help.

Meanwhile I have found an additional notice:
The library adafruit_lc709203f reports, that there is no sensor at 0xb but I2C-Scan tells:
I2C addresses found: ['0xb', '0x23', '0x29', '0x77']

The ESP32-S3 cannot use an LC709203F, because of an issue with its I2C implementation. The problem is specific to the S3.
https://github.com/adafruit/circuitpython/issues/6311
https://github.com/espressif/esp-idf/issues/8894#issuecomment-1125564756
This has been a very hard issue to diagnose. There is a problem deep in the ESP-IDF.

@dhalbert Thanks for the answer. Therefore I have to find another solution with the ADC.

It works fine on the ESP32-S2, if you are willing to buy another board.

Unfortunately, this bug seems to be hitting ESP32 V2 (running CircuitPython 8.0.0-beta.4) as well: https://forums.adafruit.com/viewtopic.php?p=947702#p947702


Compatibility issues

This whole project is build using android.app.fragment. So this project cannot be used when fragments are created using android.support.v4.app.fragment. Is there any way for this project to be compatible with android.support.v4.app.fragment. p.s. i cannot change my project to use android.app.fragment coz i'm using other repo which are built for android.support.v4.app.fragment and also using fragmenttabhost which is a support.v4 widget inside my fragment.

Having the same issue. Hopefully someone will come up with a solution.

Same here!

same here, or is there an alternative library

same situation here.

+1

same here [5]

it seems that this is not in maintenance


"tls: DialWithDialer timed out" No Solution Works

I'm using docker machine with VirtualBox and encountering the following message at the end of my provisioning:
Error creating machine: Error checking the host: Error checking and/or regenerating the certs: There was an error validating certificates for host "<IP_ADDRESS>:2376": tls: DialWithDialer timed out
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which might stop running containers.

I'd be able to ssh into the machine regardless. However, the system has many items missing in it, including apt-get, so I essentially get a machine that can't do anything.
I suspect this is related to #3046 . However, I've tried various proposed solutions there and nothing works: I've since killed my docker-machine, uninstalled docker, reinstalled docker, reinstalled virtualBox, restarted my computer, and tried "docker-machine regenerate-certs" multiple times. I've also tried using different IP addresses and moved my laptop from one network to another. This continues to happen. It's not random either. It happens every time.
Please help. I'm desperate.

Any funny networking config, e.g., VPN or proxy? That can wreak havoc on ability of Machine to reach host only interface IP

@nathanleclaire right, I forgot to mention I've also turned all VPNs off, and I'm not using any proxy.

If you have vbox machines you don't mind losing you might want to try removing all host only interfaces (you can do this in virtualbox gui, networking menu/tab) and re-trying a create.  If that doesn't work might want to uninstall and re-install VirtualBox (toolbox will do the reinstall if needed) and try again. VBox can get pretty temperamental about state/version changes sometimes.

@nathanleclaire I've tried all of these as well. Also uninstalled my vbox and installed the latest version. Still no luck.

I'm experiencing the same error.
OS:
Mac OS Sierra 10.12.2
VirtualBox:
5.1.14 r112924 (Qt5.6.2)
Docker Machine:
0.9.0, build 15fd4c7
No special settings on my network. I've tried reinstalling VirtualBox, reinstalling Toolbox, regenerating certificates.

Same error for me as well.
Mac OS Sierra 10.12.3
VirtualBox 5.1.14 r112924 (Qt5.6.2)
docker-machine version 0.10.0, build 76ed2a6
Same error using the Azure driver:
Machine gets created, docker-machine ssh works. docker-machine env fails with the tls error above.

Any updates on this issue, any one been able to solve this?
I'm also getting with same with following version installed
$ docker -v
Docker version 17.03.1-ce, build c6d412e
$ docker-machine -v
docker-machine version 0.10.0, build 76ed2a6
MAC OS 10.12.3 and VirtualBox 5.0.10 r104061 and Version 5.1.18 r114002 (Qt5.6.2)

While it's not a fix, I can say that the equivalent functionality built into minikube works just fine in the same environment where docker-machine is failing. Since I'm playing with kubernetes anyway, that works well for me.
minikube start
eval $(minikube docker-env)
then run docker normally. Kubernetes runs inside of docker containers, and minikube uses boot2docker and what appears to be similar or identical code to docker-machine to bootstrap it. I'm abusing the machine kubernetes runs in to do my laptop docker stuff. In production, I'm skipping docker-machine and just installing docker in a regular ubuntu vm.
For what it's worth, here's how far I got when I stopped looking:

using docker-machine ssh works, and I get logged in to the machine running docker.
from within that machine, docker daemon is up and running and listening on its standard socket. "docker run hello-world" works from the busybox prompt inside that machine.
port 2376 is listening from inside (on the vm) and from outside (on the host).
testing with openssl, I get a response from inside the boot2docker vm, but no data when connecting from the host.
old versions of docker-machine seem to do the same thing
I think it broke about when I started playing with minikube and I upgraded docker and docker-machine. :( Not sure if any of that is related.

While it's not a fix, I can say that the equivalent functionality built into minikube works just fine in the same environment where docker-machine is failing. Since I'm playing with kubernetes anyway, that works well for me.
minikube start
eval $(minikube docker-env)
then run docker normally. Kubernetes runs inside of docker containers, and minikube uses boot2docker and what appears to be similar or identical code to docker-machine to bootstrap it. I'm abusing the machine kubernetes runs in to do my laptop docker stuff. In production, I'm skipping docker-machine and just installing docker in a regular ubuntu vm.
For what it's worth, here's how far I got when I stopped looking:

using docker-machine ssh works, and I get logged in to the machine running docker.
from within that machine, docker daemon is up and running and listening on its standard socket. "docker run hello-world" works from the busybox prompt inside that machine.
port 2376 is listening from inside (on the vm) and from outside (on the host).
testing with openssl, I get a response from inside the boot2docker vm, but no data when connecting from the host.
old versions of docker-machine seem to do the same thing
I think it broke about when I started playing with minikube and I upgraded docker and docker-machine. :( Not sure if any of that is related.

testing with openssl, I get a response from inside the boot2docker vm, but no data when connecting from the host.

Sounds like this is the issue then, no response on ingress from the host machine to the VM host only interface IP

It could potentially be due to overlapping CIDR / IP collision... I wonder if there are any virtualbox logs which might make the problem more obvious

@nathanleclaire same issue with another cidr.
kirill.ivannikov@LAZ-RU-L-M-0192 ~> docker-machine create -d "virtualbox" --virtualbox-hostonly-cidr "<IP_ADDRESS>/24" default Running pre-create checks... Creating machine... (default) Copying /Users/kiryam/.docker/machine/cache/boot2docker.iso to /Users/kiryam/.docker/machine/machines/default/boot2docker.iso... (default) Creating VirtualBox VM... (default) Creating SSH key... (default) Starting the VM... (default) Check network to re-create if needed... (default) Found a new host-only adapter: "vboxnet1" (default) Waiting for an IP... Waiting for machine to be running, this may take a few minutes... Detecting operating system of created instance... Waiting for SSH to be available... Detecting the provisioner... Provisioning with boot2docker... Copying certs to the local machine directory... Copying certs to the remote machine... Setting Docker configuration on the remote daemon... Checking connection to Docker... Error creating machine: Error checking the host: Error checking and/or regenerating the certs: There was an error validating certificates for host "<IP_ADDRESS>:2376": tls: DialWithDialer timed out You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'. Be advised that this will trigger a Docker daemon restart which might stop running containers.
I also playng with minikube before it happens.

@nathanleclaire
There is virtualbox logs:
00:00:00.000087 main     Log opened 2017-04-07T11:10:57.938261000Z
00:00:00.001562 main     OS Product: Linux
00:00:00.001590 main     OS Release: 4.4.59-boot2docker
00:00:00.001610 main     OS Version: #1 SMP Fri Mar 31 17:24:41 UTC 2017
00:00:00.001627 main     Executable: /sbin/VBoxService
00:00:00.001628 main     Process ID: 2285
00:00:00.001629 main     Package type: LINUX_64BITS_GENERIC
00:00:00.006696 main     5.1.18 r114002 started. Verbose level = 0
00:00:00.011885 vminfo   rtldrNativeLoad: dlopen('libdbus-1.so.3', RTLD_NOW | RTLD_LOCAL) failed: libdbus-1.so.3: cannot open shared object file: No such file or directory
00:00:00.011987 vminfo   Error: Unable to connect to system D-Bus (1/3): D-Bus not installed
sf_read_super_aux err=-71
NET: Registered protocol family 10
00:00:05.013460 vminfo   Error: Unable to connect to system D-Bus (2/3): D-Bus not installed
bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Bridge firewalling registered
nf_conntrack version 0.5.0 (7966 buckets, 31864 max)
IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
aufs au_opts_verify:1607:dockerd[2498]: dirperm1 breaks the protection by the permission bits on the lower branch
00:00:10.016148 vminfo   Error: Unable to connect to system D-Bus (3/3): D-Bus not installed
IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready```

This is the Log I'm recieving right now.
Running pre-create checks...
(django) Default Boot2Docker ISO is out-of-date, downloading the latest release...
(django) Latest release for github.com/boot2docker/boot2docker is v17.04.0-ce
(django) Downloading /Users/erickagrazal/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v17.04.0-ce/boot2docker.iso...
(django) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
Creating machine...
(django) Copying /Users/erickagrazal/.docker/machine/cache/boot2docker.iso to /Users/erickagrazal/.docker/machine/machines/django/boot2docker.iso...
(django) Creating SSH key...
(django) Creating VM...
(django) Creating disk '/Users/erickagrazal/.docker/machine/machines/django/django.vmdk'
(django) Virtual disk creation successful.
(django) Starting django...
(django) Waiting for VM to come online...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Error creating machine: Error checking the host: Error checking and/or regenerating the certs: There was an error validating certificates for host "<IP_ADDRESS>:2376": tls: DialWithDialer timed out
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which might stop running containers.```

I just upgraded to
Docker version 17.04.0-ce, build 4845c56
docker-machine version 0.11.0, build 5b27455
I'm not having any troubles now. Did this get fixed?

@bjtucker : where have u got the update from?
For me docker says i'm on the latest at
$ docker -v
Docker version 17.03.1-ce, build c6d412e
$ docker-machine -v
docker-machine version 0.10.0, build 76ed2a6

I installed docker and docker-machine with homebrew.
inspecting the beginning of the brew formulas, it looks like it pulls and builds docker and docker-machine directly from github/docker.
with homebrew installed, the commands are
brew install docker
brew install docker-machine
Here are the tops of those formulas, which specify where they pull code from.
class Docker < Formula
  desc "Pack, ship and run any application as a lightweight container"
  homepage "https://www.docker.com/"
  url "https://github.com/docker/docker.git",
      :tag => "v17.04.0-ce",
      :revision => "4845c567eb35d68f35b0b1713a09b0c8d47fe67e"

...
class DockerMachine < Formula
  desc "Create Docker hosts locally and on cloud providers"
  homepage "https://docs.docker.com/machine"
  url "https://github.com/docker/machine.git",
      :tag => "v0.11.0",
      :revision => "5b274558ea6ca822c06dd407a4e774a0105c3f60"

Not sure what changed, but now the behavior is back for me. Same versions as above, but I get DialWithDialer timed out.
When it started working, I tested using local VirtualBox, Azure, and AWS. All three worked. This evening, it's failing again with VirtualBox and Azure and AWS.
docker-machine ssh continues to work, but anything connecting to the docker engine fails.
As before, after I connect in to any of these machines via docker-machine ssh, the docker engine is running and listening locally.
I don't know what I did to get it working, and I don't know why it failed again. The success I had came right after upgrading docker and docker-machine with homebrew, but who knows. I didn't make any significant changes I am aware of to make it stop working. I'm a bit stumped.
Since this behavior occurs in AWS and Azure machines exactly the same way, I'm not expecting to find the source of the issue in VirtualBox networking anymore.
I am guessing that there is something in the cert I am providing that docker engine doesn't like. But I don't know quite enough about the docker-engine TLS setup to diagnose it.
If any more information or troubleshooting steps would be helpful in narrowing this down, I'm happy to provide.
Here's my failure using AWS, with the IP address removed.
$ docker-machine create --driver amazonec2 --amazonec2-region eu-central-1 --amazonec2-zone a dockeraws2
Running pre-create checks...
Creating machine...
(dockeraws2) Launching instance...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with ubuntu(systemd)...
Installing Docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Error creating machine: Error checking the host: Error checking and/or regenerating the certs: There
was an error validating certificates for host "###.###.###.###:2376": tls: DialWithDialer timed out
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which might stop running containers.

$ docker-machine ssh dockeraws2
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-57-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

119 packages can be updated.
40 updates are security updates.

*** System restart required ***
ubuntu@dockeraws2:~$ sudo docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
78445dd45222: Pull complete
Digest: sha256:c5515758d4c5e1e838e9cd307f6c6a0d620b5e07e6f927b07d05f6d12a1ac8d7
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://cloud.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/engine/userguide/

ubuntu@dockeraws2:~$ exit

For my local Virtualbox instance, I turned off TLS, and it works. I create a broken docker machine with
$ docker-machine create default

The machine gets built normally, but the process ends with the same old error:
Error creating machine: Error checking the host: Error checking and/or
regenerating the certs: There was an error validating certificates for
host "<IP_ADDRESS>:2376": tls: DialWithDialer timed out

To get it working,
$ docker-machine ssh default
docker@default:~$ sudo vi /var/lib/boot2docker/profile

I changed the DOCKER_TLS line from 'auto' to 'no'
DOCKER_TLS=no

then restarted the docker service.
docker@default:~$ sudo /etc/init.d/docker restart
docker@default:~$ exit

$ docker-machine ip default
<IP_ADDRESS>

$ export DOCKER_HOST='tcp://<IP_ADDRESS>:2376'

$ docker run hello-world

(this worked.)
Running without TLS isn't a good fix, but using the same port without TLS was a good diagnostic step. If this were a TCP trouble, I'd expect connecting to tcp://<IP_ADDRESS>:2376 would fail whether I was using TLS or not.

For those experiencing the issue, is it on Mac or on Windows?

For me, it's on Mac, and VirtualBox because HyperKit doesn't support my CPU.

+1
Docker version 17.05.0-ce, build 89658be
docker-machine version 0.11.0, build 5b27455
Installed via brew

Some info, idk if relevent but still, the following python script does work :
import docker
tls_config = docker.tls.TLSConfig(
  client_cert=('/Users/mymacusername/.docker/machine/certs/cert.pem', '/Users/mymacusername/.docker/machine/certs/key.pem')
)
client = docker.DockerClient(base_url='tcp://myserverip:2376/', tls = tls_config)
for image in client.images.list():
    print image.id

Thanks @pomarec! I just tested on my machine and I can confirm I see the same behavior when I test your script. docker-machine env (for instance) still fails with the same "tls: DialWithDialer timed out" error as before.

Close this Issue if we don't have an answer to it !!
Sorry, but It's too frustrating !!


D3 6.0 compatibility

D3 6.0 changed event handling logics (see D3 6.0 migration guide), will you consider upgrading?

I'd accept a PR.

@patorjk any news on the issue? The PR #57 by @ngg has been open for quite some time now. PR works like a charm on my end.

@patorjk any news on the issue? The PR #57 by @ngg has been open for quite some time now. PR works like a charm on my end.

I missed that sorry, I'll try it out tonight.

I missed that sorry, I'll try it out tonight.

Just published an update, library should now work with D3 6.

Just published an update, library should now work with D3 6.


Plugins: pass data (state) between stages of same event

Summary:
There currently does not seem to be an easy way in the Plugins API to associate different stages of the same event with each other. Without a way to tell, for example, that a model:put put:called and a model:put request:pre instances are generated while saving  a single particular model instance, plugins are limited to performing stateless operations, where they have to treat each event stage separately, and not as part of the same event.
If a plugin needs to statefully process an item across multiple stages (carry some result from previous stage to the next), this can be a problem. What do you think is the best solution to this problem? I am thinking about adding updateState method to actions objects passed to the plugin listeners, and the value returned from this method can then be available as the state prop on the event object during the next event stage. This prop can either be globally assigned to the event (and so the value will be available across all plugins), or it can be plugin-specific - only the plugin that sets state will have access to it, and different plugins may have different states.
Please let me know what you think, because I would like to submit a PR.
Code sample:
plugin.on('model:put', 'put:called', ({ event, actions }) => {
  const { updateTimestamps } = event.options;
  actions.updateState(updateTimestamps);
});

plugin.on('model:put', 'request:pre', ({ event }) => {
  console.log(event.state) // outputs "true" if model.save() was called with updateTimestamps set to true
});

Type (select 1):

[ ] Bug report
[x] Feature suggestion
[x] Question
[ ] Other suggestion
[ ] Something not listed here

Other:

[x] I have read through the Dynamoose documentation before posting this issue
[x] I have searched through the GitHub issues (including closed issues) and pull requests to ensure this issue has not already been raised before
[x] I have searched the internet and Stack Overflow to ensure this issue hasn't been raised or answered before
[x] I have tested the code provided and am confident it doesn't work as intended
[x] I have ensured that all of my plugins that I'm using with Dynamoose are listed above
[x] I have filled out all fields above
[x] I am running the latest version of Dynamoose

@fishcharlie any chance I can get your input on this some time soon?

@fishcharlie do you think you'll be able to respond to this any time soon? I have to resolve this before going forward with the optimistic locking plugin.

@dolsem I'm not really sure the best way to go about this. Part of me thinks that having it be stateless is a good idea. But I'm not completely sure I'm following on the use case for why it's required for optimistic locking.
I'm also not sure I completely understand the code example from like an ease of use standpoint. I'm not sure it'll make complete sense to plugin developers.

@fishcharlie my idea was to give users an option to use timestamps to keep track of versions, instead of creating a new version field. The problem is that I would have to get the original updatedAt value before saving, before Dynamoose overwrites it with the current timestamp. Otherwise the code will always assume it's saving the newest version. I can now get that value during 'put:called', but to implement optimistic locking I need to add conditions to the DynamoDB request during 'request:pre'.
So I need a way to tell that an instance of 'put:called' and an instance of 'request:pre' come from the same save operation on the same object. It's difficult to do that without passing some kind of state between stages.
I'm not sure why the code is confusing, it's similar to how Plugins API currently operates. Just to clarify, event.state holds the value of whatever you pass to updateState() at the previous stage, it can be any type.

After looking into this again I realized that updatedAt value is set by Dynamoose itself prior to saving, not by DynamoDB, so using it for optimistic locking is a pretty bad idea.


showing error after opening of stable diffusion webui

I used drive coloab run file after launching one of the link it shows this command in colab and error in webui tab at setting area and model change area can anyone tell me why its showing :
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/gradio/routes.py", line 337, in run_predict
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.9/dist-packages/gradio/blocks.py", line 1018, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "/usr/local/lib/python3.9/dist-packages/gradio/blocks.py", line 947, in postprocess_data
prediction_value = postprocess_update_dict(
File "/usr/local/lib/python3.9/dist-packages/gradio/blocks.py", line 371, in postprocess_update_dict
update_dict = block.get_specific_update(update_dict)
File "/usr/local/lib/python3.9/dist-packages/gradio/blocks.py", line 257, in get_specific_update
specific_update = cls.update(**generic_update)
TypeError: update() got an unexpected keyword argument 'multiline

Hi @YuukiRuyam 👋 did you use install colab

Hi @YuukiRuyam 👋 did you use install colab

yes first i install it and then run
i was using it for quite a while after update its showing this problem

please use One Time Install & Update again maybe fixes

I already used one time install & update 2 time but it's still not fixed so I m thinking to fully uninstall and reinstall again .so will it not cause any problems??

please copy paste the install colab output here

Whole code output

yep

It was running fine before today, but today there is such an error, what is the problem, how can I solve it, it seems that my friend also has the same problem

Install colab output
/content
Mounted at /content/drive
env: PYTHONDONTWRITEBYTECODE=1
Selecting previously unselected package libc-ares2:amd64.
(Reading database ... 122349 files and directories currently installed.)
Preparing to unpack .../libc-ares2_1.15.0-1ubuntu0.2_amd64.deb ...
Unpacking libc-ares2:amd64 (1.15.0-1ubuntu0.2) ...
Selecting previously unselected package libaria2-0:amd64.
Preparing to unpack .../libaria2-0_1.35.0-1build1_amd64.deb ...
Unpacking libaria2-0:amd64 (1.35.0-1build1) ...
Selecting previously unselected package aria2.
Preparing to unpack .../aria2_1.35.0-1build1_amd64.deb ...
Unpacking aria2 (1.35.0-1build1) ...
Setting up libc-ares2:amd64 (1.15.0-1ubuntu0.2) ...
Setting up libaria2-0:amd64 (1.35.0-1build1) ...
Setting up aria2 (1.35.0-1build1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui'...
remote: Enumerating objects: 17762, done.
remote: Total 17762 (delta 0), reused 0 (delta 0), pack-reused 17762
Receiving objects: 100% (17762/17762), 28.19 MiB | 13.10 MiB/s, done.
Resolving deltas: 100% (12435/12435), done.
Updating files: 100% (200/200), done.
Already on 'v2.1'
Your branch is up to date with 'origin/v2.1'.
HEAD is now at a9fed7c3 Merge pull request #8503 from mcmonkey4eva/filename-length-limit-fix
From https://github.com/camenduru/stable-diffusion-webui

branch              v2.1       -> FETCH_HEAD
Already up to date.
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/embeddings/negative'...
remote: Enumerating objects: 12, done.
remote: Counting objects: 100% (12/12), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 12 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (12/12), 1.70 KiB | 9.00 KiB/s, done.
fatal: cannot exec '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/embeddings/negative/.git/hooks/post-checkout': Permission denied
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/models/Lora/positive'...
remote: Enumerating objects: 6, done.
remote: Total 6 (delta 0), reused 0 (delta 0), pack-reused 6
Unpacking objects: 100% (6/6), 830 bytes | 7.00 KiB/s, done.
fatal: cannot exec '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/models/Lora/positive/.git/hooks/post-checkout': Permission denied

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
63049b|OK  |    83MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/models/ESRGAN/4x-UltraSharp.pth
Status Legend:
(OK):download completed.
--2023-04-06 12:00:10--  https://raw.githubusercontent.com/camenduru/stable-diffusion-webui-scripts/main/run_n_times.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 533 [text/plain]
Saving to: ‘/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/scripts/run_n_times.py’
/content/drive/MyDr 100%[===================>]     533  --.-KB/s    in 0s
2023-04-06 12:00:10 (20.9 MB/s) - ‘/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/scripts/run_n_times.py’ saved [533/533]
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui'...
remote: Enumerating objects: 11907, done.
remote: Counting objects: 100% (124/124), done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 11907 (delta 62), reused 89 (delta 47), pack-reused 11783
Receiving objects: 100% (11907/11907), 127.83 MiB | 12.58 MiB/s, done.
Resolving deltas: 100% (6988/6988), done.
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser'...
remote: Enumerating objects: 172, done.
remote: Counting objects: 100% (56/56), done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 172 (delta 32), reused 32 (delta 23), pack-reused 116
Receiving objects: 100% (172/172), 65.54 KiB | 2.11 MiB/s, done.
Resolving deltas: 100% (58/58), done.
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/stable-diffusion-webui-huggingface'...
remote: Enumerating objects: 121, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 121 (delta 12), reused 10 (delta 10), pack-reused 106
Receiving objects: 100% (121/121), 28.80 KiB | 1.37 MiB/s, done.
Resolving deltas: 100% (42/42), done.
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-civitai-browser'...
remote: Enumerating objects: 143, done.
remote: Counting objects: 100% (35/35), done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 143 (delta 31), reused 20 (delta 20), pack-reused 108
Receiving objects: 100% (143/143), 34.15 KiB | 1.37 MiB/s, done.
Resolving deltas: 100% (31/31), done.
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-additional-networks'...
remote: Enumerating objects: 716, done.
remote: Counting objects: 100% (414/414), done.
remote: Compressing objects: 100% (174/174), done.
remote: Total 716 (delta 273), reused 314 (delta 238), pack-reused 302
Receiving objects: 100% (716/716), 217.52 KiB | 3.20 MiB/s, done.
Resolving deltas: 100% (391/391), done.
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet'...
remote: Enumerating objects: 3330, done.
remote: Counting objects: 100% (482/482), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 3330 (delta 476), reused 474 (delta 474), pack-reused 2848
Receiving objects: 100% (3330/3330), 8.28 MiB | 11.79 MiB/s, done.
Resolving deltas: 100% (1738/1738), done.
Updating files: 100% (447/447), done.
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/openpose-editor'...
remote: Enumerating objects: 112, done.
remote: Counting objects: 100% (50/50), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 112 (delta 44), reused 37 (delta 37), pack-reused 62
Receiving objects: 100% (112/112), 237.58 KiB | 2.93 MiB/s, done.
Resolving deltas: 100% (47/47), done.
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-depth-lib'...
remote: Enumerating objects: 93, done.
remote: Counting objects: 100% (93/93), done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 93 (delta 17), reused 73 (delta 8), pack-reused 0
Unpacking objects: 100% (93/93), 5.75 MiB | 2.90 MiB/s, done.
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/posex'...
remote: Enumerating objects: 402, done.
remote: Counting objects: 100% (38/38), done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 402 (delta 19), reused 29 (delta 16), pack-reused 364
Receiving objects: 100% (402/402), 11.39 MiB | 14.57 MiB/s, done.
Resolving deltas: 100% (194/194), done.
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-tunnels'...
remote: Enumerating objects: 367, done.
remote: Counting objects: 100% (220/220), done.
remote: Compressing objects: 100% (112/112), done.
remote: Total 367 (delta 164), reused 114 (delta 108), pack-reused 147
Receiving objects: 100% (367/367), 66.73 KiB | 1.80 MiB/s, done.
Resolving deltas: 100% (181/181), done.
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/batchlinks-webui'...
remote: Enumerating objects: 483, done.
remote: Counting objects: 100% (206/206), done.
remote: Compressing objects: 100% (117/117), done.
remote: Total 483 (delta 135), reused 143 (delta 87), pack-reused 277
Receiving objects: 100% (483/483), 4.34 MiB | 11.69 MiB/s, done.
Resolving deltas: 100% (259/259), done.
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/stable-diffusion-webui-catppuccin'...
remote: Enumerating objects: 202, done.
remote: Counting objects: 100% (37/37), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 202 (delta 22), reused 20 (delta 13), pack-reused 165
Receiving objects: 100% (202/202), 13.43 MiB | 13.65 MiB/s, done.
Resolving deltas: 100% (89/89), done.
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/a1111-sd-webui-locon'...
remote: Enumerating objects: 151, done.
remote: Counting objects: 100% (151/151), done.
remote: Compressing objects: 100% (83/83), done.
remote: Total 151 (delta 76), reused 103 (delta 38), pack-reused 0
Receiving objects: 100% (151/151), 33.69 KiB | 1.29 MiB/s, done.
Resolving deltas: 100% (76/76), done.
Cloning into '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd_webui_stealth_pnginfo'...
remote: Enumerating objects: 34, done.
remote: Counting objects: 100% (34/34), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 34 (delta 12), reused 27 (delta 7), pack-reused 0
Unpacking objects: 100% (34/34), 7.54 KiB | 14.00 KiB/s, done.
/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui
HEAD is now at fbe6eab Merge pull request #530 from hithereai/fix_interp_ffmpeg
Already up to date.
HEAD is now at 46dfa95 Merge pull request #1 from camenduru/v2.0
Already up to date.
HEAD is now at 6e824a1 Create LICENSE
Already up to date.
HEAD is now at 0a5aec6 Merge pull request #15 from camenduru/v2.0
Already up to date.
HEAD is now at d944d42 Update README.md
Already up to date.
HEAD is now at 241c05f Merge pull request #652 from DiligentCatCat/main
Already up to date.
HEAD is now at a55ab7c test
Already up to date.
HEAD is now at 28a2238 Update readme and ui screenshot
Already up to date.
HEAD is now at 61169d3 improve style
Already up to date.
HEAD is now at 709b8a0 Update ssh_tunnel.py
Already up to date.
HEAD is now at fceda4d 🎁🪲🔨Hotfix 3.1.1b
Already up to date.
HEAD is now at e11df39 Update webp
Already up to date.
HEAD is now at 8ffee40 Update main.py
Already up to date.
HEAD is now at 9a8709a 🐛universal fix for naughty extensions feeding alpha channel to hiresfix
Already up to date.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
df906c|OK  |    77MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/openpose/hand_pose_model.pth
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
7fee97|OK  |    64MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/openpose/body_pose_model.pth
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
1f51c8|OK  |    77MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/midas/dpt_hybrid-midas-501f0c75.pt
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
47e0ab|OK  |    43MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/mlsd/mlsd_large_512_fp32.pth
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
4cb6ab|OK  |    22MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/mlsd/mlsd_tiny_512_fp32.pth
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
d9350c|OK  |    68MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/hed/network-bsds500.pth
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
f487b9|OK  |    66MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/uniformer/upernet_global_small.pth
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
40bfc3|OK  |    65MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_canny-fp16.safetensors
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
2087e8|OK  |    69MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_depth-fp16.safetensors
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
de602c|OK  |    68MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_hed-fp16.safetensors
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
537a5c|OK  |    71MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_mlsd-fp16.safetensors
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
d33505|OK  |    72MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_normal-fp16.safetensors
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
aea81d|OK  |    75MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_openpose-fp16.safetensors
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
0fafd7|OK  |    36MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_scribble-fp16.safetensors
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
f843a2|OK  |    18MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_seg-fp16.safetensors
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
d38d40|OK  |    66MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_style_sd14v1.pth
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
119501|OK  |    70MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_sketch_sd14v1.pth
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
cee131|OK  |    23MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_keypose_sd14v1.pth
Status Legend:
(OK):download completed.
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
47dd38|OK  |    74MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_color_sd14v1.pth
Status Legend:
(OK):download completed.
*** Download Progress Summary as of Thu Apr  6 12:05:12 2023 ***
[#8ddb4d 1.3GiB/3.9GiB(33%) CN:16 DL:22MiB ETA:2m2s]
FILE: /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.ckpt
*** Download Progress Summary as of Thu Apr  6 12:06:12 2023 ***
[#8ddb4d 2.7GiB/3.9GiB(68%) CN:16 DL:24MiB ETA:52s]
FILE: /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.ckpt
*** Download Progress Summary as of Thu Apr  6 12:07:13 2023 ***
[#8ddb4d 3.9GiB/3.9GiB(99%) CN:16 DL:21MiB ETA:1s]
FILE: /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.ckpt
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
8ddb4d|OK  |    24MiB/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.ckpt
Status Legend:
(OK):download completed.
/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui
Python 3.9.16 (main, Dec  7 2022, 01:11:51)
[GCC 9.4.0]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing gfpgan
Installing clip
Installing open_clip
Cloning Stable Diffusion into /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...
Cloning Taming Transformers into /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/repositories/taming-transformers...
Cloning K-diffusion into /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/repositories/k-diffusion...
Cloning CodeFormer into /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/repositories/CodeFormer...
Cloning BLIP into /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/repositories/BLIP...
Installing requirements for CodeFormer
Installing requirements for Web UI
Installing Deforum requirement: av
Installing Deforum requirement: pims
Installing sd-webui-controlnet requirement: svglib
Installing pycloudflared
Installed

Just to leave it here, I'm also receiving the same error... Even after reinstalling everything anew

Hi @YuukiRuyam 👋  It looks like everything installed correctly. could you also please send the run colab output?

Hi @253189147cc 👋 Hi @kaisar149 Sorry, I accidently deleted import os and forgot to test. 😔 please try again

Now it's working fine
Thanks

sry after error showing again after i restart the webui after changing some setting .
here the output of run
you can see error at the end
run output file.txt

It looks like the tunnel's websocket has disconnected. Please try another link starlette.websockets.WebSocketDisconnect: 1006
ERROR:    Exception in ASGI application https://github.com/camenduru/stable-diffusion-webui-colab/issues/279

Many thanks bro.Now it's working fine