fix: batch requesting RequestInterface

This error causing the batch add requesting an  Psr\Http\Message\RequestInterface;. But this is an error.

I have the same problem and I have not yet managed to use the batch on the google calendar api.
Google\Http\Batch::add(): Argument #1 ($request) must be of type Psr\Http\Message\RequestInterface, Google\Service\Calendar\Event given, called in...

I fix my problem. @gbretas
You need to add thoses lines:
            $this->httpClient->setDefer(true);
            $calendarService = new CalendarService($this->httpClient);
            $calendarService->getClient()->setUseBatch(true);
            $batch = $calendarService->createBatch();

...
                $request = $calendarService->events->insert(YOUR_CALENDAR_ID, $event);
                $requestId = YOUR_REQUEST_ID
                $batch->add($request, $requestId);
            try {
                $results = $batch->execute();
            }
            catch (Exception $e ){
                Log::info($e->getMessage());
            }

@gbretas see @devstack-be's comment above, or see the batch example in examples/batch.php:
https://github.com/googleapis/google-api-php-client/blob/017400f609c1fb71ab5ad824c50eabd4c3eaf779/examples/batch.php#L54-L78
The proper usage is to pass the RequestInterface object after calling the method in batch-mode. The typehint we have there is correct.


Add proxy option

Add proxy option to the rollbar configuration. Can be set during initialization:
// With authentication
$config = [
  'proxy' => [
    'address' => '<IP_ADDRESS>:9876',
    'username' => 'my_name',
    'password' => 'my_password'
  ]
];

// Or you can use only the address:
$config = [
  'proxy' => '<IP_ADDRESS>:9876'
];

Rollbar::init($config);

Thanks @Laykou!


Revert: "build(ci): workflow review"

Description
Reverts artsy/eigen#9400 due to android beta delivery issues. Will re evaluate when Brian is back.

Warnings

:warning:

❌ An error occurred while validating your changelog, please make sure you provided a valid changelog.

  Generated by :no_entry_sign: dangerJS against 3deaa6f359cd60b09cb8c46e1218a4610e4a756c


Shift+Alt+M doesn't show config, addon doesn't work

Describe the bug
I installed GW2 Radial on a fresh install of GW2 using Addon Manager. I launched the game, saw no config window (if I remember correctly it usually appears automatically). I tried pressing Shift+Alt+M to open it manually. It didn't work.
To Reproduce
Steps to reproduce the behavior:

Instal the latest version of GW2 Addon Manager
Instal GW2 Radial addon
Launch the game, press Shift+Alt+M, no config menu displayed
Install the latest debug version from Github
Launch the game, press Shift+Alt+M, still no config menu

Expected behavior
Configuration menu should have appeared.
System configuration (please fill in):

OS: Windows 11
GPU: GeForce RTX 4060 Laptop (selected for GW2 both in Nvidia Control Panel and in the Windows Graphics settings)
Chainloading: Addon Loader > GW2Radial (standard recommended install)

Additional context
gw2al_log.txt
gw2radial.log
No special apps installed aside from Nvidia Control Panel (NOT GeForce Experience) and Intel Arc Control.
Intel Arc and Discord overlays are disabled.
Please tell me if you need any more info.

Send a screenshot of your gw2 folder (with file sizes) please.
Do you use any of the following?

BitDefender
groupy
Citrix Workspace (v22 or later)
mydesk shield
Nvidia's GeForce Overlay
ASUS GPU Tweak III, Afterburner, RTSS (RivaTuner Statistics Server) or any other GPU overclock/control software

No, I don't use any of these programs.

unlock d3d11.dll:

rightclick d3d11.dll -> options -> unlock at the bottom.
Image:

I got mines to work by changing the name of the d3d11.dll file to dxgi.dll (I renamed the original dxgi.dll to dxgi.old.dll). I randomly decided to try this as nothing else worked.

Sorry for not noticing this earlier, but you have an Intel iGPU on a laptop, unfortunately Intel's drivers interfere with Radial and there is no fix for the time being.


Simplify management of ActivityStates

Thanks a lot for making a contribution to SFML! 🙂
Before you create the pull request, we ask you to check the follow boxes. (For small changes not everything needs to ticked, but the more the better!)

[x] Has this change been discussed on the forum or in an issue before?
[x] Does the code follow the SFML Code Style Guide?[^1]
[x] Have you provided some example/test code for your changes?[^2]
[x] If you have additional steps which need to be performed list them as tasks![^3]

[^1]: ActivityStates is used a dynamically-allocated object via new, but the changed code doesn't care about or manage its lifetime, so it is appropriate to use it as a reference there. The code that manages the lifetime of ActivityStates objects still uses raw pointers as specified by the coding guidelines.
[^2]: I have tested the existing test suite and compiled for Android.
[^3]: No additional tests required.

Description
This is a refactoring PR that simplifies the way ActivityStates is managed, making it clear that the NULL state is almost always not a valid domain value. It was prompted by some improper use of SFML for an Android project, which resulted in some puzzling crashes due to *states being accessed without ever asserting states != NULL.
Tasks

[ ] Tested on Linux
[x] Tested on Windows
[ ] Tested on macOS
[ ] Tested on iOS
[x] Tested on Android

How to test this PR?
This is a refactoring PR. The behavior of the code should not have changed. Any unlikely regression will be likely found by CI or testing suites.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

It doesn't listen to me :(

SFMLBuildMaster: Build this please.

It doesn't listen to me :(

That's kind of the point of not running it automatically, to prevent people executing random code on our machines 😄

SFMLBuildMaster: Build this please.

Thanks for this refactoring! 🙂


Upgrade to Cloud Camden SR6

Coverage remained the same at 88.791% when pulling a9c486ccaacdaa4fc676a7d90ebb927e6f6ea78e on tgianos:master into e701ef6200688722414e552f9ac15ab6836722b2 on Netflix:master.


Update spotify controller and spotify example to handle casting to audio groups

Did you see  #293 ? :)

Looks interesting. I will test this as soon as I have a chance

@fondberg this https://github.com/balloob/pychromecast/pull/293#issuecomment-491532612 might be the way to do it, if it works there's no need to go through the multizone hoops

@emontnemery it works great. My small suggestion can be ignored if you want and you can merge this. Can you make a release when this is in?

@fondberg I added your small suggestion, and also tried to improve the error handling to fail if there is a credential error.
Maybe this should be replaced with a wait on a future instead of looping on a boolean though:
https://github.com/balloob/pychromecast/blob/68012f0a7cf3ff874d37932137b25e3afe818d8d/pychromecast/controllers/spotify.py#L71-L74

LGTM. Which thread would send the event (not a master on pychromecast... yet...)?

It will be sent by the SocketClient worker thread which is handling communication with the cast.


[8.x] Switch to docker compose for test suite

This swaps out a bunch of bin/test.sh for native docker compose features like --exit-code-from and named networks. Running test.sh will start all the necessary services first, and then run the tests (due to the depends_on option). When the tests finish, it will automatically cause docker compose to exit with the same exit code as the tests.
I've also pulled over the dynamodb image from the existing Github workflow so that local test can run dynamodb as well.

There are a few tests that are failing locally on my machine whether I run the test suite using the existing 8.x branch or with these changes. If anyone out there can successfully run the current test.sh script, I'd love to know what happens when you try this branch instead. Theoretically, the actual docker setup is the same—it's just configured in a simpler way.

I think you may use multiple environment files (like docker-compose.testing.yml) instead of declaring tests services in default docker-compose.yml.
https://docs.docker.com/compose/extends/#different-environments

I think you may use multiple environment files (like docker-compose.testing.yml) instead of declaring tests services in default docker-compose.yml.

I'm pretty sure the docker-compose.yml file is only used for tests, so it didn't seem necessary, but I'm happy to split it out if that makes sense.

Gonna close this one now. Feel free to send in a new finished PR when you find the time.


"Open Accessible View" action results in error and "The editor is not accessible at this time" error by voiceover

Testing #228766
Repro:

open "getting started with accessiblity features"
on second step click on blue button to "open accessible view"
2.1. this results in an error in dev console

ERR Unable to resolve resource accessible-view:accessible-view-walkthrough#Title%3A%20Get%20Started%20with%20Accessibility%20Features%0A%0ADescription%3A%20Learn%20the%20tools%20and%20shortcuts%20that%20make%20VS%20Code%20accessible.%20Note%20that%20some%20actions%20are%20not%20actionable%20from%20within%20the%20context%20of%20the%20walkthrough.%0A%0AStep%202%3A%20Screen%20reader%20users%20can%20inspect%20content%20line%20by%20line%2C%20character%20by%20character%20in%20the%20accessible%20view.%0ADescription%3A%20The%20accessible%20view%20is%20available%20for%20the%20terminal%2C%20hovers%2C%20notifications%2C%20comments%2C%20notebook%20output%2C%20chat%20responses%2C%20inline%20completions%2C%20and%20debug%20console%20output.%20%20With%20focus%20in%20any%20of%20those%20features%2C%20it%20can%20be%20opened%20with%20the%20Open%20Accessible%20View%20command.%20Open%20Accessible%20View: Error: Unable to resolve resource accessible-view:accessible-view-walkthrough#Title%3A%20Get%20Started%20with%20Accessibility%20Features%0A%0ADescription%3A%20Learn%20the%20tools%20and%20shortcuts%20that%20make%20VS%20Code%20accessible.%20Note%20that%20some%20actions%20are%20not%20actionable%20from%20within%20the%20context%20of%20the%20walkthrough.%0A%0AStep%202%3A%20Screen%20reader%20users%20can%20inspect%20content%20line%20by%20line%2C%20character%20by%20character%20in%20the%20accessible%20view.%0ADescription%3A%20The%20accessible%20view%20is%20available%20for%20the%20terminal%2C%20hovers%2C%20notifications%2C%20comments%2C%20notebook%20output%2C%20chat%20responses%2C%20inline%20completions%2C%20and%20debug%20console%20output.%20%20With%20focus%20in%20any%20of%20those%20features%2C%20it%20can%20be%20opened%20with%20the%20Open%20Accessible%20View%20command.%20Open%20Accessible%20View
    at j8e.r (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1277:21087)
    at j8e.r (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1277:21073)
    at async Gdi.acquire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:23:3125)
    at async _8e.createModelReference (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1277:22405)
    at async YMe.E (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:477:19032)

2.2. Voiceover says that "the editor is not accessible at this time" and advises to turn on screen optimized view, but I already have that on as you can see in status bar item.
https://github.com/user-attachments/assets/2b7ba257-e6e0-4473-bfce-b498b63f2f96
Version: 1.94.0-insider
Commit: f35c3823e3b7ea4c52f7fee4659bcce39b42ce9e
Date: 2024-09-24T05:04:12.797Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.6.0

I'm getting "the editor is not accessible at this time" messages while moving focus to the Python REPL input box or the Copilot Chat input box

I am not reproducing - when I click that button, I see this

@bhavyaus seems like an issue with the walkthrough accessible view?

@meganrogge this looks an issue with the accessible view editor. I'm seeing similar issue when I open the chat-panel and request the accessible view.
  ERR Unable to resolve resource accessible-view:accessible-view-panelChat#You%20can%20ask%20me%20general%20programming%20questions%2C%20or%20chat%20with%20the%20following%20participants%20which%20have%20specialized%20expertise%20and%20can%20perform%20actions%3A%0A%5Bworkspace%5D%28http%3A%2F%2F_chatagent_%3F%257B%2522agentId%2522%253A%2522github.copilot.workspace%2522%252C%2522name%2522%253A%2522workspace%2522%252C%2522isClickable%2522%253Atrue%257D%29%20-%20Ask%20about%20your%20workspace%0A%20%20%2A%20%5B%2Fexplain%5D%28http%3A%2F%2F_chatslash_%3F%257B%2522agentId%2522%253A%2522github.copilot.workspace%2522%252C%2522command%2522%253A%2522explain%2522%257D%29%20-...


Autocomplete is not showing properly

Hey hi I am trying to use monaco editor but the autocomplete is not showing properly. Moreover I can't replicate the same in another HTML page

@firescrypt Looks like an issue with your CSS.


non ssl vhosts when using certs. fixes broken tests

I think this might have been an artifact of my build env. Closing.


PyPI doesn't have tarball

There is no tarball in https://pypi.org/project/osqp/#files

It should be available now. The source distribution is automatically created in https://github.com/oxfordcontrol/osqp-wheels


Use config from context in controller initialization.

Proposed Changes
Instead of passing a manually fetched config, we can now use the config that comes with the passed context to initialize controllers that need a config. Cuts down on boilerplate.
/assign @n3wscott

rad.
/lgtm
/approve


Inquiry on Object Detection Related Error

"Hello, I am trying to explain my model, which is built on yolov8 based on your model, through CAM. The issue is that while the detection of classes on the image is accurate, the heatmap is generated on parts of the image that are completely unrelated to the class. How can I resolve this issue?"

This happens when you run the code for the first time. You will have to re-run the cells to make it provide the accurate output.

This happens when you run the code for the first time. You will have to re-run the cells to make it provide the accurate output.

I am getting similar error, I dont know what is going wrong. I have rerun it multiple times. Also, I dont understand why we have to run it multiple times. For example in below it highlights everything but players and ball. I have tried using different colormaps in cv2 but the result is same.

I have similar issue, event for the "puppies" image as follows. Ensure the model is running on the CPU, not the GPU.
model.cpu()
or
model = YOLO(f'yolov8n.pt').to('cpu')
then it works fine for me. I will submit PR.


(PUP-3127) LDAP - Introduce LDAP-Certificate Directory

This is a rebase of @aschuste's PR-3045 with an rspec fix and commit message cleanup.
Add ldapcrtdir settings to enable ssl-based ldap connections on Solaris
based Puppet-Master. Without this implementation, it is not possible to
create ssl encrypted ldap connections on a Solaris system. If the
'ldapcrtdir' parameter is not set or set to false (=> default), the
connection is etablished as before.

CLA signed by all contributors.

@xaque208 do you have any update on this PR?  I believe you were going to take a look at testing this.

Looking now.  This code looks to do what it says, though I'm not in a position to test.  What I can't figure out is calls to LDAP in the connection seem to be using undocumented features in ruby/ldap.
https://github.com/ScottGarman/puppet/blob/master-ldapfix/lib/puppet/util/ldap/connection.rb#L63
I don't see in the docs what to expect when we're calling it as such.
http://ruby-ldap.sourceforge.net/rdoc/classes/LDAP/SSLConn.html#M000044
Am I overlooking something?

@ScottGarman As mentioned by @xaque208 above, it seems the LDAP::SSLConn#initialize expects an array of LDAP::Control for that fourth argument.  This is what it ends up calling https://github.com/bearded/ruby-ldap/blob/49b6c6f78661703e54978a0f9266274a2f4354f3/misc.c#L453.
Is what you have correct or are we going off of a different version of ruby-ldap?

@aschuste can you reply to this? My only involvement here was to do some minor cleanup in the hopes this would be a quick merge, but that hasn't turned out to be the case.

@aschuste Any update for the feedback above?  Thanks!

@xaque208 Geoffrey Gardella, who sometimes makes an appearance at the community triage meetings has everything set up for testing this. He might have some insight into the LDAP calls, though he was having some issues on the puppet side. Feel free to reach out to him at<EMAIL_ADDRESS>

Hi @aschuste.  Have you had any time to look over the questions above yet?

@ggardella If you get a chance, could you look over the above?  Thanks!

Hey! Sorry I missed the triage yesterday. I have systems set up to test this. LDAP server, Puppet master and client. I followed these directions for setting things up:
https://docs.puppetlabs.com/guides/ldap_nodes.html
I used the schema referenced there:
https://github.com/puppetlabs/puppet/blob/master/ext/ldap/puppet.schema
While I can successfully do an ldapsearch from the Puppet master and see the node I have defined, puppet does not see it.
I was waiting for help in diagnosing this problem. I can provide more details.

@ggardella Thank you so much for your help in setting this up for functional review.  Unfortunately it looks like this particular change isn't going to work as is:
require 'puppet'
require 'puppet/ldap/connection'

Puppet[:ldapssl] = true
Puppet[:ldapcrtdir] = '/foo' # also tried ['/foo']
Puppet::Util::Ldap::Connection.instance.start

This results in:
Puppet::Error: Could not connect to LDAP: wrong argument type String (expected Array)
If given an array instead of a string:
Puppet::Error: Could not connect to LDAP: wrong argument type String (expected Data)
This seems to be what I would expect given what I mentioned above about the fourth argument expecting an array of LDAP::Control (this is implemented in native code, so it's wrapped with a ruby Data type).
Therefore, I'm going to close this PR until one of the original contributors can clear up the confusion / respond to any of the above questions.  Please re-open if anyone thinks this was closed in error.  Thanks!


Uploading multiple files with firefox (mobile)

When I upload phone -> PC with firefox mobile and select multiple files at once, I instantly get a successful upload message but only some of the chosen files appear on my PC and are corrupt (0 bytes). It works fine with a single file as well as with chrome mobile.
Thanks a lot for the tool, it solves a big pain point for me :)

Hi. How big are the files you're trying to upload? and how many? and does it work with another browser?

Hi, I tried uploading anywhere between 1 and ~150 .jpg images about 2mb each. It works for a single one but not for me. It does work with chrome (as I stated above).
Thanks for your interest

Ok I managed to reproduce the problem. Firefox mobile does not properly send the multipart form like other browsers do.
When testing with two files...
Chrome mobile:
{
  'content-length': '522814',
  'content-type': 'multipart/form-data; boundary=----WebKitFormBoundaryBHWzyAyea9HBaafn',
  'accept-encoding': 'gzip, deflate',
}

Firefox mobile:
{
  'content-length': '230',
  'accept-encoding': 'gzip, deflate',
  'content-type': 'multipart/form-data; boundary=---------------------------116521216141164983863359111',
}

content-length is only 230.
I've googled a bit and tried to use fetch instead of axios but nothing seems to solve this issue on firefox mobile.
Maybe we need to upload files one-by-one

I just tested with firefox on mac, and it works. So it's definitely a firefox mobile issue

Again with Android-FF with at least version 131.0.1 and 132.0.1
Form is defined as:
<form action="/test/formular.93992.php" method="post" id="form_1" class="form" enctype="multipart/form-data">
Input defined as:
<input class="form-check-input" type="file" name="input_1_3" required="required" title="Upload" accept=".docx, .pptx, .xlsx, .pdf">
try to send an 1MB file, the request has only 12kBytes with this headers:
POST /test/beispielseiten/formulare/formular.93992.php HTTP/2
Host: stg.XXX.YY
User-Agent: Mozilla/5.0 (Android 15; Mobile; rv:132.0) Gecko/132.0 Firefox/132.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,en-US;q=0.7,ru-RU;q=0.3
Accept-Encoding: gzip, deflate, br, zstd
Referer: https://stg.XXXX.YY/test/formular.93992.php
Content-Type: multipart/form-data; boundary=---------------------------395248176313172189901482212775
Content-Length: 0
Origin: https://stg.XXX.YY
Connection: keep-alive
Cookie: PHPSESSID=mct6ko3rl5t9ig6rnhqj268rcu; dst_zones=; tz_info=; AAAAAAAAAA=52616e646f6d4956e244cea25f5ecef82778783b0735d51de50babfc073546286d3c745fbf95056cc9702afc679b8eff; session_info=%7B%22srvts%22%3A%201730975540%2C%20%22ttl%22%3A%2032400%7D; tz_info_saved=1730975542; wt_rla=102571513503709%2C2%2C1730975546347
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-origin
Sec-Fetch-User: ?1
Priority: u=0, i
TE: trailers
</pre>


Fast fail a Quarkus application that fails with "Failed to load config value of type class"

Was .github/workflows/kubernetes.yaml included intentionally ?

Was .github/workflows/kubernetes.yaml included intentionally ?

I used it to check why Kubernetes deployment were failing. It's deleted now.


Stop support nodered on pi4?

I can not pull for linux/arm/v8
sudo docker pull nodered/node-red
Using default tag: latest
latest: Pulling from nodered/node-red
no matching manifest for linux/arm/v8 in the manifest list entries

This should have been raised on https://github.com/node-red/node-red-docker
But we have never built containers tagged as linux/arm/v8 (https://hub.docker.com/r/nodered/node-red/tags?page=&page_size=&ordering=&name=3.1.11)
For Node-RED v4.0.0 we dropped linux/arm/v6 and linux/s390x
Also there has never been a linux/arm/v8 base build (https://hub.docker.com/_/node/tags?page=&page_size=&ordering=&name=alpine)

Did you install the 32bit version of the OS on a Pi4?

@hardillb
Hi, Hardillb.
What about linux/arm/v7?
The latest tag of node-red image seem droped the support of linux/arm/v7.
I can't pull it from my armv7 machine.

@SuiKaSan I can see I disabled it back in March because it was hanging during the build as well.
I will re-enable it and see if I can get it to build.

Yep, I've tested again and the NodeJS 20 and 22 builds just never finish on ARMv7 (same as s390x and ARMv6).
The NodeJS 18 build works, but that's not helpful when we want the default build to be NodeJS 20.
They end up in a spinning in recvfrom().
I opened an issue with NodeJS and didn't get any traction apart from others with the same problem or saying they couldn't reproduce the problem.  https://github.com/nodejs/node/issues/50339

OK.
Thanks for your reply.
I'll keep an eys and see where it goes.

@duycop any solution? got the same on my osmc installation

The next build should have a 32bit ARMv7 build

The next build should have a 32bit ARMv7 build

... but my problem is that it started to search for v8 somehow ...

We have never build ARMv8 32bit containers (and there are no nodejs base containers with that tag https://hub.docker.com/_/node/tags).

We have never build ARMv8 32bit containers (and there are no nodejs base containers with that tag https://hub.docker.com/_/node/tags).

I believe you ;) The problem is that my installation (osmc) unexpectedly starts searching this, and I'm trying to find the solution...

You need to either build the containers yourself or wait for the next spin (most likely 4.0.3)

You need to:

build the containers yourself
Stick at 3.1.x version
Use the debian based build
Wait for the next spin (most likely 4.0.3)

Thanks! Will be waiting

You need to:

build the containers yourself
Stick at 3.1.x version
Use the debian based build
Wait for the next spin (most likely 4.0.3)

May I ask when will 4.0.3 be released?

I have respun the 4.0.2 builds today. There should now be ARMv7 containers in the manifest

I have respun the 4.0.2 builds today. There should now be ARMv7 containers in the manifest

solved it for me. thanks for you work!


How will Entropic achieve package management for anything?

Hello,
Recently watched ceejbot's talk on Entropic and the state of npm and I'm honestly hyped for a federated package manager for my JS projects, but it seems highlighted in the readme that Entropic will be a package manager for anything, meaning that one may wish to host their own server locally that distributes other forms of packages for another language or not a language at all. Maybe it's audio files, who knows, it shouldn't matter.
This issue is to raise the question, do we have a story for this? How will the cli address installation of packages, is it entirely agnostic of the project? Are there ideas on this already? Would be good to have Chris and C J weigh in on this.

+1.


Migrate from travis-ci.org to GitHub actions

@danielhochman @dschaller Thanks for the help so far, mind giving this another quick skim?
Oh, and to get rid of this:

I think I just need to get rid of the webhook in this repo's config?

@danielhochman @dschaller Thanks for the help so far, mind giving this another quick skim?
Oh, and to get rid of this:

I think I just need to get rid of the webhook in this repo's config?

For future reference, I had to update branch protection rules


"Python extension loading..." message lasts forever

I searched for this error and it was solved with newer version of the Python extension. Though, I have the newest versions installed and still have this problem.
Environment data

VS Code version: 1.55.2
Extension version (available under the Extensions sidebar): v2021.4.765268190
OS and version: Win 10 Pro
Python version (& distribution if applicable, e.g. Anaconda): 3.9.4
Relevant/affected Python packages and their versions: Jupyter version: 2021.5.745244803

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
Be able to use Python in VSCode.
Actual behaviour
"Python extension loading..." message last forever
Steps to reproduce:
Install Anaconda 3 with newest Python release
Install VSCode
Install python Extension
-->
Logs
OUTPUT is empty for Python.
Extension Host log is:

[2021-04-23 18:43:03.968] [exthost] [info] extension host started
[2021-04-23 18:43:04.129] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication {"startup":false,"extensionId":{"value":"vscode.microsoft-authentication","_lower":"vscode.microsoft-authentication"},"activationEvent":"onAuthenticationRequest:microsoft"}
[2021-04-23 18:43:04.129] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/microsoft-authentication/dist/extension.js
[2021-04-23 18:43:04.147] [exthost] [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter {"startup":false,"extensionId":{"value":"ms-toolsai.jupyter","_lower":"ms-toolsai.jupyter"},"activationEvent":"onLanguage:python"}
[2021-04-23 18:43:04.147] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/.vscode/extensions/ms-toolsai.jupyter-2021.5.745244803/out/client/extension
[2021-04-23 18:43:04.513] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"}
[2021-04-23 18:43:04.513] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/debug-auto-launch/dist/extension
[2021-04-23 18:43:04.521] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-04-23 18:43:04.521] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/git/dist/main
[2021-04-23 18:43:04.550] [exthost] [info] WSL is not installed, so could not detect WSL profiles
[2021-04-23 18:43:05.151] [exthost] [info] ExtensionService#_doActivateExtension vscode.github {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-04-23 18:43:05.151] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github/dist/extension.js
[2021-04-23 18:43:05.159] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug {"startup":false,"extensionId":{"value":"ms-vscode.js-debug","_lower":"ms-vscode.js-debug"},"activationEvent":"onCommand:extension.js-debug.clearAutoAttachVariables"}
[2021-04-23 18:43:05.159] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/extension.js
[2021-04-23 18:43:05.307] [exthost] [info] ExtensionService#_doActivateExtension ms-python.python {"startup":false,"extensionId":{"value":"ms-python.python","_lower":"ms-python.python"},"activationEvent":"onLanguage:python"}
[2021-04-23 18:43:05.308] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/.vscode/extensions/ms-python.python-2021.4.765268190/out/client/extension
[2021-04-23 18:43:05.458] [exthost] [info] eager extensions activated
[2021-04-23 18:43:05.570] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication {"startup":false,"extensionId":{"value":"vscode.github-authentication","_lower":"vscode.github-authentication"},"activationEvent":"onAuthenticationRequest:github"}
[2021-04-23 18:43:05.570] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/github-authentication/dist/extension.js
[2021-04-23 18:43:05.581] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":false,"extensionId":{"value":"vscode.emmet","_lower":"vscode.emmet"},"activationEvent":"onStartupFinished"}
[2021-04-23 18:43:05.582] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/emmet/dist/node/emmetNodeMain
[2021-04-23 18:43:05.593] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":false,"extensionId":{"value":"vscode.merge-conflict","_lower":"vscode.merge-conflict"},"activationEvent":"onStartupFinished"}
[2021-04-23 18:43:05.593] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/merge-conflict/dist/mergeConflictMain
[2021-04-23 18:43:05.597] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender {"startup":false,"extensionId":{"value":"ms-vscode-remote.remote-wsl-recommender","_lower":"ms-vscode-remote.remote-wsl-recommender"},"activationEvent":"onStartupFinished"}
[2021-04-23 18:43:05.598] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender/dist/extension.js
[2021-04-23 18:43:05.607] [exthost] [info] ExtensionService#_doActivateExtension vscode.testing-editor-contributions {"startup":false,"extensionId":{"value":"vscode.testing-editor-contributions","_lower":"vscode.testing-editor-contributions"},"activationEvent":"onStartupFinished"}
[2021-04-23 18:43:05.607] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/User/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/testing-editor-contributions/dist/extension.js

Just an addition: I also tried the insiders built version installed from a VSIX file and still have a problem. I cannot find any info about the reason, since the OUTPUT-> Python is empyt.
https://pvsc.blob.core.windows.net/extension-builds/ms-python-insiders.vsix

Do the following to remove stale versions of the extension:

Uninstall Python extension (if you have pylance uninstall it first).
Close all instances of VS Code.
Go to, %USERPROFILE%/.vscode/extensions (on windows) or ~/.vscode/extensions on Linux/Mac.
Delete any folder with the name starting with ms-python.python*
Start VS Code, and install Python extension (also pylance if you uninstalled it in step 1).

If this continue to occur after this, open console logs ( Help > Toggle developer tools) and see if there are any errors reported there.

I did it, but it does not help. Still getting the same Error.
I checked the developer log, but I have one error which appears when the extension is installed. Without the extension, I do not have the error, it actually appears instantly when I am installing the python extension from the store:
workbench.desktop.main.js:62 [Extension Host] (node:22556) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Update:
Funnily, the extension loads sometimes. I have to close and re-start VS-Code and rougly in 10% of the cases it loads Python 3.9.4 successfully.

FWIW I seem to be having a similar problem.
I have the python extension version 2021.4.765268190, VSCode version 1.55.2.
My Log (Python) it says:
User belongs to experiment group 'pythonaa'
User belongs to experiment group 'pythonJoinMailingListVar2'
User belongs to experiment group 'pythonSendEntireLineToREPL'
User belongs to experiment group 'pythonNotDisplayLinterPrompt'
User belongs to experiment group 'pythonDiscoveryModuleWithoutWatcher'
User belongs to experiment group 'pythonTensorboardExperiment'
User belongs to experiment group 'PythonPyTorchProfiler'

Meanwhile my Log (Extension Host) says:
[2021-04-26 11:24:05.812] [exthost] [info] extension host started
[2021-04-26 11:24:05.976] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication {"startup":false,"extensionId":{"value":"vscode.microsoft-authentication","_lower":"vscode.microsoft-authentication"},"activationEvent":"onAuthenticationRequest:microsoft"}
[2021-04-26 11:24:05.976] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/microsoft-authentication/dist/extension.js
[2021-04-26 11:24:05.985] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"}
[2021-04-26 11:24:05.985] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/debug-auto-launch/dist/extension
[2021-04-26 11:24:05.987] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-04-26 11:24:05.987] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main
[2021-04-26 11:24:06.022] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug {"startup":false,"extensionId":{"value":"ms-vscode.js-debug","_lower":"ms-vscode.js-debug"},"activationEvent":"onCommand:extension.js-debug.clearAutoAttachVariables"}
[2021-04-26 11:24:06.023] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.js-debug/src/extension.js
[2021-04-26 11:24:06.183] [exthost] [info] ExtensionService#_doActivateExtension vscode.github {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-04-26 11:24:06.183] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github/dist/extension.js
[2021-04-26 11:24:06.194] [exthost] [info] eager extensions activated
[2021-04-26 11:24:06.202] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication {"startup":false,"extensionId":{"value":"vscode.github-authentication","_lower":"vscode.github-authentication"},"activationEvent":"onAuthenticationRequest:github"}
[2021-04-26 11:24:06.202] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js
[2021-04-26 11:24:06.208] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":false,"extensionId":{"value":"vscode.emmet","_lower":"vscode.emmet"},"activationEvent":"onStartupFinished"}
[2021-04-26 11:24:06.209] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/emmet/dist/node/emmetNodeMain
[2021-04-26 11:24:06.214] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":false,"extensionId":{"value":"vscode.merge-conflict","_lower":"vscode.merge-conflict"},"activationEvent":"onStartupFinished"}
[2021-04-26 11:24:06.214] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/merge-conflict/dist/mergeConflictMain
[2021-04-26 11:24:06.216] [exthost] [info] ExtensionService#_doActivateExtension vscode.testing-editor-contributions {"startup":false,"extensionId":{"value":"vscode.testing-editor-contributions","_lower":"vscode.testing-editor-contributions"},"activationEvent":"onStartupFinished"}
[2021-04-26 11:24:06.216] [exthost] [info] ExtensionService#loadCommonJSModule file:///Applications/Visual Studio Code.app/Contents/Resources/app/extensions/testing-editor-contributions/dist/extension.js
[2021-04-26 11:24:13.970] [exthost] [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter {"startup":false,"extensionId":{"value":"ms-toolsai.jupyter","_lower":"ms-toolsai.jupyter"},"activationEvent":"onLanguage:python"}
[2021-04-26 11:24:13.970] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/cpl29573/.vscode/extensions/ms-toolsai.jupyter-2021.5.745244803/out/client/extension
[2021-04-26 11:24:14.210] [exthost] [info] ExtensionService#_doActivateExtension ms-python.python {"startup":false,"extensionId":{"value":"ms-python.python","_lower":"ms-python.python"},"activationEvent":"onLanguage:python"}
[2021-04-26 11:24:14.210] [exthost] [info] ExtensionService#loadCommonJSModule file:///Users/cpl29573/.vscode/extensions/ms-python.python-2021.4.765268190/out/client/extension

I see, can you add "python.logging.level": "info" in the User settings and provide the logs again please? Also try opting out of all experiments by adding the setting
"python.experiments.optOutFrom": ["All"]

and see if that helps.

Silly question how do add these lines to the user settings? The user settings is a JSON file apparently.
Anyways: I downgraded the python extension version to v2021.3.680753044 and it works. Switching back to the newest version leads to the problem again.

@brkbrc Yes, you simply add an entry to the JSON file. For eg. for me it appears like
{
    "python.experiments.optOutFrom": ["All"],
    "python.logging.level": "info",
}

There might be more entries for you.

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.

I'm still running into this issue, I suspect others also; uninstalling, then cleaning up ~/.vscode/extensions and then re-installing did not help, I immediately get the "Python extension loading..." message, which never goes away. I've also set the parameters in settings as mentioned above (log level to info, opt out of all experiments) to no avail.
This is still an issue and needs some troubleshooting. Note that I can't find where the extension is logging those info messages..

In the last couple of days I've also noticed this issue. I tried fresh install from VSCode's website using the .deb file on Ubuntu 20.04.3 with VSCode version 1.60.0, and my OS's default Python installation of Python 3.8.10 and got the "Python extension loading..." message forever. I tried cleaning out and reinstalling the Python extension. Version number is v2021.9.1230869389.
Please re-open ticket.

For people running into this issue, please open a new issue as we need the issue template filled out in order to diagnose what you might be seeing.

Please make sure that you provide the logs as mentioned in the issue template while opening a new issue. Also, please try installing 2021.9.1218897484, and report if the problems happens with that:
You can follow the prompts from "Extensions: Install Specific Version of Extension..." in the command palette:

Or you can open the extensions side bar, click on the settings for the Python extension and pick "Install Another Version...":

Follow this thread https://github.com/microsoft/vscode-python/issues/14977#issuecomment-919565210 which tracks the issue, I would appreciate if you can also send the info asked here https://github.com/microsoft/vscode-python/issues/16026#issuecomment-919441133, thanks!


Grammatical error under CELTS-sponsored event

Change “A CELTS-event” to “a CELTS-event” in event creation under CELTS-sponsored event

 Grammatical error under CELTS-sponsored event

Closed in PR #1264


Builder error on second push

Pushing an app a second time ran into at least two issues:

git bucketname already exists
pod name deis-dockerbuilder already existed

example-dockerfile-http [master]$ g push deis master
Counting objects: 47, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (37/37), done.
Writing objects: 100% (47/47), 7.16 KiB | 0 bytes/s, done.
Total 47 (delta 6), reused 0 (delta 0)
Added host ‘http://<IP_ADDRESS>:9000’ successfully.
mc: <ERROR> Unable to make bucket ‘http://<IP_ADDRESS>:9000/git’. The requested bucket name is not available.
‘shadow-woodshed.tar.gz’ -> ‘http://<IP_ADDRESS>:9000/git/home/shadow-woodshed:git-3edec618/tar’
Total: 2.00 KB, Transferred: 2.00 KB, Speed: 801.59 KB/s
-----> stored tarfile in http://<IP_ADDRESS>:9000/git/home/shadow-woodshed:git-3edec618/tar
-----> creating builder pod in namespace deis
Error from server: error when creating "/etc/shadow-woodshed:git-3edec618.yaml": pods "deis-dockerbuilder" already exists
To ssh://git@a097f2098a2ce11e5a5a40272b026e4b-190952671.us-west-2.elb.amazonaws.com:2222/shadow-woodshed.git
 * [new branch]      master -> master

Also issues with deisci/dockerbuilder image
Failed to pull image "quay.io/deisci/dockerbuilder:v2-alpha": image pull failed for quay.io/deisci/dockerbuilder:v2-alpha, this may be because there are no credentials on this request.  details: (Error: Status 403 trying to pull repository deisci/dockerbuilder: "{\"error\": \"Permission Denied\"}")

-rw-r--r-- 1 root root 1017 Dec 15 22:12 /etc/shadow-woodshed:git-3edec618.yaml
/ # cat /etc/shadow-woodshed:git-3edec618.yaml
apiVersion: v1
kind: Pod
metadata:
  name: deis-dockerbuilder
  labels:
    heritage: deis
    version: v2-alpha
spec:
  restartPolicy: Never
  containers:
    - name: deis-dockerbuilder
      imagePullPolicy: Always
      image: quay.io/deisci/dockerbuilder:v2-alpha
      env:
        - name: DEBUG
          value: "1"
        - name: TAR_URL
          value: http://<IP_ADDRESS>:9000/git/home/shadow-woodshed:git-3edec618/tar
        - name: IMG_NAME
          value: imagename
        - name: ACCESS_KEY_FILE
          value: /var/run/secrets/object/store/access_key
        - name: ACCESS_SECRET_FILE
          value: /var/run/secrets/object/store/access_secret
      volumeMounts:
        - mountPath: /var/run/docker.sock
          name: docker-socket
        - name: minio-user
          mountPath: /var/run/secrets/object/store
          readOnly: true
  volumes:
    - name: minio-user
      secret:
        secretName: minio-user
    - name: docker-socket
      hostPath:
        path: /var/run/docker.sock
/ #

@slack two questions:

What repo are you git pushing? Builder thinks it's a dockerfile repo and is starting up a docker builder pod, which hasn't been built yet
I can't reproduce the "pod already exists" issue. Old deis-builder images will have name: deis-builder in the metadata, while new ones will successfully overwrite the name to include the git sha in it, making it unique. Can you post the output of kubectl --namespace=deis $DEIS_BUILDER_POD_NAME -- cat /etc/shadow-woodshed:git-3edec618.yaml so we can diagnose further?

Nevermind, ignore (2) I just saw you posted it. This may be running an older deis-builder image. Can you try restarting it?
helm fetch deis/deis && kubectl --namespace=deis delete rc deis-builder && kubectl --namespace=deis create -f ~/.helm/workspace/charts/deis/manifests/deis-builder-rc.yaml

Re 1) it was certainly a Dockerfile based application, my bad!
I reproduced with a buildpack app via deis/example-ruby-sinatra:
example-ruby-sinatra [master]$ g push deis master
Counting objects: 98, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (50/50), done.
Writing objects: 100% (98/98), 21.58 KiB | 0 bytes/s, done.
Total 98 (delta 42), reused 98 (delta 42)
Added host ‘http://<IP_ADDRESS>:9000’ successfully.
mc: <ERROR> Unable to make bucket ‘http://<IP_ADDRESS>:9000/git’. The requested bucket name is not available.
‘gaslit-jamboree.tar.gz’ -> ‘http://<IP_ADDRESS>:9000/git/home/gaslit-jamboree:git-80e20346/tar’
Total: 2.05 KB, Transferred: 2.05 KB, Speed: 196.99 KB/s
-----> stored tarfile in http://<IP_ADDRESS>:9000/git/home/gaslit-jamboree:git-80e20346/tar
-----> creating builder pod in namespace deis
pod "gaslit-jamboree-git-80e20346" created
no file
no file
no file
no file
^CKilled by signal 2.

<<< TIME PASSES >>>

example-ruby-sinatra [master]$ g push deis master
Counting objects: 98, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (50/50), done.
Writing objects: 100% (98/98), 21.58 KiB | 0 bytes/s, done.
Total 98 (delta 42), reused 98 (delta 42)
Added host ‘http://<IP_ADDRESS>:9000’ successfully.
mc: <ERROR> Unable to make bucket ‘http://<IP_ADDRESS>:9000/git’. The requested bucket name is not available.
‘gaslit-jamboree.tar.gz’ -> ‘http://<IP_ADDRESS>:9000/git/home/gaslit-jamboree:git-80e20346/tar’
Total: 2.05 KB, Transferred: 2.05 KB, Speed: 667.31 KB/s
-----> stored tarfile in http://<IP_ADDRESS>:9000/git/home/gaslit-jamboree:git-80e20346/tar
-----> creating builder pod in namespace deis
Error from server: error when creating "/etc/gaslit-jamboree:git-80e20346.yaml": pods "gaslit-jamboree-git-80e20346" already exists
To ssh://git@a097f2098a2ce11e5a5a40272b026e4b-190952671.us-west-2.elb.amazonaws.com:2222/gaslit-jamboree.git
 * [new branch]      master -> master
example-ruby-sinatra [master]$

Thanks @slack. First, can you try making a change, committing it, and git push deis master again. I want to ensure that the name substitution is working correctly on your cluster.

Replaced builder. Deis charts version:
deis [master]$ git rev-parse HEAD
a0ba86398a7e83d14a69f548fca0d24051081b44

Revision, commit, push:
example-ruby-sinatra [foo]$ g push deis master
Counting objects: 98, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (50/50), done.
Writing objects: 100% (98/98), 21.58 KiB | 0 bytes/s, done.
Total 98 (delta 42), reused 98 (delta 42)
mc: Configuration written to [/var/minio-conf/config.json]. Please update your access credentials.
mc: Successfully created ‘/var/minio-conf/share’.
mc: Initialized share uploads ‘/var/minio-conf/share/uploads.json’ file.
mc: Initialized share downloads ‘/var/minio-conf/share/downloads.json’ file.
Added host ‘http://<IP_ADDRESS>:9000’ successfully.
mc: <ERROR> Unable to make bucket ‘http://<IP_ADDRESS>:9000/git’. The requested bucket name is not available.
‘gaslit-jamboree.tar.gz’ -> ‘http://<IP_ADDRESS>:9000/git/home/gaslit-jamboree:git-80e20346/tar’
Total: 2.05 KB, Transferred: 2.05 KB, Speed: 732.00 KB/s
-----> stored tarfile in http://<IP_ADDRESS>:9000/git/home/gaslit-jamboree:git-80e20346/tar
-----> creating builder pod in namespace deis
Error from server: error when creating "/etc/gaslit-jamboree:git-80e20346.yaml": pods "gaslit-jamboree-git-80e20346" already exists
To ssh://git@a097f2098a2ce11e5a5a40272b026e4b-190952671.us-west-2.elb.amazonaws.com:2222/gaslit-jamboree.git
 * [new branch]      master -> master
example-ruby-sinatra [foo]$ g rev-parse HEAD
9b599549da6a00259ba189de010a5a7a9dbfedbb
example-ruby-sinatra [foo]$

also, can you post the log output of pod gaslit-jamboree-git-80e20346?

example-ruby-sinatra [foo]$ k --namespace=deis logs gaslit-jamboree-git-80e20346 | gist -p
https://gist.github.com/34a1075b82db6e997c60

Ok, thanks. Here's what I believe is happening, both in the dockerfile and buildpack cases:

You git push your code, but git doesn't consider the push successful:

In the Dockerfile case, the pod fails to launch completely
In the buildpack case, the push never returns (because of https://github.com/deis/builder/issues/45)

Since git thinks the rev wasn't successfully pushed, it allows you to push the rev again. Builder starts builder pods (both buildpack and docker) based only on the rev, so it tries to start a pod with the same name as has already run, which results in the error.

Once #45 is fixed, this should go away for buildpack builds, but not for dockerfile builds.

Makes sense.
Also seems like any time a build for a given sha is aborted from the client, we'll get in this state.

yep. I just created https://github.com/deis/builder/issues/51 to track this.


Task - Uniquify people

vue app to page through people that have identical or similar(?) names
select people, merge them together by updating roles
bonus- another checkbox to merge alternatve values

What is the starting point of the search for people?  Autocomplete?  Find all cases satisfying identical and/or similar ?   Some other method of specifying one name to find matches against?

@jrflood Endpoint is /people.json. Create filter logic in a new file lib/queries/people/filter.rb.  Perhaps use the corresponding filter.rb in tag.
It's up to you to determine what might be an efficient process for doing the task.

The person search is not necessarily simple. Exact match of the last and first name with specified roles is straightforward.  How flexible should the search be?  Obvious variants are: Last name only; Last name with first initial of first name; last or/and first name starts with Xxx*; any of the selected roles or no roles.

It's up to you how the client queries  db.  Remember you can make multiple
queries from the client, you don't have to do one query with crazy logic in
it.
On Wed, Jun 13, 2018, 3:51 PM J. Richard Flood<EMAIL_ADDRESS>wrote:

The person search is not necessarily simple. Exact match of the last and
first name with specified roles is straightforward. How flexible should the
search be? Obvious variants are: Last name only; Last name with first
initial of first name; last or/and first name starts with Xxx*; any of the
selected roles or no roles.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SpeciesFileGroup/taxonworks/issues/428#issuecomment-397082227,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABYSIlxLjLq1GVei2mVmpL0hw5xvCxKks5t8Xs9gaJpZM4UM-Hq
.

Merge People Options
Common baseline:
Select exemplar person
Specify options and select merge candidates
Select people to be merged with the exemplar from checkbox list
Proposal A
Exemplar assumes the roles of the selected people
Change person ID to exemplar person ID in instances of use of merged person ID — very tedious
Delete each merged Person
Proposal B
Same as A, except mark merged people as merged with exemplar instead of deleting them.
Proposal C
Same as A, except make selected matches an alternate value to the exemplar

Aside from filling out the cases for tests. this task seems complete enough for user feedback/critique.  Known issues: comparison blocks between people are rendered JSON vs pretty; possibly there should be a back-end/server-side initial search function to find probable duplicates (a la Levenshtein) instead of user input alone.

Thanks! @jrflood @TuckerJD What's the status of unit tests for the merge related model code?

There is a strange behavior in the both unvetted person test where the merging unvetted person becomes mysteriously vetted for no apparent reason. The merge result becomes a vetted person therefore and the test expecting an unvetted person fails -- the only failure when running the debug server. The tests fail about 50% when using the run server oddly.

Still outstanding on the #merge_with() front:

[ ] What to do when there are year attributes in both l_person and r_person.
[ ] What to do when there are (prefixes or suffixes) in both l_person and r_person.
[ ] Something else, which I don't remember right now.... I'll edit this when I remember.

There are some optimizations necessary, and maybe(?) a duplication bug in #merge


Attempting to use tryMaximumBuy() and tryMaximumSell()

I have to sympathize with the last issue as well, I find using the code without any javadoc quite difficult. Anyhow I've been attempting to use the tryMaximumBuy() and tryMaximumSell() methods, I've input the pair as "btc_usd" and the long parameter as unix time. I've also put my key and secret key into the constructor arguments of the instance of tradeApi that I am using. The method throws "Multiple Failure". Any idea of what I'm doing wrong or (even better) any chance of an example?
Cheers

Hi!
I'm sorry for my code, today I see that it's really strange :)
Some javadoc you can find in the /doc directory (index.html is the start page).
About your issue: you do it RIGHT, except long parameter as unix time. In method double tryMaximumBuy(String pairName, long reuseAgeMillis) as you can see in javadoc (yes, this method has javadoc) second parameter is a limit for data reusing. Just set it to 10 000 for example (10 seconds) and all will work fine :)
String KEY = "AAA-bbb-123";
String SECRET = "123abcd";
TradeApi tradeApi = new TradeApi(KEY, SECRET);
double btc_usd = tradeApi.tryMaximumBuy("btc_usd", 10 * 1000);
System.out.println(btc_usd);


Replace IORef by MutVar

BTW, I'm running the micro-benchmarks locally to see if the changes lead to a regression

BTW, I'm running the micro-benchmarks locally to see if the changes lead to a regression

Okay, as far as I can see there is no noticeable regression.

The type parameter spreads into quite a lot of types, but we will need this for io-sim, right?

Yes, we'll need either a state parameter s or a monad parameter m. For now, we're sticking with s