VX-native Umbrella

Working on https://github.com/browniefed/vx this will be an umbrella for issue for all the places that need a fixing. Will keep adding/checking off as progress happens.

[ ] className? Doesn't seem like react-native-svg cares so that's nice, but maybe a transform to remove them
[ ] withBoundingRects needs to not use React-DOM, externalize to vx-primitives.
[ ] vx-brush: getCoordsFromEvent uses DOM node, need to figure out native implementation that would work.
[ ] vx-drag: I don't think this is going to be performant on native, going to need to rework this to use Animated and a PanResponder or react-native-gesture-handler. Unsure
[ ] vx-event: Non-dom version
[ ] vx-legend: Depends on DOM, needs native version. Possibly combine vx-primitives to include DOM and Native too?
[ ] vx-responsive: Needs native port
[ ] vx-text: Text measurement relies on DOM
[ ] vx-tooltip: Depends on DOM
[ ] vx-pattern: Pattern. react-native-svg doesn't support a Pattern element yet.
[x] vx-gradient: Gradient default props are 0%/100%, expected native values are 0 to 1, inject a prop parser for gradient JK, 0% and 100% work.
[ ] vx-gradient: gradientTransform needs it's own transformer

Awesome work thus far @browniefed
It would be great if we also considered how supporting <canvas /> might work (not related to react-native, but might influence the overall implementation).  I would image using something like react-konva to provide the primitives.  This is primarily tracked in #41 but thought it was worth mentioning here.

Partly been following an implementation for a quick injection system that that Leland Richardson uses for Animated. My only hesitation with going with generic primitives is need a transformation layer for some of the minor differences between DOM svg/react-native-svg.
However, with a slightly custom primitive system built for each system to do necessary transforms in render targeting the under-lying interface. Quickly looking at konva it looks like support for gradients is weird but there shouldn't be too many issues with another primitive setting.

I'm sure there will need to be more refactoring, I see Konva doesn't have a TSpan as well.

@browniefed I'm also not sure how much benefit will be gained with using something like Konva/react-konva to provide canvas support, since it will ultimately be adding a component to each canvas entity, which basically returns us back to svg (at least at a high level)
Should probably do some preliminary performance / benefit gains to adding canvas support in general before we venture to far down, but thought it was worth bringing up in this context.

I have some demoes working now in the app, https://github.com/browniefed/vx
You'll need to use haul since it actually follows symlinks.
The getting started is pretty straight forward https://github.com/callstack/haul#getting-started
Some work is needed on touch based stuff, so I'm going to attempt that, I doubt it's going to be easy.
The main issue how I've set stuff up, and the need for additional primitives (View/Text/etc) to be used for tooltips and stuff. So going to need to also figure that whole thing out.

what's the status of this project? any hope of getting something like the WIP of this into the automated tests of the main vx project, so that if progress is made on react-native porting, it sticks?

I don't use graphs anymore on RN so I'd need to do some work.


README Update

This PR has restructured the headings under "List of Functions" into Formulas, Language Specific, and Aggregates and Averages. Other work in this PR

Added many undocumented functions to the README
Fixed heading levels for Install section

@lclarko This is excellent, thank you for your work on this!
closes #121


Use svg.js will pdf to svg, but out of the Chinese garbled

I'm sorry for my bad english, it's not my native language.

This is the code, I hope to help me see why it turns out to be garbled

You'll need to provide all information asked for in the issue template (https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md) because we cannot do anything with just code snippets. By reading your description I can only guess you did not include the cMaps that may be needed for rendering Chinese text. Refer to https://github.com/mozilla/pdf.js/blob/master/examples/svgviewer/viewer.js#L56-L64.

I use the official website example and then convert our own generated pdf, there is also a garbled phenomenon

@timvandermeij


Improve compose box behavior when user does not have permission to post in a stream.

First commit is to show all accessible streams, including the ones to which user cannot post, in the dropdown.
Second commit is to show the banner on opening compose box or changing the stream, if user is not allowed to post.

Fixes:  #25219

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

@alya can you test this?
Also do we want to show all the streams in the dropdown menu in "Move message" option as well. Not sure where we would show the banner in that case.

Hm, the banner looks good, but I'm somehow getting stuck in a "can't post" state.

Can we change the color of the "Send" button and ^ next to it to make it visually clear that it's disabled?

Also do we want to show all the streams in the dropdown menu in "Move message" option as well. Not sure where we would show the banner in that case.

Good question! Yeah, I think showing all the streams + a banner is the right approach in "Move messages" / "Move topic" as well. I guess the banner would go between the modal title and body.
This part can be done as a follow-up PR, and doesn't have to be completed for the release, since it's much more of an edge case.

Updated the PR -

Fixed the bug of being stuck in "can't post" state.
Changed the color of button to a shade of grey to show it is disabled.

Hmm, the disabled "Send" button color seems off to me. I definitely think it doesn't look good in dark theme:

vs.

It also looks too light to me in light theme.

Updated the background color of buttons in disabled state to be same as that in case of modals. Also updated the newly added class to be more clear and use -s instead of _s.

Thanks, those screenshots look good to me!

Merged, thanks @sahil839!


Where should .babelrc reside?

With presets, .babelrc is important. Is it possible to put a local .babelrc inside the directory of a repository (resulting in multiple instances of .babelrc, one per repository)? Or can there be only one .babelrc? If yes then where? In the home directory? how about Windows?
Thanks!

One per repository, feel free to open a PR explaining this

Thanks! What is the algorithm for looking it up? Relative to first file that is evaluated? Relative to working directory? Going up the directory tree until a .babelrc is found?

Oh must've missed this somehow, it looks up from the currently compiling file until it reaches a .babelrc file

Yes, that’s what I figured after taking a look at the source code. I’ve blogged about my findings: http://www.2ality.com/2015/11/configuring-babel6.html
Feel free to copy anything you want, I can give you access to the Markdown source of the post.


feat: extend retention period for API Gateway logs

what
This feature allows users to customize the retention period of the logs in CloudWatch.
why
This is useful for users who need to keep logs for longer periods of time for auditing or compliance purposes.
references
https://github.com/cloudposse/terraform-aws-api-gateway/issues/48

And also add a type? I believe this is an int and not a string

And also add a type? I believe this is an int and not a string

Hello @RoseSecurity ,
The module documentation says that this variable is a string

Repository: https://github.com/cloudposse/terraform-aws-cloudwatch-logs
Variable: line 12 -15  https://github.com/cloudposse/terraform-aws-cloudwatch-logs/blob/main/variables.tf

Is there any way you could run the following to update the docs?
make init
make readme

hey @RoseSecurity ,
I ran make init & make readme to update the documentation. 🚀

LGTM thanks @HectorQuiroz

Thanks @jamengual, I've set the type to be a string as required by tf lint. Can you please approve it again? 💯

And also add a type? I believe this is an int and not a string

Hello @RoseSecurity ,
The module documentation says that this variable is a string

Repository: https://github.com/cloudposse/terraform-aws-cloudwatch-logs Variable: line 12 -15 https://github.com/cloudposse/terraform-aws-cloudwatch-logs/blob/main/variables.tf


Allow multiple pipelienrun for the same event

Changes
Allow multiple pipelinerun on the same event
Fixes #528
A bunch of of refactoring to break out .Run which got moved to its own.
We have a sync.Map of  checkRunIds to track the checkRuns to which pipelineRun, we use github api "external_id" field for that .
We run a goroutine in a workgroups waiting for all the pr to run This wait that all of them finishes before exiting to the adapter goroutine.
We retries if we can't update the RepoStatus until we are able to do it.
TODO (before merge):

[ ] Doc
[ ] E2E tests on multiple PR matching
[ ] Test that webhook and other provider works (which should be creating a new comment)

TODO (post):

[ ] Increase unittesting scenarios
[ ] Add /test prname support

Screenshot:

Submitter Checklist

[x] ♽  Run make test lint before submitting a PR (ie: with pre-commit, no need to waste CPU cycle on CI
[x] 📖 If you are adding a user facing feature or make a change of the behavior, please verify that you have documented it
[x] 🧪 100% coverage is not a target but most of the time we would rather have a unit test if you make a code change.
[x] 🎁 If that's something that is possible to do please ensure to check if we can add a e2e test.
[x] 🔎 If there is a flakiness in the CI tests then don't necessary ignore it, better get the flakyness fixed before merging or if that's not possible there is a good reason to bypass it. (token rate limitation may be a good reason to skip).

also how this is suppose to work with webhooks ?
one message for each pipelinerun outcome ?

also how this is suppose to work with webhooks ?
one message for each pipelinerun outcome ?

the same as before ?
what do you mean by one message?
(there was a bug in e2e with webhooks just before which i just fixed)

also how this is suppose to work with webhooks ?
one message for each pipelinerun outcome ?

the same as before ?
what do you mean by one message?
(there was a bug in e2e with webhooks just before which i just fixed)

while using webhook we post a comment with breakdown
so for multiple pipelinerun
each pr will have a comment I think?
I was thinking there would be too many comments but thats ok I guesss

Gitlab is fine now and looks like this :

I am not sure about bitbucket yet 😅 gitlab api is a bit awkward since you can't upload multiple files at the same time, will see if bitbucket is the same..

Bitbucket is okay now :

may be we should add which pipeline name in comment ?
to know to which pipeline the result belong to
(may be we can improve as we go)


Signature refactoring

Removed boolean parameter validateSignature from the function ResponseMapper.map
Introduced a new function mapInclSignature instead.
Advantages:

No boolean parameter, but a "decorator" function calling a base function instead.
It became more obvious that the response->isValidSignature returns true, if no signature validation happens
This change automatically fixed the unit tests where a transaction object was regarded as a boolean parameter.

Problem with the current code:

TransactionServiceUTest: code duplication between the methods mockProcessingRequest and mockProcessingRequestInclSignature

Coverage decreased (-0.1%) to 99.881% when pulling cbdc39119b5ec5d0da1da9f4243f611e8c228b74 on reka:signature-refactoring into 0047d2bc365a6bdf00af1b58014667cf510ecaeb on wirecard:master.

Coverage remained the same at 100.0% when pulling 72bea305f04fce70f8d00e523b9571bf0cc1842d on reka:signature-refactoring into 0047d2bc365a6bdf00af1b58014667cf510ecaeb on wirecard:master.

Coverage remained the same at 100.0% when pulling 5a07b3ac122576b324dcd96bbe4a216c880a4aa5 on reka:signature-refactoring into 0047d2bc365a6bdf00af1b58014667cf510ecaeb on wirecard:master.


Fix filename for 2-10 report

Signed-off-by: Michael Crosby<EMAIL_ADDRESS>

Codecov Report

Merging #518 into master will not change coverage.

@@           Coverage Diff           @@
##           master     #518   +/-   ##
=======================================
  Coverage   62.12%   62.12%
=======================================
  Files           3        3
  Lines         404      404
=======================================
  Hits          251      251
  Misses         93       93
  Partials       60       60

Continue to review full report at Codecov.

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

Merging this one because its a file rename for the report, that i messed up...


Add asInstanceOf(Class) to AbstractObjectAssert

I imagine that the type() factory can be used mostly to obtain a new ObjectAssert for types which do not have a dedicated Assert class. For example, the result of an extracting("myField") provides an ObjectAssert<Object>, making it difficult to perform other operations which need to have the real type (e.g., a chained extracting(Function) with a class getter).
This PR is meant to be a shortcut for these use cases where, starting from an ObjectAssert, asInstanceOf(type(MyClass.class)) would be used. E.g., (using String just for demonstration):
Object value = "string";

// Bad
assertThat(value) // ObjectAssert<Object>
    .extracting(String::length); // not compiling

// Good
assertThat(value) // ObjectAssert<Object>
     .asInstanceOf(type(String.class)) // ObjectAssert<String>
     .extracting(String::length); // compiling

// Better
assertThat(value) // ObjectAssert<Object>
     .asInstanceOf(String.class) // ObjectAssert<String>
     .extracting(String::length); // compiling

I decided to put the new method under AbstractObjectAssert instead of Assert/AbstractAssert because I think there is no realistic use case which starts from assertions not inheriting from AbstractObjectAssert. E.g.:
List list = Arrays.asList(1,2,3);
assertThat(list) // ListAssert<Integer>
     .asInstanceOf(List.class); // ObjectAssert<List> - What?

Questions

Opinions about the overall idea?
As this method delegates to asInstanceOf(InstanceOfAssertFactories.type(type)), is any change needed for SoftAssertionsTest and BDDSoftAssertionsTest?
Similar to the previous point, are additional Assumptions_assumeThat_with_instanceOf_* tests needed?

Check List:

Fixes NA
Unit tests : YES
Javadoc with a code example (API only) : YES

@scordio that's a good idea :+1:, I agree there is no need for additional soft assertions / assumption tests.
I'll integrate this for 3.13.0 which is going to be released soon, I just have created a first draft of the release notes here https://github.com/assertj/doc/pull/13, it would be great if you could have a look at the section about asIstanceOf.

I gave it more thoughts and now I'm not sure we should add this one, nothing wrong with the idea but my main concern is users can be confused when choosing between
assertThat(value).asInstanceOf(STRING)... // InstanceOfAssertFactories.STRING

and
assertThat(value).asInstanceOf(String.class)...

I believe most users will expect asInstanceOf(String.class) to give them String assertions (that the API I would have liked for narrowing type assertions if it was technically possible) so to avoid confusion I prefer not to add this capability.
WDYT ?

You're definitely right about the possible confusion and the bold text I put in the javadoc should have been a red flag for me :-)
What about using a complete different name for the API?
In this case, a proper shortcut implementation could be provided in all the assert classes which have a corresponding parameterized factory. E.g.:

AbstractObjectAssert#withValueType(String.class) --> asInstanceOf(type(String.class))
AbstractObjectArrayAssert#withElementType(String.class) --> asInstanceOf(array(String.class))
ListAssert#withElementType(String.class) --> asInstanceOf(list(String.class))

My only doubt is what to do with children of AbstractObjectAssert which are setting the ACTUAL type parameter to a specific value and therefore don't have a corresponding parameterized factory. They could maybe throw an UnsupportedOperationException but I don't like it 100%.
What do you think?

Slightly related to this topic, I found a possible improvement with extracting(Function)  that I think would be nice for 3.13.
PR coming soon :-)

@scordio is this idea still relevant with the extracting improvement ?

@joel-costigliola I think the extracting improvement partially covers one of the use cases mentioned here and arrays and collections are still uncovered.
However, I still have the feeling this would be an api that can confuse the end user and right now I don't see a clear benefit. I will try first to enhance extracting(String) and first() methods to support better assertion types via InstanceOfAssertFactory.
I'm going to close this PR to avoid confusion.

I had the same feeling too, I think that enhancing the other extracting and navigational methods (first, last ... ) should likely be enough.


Update flatbuffers

Which issue does this PR close?

Closes #.
Rationale for this change

Fixes RUSTSEC-2021-0122
What changes are included in this PR?

Updates to flatbuffers 22.9.2
Are there any user-facing changes?
Yes, the generated code is changed, although most users will not be using these directly

🎉


[cmake | bindings] Set PROJECT_CUSTOM_HEADER_EXTENSION to "hpp", remove direct includes of Boost.python

foot-trajectory: optimize ndcurves includes
fwd.hpp : remove aligator frameplacement include
fwd.hpp : remove aligator core includes, redundant
lowlevel-contol : do not using-namespace pinocchio

fwd.hpp : set alias pin = pinocchio
using-decl FrameIndex and SE3

fwd.hpp : remove includes from pinocchio/algorithm (very heavy)
pre-commit-config : change autoupdate branch
lowlevel-control.hpp : remove unused includes
lowlevel-control.hpp : remove redundant proxqp include
Fix use of deprecated pin::Model::effortLimit member

This change is part of the following stack:

#8

#9 ◀

Change managed by git-spice.

This PR will be merged into #8, or after #8.


valid hosts are deleted from /etc/hosts

Do NOT include any confidential information, this issue will be created on a public repo
This section is completed by the issue reporter
On which version(s) do you encounter this issue?
Please provide the output to 'git describe --all' for  all deployments where you have confirmed it occurs.
12.0.15
What type of issue is this? Please tick the appropriate box.

[x] bug - existing functionality that does not work for you as documented
[ ] feature - new functionality that you would like to see added

What is the expected behavior?
/usr/local/bin/openstack-host-hostfile-setup.sh to not delete valid hosts from /etc/hosts
What is actually happening?
/usr/local/bin/openstack-host-hostfile-setup.sh is deleting valid hosts from /etc/hosts as it is not properly matching host IPs.
What were you attempting to do when you encountered this error (give as much detail as possible)?
When running openstack-ansible --tags=openstack-host-hostfile setup-hosts.yml valid new hostname entries to /etc/hosts were added but then removed due to bad logic in the script /usr/local/bin/openstack-host-hostfile-setup.sh
#Example:
After running openstack-ansible --tags=openstack-host-hostfile setup-hosts.yml
View the contents of openstack-host-hostfile-setup.sh and /etc/hosts for hosts in range <IP_ADDRESS> - <IP_ADDRESS> and another host (infra01) which has a last octet of .14:
grep <IP_ADDRESS> /usr/local/bin/openstack-host-hostfile-setup.sh
sed -i '/^<IP_ADDRESS>.*/d' /etc/hosts
echo '<IP_ADDRESS> compute001' | tee -a /etc/hosts
sed -i '/^<IP_ADDRESS>.*/d' /etc/hosts
echo '<IP_ADDRESS> compute002' | tee -a /etc/hosts
sed -i '/^<IP_ADDRESS>.*/d' /etc/hosts
echo '<IP_ADDRESS> infra01' | tee -a /etc/hosts

The last sed statement for infra01 ends up deleting entries for the computes as there should be a space after the IP address:
sed -i '/^<IP_ADDRESS>.*/d' /etc/hosts
VS possible alternative
sed -i '/^<IP_ADDRESS> .*/d' /etc/hosts
How can we reproduce this issue?
Add additional hosts to an environment with similar IP setup as shown above and after running openstack-ansible --tags=openstack-host-hostfile setup-hosts.yml
make sure /etc/hosts is not missing valid host entries.
How can we verify your issue is addressed?
Ensure /usr/local/bin/openstack-host-hostfile-setup.sh no longer deletes valid host entires from /etc/hosts
If you are using or know of a workaround please describe the necessary steps?
Insert a space after the IP address for each sed to properly match host IPs
 sed -i '/^<IP_ADDRESS> .*/d' /etc/hosts
What is your evaluation on the importance of this issue, and why?
Somewhat important as there could be communication issues between hosts if valid /etc/hosts entries are suddenly removed during maintenances or additions.

This section is completed during the issue resolution process. If you are reporting an issue, please do not modify the section below.
Which branches are impacted by this issue?
Remove branches that are not impacted.
For each pull request, update the branch line to reference it.

[ ] master
[ ] mitaka-13.0
[ ] liberty-12.2
[ ] kilo

Upgrade impact. Consider the impact on moving between major, minor and patch releases.

[ ] This change does not impact upgrades
[ ] This change addresses a potential upgrade impact
[ ] The upgrade impact is being tracked by another issue.

The issue tracking the upgrade impact is:
Testing impact

[ ] An issue/pull-request has been create or exists to track the testing gap, and is referenced below
[ ] This change includes additional testing
[ ] This change is tested by the existing setup

Additional testing links:
Release note

[ ] This change includes a release note.
[ ] This change does not require a release note.

Doc Impact
Does your change require documentation?

[ ] Yes, and I submitted an issue to Docs issues
[ ] Yes, and I contributed a documentation patch to docs-rpc
[ ] No documentation required for this change

Additional documentation links (please add links if you have ticked yes):

This has been addressed upstream with https://github.com/openstack/openstack-ansible/commit/3d3fed574ca93397ea1a6930928f468c1508a55d. Hence you should use a recent RPC 12.2.1 version to have this fixed. This will bring us in a bad situation where you have to update the RPC version before adding nodes for example

I'm closing this as invalid because it is already fixed.
@jaime-gutierrez please include the RPCO version not the OSA version next time you create an issue.


Move ExecutionControllerUtils file

Move ExecutionControllerUtils to the right directory under /executor.

Pull Request Test Coverage Report for Build 4281

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 36.498%

Totals

Change from base Build 4280:
0.0%

Covered Lines:
10763

Relevant Lines:
29489

💛  - Coveralls


Simplify tests for settle&unlock

As mentioned in https://github.com/raiden-network/raiden-contracts/pull/189#discussion_r218134369,
the tests may be simplified by using parametrized ranges.
Suggestion: https://github.com/raiden-network/raiden-contracts/pull/189#discussion_r218443021

Just one note: Usually parametrized tests are way slower to run.

Fixed in https://github.com/raiden-network/raiden-contracts/pull/278


Provide web application

Provide a Java servlet application
Including:

[ ] Deploy the webserver with TomCat, Apache etc.
[ ] Make Webpages (Using MVC Frameworks)
[ ] Testing and deploy and test the website/ webserver

I'm going to close this issue because in my opinion deploying the DRAMA-Compiler on a web server is not necessary. The time investment required to make this work is in my opinion simply not worth the marginal benefit of having a small scale compiler web application. However, after the project is finished, I am certainly open to deploying a website where users can install the compiler and read documentation.


Extended socket protocol

Hello,
How to expand the socket protocol? There are lots of connection errors in the following ways.
thaks.
from locust import Locust, events, task, TaskSet
import socket
import time

class TcpSocketClient(socket.socket):
    def __init__(self, af_inet, socket_type):
        super(TcpSocketClient, self).__init__(af_inet, socket_type)

    def connect(self, address):
        start_time = time.time()
        try:
            super(TcpSocketClient, self).connect(address)
        except Exception as e:
            total_time = int((time.time() - start_time) * 1000)
            events.request_failure.fire(request_type="tcpsocket", name="connect", response_time=total_time, exception=e)
        else:
            total_time = int((time.time() - start_time) * 1000)
            events.request_success.fire(request_type="tcpsocket", name="connect", response_time=total_time,
                                        response_length=0)

    def send(self, data, flags=None):
        start_time = time.time()
        try:
            super(TcpSocketClient, self).send(data)
        except Exception as e:
            total_time = int((time.time() - start_time) * 1000)
            events.request_failure.fire(request_type="tcpsocket", name="send", response_time=total_time, exception=e)
        else:
            total_time = int((time.time() - start_time) * 1000)
            events.request_success.fire(request_type="tcpsocket", name="send", response_time=total_time,
                                        response_length=0)

    def recv(self, buffersize, flags=None):
        start_time = time.time()
        try:
            r = super(TcpSocketClient, self).recv(buffersize)
        except Exception as e:
            total_time = int((time.time() - start_time) * 1000)
            events.request_failure.fire(request_type="tcpsocket", name="recv", response_time=total_time, exception=e)
        else:
            total_time = int((time.time() - start_time) * 1000)
            events.request_success.fire(request_type="tcpsocket", name="recv", response_time=total_time,
                                        response_length=0)
            return r

class TcpSocketLocust(Locust):
    """
    This is the abstract Locust class which should be subclassed. It provides an TCP socket client
    that can be used to make TCP socket requests that will be tracked in Locust's statistics.
    """
    def __init__(self):
        super(TcpSocketLocust, self).__init__()
        self.client = TcpSocketClient(socket.AF_INET, socket.SOCK_STREAM)

class TcpTestUser(TcpSocketLocust):
    min_wait = 100
    max_wait = 1000

    class task_set(TaskSet):
        @task
        def send_data(self):
            ADDR = ("<IP_ADDRESS>", 8000)
            self.client.connect(ADDR)
            send_data = 'abcd'.encode('utf-8')
            self.client.send(send_data)
            data = self.client.recv(1024).decode('utf-8')
            print(data)

Environment settings (for bug reports)

OS: win10
Python version:3.6.4
Locust version:0.8.1

Steps to reproduce (for bug reports)

TBD - example code appreciated

@guifa2015 do you still need help with this issue?

ÿes
On Sat, Jul 14, 2018 at 6:17 AM aldenpeterson-wf<EMAIL_ADDRESS>wrote:

@guifa2015 https://github.com/guifa2015 do you still need help with
this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/locustio/locust/issues/776#issuecomment-404967686,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANSOazv_Mv9y6TEC8YwNlnnstPs_VSEoks5uGRyIgaJpZM4TYhGl
.

closing for lack of detail.
If you found an issue with Locust, please submit a new report containing a clear description of the problem.
Make sure to include a concise test case that reproduces the issue, including expected and actual results.


Add option to display range of folding area

In some languages it's hard to tell the extent of a potential folding range.
In VS Code, I couldn't find an option yet to have folding ranges get displayed, so I'd like to propose to add an option to VS Code for displaying the potential folding range by a vertical line:

This would very much ease finding errors like missing line continuation characters in languages like, e.g., PowerShell or Dockerfile.

duplicate of #19690


Add browserify/ browserify-shim support

Hi,
I'm having trouble getting the plugin to work with Browserify (and Browserify-shim). Is there a quick edit that can be made to make this work?
Regards, Daniel.

Same here. I think this is a great idea.


Limit orders on dydx

Hello,
i tested your connector, great job, just i have one issue.
You implemented dydx connector as market orders,
const type = OrderType.MARKET;
its executing to random prices and not on prices you set as limits.
Because markets on dydx are often not liquid Its just losing a lot of money, Maybe you can switch to limit orders? Maybe as option in config ?
I think you need just change from market to limit this line.

Hey @ypsik, @junta
Thank you for bringing this up, as DYDX often encounters issues executing market orders even on the UI side.
By enabling LIMIT, orders this would not only reduce slippage like @ypsik mentioned, but also increase the order success rate.
On my end, there seems to be fewer issues entering a position, however, position exits often fail.
For example, the websocket signal is sent via TradingView, received and recorded in the `tradeHistoryPerpetual.csv1, however, no action at all is taken on exchange.
For my setup, I am currently running on Render, but am not sure how to fetch a more detailed log history.
Recent signal sent that resulted in no action:

Hey @ypsik,
I do not have permission to commit to this repo, but I have forked and modified the dydx service file to support limit orders under my own branch.
I will work on adding additional configuration options within the alert settings for more support.
https://github.com/oh92/tradingview-alert-connector/tree/dydx-enable-limit-orders

Hey @oh92,
Can you open Pull Request if you don't mind?
I'll merge your limit order work to this repo


Update UI colours

Updates the colours of contact mate.
Will have to wait for #184 to be finished too before closing #170

Need suggestions for what colour to use for the profile part

Maybe follow the lighter card colour (Even rows). Also the profile card only has 1 corner rounded

Could I also just check, you added a light theme but is it right to say that the dark theme is no longer in use?

Yep the dark theme is no longer in use, just thought it would be better to leave the original theme there.
The 1 corner rounded was on purpose lol


WCSSP South East Asia

Need to include all reasearch mode models in FOREST

This could be as simple as adding config details to a YAML file or could involve adding a meta-data filtering system on top of the existing menu system to allow users to filter models by region of interest or other meta data, e.g. parallel suite, trial, etc.


Tests: Fix flaky ThrottleDispatcherTests

Description
Should fix https://github.com/MudBlazor/MudBlazor/pull/8576#issuecomment-2044704569
Types of changes

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

Checklist

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

Thanks


hopscotch.startTour(tour) not loading tour in the UI

I have a simple tour inside a meteor react app when I call hopscotch.startTour(tour)  it does not load in the UI.
I checked to make sure the UI is ready and the elements were rendered. I also checked to make sure hopscotch is getting called and is active.
Are there any known issues with React?

Did you try listening for the error event to see if any errors are being fired?
hopscotch.listen('error', onHopscotchError)

No known issues with React specifically. I'd second the recommendation to check and see if any errors are being thrown.


Fix passed build daal4py when there are failed

Description
Please include a summary of the change. For large or complex changes please include enough information to introduce your change and explain motivation for it.
Changes proposed in this pull request:

@michael-smirnov there it is built through a conda-build at the moment, so there are no such problems.


Skin imperfection Check

Can you help me to get percentage of skin imperfection like spots / wrinkles detection ?

This isn't a good channel to get support on the Face API. You might want to check their docs to see if that's even possible: https://docs.microsoft.com/azure/cognitive-services/face/overview.


Remove 'dropdown-divider' when accepting/declining a notification

@ccaylak thats not a bug, because its just not implemented. Fixed this now


Test for transposing a Square SGSarseMatrix.

Adding a test for transposing a square SGSparseMatrix.
#2748
@karlnapf Review, I implemented your style fixes (remove camel case in my new test).

@karlnapf : The valgrind output before adding the test is -
sudarshan@sudarshan-HP-15-Notebook-PC:~/shogun/build/tests/unit$ valgrind --leak-check=full --show-leak-kinds=all ./shogun-unit-test --gtest_filter=*SGSparseMatrix*
==4082== Memcheck, a memory error detector
==4082== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==4082== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==4082== Command: ./shogun-unit-test --gtest_filter=*SGSparseMatrix*
==4082==
Note: Google Test filter = *SGSparseMatrix*
[==========] Running 10 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 10 tests from SGSparseMatrix
[ RUN      ] SGSparseMatrix.multiply_float64_int32
[       OK ] SGSparseMatrix.multiply_float64_int32 (23 ms)
[ RUN      ] SGSparseMatrix.multiply_complex128_int32
[       OK ] SGSparseMatrix.multiply_complex128_int32 (13 ms)
[ RUN      ] SGSparseMatrix.multiply_complex128_float64
[       OK ] SGSparseMatrix.multiply_complex128_float64 (10 ms)
[ RUN      ] SGSparseMatrix.access_by_index
[       OK ] SGSparseMatrix.access_by_index (9 ms)
[ RUN      ] SGSparseMatrix.io_libsvm
[       OK ] SGSparseMatrix.io_libsvm (217 ms)
[ RUN      ] SGSparseMatrix.access_by_index_non_square
[       OK ] SGSparseMatrix.access_by_index_non_square (37 ms)
[ RUN      ] SGSparseMatrix.get_transposed_more_features
[       OK ] SGSparseMatrix.get_transposed_more_features (50 ms)
[ RUN      ] SGSparseMatrix.get_transposed_more_vectors
[       OK ] SGSparseMatrix.get_transposed_more_vectors (40 ms)
[ RUN      ] SGSparseMatrix.from_dense
[       OK ] SGSparseMatrix.from_dense (31 ms)
[ RUN      ] SGSparseMatrix.test_transposed_square_matrix
[       OK ] SGSparseMatrix.test_transposed_square_matrix (82 ms)
[----------] 10 tests from SGSparseMatrix (519 ms total)

[----------] Global test environment tear-down
[==========] 10 tests from 1 test case ran. (568 ms total)
[  PASSED  ] 10 tests.
==4082==
==4082== HEAP SUMMARY:
==4082==     in use at exit: 104 bytes in 1 blocks
==4082==   total heap usage: 115,379 allocs, 115,378 frees, 57,768,018 bytes allocated
==4082==
==4082== 104 bytes in 1 blocks are still reachable in loss record 1 of 1
==4082==    at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==4082==    by 0x740B7A8: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
==4082==    by 0x740FD8A: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
==4082==    by 0x740B9CC: omp_set_dynamic (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
==4082==    by 0x56C9774: shogun::Parallel::Parallel() (in /home/sudarshan/shogun/build/src/shogun/libshogun.so.17.2)
==4082==    by 0x56C95F6: shogun::init_shogun(void (*)(_IO_FILE*, char const*), void (*)(_IO_FILE*, char const*), void (*)(_IO_FILE*, char const*), void (*)(bool&, bool&)) (in /home/sudarshan/shogun/build/src/shogun/libshogun.so.17.2)
==4082==    by 0xCA4231: main (in /home/sudarshan/shogun/build/tests/unit/shogun-unit-test)
==4082==
==4082== LEAK SUMMARY:
==4082==    definitely lost: 0 bytes in 0 blocks
==4082==    indirectly lost: 0 bytes in 0 blocks
==4082==      possibly lost: 0 bytes in 0 blocks
==4082==    still reachable: 104 bytes in 1 blocks
==4082==         suppressed: 0 bytes in 0 blocks
==4082==
==4082== For counts of detected and suppressed errors, rerun with: -v
==4082== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Valgrind output after adding the test is -
sudarshan@sudarshan-HP-15-Notebook-PC:~/shogun/build/tests/unit$ valgrind --leak-check=full --show-leak-kinds=all ./shogun-unit-test --gtest_filter=*SGSparseMatrix*
==4096== Memcheck, a memory error detector
==4096== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==4096== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==4096== Command: ./shogun-unit-test --gtest_filter=*SGSparseMatrix*
==4096==
Note: Google Test filter = *SGSparseMatrix*
[==========] Running 10 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 10 tests from SGSparseMatrix
[ RUN      ] SGSparseMatrix.multiply_float64_int32
[       OK ] SGSparseMatrix.multiply_float64_int32 (22 ms)
[ RUN      ] SGSparseMatrix.multiply_complex128_int32
[       OK ] SGSparseMatrix.multiply_complex128_int32 (14 ms)
[ RUN      ] SGSparseMatrix.multiply_complex128_float64
[       OK ] SGSparseMatrix.multiply_complex128_float64 (10 ms)
[ RUN      ] SGSparseMatrix.access_by_index
[       OK ] SGSparseMatrix.access_by_index (9 ms)
[ RUN      ] SGSparseMatrix.io_libsvm
[       OK ] SGSparseMatrix.io_libsvm (218 ms)
[ RUN      ] SGSparseMatrix.access_by_index_non_square
[       OK ] SGSparseMatrix.access_by_index_non_square (35 ms)
[ RUN      ] SGSparseMatrix.get_transposed_more_features
[       OK ] SGSparseMatrix.get_transposed_more_features (46 ms)
[ RUN      ] SGSparseMatrix.get_transposed_more_vectors
[       OK ] SGSparseMatrix.get_transposed_more_vectors (39 ms)
[ RUN      ] SGSparseMatrix.from_dense
[       OK ] SGSparseMatrix.from_dense (29 ms)
[ RUN      ] SGSparseMatrix.test_transposed_square_matrix
[       OK ] SGSparseMatrix.test_transposed_square_matrix (82 ms)
[----------] 10 tests from SGSparseMatrix (513 ms total)

[----------] Global test environment tear-down
[==========] 10 tests from 1 test case ran. (563 ms total)
[  PASSED  ] 10 tests.
==4096==
==4096== HEAP SUMMARY:
==4096==     in use at exit: 104 bytes in 1 blocks
==4096==   total heap usage: 115,379 allocs, 115,378 frees, 57,768,018 bytes allocated
==4096==
==4096== 104 bytes in 1 blocks are still reachable in loss record 1 of 1
==4096==    at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==4096==    by 0x740B7A8: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
==4096==    by 0x740FD8A: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
==4096==    by 0x740B9CC: omp_set_dynamic (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
==4096==    by 0x56C9774: shogun::Parallel::Parallel() (in /home/sudarshan/shogun/build/src/shogun/libshogun.so.17.2)
==4096==    by 0x56C95F6: shogun::init_shogun(void (*)(_IO_FILE*, char const*), void (*)(_IO_FILE*, char const*), void (*)(_IO_FILE*, char const*), void (*)(bool&, bool&)) (in /home/sudarshan/shogun/build/src/shogun/libshogun.so.17.2)
==4096==    by 0xCA4231: main (in /home/sudarshan/shogun/build/tests/unit/shogun-unit-test)
==4096==
==4096== LEAK SUMMARY:
==4096==    definitely lost: 0 bytes in 0 blocks
==4096==    indirectly lost: 0 bytes in 0 blocks
==4096==      possibly lost: 0 bytes in 0 blocks
==4096==    still reachable: 104 bytes in 1 blocks
==4096==         suppressed: 0 bytes in 0 blocks
==4096==
==4096== For counts of detected and suppressed errors, rerun with: -v
==4096== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
sudarshan@sudarshan-HP-15-Notebook-PC:~/shogun/build/tests/unit$

@karlnapf : The test hasn't introduced any new memory leak as you can see.

@lamday: I added the braces to the two for loops. I don' t think it enhances readability but the style guide does mention it though.

@lambday: I added the braces in the for loops at the end. I don't think it enhances readability but the style guide mentions it. If this is ready to merge, let me know, I will squash all commits into one then.

@sudk1896 I don't think it enhances readability but the style guide mentions it. - I don't think it mentions that :)

Guys can we please stop spamming this thread with this overly verbose style discussion? I very explicitly and clearly said how it has to be in my first response and then repeated it twice.  Shogun code is public to get inspiration and google is full of tutorials how to send clean patches that do nix mix up whitespace or style changes with newly added code.

We can merge this once it is squashed.
BTW for the future, use git commit --amend  -- it avoids having all these commits and the need for squashing for smaller patches -- google its usage

updates here?


Visual indicator for applied changes

Testing #222276
It would be great if we can show some diff decorations temporarily for the applied changes. The "Apply in Editor" is driven by LLM which makes it bit hard to tell which exact changes are being applied on top of current file.

Since a while we no longer apply the changes but have a preview. That let's you see which ranges are changed


Not able to install in Win10 64 Bit

Description
Not able to add the plugin in atom.
The results of beautification are not what I expect.
Input Before Beautification
This is what the code looked like before:
<INSERT CODE HERE>

Expected Output
The beautified code should have looked like this:
<INSERT CODE HERE>

Actual Output
The beautified code actually looked like this:
<INSERT CODE HERE>

Steps to Reproduce

Add code to Atom editor
Run command Atom Beautify: Beautify Editor
This beautified code does not look right!

Debug
Here is a link to the debug.md Gist:
Checklist
I have:

[x] Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
[x] Reloaded (or restarted) Atom to ensure it is not a caching issue
[ ] Searched through existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[ ] Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.
[ ] Generated debugging information by executing Atom Beautify: Help Debug Editor command in Atom and added link for debug.md Gist to this issue

I am having the same issue. Windows 1909, Atom 1.45.0 x 64.  Trying to install through Atom and get error:
npm ERR! code Z_BUF_ERROR
npm ERR! errno -5
npm ERR! zlib: unexpected end of file
Not sure where to go from here.

Issue seems to be fixed for me when I tried later.


The Bluetooth kext support Monterey officially

All in title

Ok will add it later

Is there a chance to upload to monterey natively by just downloading/upgrading via system update when it launch?

Should be possible with the latest OC version

I no longer have that laptop so unfortunately I can no longer offer support for this repo


Statement property pop-up for indirect edges centred on whole diagram and not on the edge in question

Describe the bug
When testing example data including https://github.com/openownership/data-standard/blob/main/examples/mixed-direct-and-indirect-ownership.json and https://github.com/openownership/data-standard/blob/main/examples/multiple-indirect-ownership.json, the statement property pop-ups for most of the nodes and edges appear centred on the node/edge which the user has clicked on.
But with the indirect edges appearing at the bottom of the diagram for each of these two examples, clicking on that edge makes the pop-up window appear in the middle of the diagram rather than over the middle of the edge in question.
To Reproduce
Steps to reproduce the behavior:

Paste this JSON into the visualiser tool and click 'Draw'
Click on the owns 60% indirect edge going from Person 1 to Company B
The statement property pop-up window should appear but is centred in the middle of the whole diagram not in the middle of the edge in question (see image below)

Expected behavior
The statement property pop-up window should appear centred on the middle of the edge the user has clicked rather than the middle of the whole diagram
Screenshots

Desktop (please complete the following information):

OS: iOS
Browser: Chrome
Version: 130.0.6723.117 (Official Build) (arm64)

The reason this happens is that it uses the bounding box of the edge clicked, so in this example it uses the upper-most edge (i.e. where the edge curves upwards) as the top of the edge and places the tooltip there:

To fix this will likely involve storing the mouse (or touch) position at the point of interaction and setting the tooltip's coordinates to that.

@codemacabre Thanks for the response. This isn't a high-priority issue to fix so let's leave on the backlog for now


Bot will not rejoin voice channel if idle for too long

I have AutoSummon disabled and have the bot set to auto-join my server's music voice channel. If the bot goes without playing music for too long, it will leave the voice channel. It responds to commands as expected and can be restarted, but it will not rejoin the voice channel even if users join, there are songs in the queue, or someone adds a song to the queue. I get this error.
future: <Task finished coro=<MusicPlayer.websocket_check() done, defined at /home/discord/MusicBot/musicbot/player.py:280> exception=TimeoutError()>
Traceback (most recent call last):
  File "/home/discord/MusicBot/musicbot/player.py", line 287, in websocket_check
    assert self.voice_client.ws.open
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/home/discord/MusicBot/musicbot/player.py", line 291, in websocket_check
    await self.bot.reconnect_voice_client(self.voice_client.channel.server)
  File "/home/discord/MusicBot/musicbot/bot.py", line 310, in reconnect_voice_client
    new_vc = await self.get_voice_client(vc.channel)
  File "/home/discord/MusicBot/musicbot/bot.py", line 237, in get_voice_client
    s_id_data = await asyncio.wait_for(s_id, timeout=10, loop=self.loop)
  File "/usr/local/lib/python3.5/asyncio/tasks.py", line 396, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError

websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 4014, reason = Disconnected..

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/usr/local/lib/python3.5/site-packages/discord/voice_client.py", line 272, in poll_voice_ws
    yield from self.ws.poll_event()
  File "/usr/local/lib/python3.5/site-packages/discord/gateway.py", line 607, in poll_event
    raise ConnectionClosed(e) from e
discord.errors.ConnectionClosed: WebSocket connection is closed: code = 4014, reason = Disconnected..
[Debug] Voice websocket is CLOSED, reconnecting

I'm having this issue as well. Using Ubuntu now because I experienced the issue in Windows first and I decided to switch OS, but it doesn't fix it.

I've experienced this issue too.
But if this happens, i summon the bot manually.

I have this same exact error, it wasn't happening at first and I don't recall doing anything or changing anything and it started to happen. Waiting for it to happen again and I'll copy the error just in case it's different or has more information.

AutoSummon only works for forcing the bot to join its owner (if in a voice channel on bot startup)
As for your TimeourError that can be caused by your internet connection, and you you have already started a restart tends to solve it (untill next time)
I believe the review branch does improve this but is still susectable to similer issues.
Please note use of the Review Banch is at your own risk - as it - and with little to no help offered.

Task exception was never retrieved
future: <Task finished coro=<VoiceClient.poll_voice_ws() done, defined at C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py:265> exception=ConnectionClosed('WebSocket connection is closed: code = 1006, no reason.',)>
Traceback (most recent call last):
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\gateway.py", line 604, in poll_event
msg = yield from asyncio.wait_for(self.recv(), timeout=30.0, loop=self.loop)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 392, in wait_for
return fut.result()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(None)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 298, in recv
raise ConnectionClosed(self.close_code, self.close_reason)
websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(None)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py", line 272, in poll_voice_ws
yield from self.ws.poll_event()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\gateway.py", line 607, in poll_event
raise ConnectionClosed(e) from e
discord.errors.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.
[Debug] Voice websocket is CLOSED, reconnecting
Error disconnecting during reconnect
Traceback (most recent call last):
File "C:\Users\scava\MusicBot\musicbot\player.py", line 287, in websocket_check
assert self.voice_client.ws.open
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\scava\MusicBot\musicbot\bot.py", line 302, in reconnect_voice_client
await vc.disconnect()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py", line 293, in disconnect
yield from self.ws.close()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 241, in close
self.worker_task, self.timeout, loop=self.loop)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 392, in wait_for
return fut.result()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 241, in _step
result = coro.throw(exc)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 413, in run
msg = yield from self.read_message()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 435, in read_message
frame = yield from self.read_data_frame(max_size=self.max_size)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 490, in read_data_frame
frame = yield from self.read_frame(max_size)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 525, in read_frame
self.reader.readexactly, is_masked, max_size=max_size)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\framing.py", line 80, in read_frame
data = yield from reader(2)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 670, in readexactly
block = yield from self.read(n)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 627, in read
yield from self._wait_for_data('read')
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 457, in _wait_for_data
yield from self._waiter
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 361, in iter
yield self  # This tells Task to wait for completion.
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 296, in _wakeup
future.result()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\selector_events.py", line 669, in _read_ready
data = self._sock.recv(self.max_size)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Task exception was never retrieved
future: <Task finished coro=<VoiceClient.poll_voice_ws() done, defined at C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py:265> exception=ConnectionClosed('WebSocket connection is closed: code = 1006, no reason.',)>
Traceback (most recent call last):
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\gateway.py", line 604, in poll_event
msg = yield from asyncio.wait_for(self.recv(), timeout=30.0, loop=self.loop)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 392, in wait_for
return fut.result()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(None)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 298, in recv
raise ConnectionClosed(self.close_code, self.close_reason)
websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(None)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py", line 272, in poll_voice_ws
yield from self.ws.poll_event()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\gateway.py", line 607, in poll_event
raise ConnectionClosed(e) from e
discord.errors.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.
[Debug] Voice websocket is CLOSED, reconnecting
Error disconnecting during reconnect
Traceback (most recent call last):
File "C:\Users\scava\MusicBot\musicbot\player.py", line 287, in websocket_check
assert self.voice_client.ws.open
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\scava\MusicBot\musicbot\bot.py", line 302, in reconnect_voice_client
await vc.disconnect()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py", line 293, in disconnect
yield from self.ws.close()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 241, in close
self.worker_task, self.timeout, loop=self.loop)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 392, in wait_for
return fut.result()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 241, in _step
result = coro.throw(exc)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 413, in run
msg = yield from self.read_message()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 435, in read_message
frame = yield from self.read_data_frame(max_size=self.max_size)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 490, in read_data_frame
frame = yield from self.read_frame(max_size)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 525, in read_frame
self.reader.readexactly, is_masked, max_size=max_size)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\framing.py", line 80, in read_frame
data = yield from reader(2)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 670, in readexactly
block = yield from self.read(n)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 627, in read
yield from self._wait_for_data('read')
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 457, in _wait_for_data
yield from self._waiter
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 361, in iter
yield self  # This tells Task to wait for completion.
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 296, in _wakeup
future.result()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\selector_events.py", line 669, in _read_ready
data = self._sock.recv(self.max_size)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Task exception was never retrieved
future: <Task finished coro=<VoiceClient.poll_voice_ws() done, defined at C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py:265> exception=ConnectionClosed('WebSocket connection is closed: code = 1006, no reason.',)>
Traceback (most recent call last):
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\gateway.py", line 604, in poll_event
msg = yield from asyncio.wait_for(self.recv(), timeout=30.0, loop=self.loop)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 392, in wait_for
return fut.result()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(None)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 298, in recv
raise ConnectionClosed(self.close_code, self.close_reason)
websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(None)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py", line 272, in poll_voice_ws
yield from self.ws.poll_event()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\gateway.py", line 607, in poll_event
raise ConnectionClosed(e) from e
discord.errors.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.
[Debug] Voice websocket is CLOSED, reconnecting
Error disconnecting during reconnect
Traceback (most recent call last):
File "C:\Users\scava\MusicBot\musicbot\player.py", line 287, in websocket_check
assert self.voice_client.ws.open
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\scava\MusicBot\musicbot\bot.py", line 302, in reconnect_voice_client
await vc.disconnect()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py", line 293, in disconnect
yield from self.ws.close()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 241, in close
self.worker_task, self.timeout, loop=self.loop)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 392, in wait_for
return fut.result()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 241, in _step
result = coro.throw(exc)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 413, in run
msg = yield from self.read_message()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 435, in read_message
frame = yield from self.read_data_frame(max_size=self.max_size)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 490, in read_data_frame
frame = yield from self.read_frame(max_size)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 525, in read_frame
self.reader.readexactly, is_masked, max_size=max_size)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\framing.py", line 80, in read_frame
data = yield from reader(2)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 670, in readexactly
block = yield from self.read(n)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 627, in read
yield from self._wait_for_data('read')
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 457, in _wait_for_data
yield from self._waiter
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 361, in iter
yield self  # This tells Task to wait for completion.
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 296, in _wakeup
future.result()
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\selector_events.py", line 669, in _read_ready
data = self._sock.recv(self.max_size)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Task exception was never retrieved
future: <Task finished coro=<MusicPlayer.websocket_check() done, defined at C:\Users\scava\MusicBot\musicbot\player.py:280> exception=TimeoutError()>
Traceback (most recent call last):
File "C:\Users\scava\MusicBot\musicbot\player.py", line 287, in websocket_check
assert self.voice_client.ws.open
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(None)
File "C:\Users\scava\MusicBot\musicbot\player.py", line 291, in websocket_check
await self.bot.reconnect_voice_client(self.voice_client.channel.server)
File "C:\Users\scava\MusicBot\musicbot\bot.py", line 310, in reconnect_voice_client
new_vc = await self.get_voice_client(vc.channel)
File "C:\Users\scava\MusicBot\musicbot\bot.py", line 238, in get_voice_client
voice_data = await asyncio.wait_for(_voice_data, timeout=10, loop=self.loop)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 396, in wait_for
raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
Task exception was never retrieved
future: <Task finished coro=<MusicPlayer.websocket_check() done, defined at C:\Users\scava\MusicBot\musicbot\player.py:280> exception=TimeoutError()>
Traceback (most recent call last):
File "C:\Users\scava\MusicBot\musicbot\player.py", line 287, in websocket_check
assert self.voice_client.ws.open
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(None)
File "C:\Users\scava\MusicBot\musicbot\player.py", line 291, in websocket_check
await self.bot.reconnect_voice_client(self.voice_client.channel.server)
File "C:\Users\scava\MusicBot\musicbot\bot.py", line 310, in reconnect_voice_client
new_vc = await self.get_voice_client(vc.channel)
File "C:\Users\scava\MusicBot\musicbot\bot.py", line 238, in get_voice_client
voice_data = await asyncio.wait_for(_voice_data, timeout=10, loop=self.loop)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 396, in wait_for
raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
Task exception was never retrieved
future: <Task finished coro=<MusicPlayer.websocket_check() done, defined at C:\Users\scava\MusicBot\musicbot\player.py:280> exception=TimeoutError()>
Traceback (most recent call last):
File "C:\Users\scava\MusicBot\musicbot\player.py", line 287, in websocket_check
assert self.voice_client.ws.open
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(None)
File "C:\Users\scava\MusicBot\musicbot\player.py", line 291, in websocket_check
await self.bot.reconnect_voice_client(self.voice_client.channel.server)
File "C:\Users\scava\MusicBot\musicbot\bot.py", line 310, in reconnect_voice_client
new_vc = await self.get_voice_client(vc.channel)
File "C:\Users\scava\MusicBot\musicbot\bot.py", line 238, in get_voice_client
voice_data = await asyncio.wait_for(_voice_data, timeout=10, loop=self.loop)
File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 396, in wait_for
raise futures.TimeoutError()
concurrent.futures._base.TimeoutError

As you can see I got mine repeating a few times. If it's somehow tied to my internet connection and not on the bots end I have zero idea what to do about that. I do not have any other sort of connection issue and I run a couple of other bots and a few servers that none have shown any similar issues or any sort of connection issue. As for Musicbot itself, it stays in the discord servers it's only that it disconnects from voice and will not reconnect to voice without restarting the bot, as even doing a summon command does not resolve it. I might just have to not use the autoplay function and allow my users to call him in whenever they want instead.

Task exception was never retrieved
future: <Task finished coro=<VoiceClient.poll_voice_ws() done, defined at C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py:265> exception=ConnectionClosed('WebSocket connection is closed: code = 1006, no reason.',)>
Traceback (most recent call last):
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\gateway.py", line 604, in poll_event
    msg = yield from asyncio.wait_for(self.recv(), timeout=30.0, loop=self.loop)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 392, in wait_for
    return fut.result()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
    raise self._exception
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
    result = coro.send(None)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 298, in recv
    raise ConnectionClosed(self.close_code, self.close_reason)
websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
    result = coro.send(None)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py", line 272, in poll_voice_ws
    yield from self.ws.poll_event()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\gateway.py", line 607, in poll_event
    raise ConnectionClosed(e) from e
discord.errors.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.
[Debug] Voice websocket is CLOSED, reconnecting
Error disconnecting during reconnect
Traceback (most recent call last):
  File "C:\Users\scava\MusicBot\musicbot\player.py", line 287, in websocket_check
    assert self.voice_client.ws.open
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\scava\MusicBot\musicbot\bot.py", line 302, in reconnect_voice_client
    await vc.disconnect()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py", line 293, in disconnect
    yield from self.ws.close()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 241, in close
    self.worker_task, self.timeout, loop=self.loop)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 392, in wait_for
    return fut.result()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
    raise self._exception
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 241, in _step
    result = coro.throw(exc)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 413, in run
    msg = yield from self.read_message()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 435, in read_message
    frame = yield from self.read_data_frame(max_size=self.max_size)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 490, in read_data_frame
    frame = yield from self.read_frame(max_size)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 525, in read_frame
    self.reader.readexactly, is_masked, max_size=max_size)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\framing.py", line 80, in read_frame
    data = yield from reader(2)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 670, in readexactly
    block = yield from self.read(n)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 627, in read
    yield from self._wait_for_data('read')
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 457, in _wait_for_data
    yield from self._waiter
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 296, in _wakeup
    future.result()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
    raise self._exception
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\selector_events.py", line 669, in _read_ready
    data = self._sock.recv(self.max_size)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Task exception was never retrieved
future: <Task finished coro=<VoiceClient.poll_voice_ws() done, defined at C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py:265> exception=ConnectionClosed('WebSocket connection is closed: code = 1006, no reason.',)>
Traceback (most recent call last):
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\gateway.py", line 604, in poll_event
    msg = yield from asyncio.wait_for(self.recv(), timeout=30.0, loop=self.loop)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 392, in wait_for
    return fut.result()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
    raise self._exception
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
    result = coro.send(None)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 298, in recv
    raise ConnectionClosed(self.close_code, self.close_reason)
websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
    result = coro.send(None)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py", line 272, in poll_voice_ws
    yield from self.ws.poll_event()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\gateway.py", line 607, in poll_event
    raise ConnectionClosed(e) from e
discord.errors.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.
[Debug] Voice websocket is CLOSED, reconnecting
Error disconnecting during reconnect
Traceback (most recent call last):
  File "C:\Users\scava\MusicBot\musicbot\player.py", line 287, in websocket_check
    assert self.voice_client.ws.open
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\scava\MusicBot\musicbot\bot.py", line 302, in reconnect_voice_client
    await vc.disconnect()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py", line 293, in disconnect
    yield from self.ws.close()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 241, in close
    self.worker_task, self.timeout, loop=self.loop)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 392, in wait_for
    return fut.result()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
    raise self._exception
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 241, in _step
    result = coro.throw(exc)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 413, in run
    msg = yield from self.read_message()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 435, in read_message
    frame = yield from self.read_data_frame(max_size=self.max_size)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 490, in read_data_frame
    frame = yield from self.read_frame(max_size)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 525, in read_frame
    self.reader.readexactly, is_masked, max_size=max_size)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\framing.py", line 80, in read_frame
    data = yield from reader(2)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 670, in readexactly
    block = yield from self.read(n)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 627, in read
    yield from self._wait_for_data('read')
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 457, in _wait_for_data
    yield from self._waiter
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 296, in _wakeup
    future.result()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
    raise self._exception
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\selector_events.py", line 669, in _read_ready
    data = self._sock.recv(self.max_size)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Task exception was never retrieved
future: <Task finished coro=<VoiceClient.poll_voice_ws() done, defined at C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py:265> exception=ConnectionClosed('WebSocket connection is closed: code = 1006, no reason.',)>
Traceback (most recent call last):
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\gateway.py", line 604, in poll_event
    msg = yield from asyncio.wait_for(self.recv(), timeout=30.0, loop=self.loop)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 392, in wait_for
    return fut.result()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
    raise self._exception
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
    result = coro.send(None)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 298, in recv
    raise ConnectionClosed(self.close_code, self.close_reason)
websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
    result = coro.send(None)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py", line 272, in poll_voice_ws
    yield from self.ws.poll_event()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\gateway.py", line 607, in poll_event
    raise ConnectionClosed(e) from e
discord.errors.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.
[Debug] Voice websocket is CLOSED, reconnecting
Error disconnecting during reconnect
Traceback (most recent call last):
  File "C:\Users\scava\MusicBot\musicbot\player.py", line 287, in websocket_check
    assert self.voice_client.ws.open
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\scava\MusicBot\musicbot\bot.py", line 302, in reconnect_voice_client
    await vc.disconnect()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\discord\voice_client.py", line 293, in disconnect
    yield from self.ws.close()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 241, in close
    self.worker_task, self.timeout, loop=self.loop)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 392, in wait_for
    return fut.result()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
    raise self._exception
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 241, in _step
    result = coro.throw(exc)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 413, in run
    msg = yield from self.read_message()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 435, in read_message
    frame = yield from self.read_data_frame(max_size=self.max_size)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 490, in read_data_frame
    frame = yield from self.read_frame(max_size)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\protocol.py", line 525, in read_frame
    self.reader.readexactly, is_masked, max_size=max_size)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\site-packages\websockets\framing.py", line 80, in read_frame
    data = yield from reader(2)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 670, in readexactly
    block = yield from self.read(n)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 627, in read
    yield from self._wait_for_data('read')
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 457, in _wait_for_data
    yield from self._waiter
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 296, in _wakeup
    future.result()
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
    raise self._exception
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\selector_events.py", line 669, in _read_ready
    data = self._sock.recv(self.max_size)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Task exception was never retrieved
future: <Task finished coro=<MusicPlayer.websocket_check() done, defined at C:\Users\scava\MusicBot\musicbot\player.py:280> exception=TimeoutError()>
Traceback (most recent call last):
  File "C:\Users\scava\MusicBot\musicbot\player.py", line 287, in websocket_check
    assert self.voice_client.ws.open
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
    result = coro.send(None)
  File "C:\Users\scava\MusicBot\musicbot\player.py", line 291, in websocket_check
    await self.bot.reconnect_voice_client(self.voice_client.channel.server)
  File "C:\Users\scava\MusicBot\musicbot\bot.py", line 310, in reconnect_voice_client
    new_vc = await self.get_voice_client(vc.channel)
  File "C:\Users\scava\MusicBot\musicbot\bot.py", line 238, in get_voice_client
    voice_data = await asyncio.wait_for(_voice_data, timeout=10, loop=self.loop)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 396, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
Task exception was never retrieved
future: <Task finished coro=<MusicPlayer.websocket_check() done, defined at C:\Users\scava\MusicBot\musicbot\player.py:280> exception=TimeoutError()>
Traceback (most recent call last):
  File "C:\Users\scava\MusicBot\musicbot\player.py", line 287, in websocket_check
    assert self.voice_client.ws.open
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
    result = coro.send(None)
  File "C:\Users\scava\MusicBot\musicbot\player.py", line 291, in websocket_check
    await self.bot.reconnect_voice_client(self.voice_client.channel.server)
  File "C:\Users\scava\MusicBot\musicbot\bot.py", line 310, in reconnect_voice_client
    new_vc = await self.get_voice_client(vc.channel)
  File "C:\Users\scava\MusicBot\musicbot\bot.py", line 238, in get_voice_client
    voice_data = await asyncio.wait_for(_voice_data, timeout=10, loop=self.loop)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 396, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
Task exception was never retrieved
future: <Task finished coro=<MusicPlayer.websocket_check() done, defined at C:\Users\scava\MusicBot\musicbot\player.py:280> exception=TimeoutError()>
Traceback (most recent call last):
  File "C:\Users\scava\MusicBot\musicbot\player.py", line 287, in websocket_check
    assert self.voice_client.ws.open
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
    result = coro.send(None)
  File "C:\Users\scava\MusicBot\musicbot\player.py", line 291, in websocket_check
    await self.bot.reconnect_voice_client(self.voice_client.channel.server)
  File "C:\Users\scava\MusicBot\musicbot\bot.py", line 310, in reconnect_voice_client
    new_vc = await self.get_voice_client(vc.channel)
  File "C:\Users\scava\MusicBot\musicbot\bot.py", line 238, in get_voice_client
    voice_data = await asyncio.wait_for(_voice_data, timeout=10, loop=self.loop)
  File "C:\Users\scava\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 396, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError

@KingGold171 The recent commits on the review branch are not named very descriptively, do you happen to know which commit(s) tries to fix this issue?

Summoning the bot doesn't work when this happens. I have to restart the bot for it to return to the channel.

@MegaNarwhal Yes, the exact same thing occurs to me. I have unlimited bandwidth so I am currently attempting to have autoplaylist on without autopause, to see if while it is playing music nonstop it won't drop out of voice.

Seems like even with autoplay and not paused it still dies eventually, same exact error message.

When using the version from the review branch, I got this error:
future: <Task finished coro=<VoiceClient.poll_voice_ws() done, defined at /usr/lib/python3.5/site-packages/discord/voice_client.py:265> exception=ConnectionClosed('WebSocket connection is closed: code = 4015, reason = Voice server crashed..',)>
Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/discord/gateway.py", line 614, in poll_event
    msg = yield from asyncio.wait_for(self.recv(), timeout=30.0, loop=self.loop)
  File "/usr/lib64/python3.5/asyncio/tasks.py", line 392, in wait_for
    return fut.result()
  File "/usr/lib64/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib64/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/usr/lib/python3.5/site-packages/websockets/protocol.py", line 298, in recv
    raise ConnectionClosed(self.close_code, self.close_reason)
websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 4015, reason = Voice server crashed..

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib64/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/usr/lib/python3.5/site-packages/discord/voice_client.py", line 272, in poll_voice_ws
    yield from self.ws.poll_event()
  File "/usr/lib/python3.5/site-packages/discord/gateway.py", line 617, in poll_event
    raise ConnectionClosed(e) from e
discord.errors.ConnectionClosed: WebSocket connection is closed: code = 4015, reason = Voice server crashed..

Like before, $summon didn't work and I had to use $restart.

discord.errors.ConnectionClosed: WebSocket connection is closed: code = 4015, reason = Voice server crashed..
This is an issue on Discord's end.

@jaydenkieran I understand, but the bot should be able to reconnect automatically after being disconnected from its voice channel. At this point, it can't even be manually summoned after a disconnection despite saying that it is joining the proper voice channel in the logs.

yeah the bot should restore himself if the connection drops. My bot is running in a docker container.
Quite often in the morning i have to rebuild or restart the container because the bot crashed.
Task finished coro=<MusicPlayer.websocket_check() done, defined at /musicBot/musicbot/player.py:280> exception=TimeoutError()
31.7.2017 08:18:46 The above exception was the direct cause of the following exception:
31.7.2017 08:18:46
31.7.2017 08:18:46 Traceback (most recent call last):
31.7.2017 08:18:46  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
31.7.2017 08:18:46    result = coro.send(None)
31.7.2017 08:18:46  File "/usr/local/lib/python3.5/dist-packages/discord/voice_client.py", line 272, in poll_voice_ws
31.7.2017 08:18:46    yield from self.ws.poll_event()
31.7.2017 08:18:46  File "/usr/local/lib/python3.5/dist-packages/discord/gateway.py", line 607, in poll_event
31.7.2017 08:18:46    raise ConnectionClosed(e) from e
31.7.2017 08:18:46 discord.errors.ConnectionClosed: WebSocket connection is closed: code = 4014, reason = Disconnected..

The bot's still running but not summon anymore:
31.7.2017 10:59:55[Command]<PHONE_NUMBER>62785024/roest ($summon)
31.7.2017 10:59:55 Will not join channel "lobby 🏠", no permission to speak.
31.7.2017 11:00:02[Command] [removedID]/roest ($summon)
31.7.2017 11:00:29[Command] [removedID]/roest ($summon)
31.7.2017 11:00:38[Command] [removedID]/roest ($summon)

is this repository still maintained  ?

Any fix for this?

It's still an ongoing issue.  I've just resorted to keeping the bot in an auto-restart-on-crash loop and allowing users to try restarting or shutting down the bot to bring it back.

Recent updates to the bot may have helped counter this. Make sure to update the bot and dependencies. If you still have issues, let us know.


Use default ManyLinux container and push to GHR only on tags [WIP]

Use default ManyLinux container
Push to GHR only on tags

Why is CI missing for this PR?

Why is CI missing for this PR?


Adding AssociationType as Server to NTP Server config

Adding AssociationType as Server to NTP Server config

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1462

Relevant Lines:
2012

💛  - Coveralls

Could you elaborate on why this change is needed?  The AssociationType leaf has a default value of SERVER so it seems like this change would be redundant.

Could you elaborate on why this change is needed? The AssociationType leaf has a default value of SERVER so it seems like this change would be redundant.
@bstoll , AssociationType leaf if mandatory for ntp server config ,  can we have a deviation until it's fixed

Yes, this could be done with a deviation.  I think I would prefer if this was documented such that the NOS does not populate default values in gNMI requests and not something specific to configuring NTP server.

Cisco, can you append code for deviation itself? One there we will do a quick lgtm round and i will commit. Thanks!
Also, when will this default behavior be implemented?
thanks

vosipchu

@ vosipchu, Added AssociationType as deviation. Will let know when default behavior is implemented

Sash, Yan, need your view on this deviation. If anything is not clear, ping me with questions. Thanks
@sachendras @vcheny

LGTM!
Lets also track the final release for delivery and ETA.


[SITE BROKEN] https://www.readwn.com/

(https://www.readwn.com/)
At attempt to load a short story a constant mistake [ERROR]Service Unavailable! (503)

https://www.novelbed.com/ fix it pls


Enhance matrix to 3x3 (to include perspective information)

What does the pull request do?
Add support for perspective transforms (to allow building 3D rotation effects).
What is the current behavior?
Avalonia uses a 2x3 matrix to describe transformations. SkiaSharp uses a 3x3 matrix offering support for perspective transforms but in SkiaSharpExtensions, these additional fields are always initialized with no perspective (0,0,1).
What is the updated/expected behavior with this PR?
In the end, there should be an easy to use PerspectiveTransform (similar to RotateTransform, ScaleTransform and SkrewTransform).
How was the solution implemented (if it's not obvious)?

enhance Matrix
support new matrix fields in SkiaSharpExtensions (, Avalonia.Direct2D1.PrimitiveExtensions and others?)
provide animate-able PerspectiveTramsform

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: schauerte sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

This PR is an early preview, but maybe someone can already acknowledge that this is going in the right direction.

@schauerte i wonder if you can add a demo demonstrating the perspective transforms?

@schauerte Trying to demo your PR, have some trouble to get it working properly, code is here https://github.com/wieslawsoltes/PerspectiveDemo

@schauerte Trying to demo your PR, have some trouble to get it working properly, code is here https://github.com/wieslawsoltes/PerspectiveDemo

Probably of this
https://github.com/AvaloniaUI/Avalonia/pull/6192/files#diff-b0594b9ff2a2549e0aa0c40a567bdd3add25a7b6dc50b2ba4766dd09d736dd68R167

Note that I've previously tried utilizing perspective from SKMatrix and it behaved in a really, really weird way, so the idea was abandoned until SkiaSharp gets updated to a more recent Skia that properly supports 4x4 matrices.

@wieslawsoltes: It's not finished yet. I haven't tried it myself nor written any unit-tests. AFAIK it could work already when using Matrix directly - like you did. I will take a deeper look at your demo.
@kekekeks: I was heading to support something like described here: http://www.charlespetzold.com/blog/2007/08/250638.html
Since there seem to be some interest and nobody said it's a bad idea, I will continue implementing what I have in mind and probably create a new (more complete) RP.
Thanks for your feedback!

Yes, I was trying exactly those non-affine transformations and they worked in a really weird way when combined with other transformations.


Fix update on flying request

Weird. IIRC, the issue has been fixed in your another pr merged.

Sorry to say ADD and DELETE have fixed but UPDATE missed.

Please address the build failure.


missing description of dynamic segment for static web app

the FQDN for static web app (static site) has a dynamic segment (partitionId)
privatelink.{partitionId}.azurestaticapps.net
the doc page is missing a description of the possible values of this (like there is for "region")

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

ID: a88af182-32aa-a8f3-359d-b92ae1cfb8c7
Version Independent ID: 01ce07fc-4bc2-def5-9ecd-a80330ad9488
Content: Azure Private Endpoint DNS configuration
Content Source: articles/private-link/private-endpoint-dns.md
Service: private-link
GitHub Login: @asudbring
Microsoft Alias: allensu

@phwecker , thank you for your feedback. We have assigned this to the content owner/author for review.
@asudbring , could you please add a description of the possible values of partitionId segment in the static webapp FQDN?

@phwecker Thanks for the feedback! We have created an item in our backlog and will update the article if appropriate.
#please-close

Does anybody know how to question the partition/regionid in order to automate the creation of the private DNS zone? Or maybe a zone to id map?

I am writing bicep files, so how to get partitionId in that
privatelink.{partitionId}.azurestaticapps.net
OR
If we provide without partitionid is it fine like privatelink.azurestaticapps.net

asudbring
Any update on this OR give some hint to us for writing biceps for this here mean while.


standarize events components

Context:
We have two very similar even components, one for the events page, other one for the events of the communities
ToDo:
Standarize/re-use the same component

Getting this convo going...
Which event component are we thinking for the community page? The new long one?

the long one :)