BIGIP connection error

BigIPSetup = (<f5.bigip.ManagementRoot object at 0x105c10a90>, <f5.bigip.ManagementRoot object at 0x105c490d0>, <f5.bigip.ManagementRoot object at 0x105c49550>)
def test_failover_cluster(BigIPSetup):
    for x in range(50):
        a, b, c = BigIPSetup
        bigip_list = [a, b]
        cm = Cluster(
            bigip_list, DEVICE_GROUP_NAME, PARTITION, 'sync-failover')

        cm.create_cluster()
        cm.scale_up_cluster(c)
        bigip_list.append(c)
        cm.scale_down_cluster(c)
        bigip_list.remove(c)
        cm.scale_up_cluster(c)
        bigip_list.append(c)

      cm.teardown_cluster()

test_cluster.py:112:

../../../f5/multi_device/cluster/init.py:83: in teardown_cluster
self.peer_mgr.remove_trusted_peers(bigip)
../../../f5/multi_device/cluster/managers.py:351: in remove_trusted_peers
tds = bigip.tm.cm.trust_domains.trust_domain.load(name=self.trust_name)
../../../f5/bigip/resource.py:751: in load
self._load(**kwargs)
../../../f5/bigip/resource.py:729: in _load
response = refresh_session.get(base_uri, **kwargs)
/Users/zakeri/.virtualenvs/f5openstack-test/lib/python2.7/site-packages/icontrol/session.py:239: in wrapper
response = method(self, REST_uri, **kwargs)
/Users/zakeri/.virtualenvs/f5openstack-test/lib/python2.7/site-packages/icontrol/session.py:336: in get
return self.session.get(uri, **kwargs)
/Users/zakeri/.virtualenvs/f5openstack-test/lib/python2.7/site-packages/requests/sessions.py:487: in get
return self.request('GET', url, **kwargs)
/Users/zakeri/.virtualenvs/f5openstack-test/lib/python2.7/site-packages/requests/sessions.py:475: in request
resp = self.send(prep, **send_kwargs)
/Users/zakeri/.virtualenvs/f5openstack-test/lib/python2.7/site-packages/requests/sessions.py:585: in send
r = adapter.send(request, **kwargs)

self = <requests.adapters.HTTPAdapter object at 0x105c49290>, request = <PreparedRequest [GET]>, stream = False
timeout = <requests.packages.urllib3.util.timeout.Timeout object at 0x105d67e10>, verify = False, cert = None, proxies = OrderedDict()
def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None):
    """Sends PreparedRequest object. Returns Response object.

        :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
        :param stream: (optional) Whether to stream the request content.
        :param timeout: (optional) How long to wait for the server to send
            data before giving up, as a float, or a :ref:`(connect timeout,
            read timeout) <timeouts>` tuple.
        :type timeout: float or tuple
        :param verify: (optional) Whether to verify SSL certificates.
        :param cert: (optional) Any user-provided SSL certificate to be trusted.
        :param proxies: (optional) The proxies dictionary to apply to the request.
        """

    conn = self.get_connection(request.url, proxies)

    self.cert_verify(conn, request.url, verify, cert)
    url = self.request_url(request, proxies)
    self.add_headers(request)

    chunked = not (request.body is None or 'Content-Length' in request.headers)

    if isinstance(timeout, tuple):
        try:
            connect, read = timeout
            timeout = TimeoutSauce(connect=connect, read=read)
        except ValueError as e:
            # this may raise a string formatting error.
            err = ("Invalid timeout {0}. Pass a (connect, read) "
                   "timeout tuple, or a single float to set "
                   "both timeouts to the same value".format(timeout))
            raise ValueError(err)
    else:
        timeout = TimeoutSauce(connect=timeout, read=timeout)

    try:
        if not chunked:
            resp = conn.urlopen(
                method=request.method,
                url=url,
                body=request.body,
                headers=request.headers,
                redirect=False,
                assert_same_host=False,
                preload_content=False,
                decode_content=False,
                retries=self.max_retries,
                timeout=timeout
            )

        # Send the request.
        else:
            if hasattr(conn, 'proxy_pool'):
                conn = conn.proxy_pool

            low_conn = conn._get_conn(timeout=DEFAULT_POOL_TIMEOUT)

            try:
                low_conn.putrequest(request.method,
                                    url,
                                    skip_accept_encoding=True)

                for header, value in request.headers.items():
                    low_conn.putheader(header, value)

                low_conn.endheaders()

                for i in request.body:
                    low_conn.send(hex(len(i))[2:].encode('utf-8'))
                    low_conn.send(b'\r\n')
                    low_conn.send(i)
                    low_conn.send(b'\r\n')
                low_conn.send(b'0\r\n\r\n')

                # Receive the response from the server
                try:
                    # For Python 2.7+ versions, use buffering of HTTP
                    # responses
                    r = low_conn.getresponse(buffering=True)
                except TypeError:
                    # For compatibility with Python 2.6 versions and back
                    r = low_conn.getresponse()

                resp = HTTPResponse.from_httplib(
                    r,
                    pool=conn,
                    connection=low_conn,
                    preload_content=False,
                    decode_content=False
                )
            except:
                # If we hit any problems here, clean up the connection.
                # Then, reraise so that we can handle the actual exception.
                low_conn.close()
                raise

    except (ProtocolError, socket.error) as err:

      raise ConnectionError(err, request=request)

E           ConnectionError: ('Connection aborted.', BadStatusLine("''",))
/Users/zakeri/.virtualenvs/f5openstack-test/lib/python2.7/site-packages/requests/adapters.py:453: ConnectionError

Null pointer exception is not in the log all the time.

NullPointerException cases:
root@host-10-2-1-4:Active:In Sync (Trust Domain Only)] config # tail -F /var/log/restjavad.0.log
[I][348][17 May 2016 21:14:23 UTC][RestWorkerHelperIndexing][completed] time to index http://localhost:8100/shared/authz/roles: 721 millis
[I][349][17 May 2016 21:14:23 UTC][8100/shared/authz/users UsersWorker][infoFmt] Reindexing http://localhost:8100/shared/authz/users
[I][350][17 May 2016 21:14:23 UTC][RestWorkerHelperIndexing][completed] time to load http://localhost:8100/shared/authz/users: 2 millis
[I][351][17 May 2016 21:14:23 UTC][RestWorkerHelperIndexing][completed] time to index http://localhost:8100/shared/authz/users: 3 millis
handlers=java.util.logging.FileHandler
[I][352][17 May 2016 21:14:23 UTC][8100/shared/stats-information StatsInformationCollectionWorker][infoFmt] Reindexing http://localhost:8100/shared/stats-information
[I][353][17 May 2016 21:14:23 UTC][RestWorkerHelperIndexing][completed] time to load http://localhost:8100/shared/stats-information: 6 millis
[I][354][17 May 2016 21:14:24 UTC][RestWorkerHelperIndexing][completed] time to index http://localhost:8100/shared/stats-information: 19 millis
[F][355][17 May 2016 21:14:24 UTC][8100/shared/authz/tokens AuthTokenWorker][onStartImpl] Started
[F][356][17 May 2016 21:14:24 UTC][8100/shared/authz/mcp_enumerator McpUsersEnumeratorWorker][onStartImpl] Started
[F][357][17 May 2016 21:14:39 UTC][8100/shared/authz/mcp_enumerator McpUsersEnumeratorWorker][execute] Failed to get users using iControl: java.lang.NullPointerException
[F][358][17 May 2016 21:19:19 UTC][StorageGroomer][groom] groomer done
[WARNING][362][17 May 2016 21:21:31 UTC][RestRequestReceiver][fail] Error processing request for URI:http://localhost:8100/mgmt/tm/cm/device-group/~Common~testing_cluster
{"code":404,"message":"01020036:3: The requested device group (/Common/testing_cluster) was not found.","errorStack":[]}
[WARNING][398][17 May 2016 21:22:10 UTC][RestRequestReceiver][fail] Error processing request for URI:http://localhost:8100/mgmt/tm/sys/application/service/
{"code":404,"message":"The configuration was updated successfully but could not be retrieved. The error is \"01020036:3: The requested application instance (/Common/cluster_iapp_peer) was not found.\".","errorStack":[]}
[WARNING][406][17 May 2016 21:22:13 UTC][RestRequestReceiver][fail] Error processing request for URI:http://localhost:8100/mgmt/tm/sys/application/service/
{"code":404,"message":"The configuration was updated successfully but could not be retrieved. The error is \"01020036:3: The requested application instance (/Common/cluster_iapp_peer) was not found.\".","errorStack":[]}
[F][414][17 May 2016 21:24:19 UTC][StorageGroomer][groom] groomer done
[F][415][17 May 2016 21:29:19 UTC][StorageGroomer][groom] groomer done
[F][416][17 May 2016 21:34:19 UTC][StorageGroomer][groom] groomer done
[F][417][17 May 2016 21:39:19 UTC][StorageGroomer][groom] groomer done

archiving this repo, this request will not be implemented.


Fix symlink creation of per-user apps/icons folder

Closes #362
The code relied on defaultUser attribute name in config.users.users to be the same as the username. This is not always the case as the username can be set by name attribute inside the user configuration
So for following user
users.users.foo.name = "bar";

the wsl.defaultUser = "foo" works, but the wsl.startMenuLaunchers = true won't work because it tries to find applications folder at /etc/profiles/per-user/foo/share rather than
/etc/profiles/per-user/bar/share that is actually created.
This PR uses the name attribute of that user instead which should fix the issue. (tested locally, it seems to be working correctly)

This looks good. I just tried to figure out why my icons were not working and just found the solution:
diff --git a/modules/wsl-distro.nix b/modules/wsl-distro.nix
index 50b81ea..39aae15 100644
--- a/modules/wsl-distro.nix
+++ b/modules/wsl-distro.nix
@@ -125,7 +125,7 @@ in

             if (( ''${#targets[@]} != 0 )); then
               mkdir -p "/usr/share/$x"
-              ${pkgs.rsync}/bin/rsync -ar --delete-after "''${targets[@]}" "/usr/share/$x"
+              ${pkgs.rsync}/bin/rsync -ar --copy-dirlinks --delete-after "''${targets[@]}" "/usr/share/$x"
             else
               rm -rf "/usr/share/$x"
             fi

Since the hicolor icons folder was a symlink in the derivation rsync couldn't merge the sources and hence just copied one of them. This change ensures it copies directory links instead to avoid such issues. Tested and working with icons for me now. I'll wait with PR until this is merged.

I've created #381 with your suggestion


The number of parameters in scGPT

Long time no see! I'm delighted that your team has been maintaining this project. Currently, I'm interested in knowing the parameter size of the scGPT model. Is it more than 10 billion? Could you please provide an explanation? Thank you!

Hi, currently the pretrained model has around 53 million parameters. After loading the model, you can find it by total_params = sum(p.numel() for p in model.parameters())


Version on npm does not match local code

I was looking at the version published on npm (v3.21.0) and it seems be missing many of the functions that are supported by the code here. Has the npm version not been updated in a while?

You're right, we just published 4.0.0. Please try it and let me know if you encounter any issues.


Update Racket File Icon

Replaced Racket file icon with a more JetBrains-like one.
Let me know what you think!

Awesome! I'll prepare a release.


Feature/v0.6.0 impressionist

This PR includes the feature of adding default values to the select() selector. Also, it makes it possible to pass Puppeteer page options directly to the page configuration.

LGTM!


Javascript Capstone Project

For this Capstone I:
✅ Used GitFlow
✅ Used linters
✅ Used basic JavaScript syntax
✅ Used JavaScript to manipulate DOM elements
✅ Used JavaScript events
✅ Used objects to store and access data
✅ Documented my work in a professional way
✅ Worked with proper ES6 syntax
✅ Used npm as a software packages system
✅ Used webpack to bundle JavaScript
✅ Used POSTMAN and jest
✅ Sent and received data from an API
✅ Used API documentation
✅ Made JavaScript code asynchronous
✅ Applied styling to the website
✅ Used callbacks and promises

Thanks for sharing consent permission granted to work individually. I'll proceed to review this project.

@CarlosIgreda
Can you add the tests and those removed  ASAP?

@rloterh It's already there buddy.

@rloterh It's already there buddy.

Checking

Thank you so much, I really did a great effort working on this project alone, but now I can be calmer. I really appreciate your time following this PR and your feedback. Have a nice weekend 🚀🤓 .


🌱 Test goreleaser changes in CI

Summary
Run the goreleaser workflow in CI if there are changes to goreleaser files.
Related issue(s)
Fixes #

/approve


New breakpoints can't be created in the IPython console

Description
What steps will reproduce the problem?

create a breakpoint, start debugging, and continue to the next breakpoint
during the interactive ipdb sessions, add a second breakpoint further down the road
continue execution

What is the expected output? What do you see instead?
I expect the debugger to pause at the second breakpoint. Instead it ignores it (i.e. all breakpoints need to be specified before debugging)
Please provide any additional information below
Version and main components

Spyder Version: 3.0.0
Python Version: 3.4.5
Qt Versions: 4.8.7, PyQt4 (API v2) 4.11.4 on Darwin

Dependencies
pyflakes >=0.6.0 :  1.3.0 (OK)
pep8 >=0.6       :  1.7.0 (OK)
pygments >=2.0   :  2.1.3 (OK)
qtconsole >=4.2.0:  4.2.1 (OK)
nbconvert >=4.0  :  4.2.0 (OK)
pandas >=0.13.1  :  0.18.1 (OK)
numpy >=1.7      :  1.11.1 (OK)
sphinx >=0.6.6   :  1.4.6 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
jedi >=0.8.1     :  0.9.0 (OK)
psutil >=0.3     :  4.3.1 (OK)
matplotlib >=1.0 :  1.5.1 (OK)
sympy >=0.7.3    :  1.0 (OK)
pylint >=0.25    :  1.6.4 (OK)

Thanks for reporting. I'm aware of this problem but I didn't have time to fix it for 3.0.

Sure, I understand. My plethora of bug reports simply shows my excitement for the new version :)

On Sep 29, 2016, at 00:25, Carlos Cordoba<EMAIL_ADDRESS>wrote:
Thanks for reporting. I'm aware of this problem but I didn't have time to fix it for 3.0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@rlaverde, please solve this one this week. Take a look at PR #3561 to understand how to proceed.


Fixes to the library vendoring's 'already exists' checks

Makes libffi vendoring check for the existing directory in the correct location, to avoid constant re-downloading for every compile. (For both the cedar and cedar-14 stacks, the libffi directory is named libffi-3.1 not libffi-3.1.1.)
Makes the geo-libs vendoring step work even if someone previously had GDAL in their requirements file, so already had gdalserver vendored by bin/steps/gdal.
Avoids repetition of vendor library environment variable setting.

These changes look like solid improvements, thank you. I will have to test them before pushing to production.


Endless cache deserialization

MyBatis version
3.4.6
Database vendor and version
MySql 8.0.32
Test case or example project
Don't have one.
Steps to reproduce
Haven't figured that out yet.
Expected result
A cached result that completes
Actual result
A cached result that never finishes deserializing
We have a situation where on occasion, we'll have an Out of Memory error and our server process will hang.
We've taken a memory dump of the process and analyzed it with VisualVM. The analysis shows that our largest held objects are byte[]'s. When looking at the byte array information it comes in the format of...

Our largest offenders are 500mb each (which, by itself, seems suspect). When looking at what has a reference to that, it is a HashMap

I decided to save the byte[] of one of these cached values to disk. I created a small console program to read that file and feed it to the equivalent of this (I copy / pasted most of this into my console program)
  private Serializable deserialize(byte[] value) {
    SerialFilterChecker.check();
    Serializable result;
    try (ByteArrayInputStream bis = new ByteArrayInputStream(value);
        ObjectInputStream ois = new CustomObjectInputStream(bis)) {
      result = (Serializable) ois.readObject();
    } catch (Exception e) {
      throw new CacheException("Error deserializing object.  Cause: " + e, e);
    }
    return result;
  }

The deserialization pretty much never ends (it's been over an hour).

This sounds like a recursive loop with some sort of deep circular reference. Is there a situation in the cache deserialization that would allow for such a thing?
I can state that I know we load a lot of associations. Again, against better judgement, those associations load their associations, etc. so the object graph is likely deep.

Hello @ryno1234 ,
I'm not sure what to make of it, but we may need a repro to investigate.
The image shows the statement ID and the parameter (27862), so it should be a good start point.

I'm back on this issue. Again, I know our object graph is deep (too deep, our fault and I'm going to try to fix that). My understand is the serializer, ObjectOutputStream doesn't seem to serialize lazy-loaded properties when preparing for cache, which is good, but if that object is then later fetched from Cache, those lazy loaded properties would no longer lazy-load, correct?
I essentially think I need to start addressing this issue by breaking the chain of this unnecessarily a deep object graph and lazy-loading may be the answer to stop the further serialization of related associations, but I need to know how that will work when it gets fetched from cache.

So, you are using lazy loading as well? (note that we don't even know the cache configuration you are using).
I'm not sure if it's related, but there is a feature that tries to re-activate lazy-loading after deserialization (see #30).
Anyway, good luck with the investigation and let us know if you could come up with a repro. 🚀


CITY-7 - Add Dockerfile

Based on https://github.com/idi-ops/docker-hugo

Thanks very much for doing this @gtirloni !
Would you mind making the pull request against my CITY-7 branch instead? Thanks.


Added all coins so you can atleast play the game now

Please do not update the README or Change Log, we will do this when we merge your PR.
This PR (delete as applicable)

Adds content

Describe the changes below:
Added all coins so you can finally play without any complications, literally nothing else

t


Feature/spline points sample color

[SplinePoints] will use the color attribute from [Apoint]
Also fixes a bug that was reported about [Apoint] no being rendered in a exported executable. Due to the buffer not being updated when the application starts.

Thanks!


Bug fix for reference line tool

Closes #66.
@idmpacs, can you try with this branch? https://github.com/swederik/cornerstoneTools/tree/bf/refLine
Live demo:
https://rawgit.com/swederik/cornerstoneTools/bf/refLine/examples/referenceLineTool/index.html

It seems the problem is solved. I checked it on 5-6 studies and it is
coming out fine.
Thanks.
On Sun, Jun 21, 2015 at 9:16 PM, Erik Ziegler<EMAIL_ADDRESS>wrote:

Work in progress, don't merge yet
@idmpacs https://github.com/idmpacs, can you try with this branch?
https://github.com/swederik/cornerstoneTools/tree/bf/refLine
Live demo:
https://rawgit.com/swederik/cornerstoneTools/bf/refLine/examples/referenceLineTool/index.html
You can view, comment on, or merge this pull request online at:
https://github.com/chafey/cornerstoneTools/pull/76
Commit Summary

Attempts to fix reference line tool

File Changes

M dist/cornerstoneTools.js
https://github.com/chafey/cornerstoneTools/pull/76/files#diff-0 (13)
M dist/cornerstoneTools.min.js
https://github.com/chafey/cornerstoneTools/pull/76/files#diff-1 (4)
M examples/referenceLineTool/index.html
https://github.com/chafey/cornerstoneTools/pull/76/files#diff-2 (3)
M src/referenceLines/referenceLinesTool.js
https://github.com/chafey/cornerstoneTools/pull/76/files#diff-3 (9)
M src/referenceLines/renderActiveReferenceLine.js
https://github.com/chafey/cornerstoneTools/pull/76/files#diff-4 (4)

Patch Links:

https://github.com/chafey/cornerstoneTools/pull/76.patch
https://github.com/chafey/cornerstoneTools/pull/76.diff

—
Reply to this email directly or view it on GitHub
https://github.com/chafey/cornerstoneTools/pull/76.

Awesome, then I'll merge this. Thanks!

不懂怎么用，参考线例子是写死的


Fix upvote

This PR is for fixing an exception from canceling the downvote for the post.
If an user had downvoted for a post, and he changes his mind want to upvote it. This action will cause an exception. #1296

Thanks! But from now on I'm focusing all development on the Nova branch: https://github.com/TelescopeJS/Telescope/tree/nova

Hey, @shingo0620! Telescope has changed a lot in the past months, and there is a new React-based version, Telescope Nova (intro video).
The Legacy version is no longer supported, I'm closing this issue. I invite you to check the new version, it's awesome!
Happy hacking! 🚀
Ps: by the way, don't hesitate to join the Slack to ask any question, you are welcome! 👍


Word wrap fail inside a textbox under specific conditions.

canvas_test.zip
I've attached a simplified isolated scenario where this bug manifests. It produces 2 images with slightly different textbox width being the only difference between them. On the first one you can see the text cluttered together with letter overlap and no space between words on line 7. From what I have seen it appears it can occasionally happen when a specific condition is met (the text would exactly fill the line?) On the second one the exact same draw function is used with the width function arg being 1 px (0.98px) wider. This will result in the text on line 7 being rendered correctly. The same can be achieved by removing a character from the test string etc..

Could you please look into fixing this? Thanks.

Did some more debugging and here is what we found out.
We have 3 examples of this happening at hand, the isolated example in the OP being one of them. Tracked the symptom of the issue to the Ratio attribute of breaks in Linebreak function being above 1 and below 2. This happens in all the cases we have seen where the bug manifests. Normally the Ratio gets reset when below -1 or above Tolerance, but that never seems to be the case for values like 1.991 in the case above.

We have noticed, that when b.Ratio > 1.0 is added to the condition and as a result the Ratio which is later used to compute the whitespace width and some scaling between words is reset to 0.0 for these values as well then that seems to resolve the issue and the line gets rendered normally:

Output:
`helvetica_W301.020000.png
Linebreak. Extra ratio reset from 1.991000 on line 7.
helvetica_W302.000000.png`
While this seems to resolve the issue for us in these cases it is probably a very crude and not general enough fix merely curing the symptom and not the cause of the issue. Nontheless it could probably be a hint for you on what to look into.
Note: The issue is not a one-of by any means and occasionally occurs if you render a lot of various multiline text in the texbox element.

Yeah this is happening quite a lot it depends on how the text fits within each line. Though we don't really know what the ratio is used for it looks to us like it should be within -1 to +1 range. So resetting it to 0 when it's not does seem to fix it though we ain't sure what other impact that may have. Right now we don't see any with the extensive tests we have on our end.

Thanks for raising the issue and the in-depth analysis. A ratio of more than 1 should be fine, it simply means that a single space can become three spaces (ratio = 2). It can never be less than -1 though. The algorithm increases the Tolerance every time until all text fits to keep large spaces to a minimum.
The bug however is in the newly refactored code in ToText. There are zero-width spaces that can stretch and there are regular spaces that can shrink. For some alignments (specifically, anything but Justify) these spaces are sometimes put next to each other with a penalty (possible line break) in between. Currently, it only shrinks the space but doesn't stretch the zero-width space. I'm working on a fix!

I've pushed out a fix, please let me know if it works correctly now!

I just run our tests first pass looks good will need to do some more testing after thanks ;)

I've verified with the tests we have and the bug is gone now. Thanks for the fix.


Make dom nodes public

For interactive components like Button I created a mirrored HTML node and added it to the DOM in order to support screen readers and get keyboard navigation. I added them as private _dn properties but I should make them public properties as wanting to move the DOM nodes around when using them is necessary when making accessible higher order components (like a dialog).

Example of manually moving node:
const button = kontra.Button({
  x: 10,
  y: 20,
  text: {
    text: 'Hello World'
  }
});
const grid = document.createElement('div');
grid.setAttribute('role', 'grid');
grid.innerHTML = `

`;
document.body.appendChild(grid);
grid.querySelector('[role="gridcell"]').appendChild(button._dn);


Drop support for GHC 7.x and hvr/ppa install method

I'd say the time is ripe now for dropping installation support for GHC 7.

https://github.com/haskell/actions/issues/133

We still try to support old versions of GHC running on ubuntu 20.04 in QuickCheck and I'm working on trying to migrate our CI to haskell-actions/setup instead of the current haskell-ci generated CI script. However, this would make it impossible for me to do so.

Thanks for the feedback, @MaximilianAlgehed.
There is no rush in dropping GHC 7 now.
Do you have a policy how long you want to support GHC 7?   (GHC 8.0 was released in May 2016, so that is becoming 8 years soon.)
At some point, GHA will pull the plug on ubuntu-20.04, and that will be the end for the ppa:hvr/ghc install method.  If they follow the same schedule as for 18.04, brownouts could already start in Fall 2024: https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/

Would it be an option for haskell-actions/setup to support an install method like that?

I think binary installs should be handled by ghcup;  I do see not point in duplicating this feature here.   Maybe you could add a release channel to ghcup that handles legacy GHCs on certain machines.  (E.g. macOS only properly supports GHC 7.10 and up.)


Installation guide

I really would appreciate if someone could give me some installation instrucitions.

In Code, open the command palette with Ctrl Shift P, search for Extensions: Install Extension, search for parinfer, install it.

Thanks. Is it possible to install the extension in Visual Studio Community 2015 ?

No, this is a Visual Studio Code extension only.


signals when login

Hi,
Would be great to get a signal when a user successfully login with his username/password. (in other words when the call to rest_framework_jwt.views.obtain_jwt_token is successfull).

@stunaz , the obtain_jwt_token view is not really similar to a login view. This has been discussed in https://github.com/GetBlimp/django-rest-framework-jwt/pull/171 and also in https://github.com/tomchristie/django-rest-framework/issues/3869. Basically, it is better to leave the user_logged_in signal usage to the developer.

ok, I get that, but could we get a different signal for that?

That can be done in your customized view which you can create by sub-classing the rest_framework_jwt.views.obtain_jwt_token view, this is specific to your use case

it doesnt have to be specific to  my case. Once a token is create, a signal called maybe token_obtained can be dispatched.And then everyone according to their needs can listen to the signal and whatever they want to do.

Like this we can have various signals for various views. For these cases, the developers can subclass the view and create their own signals if needed. Having the signal within the library in the first place does not seem right

why it is not right? sending signals is part of django, signals can be send on certain event. A lot of libraries does that. Of course I can subclass, but I dont want to because I dont want to maintain that and deal with all the future updates. I prefer to use lib as is.

I am going to close this ticket and open another one with a proper title.
https://github.com/GetBlimp/django-rest-framework-jwt/issues/195


add CopyButton component

Closes #154, closes #157
Description
add CopyButton component to copy text content to use
Current Tasks

[x] create functioning CopyButton component
[ ] enhance style — use clipboard-copy icon from heroicons.com
[ ] implement in ContactList and ContactDetails views

@ekafyi Looks like the click event from the parent <a> bleeds over to the copy button. Can we put the copy button in the details page instead?

@resir014 There are two issues for this:

#154 is for the one in your screenshot, this is still in progress
#157 for the "list view" (does this refer to the Contact List page or did i misunderstand this?)

Next push will be for the one in your screenshot, once i replace the text with HeroIcon component.

for the "list view" (does this refer to the Contact List page or did i misunderstand this?)

Yeah, I think that's for the list view. Then we might need to fix the HTML hierarchy so that the links + buttons don't conflict w/ each other (something similar to this perhaps?)

@ekafyi, beware that it might be conflicting with my changes in #151 because we started rendering some of the fields in HTML instead of plaintext.

for the "list view" (does this refer to the Contact List page or did i misunderstand this?)

Yeah, I think that's for the list view. Then we might need to fix the HTML hierarchy so that the links + buttons don't conflict w/ each other (something similar to this perhaps?)

exactly, was planning to do this once i've got the CopyButton UI done.

Also of note: this issue might be related as well.
#156

what do yall think about the refactored link and copy button UI @resir014 @zainfathoni ? https://deploy-preview-162--wargabantuwarga.netlify.app/provinces/dkijakarta-1
this is still an in-progress + buggy version (copy entire unstripped HTML string), just want to show the link behaviour.
also on an unrelated note, I use ClipboardCopyIcon from heroicons, but is that intuitive enough as a "copy" button? 🤔 Maybe we should use the DuplicateIcon instead?


Add available regions and PG types checks and hint for resource-quota.sh

This PR enhances resource-quota.sh to:

add check to input location to restraint it in the available location list
add check to input PG types to restraint it in the available pg types list
hint in the usage message for available locations and pg types
minor usage message bug fix

Closes #1 & #2 too


fix(eslint-plugin-lit-a11y): qualified specifiers

also refactors rules to extend from common base
common base checks whether lit-html is imported
import check now supports namespaces and aliases
fixes #1911
fixes #1916
NOTE TO REVIEWERS: please carefully check test cases

tests are failing on es-dev-server?

tests are failing on es-dev-server?

Probably just flakiness. I retried the pipeline

troll

Okay, done with my review, left a few minor comments. I think we should just move forward with this PR and merge it if pipeline passes, but itd be nice to do some real life testing, especially with regard to the imports

this may conflict with #1918. @koenvg i'll be available to help you resolve if you like

we gotta split PRs like this up in the future 😂


[REQUEST] response failure

if i get
Unable to connect to the HTTP-server ''.
Status code: None
ERROR: Unable to connect to the HTTP-server
how can i make it go to failure

In the config settings there is a flag to prevent http errors from ending your config, then simply make a keycheck after the request


Update loopdetector to not get tripped by inplace upgrade

The inplace upgrade currently does three update requests to a node in a
row, which incorrectly triggers the loop detector. Increase the treshold
for them to avoid that.

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/test e2e-aws-all

super hacky but have get CI working again
/lgtm


mgmt, regen ACR, avoid Credential Scanner Error

https://github.com/Azure/autorest.java/pull/2053
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

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


add daisho usb3 on nexys

Fixes #48

Failure in tests is related to yosys version.
We have to wait for yosys update in conda packages ->   SymbiFlow/yosys/pull/74

@wtatarski - We should resurrect this pull request and get it merged.


Add samples for allocation mode Immediate

ResourceClaimSpec supports allocation mode named immediate, we need a few samples added that work with MIGable GPUs.

Currently immediate mode is not implemented, it would make sense to reopen this issue post-implementation.


java.lang.NullPointerException: Attempt to get length of null array

java.lang.NullPointerException: Attempt to get length of null array
  at com.amitshekhar.server.ClientServer.getDBList(ClientServer.java:412)
  at com.amitshekhar.server.ClientServer.handle(ClientServer.java:216)
  at com.amitshekhar.server.ClientServer.run(ClientServer.java:128)
  at java.lang.Thread.run(Thread.java:818)

The culprit seems to be the following line.
mDatabaseDir.list() is returning null because

If this abstract pathname does not denote a directory, then this method returns null.

https://docs.oracle.com/javase/7/docs/api/java/io/File.html#list()
Although unlikely to happen (if you're choosing to use this library, you probably already have the database ready), it would be nicer if it could handle the edge-case accordingly.

Sure I will correct it.

Thanks for looking into this, but the bug is because mDatabaseDir.list() returns a null rather than mDatabaseDir being null.

ok I will look again into it


Installer failed with exit code: 1610

Brief description of your issue
I try to install Google.Drive with the following command :
winget install Google.Drive
I face the following issue.
Installer failed with exit code: 1610
Steps to reproduce
Open Terminal under Windows 11 and execute the following command :
winget install Google.Drive
Expected behavior
To install Google.Drive
Actual behavior
Facing the issue with following text :
Installer failed with exit code: 1610
Environment
winget --info
Windows Package Manager v1.1.12986
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.318
Package: Microsoft.DesktopAppInstaller v1.16.12986.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

This error message is coming from the installer for the package. I believe it is an MSI packaged inside of an EXE. The MSI error 1610 indicates:
The configuration data for this product is corrupt. Contact your support personnel.
I'd suggest searching for that specific error related to the package, or contacting the publisher.

I was installled the Google.Drive

I have installled the Google.Drive

What was the solution here? Did you install it using winget? If so, how did you overcome the 1610 error?

Reboot solved this error for me with google drive.


Discord Bot problem

TypeError: Cannot read properties of undefined (reading 'channels')
at /home/container/index.js:93:27
at Map.forEach ()
at Timeout._onTimeout (/home/container/index.js:92:14)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
[v1.4.0] If you need any support, please create a ticket in our discord server and provide the logs.txt file
TypeError: Cannot read properties of undefined (reading 'channels')
at /home/container/index.js:93:27
at Map.forEach ()
at Timeout._onTimeout (/home/container/index.js:92:14)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
[v1.4.0] If you need any support, please create a ticket in our discord server and provide the logs.txt file

There is no discord server for this project that I'm aware of.


CapCase

Those duplicate files should probably be deleted, or some type of explanation for them should be added to the docs.  It is very annoying to edit two files every time

git does support symbolic links if for some reason both files are needed

#244


Fix: Push Notification Framework Navigation Issue

Description
LEARNER-7506
FCMListner was not working because the parameter environment which was passed to the FCMListner was nil. FCMDataModel was just creating PushLink, I have removed it.
Notes
Testing

[ ] On receiving a push notification with valid data, the learner should be redirected to the relevant screen.

@saeedbashir
Can we use codable protocol for parsing of data instead of reading them from dictionary?

@saeedbashir
Can we use codable protocol for parsing of data instead of reading them from dictionary?

We are using SwiftyJSON that's why we didn't adopt codable.


ARROW-9619: [Rust] [DataFusion] Add predicate push-down

This PR adds a new optimizer to push filters down. For example, a plan of the form
Selection: #SUM(c) Gt Int64(10)\
  Selection: #b Gt Int64(10)\
    Aggregate: groupBy=[[#b]], aggr=[[SUM(#c)]]\
      Projection: #a AS b, #c\
        TableScan: test projection=None"

is converted to
Selection: #SUM(c) Gt Int64(10)\
  Aggregate: groupBy=[[#b]], aggr=[[SUM(#c)]]\
    Projection: #a AS b, #c\
      Selection: #a Gt Int64(10)\
        TableScan: test projection=None";

(note how the filter expression changed from #b Gt Int64(10) to #a Gt Int64(10), and how only the filter on the key of the aggregate was pushed)
This works by performing two passes on the plan. On the first pass (analyze), it identifies:

all filters on the plan (selections)
all projections on the plan (projections)
all places where a filter on a column cannot be pushed down (break_points)

After this pass, it computes the maximum depth that a filter can be pushed down as well as the new expression that the filter should have, given all the projections that exist.
On the second pass (optimize), it:

removes all old filters
adds all new filters

See comments on the code for details.
This PR is built on top of #7879 (first two commits).
FYI @andygrove @sunchao

Any of you @alamb @houqp @nevi-me @paddyhoran could help out here? I think that this does significantly speeds querying for anything more complex, as we run aggregations and projections on much less data.

I'll try and check it out carefully tomorrow morning (US EST time)
On Wed, Aug 12, 2020 at 3:51 PM Jorge Leitao<EMAIL_ADDRESS>wrote:

Any of you @alamb https://github.com/alamb @houqp
https://github.com/houqp @nevi-me https://github.com/nevi-me
@paddyhoran https://github.com/paddyhoran could help out here? I think
that this does significantly speeds querying for anything more complex, as
we run aggregations and projections on much less data.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/arrow/pull/7880#issuecomment-673076257, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADXZMNMPNXVREY4G7Y5XWDSALXCVANCNFSM4PSQWBHA
.

Thank you very much @alamb for reviewing it!
This optimizer is mostly useful in the table or DataFrame API, on which a view can be declared as a sequence of statements that are not optimized for execution, but optimized for a logical and code organization's point of view.
One example is when we have a dataframe df that was constructed optimally, but we would like to only look at rows whose 'a' > 2. Instead of having to go through the actual code that built that DataFrame and place the filter in the correct place after investigating where we should place it, we can just write df.filter(df['a'] > 2).collect(), and let the optimizer figure it out where to place it.
I incorporated the comments above into #7879 , as IMO they are part of that PR, and rebased the whole thing. I will still address your comment about not full understanding the algorithm by adding a more extended comment and maybe try drawing some ASCII to better explain the idea, so that it is not only on my head.

@alamb , I have added a comment describing the algorithm. Could you take a look and evaluate if it helps at understanding the underlying code?

I have had this nagging sensation that the algorithm isn't quite right when the same column is used multiple times. I finally came up with an example that shows part of what I have been worrying about.
Here is a new test that passes on this branch but I think is incorrect. Specifically, with two Selections for the same variable separated by a Limit, one of the Selections is  lost with the algorithm as written.  Am I missing something?

    #[test]
    fn filter_2_breaks_limits() -> Result<()> {
        let table_scan = test_table_scan()?;
        let plan = LogicalPlanBuilder::from(&table_scan)
            .project(vec![col("a")])?
            .filter(col("a").lt_eq(&Expr::Literal(ScalarValue::Int64(1))))?
            .limit(1)?
            .project(vec![col("a")])?
            .filter(col("a").gt_eq(&Expr::Literal(ScalarValue::Int64(1))))?
            .build()?;
        // Should be able to move both filters below the projections

        // not part of the test
        assert_eq!(
            format!("{:?}", plan),
            "Selection: #a GtEq Int64(1)\
             \n  Projection: #a\
             \n    Limit: 1\
             \n      Selection: #a LtEq Int64(1)\
             \n        Projection: #a\
             \n          TableScan: test projection=None"
        );

        // This just seems wong: we lost a selection....
        let expected = "\
        Projection: #a\
        \n  Selection: #a GtEq Int64(1)\
        \n    Limit: 1\
        \n      Projection: #a\
        \n        TableScan: test projection=None";

        assert_optimized_plan_eq(&plan, expected);
        Ok(())
    }

FYI @jorgecarleitao

@alamb , thank you so much for taking the time to think through this and come up with an example. I agree with you that it is wrong. I will evaluate whether the current approach is able to coupe with this, or whether we will have to scratch it and start from a different direction.
I changed this PR back to draft as it is obviously out of spec.

@alamb, @houqp @andygrove , I think that this is ready to re-review.
I modified the result returned by analyze to ensure that we do not lose relevant information (that lead to the error @alamb found).
I also found and fixed another error related to the placement of two filters in the same depth, that caused filters to be dropped: their expressions are now ANDed instead, which has the added bonus of gobbling filters together whenever possible.
All the changes are in new commits, in case it is easier for the review.

Something that can be left for future optimization: we can also go the other direction, i.e. break And filters into into individual boolean expressions so these filters can be partially pushed further down the plan.

Something that can be left for future optimization: we can also go the other direction, i.e. break And filters into into individual boolean expressions so these filters can be partially pushed further down the plan.

Yeap, good idea. AFAI experienced, spark is not doing this - at least up to spark 2.4.5.

Something that can be left for future optimization: we can also go the other direction, i.e. break And filters into into individual boolean expressions so these filters can be partially pushed further down the plan.

Yeap, good idea. AFAI experienced, spark is not doing this - at least up to spark 2.4.5.

I filed https://issues.apache.org/jira/browse/ARROW-9771 to track this suggestion

One thing I do like about spark's optimizer is all optimization rules share a common plan tree traversal and mutation routine, which made individual optimization rule easier to reason about. I can see us adopting the same pattern in the future to simplify the existing code base.


Problem loading leaflet.markercluster in a js file in a project node

Hi, I'm trying to use the library in a project importing the markercluster (line: import './libs/leaflet.markercluster-src';) in a node project on a js file, but when I build the project it does not create the mapping source of markercluster and if I copy the leaflet.markercluster file in dist/libs and run the project the result is the next error:
Plugin component error Error: (SystemJS) L is not defined
ReferenceError: L is not defined
Can you help me to resolve this issue?

Hi, great to hear that you find Leaflet useful!
However, this issue tracker is used for reporting bugs and discussing new features. For questions on using Leaflet, please use gis.stackexchange.com or stackoverflow.


UWP in dev environment doesn't confirm purchase, possible issue in production

Bug Information
The UWP API when using CurrentAppSimulator never returns a receipt, causing the library to assume that no purchase was made. While using CurrentAppSimulator for purchasing products 4 options appear in a popup only one of them (the purchase successful one)  doesn't cause an exception.
I recommend to assume that a purchase was completed correctly (while  InTestingMode = true)  if RequestProductPurchaseAsync doesn't return an exception.
Another related note, sometimes in production, the RequestProductPurchaseAsync fails to deliver a receipt even when the purchase was successful, the plugin should check the Status returned:
purchaseResult.Status == ProductPurchaseStatus.Succeeded
Version Number of Plugin: <IP_ADDRESS>
Device Tested On: Windows 10 desktop and mobile
Simulator Tested On: Windows 10 desktop
Version of VS: VS2007 October update
Steps to reproduce the Behavior

Correctly initialize CurrentAppSimulator.ReloadSimulatorAsync
In a dev environment set InTestingMode to true.
Try to make a purchase for a valid product and the purchase will fail.

Expected Behavior
The purchase should be successful.

I am using it in production just fine. I will do some debug testing.

Yup, production fine, just on testing.
The receipt issue happens to me on another apps 1 in every 1000 purchases (isn't really accurate since some data can be lost in my analytics)

I also dont understand how it should work using simulator. I have set up product in the xml file as below. any why do i get this popup?

<Product ProductId="fullversion" LicenseDuration="0" ProductType="Consumable">
            <MarketData xml:lang="en-us">
                <Name>Full version</Name>
                <Price>1.99</Price>
                <CurrencySymbol>€</CurrencySymbol>
                <CurrencyCode>EUR</CurrencyCode>
            </MarketData>
        </Product>

but this popup is appearing


chore(fsweb): upgrade cache-loader to 2.0.1

The only breaking changes are no more webpack < 4 or Node < 6 so we should be good:
https://github.com/webpack-contrib/cache-loader/releases

replaced by #554


Documentation for configuring external IS as IDP

We need to add the documentation for configuring external IS as IDP . This is not available now.

Thank you! @yvonne can you look into this too, please!

sorry for the wrong tag. @yvonneW will look into this.

This was documented under the section Integrating a Third-Party Identity Provider for SSO.


Admin UI not reachable in a secure docker swarm cluster

As reported in https://forum.cockroachlabs.com/t/accessing-admin-ui-on-docker-swarm/770
Depending on how that thread gets resolved, we should either add in a --hostname flag to our docker swarm commands to make the UI work or note in the docs that it doesn't currently as a limitation.

Alright, it looks like the --hostname option fixes it. I'll send a PR to do that, and if we want to we should now be able to add a section to the doc about accessing the UI of a swarm cluster.


Add some more space under the build info in settings screen

Done in https://github.com/pokatomnik/kriper/pull/121


Staging: Indicators not saving and indicators in Admin loads 500 erro

Current behavior
Indicators not saving on Staging
admin:

Expected behavior
Add and Save indicators

Missing requirement fixed it:
https://github.com/toladata/ActivityAPI/commit/fbf05e3d14645e8a7d2b6b2c4e6ba78a2a2f0099

@Menda
500 erroris fixed, but I still can't create/save any indicators

OK, then we can close this because for that we have a specific issue opened https://github.com/toladata/ActivityAPI/issues/29


NAN in training process

Hi, when I training the network of NWPU dataset, the results indicates NAN in all following cases. I set the training batch size to 6 for preventing out of memory.

You can lower the learning rate of the threshold encoder in config.py, such as 1e-7.
if __C.OPT == 'Adam':
    __C.LR_BASE_NET = 1e-5  # learning rate
    __C.LR_BM_NET =  1e-7    #1e-6  # learning rate'

Thanks for your attention!

You can lower the learning rate of the threshold encoder in config.py, such as 1e-7.
if __C.OPT == 'Adam':
    __C.LR_BASE_NET = 1e-5  # learning rate
    __C.LR_BM_NET =  1e-7    #1e-6  # learning rate'

Thanks for your attention!

adjust the learning rate does works! Thanks for your reply.

adjust the learning rate does works! Thanks for your reply.

Hi  taohan@taohan10200 , after lowing the learning rate, NAN still appeared after 87 iterations. I saved the model and weights every 20 iterations, and felt amazed that based on 80th model, the model can be trained normally without NAN. Do you have any good suggestions?
By the way, there is no read_pred_and_gt module in misc.utils.py,  causes vis4val.py cannot work properly, would you please commit this part codes？Thanks。

Hi  taohan@taohan10200 , after lowing the learning rate, NAN still appeared after 87 iterations. I saved the model and weights every 20 iterations, and felt amazed that based on 80th model, the model can be trained normally without NAN. Do you have any good suggestions?
By the way, there is no read_pred_and_gt module in misc.utils.py,  causes vis4val.py cannot work properly, would you please commit this part codes？Thanks。

In our training, NaN would appear even if we lowered the threshold some times. At this time, we usually lower the threshold again to avoid this problem. We recommend using the experimental configuration we provide under folder saved_exp_results. In general, it may be the inverse gradients that make the module's training is instability. We have tried to solve this problem by optimizing the threshold learner, but it is still in testing, and we will update the new solution in the future.
We have updated the read_pred_and_gt module in misc.utils.py.
Thanks~

In our training, NaN would appear even if we lowered the threshold some times. At this time, we usually lower the threshold again to avoid this problem. We recommend using the experimental configuration we provide under folder saved_exp_results. In general, it may be the inverse gradients that make the module's training is instability. We have tried to solve this problem by optimizing the threshold learner, but it is still in testing, and we will update the new solution in the future.
We have updated the read_pred_and_gt module in misc.utils.py.
Thanks~


Failed message during start and loosing of connection with Full Node

Describe the bug
When I connect my Raspberry PI5 Raspiblitz via Ethernet cable and the system starts up there is the following error message.
(Failed)- Failed to start ..chnology (SMART) Daemon.
Seems for the first time no impact on the system cause normally the systems start regullary and searchs for Peers to Connect and start working. But after a while (30-45 min) the system is rebooting and not connecting again. Not sure if this belongs to the bug with the Smart Demon or what is the case for this.
Thx
To Reproduce
See above
Debug file
No file

Sound like you getting "(Failed)- Failed to start Self-Monitoring, Analysis and Reporting Technology (SMART) Daemon" error which can happen if your connected drive is not S.M.A.R.T. capeable. Sounds like and old drive that might have hardware issues.

Same issue here since this week on the latest update. Samsung T7 SSD 1GB


Error occurred while trying to restore packages

I added this package to my portable project and it compiled fine but then I got a runtime error that said something about needing to reference the nuget package in the platform project (android in this case)
So I tried adding it to the android project, and now I get the following NuGet errors.
It appears that neither project can find the NuGet solution now?
Error		NuGet Package restore failed for project PatrolLiveApp.Droid: NuGet.Protocol.Core.Types.FatalProtocolException: Unable to find version '2.5.1' of package 'Xam.Plugins.SettingsModel'.
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages: Package 'Xam.Plugins.SettingsModel.2.5.1' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages'.
https://api.nuget.org/v3/index.json: Package 'Xam.Plugins.SettingsModel.2.5.1' is not found on source 'https://api.nuget.org/v3/index.json'.
http://nugets.vapolia.fr/nuget/: Package 'Xam.Plugins.SettingsModel.2.5.1' is not found on source 'http://nugets.vapolia.fr/nuget/'.
Error		NuGet Package restore failed for project PatrolLiveApp: NuGet.Protocol.Core.Types.FatalProtocolException: Unable to find version '2.5.1' of package 'Xam.Plugins.SettingsModel'.
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages: Package 'Xam.Plugins.SettingsModel.2.5.1' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages'.
https://api.nuget.org/v3/index.json: Package 'Xam.Plugins.SettingsModel.2.5.1' is not found on source 'https://api.nuget.org/v3/index.json'.
http://nugets.vapolia.fr/nuget/: Package 'Xam.Plugins.SettingsModel.2.5.1' is not found on source 'http://nugets.vapolia.fr/nuget/'.
Bug
Version Number of Plugin: 2.5.1
Device Tested On: Visual Studio 2015

Seems like a nuget issue. Try to only select the nuget.org feed and try to restore it.

Wow. It was re-sharper's fault. I renamed my old Settings.cs so I could try out this plugin
It renamed the nuget package as well as the class references, hah.
So it was looking for "SettingsModel"  not "Settings"

apologies

Ahhh good find. Yeah that is a tricky one, i just always keep it the Settings.cs although it should try to add a new one in there. It was always a big debate if I should add it or not. I like it personally.


[ci] there is no WechatyBro in browser(yet), Error: there is no WechatyBro in browser(yet)

https://travis-ci.org/Chatie/wechaty/jobs/212333835#L1962
00:55:41 ERR TestPuppetWeb retryPromise() waitDing() finally FAIL: there is no WechatyBro in browser(yet)
  ✖ test › puppet-web › watchdog › timer exception: there is no WechatyBro in browser(yet), Error: there is no WechatyBro in browser(yet)
    at Bridge.<anonymous> (/home/travis/build/Chatie/wechaty/src/puppet-web/bridge.ts:391:19)
    at next (native)
    at fulfilled (/home/travis/build/Chatie/wechaty/dist/src/puppet-web/bridge.js:4:58)
    at process._tickCallback (internal/process/next_tick.js:103:7)

  test › puppet-web › watchdog › timer
  /home/travis/build/Chatie/wechaty/src/puppet-web/bridge.ts:391
   390:       if (noWechaty) {
   391:         const e = new Error('there is no WechatyBro in browser(yet)')
   392:         // this.puppet.browser.dead(e)
  exception: there is no WechatyBro in browser(yet), Error: there is no WechatyBro in browser(yet)
      at Bridge.<anonymous> (/home/travis/build/Chatie/wechaty/src/puppet-web/bridge.ts:391:19)
      at next (native)
      at fulfilled (/home/travis/build/Chatie/wechaty/dist/src/puppet-web/bridge.js:4:58)
      at process._tickCallback (internal/process/next_tick.js:103:7)
  Bridge.<anonymous> (src/puppet-web/bridge.ts:391:19)
  fulfilled (dist/src/puppet-web/bridge.js:4:58)
  rejected (dist/test/puppet-web/watchdog.spec.js:17:40)

Long time no see...

I have the same problem. To reproduce it, you just need to deploy a bot on an overseas VPS, and wait two days.

Glad to hear from you after two years after this issue first filed!

Confirmed @UnsignedInt8 's description. Maybe this is a restriction of web wechat?

Confirmed @UnsignedInt8 's description. Maybe this is a restriction of web wechat?

I think so.

looks like I got the same issue and I can always reproduce.
01:54:27 WARN PuppetWeChatBridge proxyWechaty() noWechaty exception: Error: there is no WechatyBro in browser(yet)
01:54:27 ERR PuppetWeChatBridge roomList() exception: there is no WechatyBro in browser(yet)
file:///Users/helloint/workspace/getting-started/node_modules/wechaty-puppet-wechat/src/bridge.ts:773
        const e = new Error('there is no WechatyBro in browser(yet)')
                  ^
GError: there is no WechatyBro in browser(yet)
    at Bridge.proxyWechaty (file:///Users/helloint/workspace/getting-started/node_modules/wechaty-puppet-wechat/src/bridge.ts:773:19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Bridge.roomList (file:///Users/helloint/workspace/getting-started/node_modules/wechaty-puppet-wechat/src/bridge.ts:448:14)
    at async PuppetWeChat.roomList (file:///Users/helloint/workspace/getting-started/node_modules/wechaty-puppet-wechat/src/puppet-wechat.ts:793:20)
    at async PuppetWeChat.roomSearch (file:///Users/helloint/workspace/getting-started/node_modules/wechaty-puppet/src/mixins/room-mixin.ts:88:39)
    at async Function.findAll (file:///Users/helloint/workspace/getting-started/node_modules/wechaty/src/user-modules/room.ts:149:26)
    at async Function.find (file:///Users/helloint/workspace/getting-started/node_modules/wechaty/src/user-modules/room.ts:217:22)
    at async file:///Users/helloint/workspace/getting-started/index.ts:185:27 {
  code: 2,
  details: 'Error: there is no WechatyBro in browser(yet)\n' +
    '    at Bridge.proxyWechaty (file:///Users/helloint/workspace/getting-started/node_modules/wechaty-puppet-wechat/src/bridge.ts:773:19)\n' +
    '    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
    '    at async Bridge.roomList (file:///Users/helloint/workspace/getting-started/node_modules/wechaty-puppet-wechat/src/bridge.ts:448:14)\n' +
    '    at async PuppetWeChat.roomList (file:///Users/helloint/workspace/getting-started/node_modules/wechaty-puppet-wechat/src/puppet-wechat.ts:793:20)\n' +
    '    at async PuppetWeChat.roomSearch (file:///Users/helloint/workspace/getting-started/node_modules/wechaty-puppet/src/mixins/room-mixin.ts:88:39)\n' +
    '    at async Function.findAll (file:///Users/helloint/workspace/getting-started/node_modules/wechaty/src/user-modules/room.ts:149:26)\n' +
    '    at async Function.find (file:///Users/helloint/workspace/getting-started/node_modules/wechaty/src/user-modules/room.ts:217:22)\n' +
    '    at async file:///Users/helloint/workspace/getting-started/index.ts:185:27'
}


Fix clear function to clear MARKERS and KML_LAYERS too

Might be related #830

Thanks. Looks good. Will merge after testing