Multitenant GithubSource

Fixes #1131
Still many missing things. I'm opening this PR to let people know I'm working on it and to get some early feedback.

Proposed Changes

Replace single-tenant GithubSource adapter by a multitenant adapter.
Create Webhook of the form host/ns/name

Release Note

Docs

Why this change?

/hold
The receive adapter should not update the status or reset it

/unhold

closing in favor of https://github.com/knative/eventing-contrib/pull/1297
/close


need to find and/or warn about unregistered custom elements

Polymer Linter can save us time if it can warn us that we forgot @CustomTag.
I'm not saying I've ever forgotten the tag. Nor am I not not saying it, either.
Thanks!

This issue has been moved to dart-lang/polymer-dart#87.


LostTrust issue

Hi, seems like LostTrust has not been added to the site, rss, etc.
You added them in commit 46 but can't find it elsewhere
Thanks!

The victims of losttrust are here
and this is an extract of the rss feed
`🏴☠ Losttrust has just published a new victim : Arazoza Brothers
https://www.ransomware.live/#/group/losttrust
Arazoza Brothers is Florida’s leading Commercial Landscape company. We take pride in delivering consistently excellent results for clients across the state, throughout the lifespan of their landscapes.

https://www.ransomware.live/#/group/losttrust?4bbb01cc32770abaea45c8336ef37788
Tue, 26 Sep 2023 11:10:43 +0000
`

Thank you! I didn't find them under group profiles because it comes after the letter Z =)

My bad, I forgot to reorder ;)
I'll do now


Feature Request: External JSON schema

Is your feature request related to a problem? Please describe.
I want to use external JSON schema provided in @exodus/schemasafe
Describe the solution you'd like
Please add an optional argument for external schemas to expectJsonSchema and jsonSchema methods.
Describe alternatives you've considered
Or maybe add a global setting for external schemas.

PactumJS now supports passing custom options to json schema validations.
await pactum.spec()
  .get('api/get')
  .expectJsonSchema(
    {
      type: 'object',
      properties: {
        method: {
          type: 'string',
          format: 'only-get'
        }
      }
    },
    {
      formats: {
        'only-get': /^GET$/
      }
    }
  );


Facebook auth with custom domains not working

I'm having a problem on trying to authenticate with facebook with different domains. It works just with the domain specified in ROOT_URL variable. That means, my user only can use facebook login in domain with www (if the ROOT_URL is http://www.mydomain.com ) or without the www (if the ROOT_URL is http://mydomain.com)
I'm getting the following error message:
SecurityError: Blocked a frame with origin "http://www.mydomain.com.br" from accessing a frame with origin "http://mydomain.com.br". Protocols, domains, and ports must match.

All the possible callback urls are specified in advanced settings on facebook. This is an error maybe on meteor facebook package but I'm looking for some help here too.

I'm pretty sure this issue has nothing to do with meteor-buildpack-horse.  The error looks like a something that's happening between facebook's iframe and your browser's URL, which is an application issue that has nothing to do with building and publishing on heroku.
One workaround you could try is ensuring that the user is always at the correct domain -- see http://www.meteorpedia.com/read/HTTP_Redirects for some pointers on how to do redirects using WebApp.connectHandlers.  Check if the hostname associated with the request is the same as the value of ROOT_URL, and issue a redirect if not.


theme custom menus

ref #52914
incomplete, theming the menubar (done) and menus (not done)

@bpasero I've updated to be complete now. I've updated the names to be a bit less verbose in response to your feedback, but I've settled on a different set of keys. This is because the menubar needs to be separate from the menus themselves as it needs to blend with the titlebar. Due to this, I only allow theming of the menubar's selected item. The rest is decided by the titlebar.
Another note. I theme the menus in the menubarPart instead of attaching a styler to the menu for simplicity. If I understand correctly, exposing the colors/styling on the menu widget would require quite a bit more code since the menu composes an actionbar and thus we would also need to expose it there. Further, anywhere menus are created, the styler would have to be applied which includes the menubar, the context menus, and dropdown actions, at least.

To summarize, here are the new colors:

menubar.selectedBorder
menubar.selectedBackground
menubar.selectedForeground
menu.background
menu.foreground
menu.selectedBorder
menu.selectedBackground
menu.selectedForeground

The menubar.* colors only apply to this top level stripe:

Whereas the other colors apply to every menu, including the context menu.
I think the distinction between menubar and menu makes sense. I am not 100% sure about the word selected because this color applies under 2 conditions:

you hover over a menu item
you select a menu item with keyboard

In other areas we typically have a dedicated color for the case where you hover over an element vs. the active selected element. Do we want to distinguish between these 2 cases here as well? When I look at native menus on Windows there does not seem to be any difference between hovering and selection, so maybe its fine to keep this as one color, but then maybe it should not be called "selected" but rather "active"? Similar to these colors from tabs:

Adding @aeschli to this review to comment on the picked color keys.

Names are good

@bpasero @aeschli yea, I want to make the behavior hover === keyboard selected so no distinction is necessary. that said, if names are good, please merge

@sbatten I renamed "selected" to "selection" and will merge.
Also do not forget to update our docs: https://code.visualstudio.com/docs/getstarted/theme-color-reference

What color is the divider between subgroups in the menu? Would it make sense to create a key for that, too?


let bullet tag define bullet glyph and separate, indented text style

Right now, the bullet tag defines one style that applies both to the bullet glyph and to the text associated with the bullet. For instance, font overrides bulletFont and color overrides bulletColor. After the following style, the bullet and the text are green and sixteen point:
FTCoreTextStyle *bulletStyle = [defaultStyle copy];
bulletStyle.name = FTCoreTextTagBullet;
bulletStyle.bulletFont = [UIFont fontWithName:@"TimesNewRomanPSMT" size:32.f];
bulletStyle.bulletColor = [UIColor orangeColor];
bulletStyle.bulletCharacter = @"❧";
bulletStyle.font = [UIFont fontWithName:@"Helvetica" size:16.0f];
bulletStyle.color = [UIColor greenColor];

It would be good if there could be two styles. Then you could use one font and colour for the bullet glyph (e.g., blue, Webdings) and the letter glyphs from another (e.g., black, Helvetica).
In addition, I may be wrong, but I think defining a separate style for the bullet text is necessary just to support the usual indentation of the non-initial lines of text associated with a list item, as it works for in HTML for instance. I'd be very interested in helping with this but I'm not sure where to start.
For instance, I am not sure how to use CoreText to produce this indentation style, or if what I've suggested is the approach that best fits the component's close fit to CoreText's own model

My original comment here referred to two issues:
(1) separate style for the bullet character and for the bullet's text;
(2) bullet text indented according to the usual HTML "list style."
I still believe (1) is in fact a bug, given that the API defines bulletFont and bulletColor, presumably to distinguish it from the text font and text colour of the style, but then in my experiments one overrides the other.
However, as regards (2), I did some digging and realised you can already get this effect using FTCoreText by setting the left value of the paragraphInset to the desired BulletIndent distance. I have to admit I'm quite puzzled why this works.
From experimenting with CoreText directly, I find you can only produce the effect by setting three values (FirstLineHeadIndent=0, TabStop1=BulletIndent, and HeadIndent=BulletIndent) and then beginning the text like "\t". However, from examining the FTCoreText code, and logging the paragraph style with CFShow, I can see that the FTCoreText is only setting two of these values.
I suppose FTCoreText is doing something else, outside of the CTParagraphStyle, that affects layout.


Formula Should Have flatten()

Right now, it is in AbstractBranchFormula, but we want to flatten Negation too.
We may have to change the return type to Formula.

Complete in 0e6064fb6003a9bc8470ebdcb20afb65700620a6.


kubernetes/client: add a new function to generate cache client only

Codecov Report

Merging #16 (5d33ccd) into master (275ff0c) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master      #16   +/-   ##
=======================================
  Coverage   81.37%   81.37%
=======================================
  Files           6        6
  Lines         204      204
=======================================
  Hits          166      166
  Misses         34       34
  Partials        4        4

Files Changed
Coverage Δ

kubernetes/client/typed/typed.go
74.57% <0.00%> (ø)

kubernetes/client/typed/unstructured.go
66.66% <0.00%> (ø)


Added in 3.0


Add vendor directory

IMO you should only vendor things that have machine-architecture-specific code.

@ttung that makes sense. I didn't scrutinize the contents. We'll fix this.


Check for a Japanese keyboard layout in fcitx5-mozc

It seems to me that Mozc in Kana mode always uses a char-to-kana mapping designed for the US keyboard layout, for example
` => ろ
[ => ゛

etc. This became problematic when I tried with a Japanese keyboard layout, where these mapping should be
\ => ろ
@ => ゛

and so on.
I followed the discussion https://github.com/google/mozc/issues/427 and found a correct mapping already present in src/unix/fcitx5/fcitx_key_translator.cc, and that this mapping is used in the series of translator functions as long as the arguments called layout_is_jp is set to true.
However, in src/unix/fcitx5/fcitx_key_translator.cc, which I believe all these layout_is_jp's originate from, I found that it is always specified as false:
  // TODO: check layout
  if (mozc_state->ProcessKeyEvent(event.rawKey().sym(), event.rawKey().code(),
                                  event.rawKey().states(), false,
                                  event.isRelease())) {
    event.filterAndAccept();
  }

So it seems to me that the detection of a JP keyboard layout hasn't been implemented for fcitx5-mozc.
Do you have time to implement this, or comment on how to implement it correctly? My understanding is to check the keyboard layout configured in the fcitx5 config tool (per group or per input method).
Thank you.

Confirmed it works for me, thanks for your prompt response!


InvalidDataException: Input asset does not have primary file

I changed the code slightly, I use DataMovement library to copy an asset (mp4) file within azure blob storage.
Here's the snippet of CreateInputAssetAsync method:
…
Asset asset =
await client.Assets.CreateOrUpdateAsync(resourceGroupName, mediaServicesAccName, assetName,
new Asset());   // name: assetName
        AssetContainerSas response = await client.Assets.ListContainerSasAsync(
            resourceGroupName,
            mediaServicesAccName,
            assetName,
            AssetContainerPermission.ReadWrite,
            DateTime.UtcNow.AddHours(4).ToUniversalTime());

        Uri sasUri = new Uri(response.AssetContainerSasUrls.First());

        CloudBlobContainer assetsContainer = new CloudBlobContainer(sasUri);
        CloudBlockBlob targetBlob =
            assetsContainer.GetBlockBlobReference(WebUtility.UrlDecode(Path.GetFileName(sourceBlobUri.AbsolutePath)));

        await BlobCopyAsync(sourceBlobUri, targetBlob, overwriteDestinationBlob);

        return asset;

But when the Job is created I get this error: InvalidDataException: Input asset does not have primary file.
And I double checked - the blob does exist in the Asset container. So how do I deal with files for the Assets?

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

ID: cda66a82-305c-262b-eae4-be2cf9068b38
Version Independent ID: 75660609-9643-3406-b707-d1752183c9bf
Content: Upload, encode, and stream using Azure Media Services
Content Source: articles/media-services/latest/stream-files-tutorial-with-api.md
Service: media-services
GitHub Login: @Juliako
Microsoft Alias: juliako

Thanks for the feedback! We are currently investigating and will update you shortly.

@alvipeo Thank you for your question. We try to keep this repro scoped directly for feedback regarding the documentation. Since you are going beyond the scope of the doc, we kindly request you to share your issue on the below link. Thank you for your understanding.
https://github.com/Azure-Samples/media-services-v3-dotnet-tutorials/issues


fixing source/group issue

for some we had it such that blocks needed to be in the same group as the connected source. this PR makes that no longer the case.

:sheep: :shaved_ice:


#bug replace datetime.date by datetime on line 801 of photosdb.py

There is a bug on python 3.8 for line 801 of file photosdb.py :datetime.date should be a simple datetime
#self._dbphotos[uuid]["imageDate"] = datetime.date(1970, 1, 1)
self._dbphotos[uuid]["imageDate"] = datetime(1970, 1, 1)

See : https://stackoverflow.com/questions/62536615/mac-os-photos-programatic-access-to-the-recently-deleted-photos-folder

@romainjouin I just pushed a fix in v0.29.29
I'll keep this issue open until I add a test -- test suite should have caught this.
In reading your stackoverflow question, I see you're trying to access photos that are in the "Recently deleted items" or trash folder.  osxphotos does not currently provide access to those because no one has ever requested it. I will open a new issue to add this feature.  I don't think it'll be terribly difficult but may take a week or two as I only work on this project as a hobby in my spare time.
As for getting access to favorites, you can do this via the PhotoInfo object:
photosdb = osxphotos.PhotosDB()
photos = photosdb.photos()
favorites = [p for p in photos if p.favorite]

Add test case for photo with invalid time


renderer: query tex indirections and ALU instructions when possible

Query some hardware limits like tex indirections and tex ALU instructions when possible.
The mechanism is only available on non-Core OpenGL profile, and hardware having low limits and requiring those checks don't support Core profile so it's fine if we don't check the limits on hardware with Core profile.
For reference an ATI R300 prints:
GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB: 16
GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB: 64

An Intel GMA 3 prints:
GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB: 4
GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB: 64

And an AMD RDNA3  (Radeon PRO W7600) prints (once GL 3 compatible context is forced):
GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB: 16384
GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB: 16384

The idea is to automatically disable some GLSL shader we know the hardware cannot support, even if the related cvar is enabled.
This is useful for various reasons:

The default preset is medium so many of those incompatible shaders are enabled. Before this patch, the game would load the main menu then quit with an error on map load, user had to restart the game, change the preset in the main menu, and load the map again. After this patch, the user can load the map, and switch to a lower preset in-game without being kicked out of the game.
The motion blur shader cannot be disabled in engine yet as it is configured by a cgame cvar, this makes the engine unable to run on some low-end hardware on which the user would disable motion blur anyway. We can migrate the cg_motionblur cvar to the engine (like it was done for cg_shadows), but that may break client compatibility.

We may guard more GLSL shaders in the future by enabling them on low end hardware and catching the errors to know their limit requirements, but this is enough to make the engine run without error on default medium graphics preset on Intel GMA 3. Switching to a lower preset is now only a matter of performances, not something required to load a map.
Running the game on Intel GMA 3 requires:

this branch to skip the motionblur GLSL shaders because of hardware limits,
as there is no engine cvar to put in a preset to disable it.
float vertex support:
https://github.com/DaemonEngine/Daemon/pull/1179

In the future I may use that mechanism to make the engine automatically fallback the dynamic light renderer from tiled to legacy when tiled is not supported.

LGTM


Remove name in map view

Why
Improving user privacy by removing person name from the contributions map view
Addresses one item in #819
Pre-Merge Checklist

[x] All new features have been described in the pull request
[x] Security & accessibility have been considered
[ ] High quality tests have been added, or an explanation has been given why the features cannot be tested
[x] New features have been documented, and the code is understandable and well commented
[ ] Entry added to CHANGELOG.md if appropriate
[ ] All outstanding questions and concerns have been resolved
[ ] Any next steps that seem like good ideas have been created as issues for future discussion & implementation

What

prevent person name from showing on map view

Before

After

How

Removed (person.name) from listing.rb name method

Testing

No tests were added for this. Tested visually.

Next Steps
Outstanding Questions, Concerns and Other Notes

The current solution may affect other views in the app where the person name is desired
Instead of modifying the name method, I wanted to create a new method in listing.rb called private_name and call that on line 63 of MapBrowser.vue. That way I could be certain that this change would not affect other areas of the app. I wasn't able to make that work but it may be a better solution.

Accessibility
Security

Meta

@AngelaGuardia I like a nice clean solution like this
Since this change affects the UI, can you post "before" and "after" screenshots?
Also, do you mind adding a test for this? I'm happy to help with that if our testing setup isn't one you're familiar with

@AngelaGuardia I like a nice clean solution like this
Since this change affects the UI, can you post "before" and "after" screenshots?
Also, do you mind adding a test for this? I'm happy to help with that if our testing setup isn't one you're familiar with

@h-m-m I added the screenshots! I'm not sure how the map decides which listings to display (it usually just displays one). In this case, the one it displayed on main was different than the one on my branch but you can still see how the name is not shown anymore.
I would love to pair on adding tests! Both to this PR and the other I'm working on. I'm unfamiliar with the setup you're currently using.

Great! The screenshots look good
I'm happy to go over our testing setup with you tomorrow during the project's usual Zoom call


[SvgIcon] Remove wrong role

The possible roles are:

https://www.w3.org/TR/html-aria/#svg
This fix:

https://validator.w3.org/nu/?doc=https%3A%2F%2Fmaterial-ui.com%2F

I wonder if we shouldn't introduce https://github.com/validator/validator in our CI.

@eps1lon Great point on the tradeoff taken by these tools. My concern is that if our components output warnings/errors, it will prevent the developers tht author websites/apps to see relevant information. In sum, I would be cautious with the SNR ratio.
For instance, can you spot in https://validator.w3.org/nu/?doc=https%3A%2F%2Fmaterial-ui.com%2F the second issue in our code?

For instance, can you spot in validator.w3.org/nu/?doc=https%3A%2F%2Fmaterial-ui.com%2F the second issue in our code (I have scheduled in for the next batch)?

late charset
maxwidth on div

Took me 30s due to message filtering. This is an essential part of these tools. If they don't have proper message filtering then they are useless because of the high false-positive/true-positive ratio (there was a proper term but I forget; accuracy? correctness?)

The point I want to make is that you're right that false alarms are bad. But it's better to fix these in the tools (because it helps more people) rather than the validated code. Oftentimes this would require a lot of branching from our side which makes code unreadable without fixing an actual problem.

Definitely, I think that it can go both ways.
In the case of WAVE, I agree that some of the warnings and errors are questionable. In the case of this validator, I haven't yet seen false positive. But it's definitely not impossible.


Update run.sh to not require KVM but instead allow opt-in to KVM via command line switch or env variable

Is this complete?


All_Of Identifier Not Found

Context:
Attempting to compile the pennylane-lightning with MSVC2022, JacobianProd is failed to complied. The compiler cites C3861 with the description that error C3861: 'all_of': identifier not found. This PR addresses this issue by adding the header algorithm.
Related GitHub Issues:
Compilation on Windows fails (#192)

I hard reset to the algorithm header commit. We do not want master to be merged here as it is to match up with the v0.20.0 tagged release.


Incorrect view of Special Characters

Hey ,
Loving your project so far, congrats!
I wanted to let you know about something I noticed. Songs with special characters, like those in Japanese or the artist with the "Ë", show up as "□□□□".
Not a major issue, but I thought you might want to be aware of it in case it's helpful for future updates.
Thanks,

Hi,
Thank you for your interest in the project.
Yes, I see, special characters are not displayed correctly. I'll see what I can do about that, thanks for the feedback :)

I found a font that can handle very low resolutions (11px for the title). This font does this: PixelMPlus.
I merged it with the base font. I don't know if the result is perfect, but from what I've tested, it seems to work.
I'll set up a version where you can choose this extended font or the original one.
For the time being, only the title will be supported

Just found this project, and it's a godsend, thank you! The font also works for me too :)

Thank you for your feedback! Glad to see you like the project so much :)


Added more details to the README file

Updated the README
I was able to write and update the existing README file, bu include a detailed step by step guide on how a contributor can help improve the project.

@larymak Perfect, thanks for detailing the steps better 😊


txn_types: Check overflow in timestamp computation

Signed-off-by: Zijie Lu<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #9771
Problem Summary:
What is changed and how it works?
Proposal: xxx
What's Changed:
Check overflow in timestamp computation
Related changes

PR to update pingcap/docs/pingcap/docs-cn:
PR to update pingcap/tidb-ansible:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note

No release note

/cc @andylokandy

/merge

/run-cherry-picker release-5.0

/cherry-pick release-5.0


Invalid debug adapter

Error: Invalid debug adapter
at v.m in src/vs/workbench/api/browser/mainThreadDebugService.ts:346:10
at v.$acceptDAError in src/vs/workbench/api/browser/mainThreadDebugService.ts:336:8
at p.S in src/vs/workbench/services/extensions/common/rpcProtocol.ts:456:17
at p.Q in src/vs/workbench/services/extensions/common/rpcProtocol.ts:441:32
at p.M in src/vs/workbench/services/extensions/common/rpcProtocol.ts:371:19
at p.L in src/vs/workbench/services/extensions/common/rpcProtocol.ts:297:10
at u.value in src/vs/workbench/services/extensions/common/rpcProtocol.ts:161:42
at f.y in src/vs/base/common/event.ts:1140:13
at f.fire in src/vs/base/common/event.ts:1171:9
at s.fire in src/vs/base/parts/ipc/common/ipc.net.ts:650:19
at Q.onmessage in src/vs/workbench/services/extensions/electron-sandbox/localProcessExtensionHost.ts:581:40

Go to Errors Site

I'm seeing loads of these errors on my bots when running tests (Windows, stable) but as far as I can tell it's not actually affecting the tests.
when running tests by name
      ✔ runs a Dart test script to completion
Cannot read properties of undefined (reading 'item'): TypeError: Cannot read properties of undefined (reading 'item')
    at y (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:1149:12641)
    at async vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:1149:73961
      ✔ can run tests from codelens
Invalid debug adapter: Error: Invalid debug adapter
    at v.m (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:1552:95)
    at v.$acceptDAExit (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:1552:35)
    at $.S (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:1560:18856)
    at $.Q (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:1560:18622)
    at $.M (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:1560:17715)
    at $.L (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:1560:16933)
    at u.value (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:1560:15597)
    at f.y (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
    at f.fire (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2119)
    at s.fire (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:616:[143](https://github.com/Dart-Code/Dart-Code/actions/runs/7014924026/job/19083421139#step:34:144)96)
    at Q.onmessage (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:1655:1077)
Cannot read properties of undefined (reading 'item'): TypeError: Cannot read properties of undefined (reading 'item')
    at y (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:1[149](https://github.com/Dart-Code/Dart-Code/actions/runs/7014924026/job/19083421139#step:34:150):12641)
    at async vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:1149:73961
      ✔ can run tests from codelens with greater than

I'm not sure if it's related, but there's a different error at the bottom there:
Cannot read properties of undefined (reading 'item'): TypeError: Cannot read properties of undefined (reading 'item')
    at y (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:1[149](https://github.com/Dart-Code/Dart-Code/actions/runs/7014924026/job/19083421139#step:34:150):12641)
    at async vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-1.84.2/resources/app/out/vs/workbench/workbench.desktop.main.js:1149:73961

Note: I can repro the same locally, it's not isolated to the bots.

FYI @connor4312 the 'item' error deminifies to here
https://github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/testing/common/testService.ts#L163
at ./common/testService.ts:163:12
./browser/testingDecorations.ts:509:20

I can repro a related error fairly consistently. I say "fairly" because sometimes debugging works, and I don't know why. i.e. My breakpoints get hit, as opposed to saying "unverified breakpoint".  I'm writing PHP and have the XDebug v1.34.0 (PHP Debug) extension installed.
Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Date: 2023-12-13T09:47:11.635Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.10.0-27-amd64
Repro steps:

In VSCode click "Listen for Xdebug" to launch a debug session. Debug console shows ... "Listening to Xdebug on port <IP_ADDRESS>:9003 ..."
Manually click an item in the web browser. The browser connects to Local (which hosts a Wordpress site) and connects to Xdebug.
Sometimes the breakpoints will hit. More often than not however, once the browser makes the request, I get the following error in the VSCode dev tools:

ERR Cannot read properties of undefined (reading 'getViewState'): TypeError: Cannot read properties of undefined (reading 'getViewState')
at Lt.Dc (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2595:135717)
at Lt. (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2595:126557)
at u.y (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
at u.z (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1972)
at u.fire (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2188)
at S.flush (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:764:45961)
at o.value (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2342:142576)
at u.y (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
at u.z (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1972)
at u.fire (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2188)
at vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:85:54014
at o.value (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:85:54171)
at u.y (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
at u.fire (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2119)
at o.value (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:85:53809)
at u.y (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
at u.fire (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2119)
at o.value (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:85:54014)
at u.y (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
at u.fire (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2119)
at ne (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:721)
at M.t (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:1511)
at M.s (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:1405)

at o.value (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:615:1340)
at u.y (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
at u.z (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1972)
at u.fire (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2188)
at Function.ue (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:85:56462)

log.ts:441   ERR Cannot read properties of undefined (reading 'getViewState'): TypeError: Cannot read properties of undefined (reading 'getViewState')
at Lt.Dc (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2595:135717)
at Lt. (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2595:126557)
at u.y (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
at u.z (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1972)
at u.fire (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2188)
at S.flush (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:764:45961)
at vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:764:44268

In VSCode, click to stop the debugging session. The following error is output in the VSCode dev tools:

ERR Invalid debug adapter: Error: Invalid debug adapter
at v.m (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1553:95)
at v.$acceptDAError (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1552:7629)
at m.S (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1561:18889)
at m.Q (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1561:18655)
at m.M (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1561:17748)
at m.L (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1561:16827)
at o.value (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1561:15630)
at u.y (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
at u.fire (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2119)
at s.fire (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:14449)
at x.onmessage (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1657:7802)

I'm continuing here from #202003. I've setup a Linux VM to help me analyze the issue. As reported there are two thrown errors (Invalid debug adapter) that happen in getDebugAdapter first as a result of $acceptDAExit and second because of $acceptDAError.
Poking a bit around git history I think the problem comes from removing the _debugAdapters entry too early.

This is then followed by RPC calls like $acceptDAError (some socket read error). $acceptDAExit (normal exit of the DA process) that all result in errors because the debug adapter object is gone.
Where to actually delete the entry is beyond me - unless I invest more time into understanding the whole debug service and main proc/ext host architecture...
Hope this helps.

FWIW, I feel like this is happening a lot more lately. I see it both in Dart projects and TypeScript (VS Code extension) projects. When it happens, the debug toolbar disappears even when I'm in a debug session, and pressing F5 no longer starts a new session (I have to use the menu or button on the sidebar).

Not sure if related to this error, but my debugger ({ "type": "chrome", "request": "launch" }) just suddenly stopped working completely a few days ago, and I haven't been able to successfully started it since.
When started, the browser launches but tabs are just empty and loading. Trying to launch new tabs (or settings, about etc) fails similarly. Just emptiness except for a loading spinner. The same happens with {"request": "attach"}.
I have tried:

Restarting everything
Re-installed both vscode & chrome
Same with {"type": "msedge"}
Deleted --user-data-dir
Tried to reproduce in Insiders. Worked initially, but after a while the issue was there as well.

I can see the mentioned error in the Window log output.
Running on macOS Sonoma 14.3.1 (M1)

When I got this error using I removed noDebug: true and there were some breakpoints inside the node internals..
I removed those breakpoints and it fixed the issue
{
            "type": "node",
            "runtimeVersion": "18.18.2",
            "request": "launch",
            "program"<EMAIL_ADDRESS>            "skipFiles": ["<node_internals>/**"],
            "preLaunchTask": "npm: build - common",
            "noDebug": true
}

Can you share logs?
/jsDebugLogs

Please collect trace logs using the following instructions:

If you're able to, add "trace": true to your launch.json and reproduce the issue. The location of the log file on your disk will be written to the Debug Console. Share that with us.
⚠ This log file will not contain source code, but will contain file paths. You can drop it into https://microsoft.github.io/vscode-pwa-analyzer/index.html to see what it contains. If you'd rather not share the log publicly, you can email it to<EMAIL_ADDRESS>

Error: Invalid debug adapter
at v.m in src/vs/workbench/api/browser/mainThreadDebugService.ts:346:10
at v.$acceptDAError in src/vs/workbench/api/browser/mainThreadDebugService.ts:336:8
at p.S in src/vs/workbench/services/extensions/common/rpcProtocol.ts:456:17
at p.Q in src/vs/workbench/services/extensions/common/rpcProtocol.ts:441:32
at p.M in src/vs/workbench/services/extensions/common/rpcProtocol.ts:371:19
at p.L in src/vs/workbench/services/extensions/common/rpcProtocol.ts:297:10
at u.value in src/vs/workbench/services/extensions/common/rpcProtocol.ts:161:42
at f.y in src/vs/base/common/event.ts:1140:13
at f.fire in src/vs/base/common/event.ts:1171:9
at s.fire in src/vs/base/parts/ipc/common/ipc.net.ts:650:19
at Q.onmessage in src/vs/workbench/services/extensions/electron-sandbox/localProcessExtensionHost.ts:581:40

Go to Errors Site

I've seen a similar error (same error message, different line locations) when trying to run node.js Javascript:
ERR Invalid debug adapter: Error: Invalid debug adapter
    at h.p (vscode-file://vscode-app/c:/Users/Andrey/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1877:95)
    at h.$acceptDAError (vscode-file://vscode-app/c:/Users/Andrey/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1876:15492)
    at g.S (vscode-file://vscode-app/c:/Users/Andrey/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1609:13967)
    at g.Q (vscode-file://vscode-app/c:/Users/Andrey/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1609:13733)
    at g.M (vscode-file://vscode-app/c:/Users/Andrey/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1609:12826)
    at g.L (vscode-file://vscode-app/c:/Users/Andrey/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1609:11905)
    at l.value (vscode-file://vscode-app/c:/Users/Andrey/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1609:10692)
    at o.y (vscode-file://vscode-app/c:/Users/Andrey/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
    at o.fire (vscode-file://vscode-app/c:/Users/Andrey/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2119)
    at r.fire (vscode-file://vscode-app/c:/Users/Andrey/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:624:14439)
    at V.onmessage (vscode-file://vscode-app/c:/Users/Andrey/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1632:7759)

For me, steps to reproduce are:

Open a directory with JS files (already existing before opening VS Code) using code .
Select one of the files which only has console.log("hello world"); in it
If I select "Run" => "Start Debugging" it prints "hello world" correctly, but if I select "Run Without Debugging", it does not print anything, and the strip with restart / stop  buttons stays open.
If I press the button stop twice (until the strip disappears), I see the aforementioned message in VS Code Developer Tools

It happens to me as well, if I just hit CTRL+F5 instead of F5, nothing happens but the debugger toolbar with the button appears. It works like this in any of my Node.js project. Actually I should hit the stop button twice to get the toolbar disappeared.
2024-03-19 09:46:02.719 [error] Invalid debug adapter: Error: Invalid debug adapter     at h.p (vscode-file://vscode-app/c:/Users/gmezo/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1877:95)     at h.$acceptDAError (vscode-file://vscode-app/c:/Users/gmezo/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1876:15492)     at g.S (vscode-file://vscode-app/c:/Users/gmezo/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1609:13967)     at g.Q (vscode-file://vscode-app/c:/Users/gmezo/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1609:13733)     at g.M (vscode-file://vscode-app/c:/Users/gmezo/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1609:12826)     at g.L (vscode-file://vscode-app/c:/Users/gmezo/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1609:11905)     at l.value (vscode-file://vscode-app/c:/Users/gmezo/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1609:10692)     at o.y (vscode-file://vscode-app/c:/Users/gmezo/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)     at o.fire (vscode-file://vscode-app/c:/Users/gmezo/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2119)     at r.fire (vscode-file://vscode-app/c:/Users/gmezo/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:624:14439)     at V.onmessage (vscode-file://vscode-app/c:/Users/gmezo/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1632:7759)

Slightly different to my previous report above, I saw this today where clicking the Stop button didn't terminate the debug session (even after multiple clicks... the second click should be a force termination, regardless of what the DA is doing). In the console is has this same error:

Error received over 500 times on Insiders 1.92 (according to telemetry)

@aiday-mar the bot closed this because it has needs-info, but it sounds like you have crash reports for it. Could it be re-opened, and can you confirm if you still need more details about this?
It's difficult to repro because it's quite sporadic. I think it would be better if the code that threw this error ("Invalid debug adapter") could include more context about what exactly this means or what it was trying to do.

I see significant number of this error in Insiders today on my GitHub actions while running tests:
https://github.com/Dart-Code/Dart-Code/actions/runs/10160187215/job/28096047176
[10:41:44 AM] [General] [Warn] Could not find suite for test 1330 for session session-76a9b
      ✔ runs all tests if given a folder
Invalid debug adapter: Error: Invalid debug adapter
    at c.p (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2012:95)
    at c.$acceptDAExit (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2012:35)
    at S (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1903:14635)
    at S.Q (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1903:14401)
    at S.M (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1903:13434)
    at S.L (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1903:12490)
    at u.value (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1903:10964)
    at o.B (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:93:732)
    at o.fire (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:93:949)
    at s.fire (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:123:15085)
    at K.onmessage (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1919:8198)
[10:41:57 AM] [General] [Warn] Could not find suite for test 1330 for session session-ab42a
Invalid debug adapter: Error: Invalid debug adapter
    at c.p (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2012:95)
    at c.$acceptDAExit (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2012:35)
    at S (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1903:14635)
    at S.Q (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1903:14401)
    at S.M (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1903:13[434](https://github.com/Dart-Code/Dart-Code/actions/runs/10160187215/job/28096047176#step:34:435))
    at S.L (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1903:12490)
    at u.value (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1903:10964)
    at o.B (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:93:732)
    at o.fire (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:93:949)
    at s.fire (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:123:15085)
    at K.onmessage (vscode-file://vscode-app/d:/a/Dart-Code/Dart-Code/.vscode-test/vscode-win32-x64-archive-insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1919:8198)
      ✔ can run nested projects through Test: Run All Tests (13713ms)
      ✔ can run tests through test controller using default launch template

If there's a way to collect logs into a stable location that I can have attached as artifacts for GH runs, please let me know and I will collect them and provide them here.

Hitting this error as well.
What's extremely weird is that it only fails with a particular go code, i.e. :
# This works
	slog.Info("HTTP Request",
		//slog.String("remote_ip", r.RemoteAddr),
		slog.String("method", r.Method),
		slog.String("path", r.URL.Path),
	)

# This works :
	slog.Info("HTTP Request",
		slog.String("remote_ip", r.RemoteAddr),
		//slog.String("method", r.Method),
		//slog.String("path", r.URL.Path),
	)

# This doesn't work 🤷♂ :
	slog.Info("HTTP Request",
		slog.String("remote_ip", r.RemoteAddr),
		slog.String("method", r.Method),
		slog.String("path", r.URL.Path),
	)

It's not a code error, this code is valid go code and no null pointer or anything. In fact, this code can't even be reached at this point of the execution.
Here is the complete error in Output > Window and I can reproduce at will.
2024-08-31 20:40:17.678 [error] Invalid debug adapter: Error: Invalid debug adapter
    at c.p (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2012:95)
    at c.$acceptDAMessage (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2011:16481)
    at S (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1903:14635)
    at S.Q (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1903:14401)
    at S.M (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1903:13434)
    at S.L (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1903:12269)
    at u.value (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1903:10964)
    at o.B (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:732)
    at o.fire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:949)
    at s.fire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:123:15085)
    at K.onmessage (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1919:8198)

Hitting this in Github Actions but not locally.

2024-11-18 12:22:27.841 [error] Error: Invalid debug adapter
    at b4t.p (vscode-file://vscode-app/c:/Users/scruel/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:615:95)
    at b4t.$acceptDAExit (vscode-file://vscode-app/c:/Users/scruel/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:615:35)
    at Pht.S (vscode-file://vscode-app/c:/Users/scruel/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3124:41686)
    at Pht.Q (vscode-file://vscode-app/c:/Users/scruel/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3124:41464)
    at Pht.M (vscode-file://vscode-app/c:/Users/scruel/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3124:40552)
    at Pht.L (vscode-file://vscode-app/c:/Users/scruel/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3124:39789)
    at vZ.value (vscode-file://vscode-app/c:/Users/scruel/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3124:38450)
    at x.B (vscode-file://vscode-app/c:/Users/scruel/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:30:747)
    at x.fire (vscode-file://vscode-app/c:/Users/scruel/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:30:965)
    at D6.fire (vscode-file://vscode-app/c:/Users/scruel/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:630:10348)


Code does not work with Dropbox links

What is the reason behind this? Is there a way to get around this?

Could you post the example code you used to try it?

Circling back to this question, you might like to try it again and see what happens:
In the terminal, in your python environment:

pip uninstall fastdownload
pip install "git+https://github.com/GenevieveBuckley/fastdownload/@fmod-exists-error"
Start python or ipython/jupyter notebook (whatever your preferred method of using python is)
From python try this, replacing the dropbox link with your own (see important points below):from fastdownload import FastDownload
d = FastDownload()
path = d.get('https://...my-dropbox-link... .zip?dl=1')

Important point 1: You need to add ?dl=1 on the end of your dropbox link, it goes straight after the .zip or .tar part of the filename. It's a flag (1 means True, 0 means False), so ?dl=1 means download the file automatically, and ?dl=0 means don't download the file automatically just show the dropbox webpage for that file. This is what happens when you paste dropbox links with those endings directly into your web browser. See How to force a shared Dropbox link to download or render for details.
Important point 2: Ideally, your file should be already compressed, eg: .zip, .tar, .gtar, .btar, or .xtar. See this page for an explanation of those file formats. If your file isn't already zipped/tarred/compressed, you can still use fastdownload, you'll just need to use the download function: path = d.download("https://...") instead of path = d.get("https://...". That will put your file into a folder called archive on your local computer (eg: /home/username/.fastdownload/archive/ instead of /home/username/.fastdownload/data/, or whatever your local equivalent is).
Let me know if that helps.

I'll wait this gets merged with the main branch. For now, I am uploading to AWS

IIUC this is working now - so closing. Please at-mention me if you have a reproducible non-working example.


use http://brew.sh/doc/ to redirect document.

Create the webpage http://brew.sh/doc/ which will redirect to https://github.com/Homebrew/homebrew/tree/master/share/doc/homebrew#readme.
Use http://brew.sh/doc/ to short document url.

Instead of the redirect lets use http://git.io/brew-docs instead.

I don't think http://git.io/brew-docs is a good idea. As it's hard linked to https://github.com/Homebrew/homebrew/tree/master/share/doc/homebrew#readme. If by any chance in the future, we want to move the documents somewhere else(I know it's slightly in foreseeable future), we would have to change the link again. On the contrary, using http://brew.sh/doc/ a webpage we can control, we can redirect it to anywhere if we want.

I don't really like making technical decisions based on speculative unknown future decisions. Again, I don't think that's solving a problem users are experiencing. We can add a new git.io link if we want in future or I can change it. The Jekyll redirects are a bad hack and nasty user experience.

Isn't http://git.io/brew-docs also a redirect?

I can change it

Really? sweet power. :heart_eyes:
OK, I will change into http://git.io/brew-docs.

It's a 301 redirect rather than a HTML one. With the latter some people in some browsers will see a flickering as the other page briefly loads.

Updated.

@mikemcquaid I wonder can we use the same tech to short the install url.

@xu-cheng Probably not; you need to pass an additional argument to e.g. curl to get it to follow redirects.

@mikemcquaid I know that part. And we have the argument (-L) in curl command.
The reason I don't think it's a good idea using git.io is I thought we cannot control it (for example relocate it) after creating the link.


Add icon request feature directly on website

That sounds good! I wanted to request icon.

Is there a process to add icons?

@jasonm23

Click 'Request icon' button
Fill in fields like 'Icon name', 'Usage', 'Similar icon image'

Maybe You can use Notion API to manage requests

Not yet, I first wanted to add a couple of things like tags and categories, which I just launched, so now that it's done I can focus on adding this for the next update. I'll keep you posted.


Please invite me to the GitHub Community Organization

Name
JamesSpiess
Discord Username (if applicable)
jamesspiess.f
Additional Context
As a python developer, I'd like to join your community.

It's great having you contribute to this project
If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord Server and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.

Please check your email or organisation page 🙏


New column for searchable tags

It would be useful if the SQL query would accept yet another column, which contains tags or keywords to an entry, which are then searched by the algorithm.
These should then not be displayed on the UI.

I like this idea, I will plan to include such a feature in an upcoming release!


[question] How to skip specific folders when running from top-level directory?

Hello,
I couldn't find the answer in the docs, so here I am.
Before migrating to TUnit, all I had to do with xUnit was running dotnet test from my top-level directory.
Some of my test projects have the attribute IsTestProject set to false. This is to avoid running them everytime, as they are quite heavy and require specific configuration, so they have their own CI job.
Unfortunately, IsTestProject doesn't seem to be handled by TUnit. Is there a way to ignore specific folders?

I'm currently toggling -p:IsTestProject=true in specific CI jobs.
Doing the same with TestingPlatformDotnetTestSupport seems to work, thanks!


gol: init at 0.1.9

Description of changes
gol is command-line utility for creating and managing Geographic Object Libraries
https://docs.geodesk.com/gol
https://github.com/clarisma/gol-tool
Closes #239241
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 283537 run on aarch64-linux 1

1 package built:

gol

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4039


Declaring channels for the packages in the environment

Hello,
It will be better to declare the channels for each specific package in the environment yaml file to avoid dependencies issues.
name: rptools
dependencies:
  - python <=3.11
  - conda-forge::brs_utils # rpcompletion, rpfba, Args
  - cobra >=0.26.3 # rpfba, rpextractsink, rplibs
  - timeout-decorator # rpextractsink
  - rdkit # rpextractsink, rplibs
  - python-libsbml # rplibs, rpfba
  - numpy # rplibs, rpfba, rpscore, rpthermo
  - pandas # rplibs, rpthermo
  - scipy # rpthermo
  - equilibrator-api # rpthermo
  - equilibrator-cache >=0.5.4 # rpthermo
  - colored # rplibs
  - networkx >=2.5 # rplibs
  - filetype  # rplibs (conda-forge)
  - rr_cache >=3.1.1 # rpcompletion
  - rxn_rebuild # rpcompletion
  - chemlite # rpcompletion ,rpfba, rpthermo
  - h5py # rpscore
  - xgboost # rpscore
  - bs4 # rpviz

Hello @pablocarb, thanks for the post
All the tools are available through the same and unique conda package rptools, which is the reason why we have this conda env file listing "everything". Splitting this into multiple pieces is indeed something we are considering, because of the amount of dependencies. However, splitting code into pieces may probably ask from us more work, because we'll need to take care of the dependencies between the rptools tools (ie updating rplibs will imply updating other pakcages, etc).

#feature, to keep in mind for an eventual futur reorganization of « sub-rptools »


Love you man

After hours and hours of scratching and everything ok on IOS, here's what worked for me on android
<ViewOverflow
    style={{
        zIndex: 100,
        maxHeight: 65,
        overflow: "visible"
    }}
>

I couldn't find a way to say you thanks so had to open issue. thank you again! <3 😄

great to hear that
it will probably to fixed sometime in react native core with their new architecture
Best

I think you should edit the core and send this solution as PR no? @sibelius

this https://github.com/entria/react-native-view-overflow/issues/32 needs to be fixed first
if you apply ViewOverflow everywhere it makes the app very slow as well

hmmm. I'm currently busy with app development. if possible I will try to look into that issue


Building failed after cherrio was updated to 1.0.0-rc.11

The dependency cheerio brought a breaking change in v1.0.0-rc.11
Juice currently uses version 1.0.0-rc.10 and above, so the latest cheerio version 1.0.0-rc.11 will be installed when npm install is executed, causing the project to fail to build. Details can be found in this issue.
Would you consider releasing a small update to fix cheerio version number below 1.0.0-rc.11?
In this way, the problem is solved after we update to the latest juice version.
I submitted a pr to fix this.
Anyway, thanks for the juice

merged and released, hope that helps


Youtube Player too large even I configure to stay small

Till when I used the previous version (Developer 477) it worked normally when I put to the player stay small, but now in the current version (481) it doesn't do that and player is too large, why?

I removed the option to disable YouTube's dynamic resizing. You will now have to go into the player size configuration and set the small player size to have a width of 640px or 854px depending on what you prefer.

did just this and just adjusted the width till it was bang on and its perfect now. only thing is yeppha, when it first loads the page its in the right place but then scrolls down around 20 pixels. clicking the resize button takes it back to the perfect place though so not really too much of a problem.

@BradJJ please provide a screenshot of this as I haven't had an issue with it at all and I very much want to exterminate all bugs. I will probably need more info later.

when the page first loads and YTC kicks in, its in the perfect place with the player taking up my whole browser window. then it jumps down the amount seen. i tried turning off or on either or both "scroll to player" buttons in the settings but it either didn't scroll at all or scrolled the extra bit.
as of build 488 as well, the video inside the player to be precise, not the whole window with the player guide, just the video within that, is constantly jumping up and down say, 10 pixels. when i change it to the default large - centred, it stops jumping up and down but most player sizes have this, video inside the player, jumping up and down, effect.
hope this helps.

K.


Revert "Changing csv_reader_py impl to return df from objmode (#918)"

This reverts commit 811e9f0a832d48822bcc91c432b8a2cefdd52102.

Hello @PokhodenkoSA! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file sdc/io/csv_ext.py:

Line 346:32: E231 missing whitespace after ','

Duplicate of #932


Exit with error message if pkg-config is not found

PKG_PROG_PKG_CONFIG does not exit if it fails to find pkg-config.
Continuing without pkg-config leads to misleading error messages when
checks for packages fail.

+1

+1

bootstrap checks for pkg-config but I think the released code will already have ./bootstrap run.
+1


@conda-forge-admin,please add bot automerge

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/mysql-connector-c-feedstock#15.


PackageLoading: use compactMap instead of flatMap (NFC)

This just replaces flatpMap which is deprecated in favour of
compactMap to avoid a deprecation warning.  NFCI.

@swift-ci please smoke test


FAIL: TestStore

Testing: "/builddir/build/BUILD/ledisdb-0.6/_build/src/github.com/siddontang/ledisdb/store"

GOPATH=/builddir/build/BUILD/ledisdb-0.6/_build:/usr/share/gocode
With:
go 1.9.4 x86_64
github.com/siddontang/ledisdb 0. 6

Hello,
I try to build and test your project and it fails with :

go test -buildmode pie -compiler gc -ldflags '-extldflags '''-Wl,-z,relro  ''''

testmain
warning: unable to find runtime/cgo.a
--- FAIL: TestStore (0.00s)
store_test.go:21: store goleveldb
store_test.go:367: [{[97] [49]} {[98] []} {[99] []}] != [{[97] [49]} {[98] []} {[99] []}]
FAIL
exit status 1
FAIL    github.com/siddontang/ledisdb/store     0.007s

Could you help me please ?
Thanks

oh, do you use make test to build it?

Since the CI now PASS, please let me know what did you do.


Contributed Data - More will be added!

Kaggle Dataset -> Link
All sources used so far.
https://api.quran.com/
<EMAIL_ADDRESS>https://fungenerators.com/random/facts/religion/islam
https://myislam.org/
https://99namesofallah.name/
http://api.aladhan.com/v1
https://islamicity.org/
https://alim.org/history
https://islamicstudies.info/
https://altafsir.com/
https://mylanguages.org/

This is a very well documented issue, looking forward to the PR :D

This is a very well documented issue, looking forward to the PR :D

Thank you but I pasted my sources.md accidentally. Fixed it so its more user-friendly lol.

Hi there
Can I add shia datasets?

@masihtehrani Hey! Yes definitely!
I have added some here as well https://github.com/islamAndAi/QURAN-NLP/tree/master/data/hadith/thaqalayn

@masihtehrani Thankyou! You can join discord here to talk to me & people sharing our interest:  https://discord.gg/zzgaAMbKN9
Or setup a meeting directly with me here: https://topmate.io/alizahidraja


Working out the bees example

@tutudocerrado I've got us to the point we were at with the fish data, but for the bees and plants. It's all developed in the bees_example branch
What we need to do now is:

[x] Clean up GBIF data as much as we can. Maybe apply the bdc package functions there, nothing too detailed, but at least remove duplicates and check species names.
[x] Get the functions for the curves and the derivatives.

@tutudocerrado I've updated all the code files!
I'll get the GBIF data (it's loading right now) and save an RDS for you. But if you want to subset and play with the data, all the code to get them is already in our bees_example branch.
:tada:

@tutudocerrado We got it all, I've committed all the code. I'll send you the cleaned data by email so you don't have to download all the GBIF data again. The workflow right now looks like this:

Run scripts 01 and 01.1
Skip script 02 and run script 03 instead. Make sure to update the value after "environ_layers$" in the last line - this changes each time you download the environmental data, but we can change that later in a way that every time that we run this script, it will download a specific environmental layer. Not relevant for demonstration purposes.
Run scripts 4 through 6.

Script 6 has functions for us to get the derivatives by group or by species (it can probably be optimized to merge them into one single function).

[ ] The challenge now is to calculate one derivative per unique species name per unique environmental value. I started drafting something in the "dunnowhatimdoing.R" script, but got nowhere. I know it's simple, but it's Sunday, and I'm getting too many error messages for a Sunday.

Alright, here's the occurrence data.
Enjoy!

We now have the derivatives!
Next challenge is how the heck do we get the co-response matrix???!?!?!?!


Accessing CVAT from local network

My actions before raising this issue

[ ✔ ] Read/searched the docs
[ ✔ ] Searched past issues, I checked and tried:

#1011
#1095
#128

Expected Behaviour
I would like to host a CVAT site from a server at my workplace to my colleagues, but I cannot acces it from outside of the machine (only localhost)
Current Behaviour
From outside - using the servers IP address - I only get a "404 page not found" error
I ran through install guide,
Steps to Reproduce (for bugs)

Follow the steps in the Install guide - Ubuntu section
Try to acces the site from another machine connected to the same network as the server
I also tried to manually create the stack in docker, but the cvat-server container always stopped immediately with the following error:

Error: Format string '%(ENV_HOME)s/wait-for-it.sh db:5432 -t 0 -- bash -ic \\n"/usr/bin/python3 ~/manage.py migrate && \\n/usr/bin/python3 ~/manage.py collectstatic --no-input && \\nexec /usr/bin/python3 $HOME/manage.py runmodwsgi --log-to-terminal --port 8080 \\n--limit-request-body<PHONE_NUMBER> --log-level INFO --include-file ~/mod_wsgi.conf \\n%(ENV_DJANGO_MODWSGI_EXTRA_ARGS)s --locale %(ENV_LC_ALL)s"' for 'program:runserver.command' contains names ('ENV_DJANGO_MODWSGI_EXTRA_ARGS') which cannot be expanded.  No
Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu Server 20.04.3 LTS

https://openvinotoolkit.github.io/cvat/docs/faq/#how-to-change-default-cvat-hostname-or-port

Thank you but it only worked for like 10 minutes and I was not able to login with the admin user I created.
Now I have the same problem 404 page not found and a new one sometimes Gateway Timeout.
What I did:

set the mentioned env variable export CVAT_HOST=<YOUR_HOSTNAME_OR_IP> and restarted the containers with sudo docker-compose down && sud docker-compose up -d
After that UI came up but it could not connect to the backend
I suspected that I might have messed up something so I did a full clean reinstall

deleted the conatiners, images and volumes
with sudo docker container | image | volume rm

then I recloned the repo and installed the containers: sudo -E docker-compose up -d

I also tried:

changing the branch from the default develop to release-1.7.0 and did a full clean install
install the containers:  sudo docker-compose up -d like mentioned here

also with and without the -E flag on sudo

also those suggestions that can be found this issue: #1532

Am I doing something wrong?
Can it be a problem that the server does not have a static IP address (DHCP)?
Env
containers started with: sudo -E docker-compose -f docker-compose.yml up -d
env var: CVAT_HOST=<SERVER_IP>
$ git log -1
commit 2bb8643c1aba53b9ee4fd836b0955340f61d80ed (HEAD -> release-1.7.0, origin/release-1.7.0)
Author: Nikita Manovich<EMAIL_ADDRESS>Date:   Tue Nov 9 09:23:15 2021 +0300

    Updated release date, froze CHANGELOG

$ sudo docker version
Client: Docker Engine - Community
 Version:           20.10.11
 API version:       1.41
 Go version:        go1.16.9
 Git commit:        dea9396
 Built:             Thu Nov 18 00:37:06 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.11
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.9
  Git commit:       847da18
  Built:            Thu Nov 18 00:35:15 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.12
  GitCommit:        7b11cfaabd73bb80907dd23182b9347b4245eb5d
 runc:
  Version:          1.0.2
  GitCommit:        v1.0.2-0-g52b36a2
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

$ sudo docker-compose version
docker-compose version 1.29.2, build 5becea4c
docker-py version: 5.0.0
CPython version: 3.7.10
OpenSSL version: OpenSSL 1.1.0l  10 Sep 2019

A part from cvat server's log that may help:
WARNINGS:
?: (urls.W005) URL namespace 'v1' isn't unique. You may not be able to reverse all URLs in this namespace

2021-12-03 08:53:14,200 DEBG 'runserver' stdout output:
Server URL         : http://localhost:8080/
Server Root        : /tmp/cvat-server
Server Conf        : /tmp/cvat-server/httpd.conf
Error Log File     : /dev/stderr (INFO)
Request Capacity   : 5 (1 process * 5 threads)
Request Timeout    : 60 (seconds)
Startup Timeout    : 15 (seconds)
Queue Backlog      : 100 (connections)
Queue Timeout      : 45 (seconds)
Server Capacity    : 20 (event/worker), 20 (prefork)
Server Backlog     : 500 (connections)
Locale Setting     : C.UTF-8

2021-12-03 08:53:14,237 DEBG 'runserver' stderr output:
[Fri Dec 03 08:53:14.236778 2021] [mpm_event:notice] [pid 16:tid<PHONE_NUMBER>69312] AH00489: Apache/2.4.41 (Ubuntu) mod_wsgi/4.7.1 Python/3.8 configured -- resuming normal operations
[Fri Dec 03 08:53:14.236849 2021] [mpm_event:info] [pid 16:tid<PHONE_NUMBER>69312] AH00490: Server built: 2021-10-14T16:24:43
[Fri Dec 03 08:53:14.236853 2021] [core:notice] [pid 16:tid<PHONE_NUMBER>69312] AH00094: Command line: 'apache2 (mod_wsgi-express) -f /tmp/cvat-server/httpd.conf -D MOD_WSGI_MPM_ENABLE_EVENT_MODULE -D MOD_WSGI_MPM_EXISTS_EVENT_MODULE -D MOD_WSGI_MPM_EXISTS_WORKER_MODULE -D MOD_WSGI_MPM_EXISTS_PREFORK_MODULE -D FOREGROUND'

2021-12-03 08:53:14,237 DEBG 'runserver' stderr output:
[Fri Dec 03 08:53:14.236932 2021] [wsgi:info] [pid 1731:tid<PHONE_NUMBER>69312] mod_wsgi (pid=1731): Starting process 'localhost:8080' with threads=5.

2021-12-03 08:53:14,237 DEBG 'runserver' stderr output:
[Fri Dec 03 08:53:14.237730 2021] [wsgi:info] [pid 1731:tid<PHONE_NUMBER>69312] mod_wsgi (pid=1731): Python home /opt/venv.

2021-12-03 08:53:14,238 DEBG 'runserver' stderr output:
[Fri Dec 03 08:53:14.237828 2021] [wsgi:info] [pid 1731:tid<PHONE_NUMBER>69312] mod_wsgi (pid=1731): Initializing Python.

2021-12-03 08:53:14,277 DEBG 'runserver' stderr output:
[Fri Dec 03 08:53:14.277291 2021] [wsgi:info] [pid 1731:tid<PHONE_NUMBER>69312] mod_wsgi (pid=1731): Attach interpreter ''.

2021-12-03 08:53:14,282 DEBG 'runserver' stderr output:
[Fri Dec 03 08:53:14.282239 2021] [wsgi:info] [pid 1731:tid<PHONE_NUMBER>69312] mod_wsgi (pid=1731): Imported 'mod_wsgi'.
[Fri Dec 03 08:53:14.282288 2021] [wsgi:info] [pid 1731:tid<PHONE_NUMBER>69312] mod_wsgi (pid=1731, process='localhost:8080', application=''): Loading Python script file '/tmp/cvat-server/handler.wsgi'.

Can it be a problem that the server does not have a static IP address (DHCP)?

Definitely yes, if SERVER_IP has changed, you need to restart containers with new configuration, is it possible in your case to use hostname instead of IP?

I have the same issue. The env variable CVAT_HOST  was set to hostname or IP address but this still does not work.  👎🏻

I have the same issue. The env variable CVAT_HOST was set to hostname or IP address but this still does not work. 👎🏻

What exactly is the http error code in your case? Make sure the output of docker inspect -f '{{ index  .Config.Labels "traefik.http.routers.cvat.rule" }}' cvat contains the expected IP or hostname. Have you tried accessing cvat from the host machine with curl -Lv localhost:8080?

In addition to setting the CVAT_HOST enviroment variable I also needed to modify the docker-compose.yml like so
traefik:     image: traefik:v2.4     container_name: traefik     restart: always     command:       - "--providers.docker.exposedByDefault=false"       - "--providers.docker.network=cvat"       - "--entryPoints.web.address=:80"     # Uncomment to get Traefik dashboard       - "--entryPoints.dashboard.address=:8090"       - "--api.dashboard=true"       - "--api.insecure=true"       - "--api.debug=true"       - "--log.level=DEBUG"     labels:       - traefik.enable=true       - traefik.http.routers.dashboard.entrypoints=dashboard       - traefik.http.routers.dashboard.service=api@internal       - traefik.http.routers.dashboard.rule=Host(${CVAT_HOST:-localhost})     ports:       - 80:80       - 8080:8080       - 8090:8090     volumes:       - /var/run/docker.sock:/var/run/docker.sock:ro     networks:       - cvat

It doesnt

In addition to setting the CVAT_HOST enviroment variable I also needed to modify the docker-compose.yml like so
    image: traefik:v2.4
    container_name: traefik
    restart: always
    command:
      - "--providers.docker.exposedByDefault=false"
      - "--providers.docker.network=cvat"
      - "--entryPoints.web.address=:80"
    # Uncomment to get Traefik dashboard
      - "--entryPoints.dashboard.address=:8090"
      - "--api.dashboard=true"
      - "--api.insecure=true"
      - "--api.debug=true"
      - "--log.level=DEBUG"
    labels:
      - traefik.enable=true
      - traefik.http.routers.dashboard.entrypoints=dashboard
      - traefik.http.routers.dashboard.service=api@internal
      - traefik.http.routers.dashboard.rule=Host(`${CVAT_HOST:-localhost}`)
    ports:
      - 80:80
      - 8080:8080
      - 8090:8090
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
    networks:
      - cvat

It doesn't matter which internal port traefik is listening on, it is enough to change only the external (host) port for the traefik service as described here. https://openvinotoolkit.github.io/cvat/docs/faq/#how-to-change-default-cvat-hostname-or-port

I did not get closer to the solution.
I checked the server IP and it hasn't changed since i trying to install CVAT.

What exactly is the http error code in your case? Make sure the output of docker inspect -f '{{ index .Config.Labels "traefik.http.routers.cvat.rule" }}' cvat contains the expected IP or hostname. Have you tried accessing cvat from the host machine with curl -Lv localhost:8080?

If I export CVAT_HOST=<SERVER_IP> and run CVAT like: sudo -E docker-compose up -d I get the following result:
Host(`<SERVER_IP>`) && PathPrefix(`/api/`, `/git/`, `/opencv/`, `/analytics/`, `/static/`, `/admin`, `/documentation/`, `/django-rq`)

And I'm no longer be able to reach the server on localhost, nor from outside, on any listed ports (80, 8080, 8090).
If I omit the -E flag from sudo I can reach the server on localhost:8080, but it still unreachable from outside.
I also tried what @macimovic mentioned; what it did is that the traefik dashboard came up on all three ports.

@D4nyi

And I'm no longer be able to reach the server on localhost, nor from outside, on any listed ports (80, 8080, 8090).

What is the exact http error code you are getting? Please attach output of curl -Lv server_ip:8080 next time

From the server to the server:
*   Trying <SERVER_IP>:8080...
* connect to <SERVER_IP> port 8080 failed: Connection timed out
* Failed to connect to <SERVER_IP> port 8080: Connection timed out
* Closing connection 0
curl: (28) Failed to connect to <SERVER_IP> port 8080: Connection timed out

From server to localhost:
$ curl -Lv localhost:8080
*   Trying <IP_ADDRESS>:8080...
* Connected to localhost (<IP_ADDRESS>) port 8080 (#0)
> GET / HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.71.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Content-Type: text/plain; charset=utf-8
< X-Content-Type-Options: nosniff
< Date: Mon, 13 Dec 2021 08:51:27 GMT
< Content-Length: 19
<
404 page not found
* Connection #0 to host localhost left intact

From another machine to the server:
*   Trying <SERVER_IP>:8080...
* TCP_NODELAY set
* connect to <IP_ADDRESS> port 8080 failed: Connection timed out
* Failed to connect to <SERVER_IP> port 8080: Connection timed out
* Closing connection 0
curl: (28) Failed to connect to <SERVER_IP> port 8080: Connection timed out

@D4nyi
did you solve the problem? I'm also having the same problem :(

If anyone is interested, I found a way to access CVAT from any hostname. It is very useful for me because I can now access it with the machine IP, as localhost or even as a tunnel using ngrok.
I've modified the traefik rules on the official docker-compose.yml file.
You can find the file here.

Sorry for lack of response from our side. There are too many issues opened. I am trying to reduce them now and I will close this issue.
Please, if the question is still relevant, let us know and do not hesitate to reopen.
Generally, if you want to change default host/port, please try to follow the manual first: https://opencv.github.io/cvat/docs/faq/#how-to-change-default-cvat-hostname-or-port

Did you solve this issue? I also have the same problem.

@D4nyi
Hi, did you solve this issue? I also have the same problem.

If anyone is interested, I found a way to access CVAT from any hostname. It is very useful for me because I can now access it with the machine IP, as localhost or even as a tunnel using ngrok.
I've modified the traefik rules on the official docker-compose.yml file. You can find the file here.

This solved it. Thanks!

I messed up the cvat host, and I got 404 page not found. Then I was struggling to reset to default of the cvat host. export CVAT_HOST=localhost did not solve the issue. Luckily, after running curl -Lv localhost:8080, I can not see the login page from chrome. What I did:

turn off all containers: docker compose down
export CVAT_HOST=localhost
docker compose up -d
curl -Lv localhost:8080
Please know that you should use docker-compose if dock compose does not work.


Using optout branch with bower --force-latest.

It seems Bower with --force-latest has problems to use the optout branch, even when we define the commit hash in resolutions.
Excerpt from bower.json:
{
  "dependencies": {
    "vaadin-grid": "vaadin/vaadin-grid#5.0.4",
    "vaadin-usage-statistics": "vaadin/vaadin-usage-statistics#optout"
  },
  "resolutions": {
    "vaadin-usage-statistics": "e-tag:61ea340"
  }
}

Ok, instead of the commit the branch needs to be specified:
  "resolutions": {
    "vaadin-usage-statistics": "optout"
  }

Yes, the branch name is the correct way of using resolutions. Sorry for late response, closing as resolved.


Replace mgw word with apk

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Codecov Report
Patch and project coverage have no change.

Comparison is base (5c77454) 79.22% compared to head (c1d687d) 79.22%.

:exclamation: Current head c1d687d differs from pull request most recent head efdb0b8. Consider uploading reports for the commit efdb0b8 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #891   +/-   ##
=======================================
  Coverage   79.22%   79.22%
=======================================
  Files          11       11
  Lines         592      592
  Branches      257      257
=======================================
  Hits          469      469
  Misses        123      123

Flag
Coverage Δ

adapter
?

admin-domain-service
?

backoffice-domain-service
?

devportal-domain-service
?

idp-domain-service
79.22% <ø> (ø)

runtime-domain-service
?

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


audit: add draft release detection

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

This PR adds a check whether a GitHub release is a draft or not (extends https://github.com/Homebrew/brew/pull/7231)

Makes sense, thanks @bayandin!


vite 无法加载到一些依赖库

Clear and concise description of the problem

Suggested solution
请各位大佬解答
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

通过npm 安装依赖的时候返现vite报错，但是依赖库里面是有这几项的


[docs] Split table docs into individual pages

This is the precursor to documenting each table convertor - which I started doing in the first commit, and then realised that the whole structure of the documentation would need to change if that was going to happen. The idea is to give the user an easier journey to get to the information they need about each table. Compare this with:

As this is just a reorg and adds no content, and as it's needed for other table-level documentation, I'm going to merge this without review. I'll squash it so that it can be reverted if someone disagrees.

Thanks Simon


Create a compatibility junit runner

From<EMAIL_ADDRESS>on September 23, 2008 13:05:18
We should create a "compatibility" runner for JUnit 4 and perhaps JUnit 3.
This means a Junit runner without any chunking. The chunking is tightly
coupled to internal Junit4 functionality and for custom versions of JUnit
our chunking mechanism will fail (for example in the Eclipse JUnit
version). Using a compatibility runner it would be possible to launch
PowerMock (without chunking support) with custom JUnit versions.
Original issue: http://code.google.com/p/powermock/issues/detail?id=16

From<EMAIL_ADDRESS>on September 23, 2008 04:05:30
Labels: -Type-Defect Type-Enhancement

From<EMAIL_ADDRESS>on November 03, 2008 05:15:53
Probably not needed, the eclipse version of unit works with the PowerMock legacy runner.
Status: Fixed


"{{author}}, {{title}}" for the New File Name will NOT include the comma after the author

In an earlier version of the plugin this was not an issue, but now the comma in the generated file names no longer show up.
Is there a way to fix this?
Thanks!

Hi again, have there been any updates on this? Thanks :)

How about now lol

I am not the owner, this is just my opinion.
This behavior is correct because the comma has been removed to generate a title. Including a comma in a filename is not a good idea as it may cause unexpected errors (possibly only on Windows? I only searched for information).
If you want to fix this, you can fork this repository and modify src/utils/utils.ts:10 as follows:
Before:
https://github.com/anpigon/obsidian-book-search-plugin/blob/0dc93919fdd1c781342bb483e61bd3769c796662/src/utils/utils.ts#L9-L11
After:
return<EMAIL_ADDRESS>'').replace(/\s+/g, ' ');

and use this as a plugin for yourself.
Thank you.


Bootstrap ChoiceField not compatible in internet explorer browsers

When an option is selected in a choice field, the field not show the selected option

This issue needs more information for us to be able to fix it.
@815edwar I'm closing this, please reopen with a minimal example, versions of python, django, django-bootstrap3 and a screenshot of your problem.


Image not uploading on signup page

Describe the bug
I tried signing up with uploading a profile image but profile image did not show up (It's not uploaded)
To Reproduce
Steps to reproduce the behavior:

Go to Signup
Fill details and upload a profile image and signup
Go to dashboard
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Note:

Do mention if your are working under GSSoC'21.
If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.
According to the level of the issue, respective time will be allotted under which the task needs to be completed/resolved by the assigned person. If the issue is not resolved within the given time, it will be assigned to the next person. In case of any discrepancies, the decision of the maintainer will be final.

level - 0: 2 days
level - 1: 3 days
level - 2: 4 days
level - 3: 5 days

/assign

I think this bug is caused by #890


Latest version not published to Galaxy

Looks like 0.5.2 was never tagged, so the release workflow didn't run for 126e68edadd3cff8da42a7730060c9cabdd8e213.

Same for 0.6.0.

This is expected, the version number is bumped on the main branch before the release is published.

Thanks for explaining Garðar! Since the galaxy listing lagged behind the repo (and the docs) by two releases, it looked like something might be broken. I'm pretty ignorant about what is normal for Galaxy, but it might be worth a mention in the docs. 😅
I've just "followed" the collection on Galaxy to get notified when it is published.

Yeah it's perhaps not ideal that we bump the version and write the changelog on the main branch before actually making the release on github and galaxy... But to change that we would need to make the CI even more complex than it is which is why I thought it would be ok to have it like this, might need to re-evaluate that if it's confusing everyone.

Same for 0.7.0


Buffer/baud rate limitations?

I'm trying to write an RGB LED matrix controller to run in Node v8.12 on a RasPi using UART on the GPIO pins to talk to an Arduino and I keep experiencing "strangeness".
To keep things simple, I'm using the Glediator protocol. I can run Glediator on the RasPi and everything works fine.  It's set to 1000000 baud and it's currently controlling 253 RGB LEDs. With the addition of the "start of frame" byte, this is 760 bytes.  In future, I hope to control 1,000 LEDs.
Gladiator runs in Java and works perfectly, however, I can't get anything in Node to work. As soon as I start sending multiple frames, the data seems to randomly corrupt. If I reduce the number of LEDs to around 50, it appears to run smoothly.  And when it does corrupt the corruption only seems to occur after the first 50 LEDs' worth of data.  I've tried sending just 26 LEDs at a time (1 row) and flushing the buffer but it still corrupts at the same point?
I'm using the raspi-serial wrapper package for simplicity.
I've tried lots of different ways of sending the data using node but I'm wondering if anyone could help with some experience.  The hardware and OS are not the issue as the Java based Glediator works fine. So it must be my code, this package or the Node stack that's at fault.
Does anyone know of any buffer,baud,bandwidth or latency limitations with Node or this package?
Can anyone suggest how to stream a 760 byte buffer, repeatedly, as fast as possible but executing some user-code to modify the buffer between each transmission.
Thanks!

@TmpR Can you post information about the OS on the Pi and Node.js version you're using? Some example code can also help with debugging.
Is this the matrix controller you're using? http://www.solderlab.de/index.php/hardware/matrix-controller-board
There is a relevant note in the node-pixel package about running multiple strips -> https://www.npmjs.com/package/node-pixel#a-note-on-multiple-strips

The OS is the latest Rasbian installed via NOOBS. Node v8.12.
The controller is an Arduino Pro Mini, but will be replacing with a Mega (more memory). The firmware on it is about 3 lines of code, that reads the byte stream and uses FastLED to control the WS2812b/NeoPixel LEDs.  This works with the Glediator software.
There are limits with the number of pixels, mainly memory on the Arduino, but according to Glediator you can run up to 1024 pixels on an Arduino Mega. They recommend 1000000 baud for 1024 pixels, so I'm starting with this baud so it's one less thing to change when I scale up from 253 to 1012 pixels.
1012 pixels @ 25fps = about 600kbps so about 60% utilisation of 1000000 baud if my understanding is correct.

The controller is an Arduino Pro Mini, but will be replacing with a Mega (more memory)

Then you could probably use node-pixel via the backpack setup -> https://github.com/ajfisher/node-pixel/blob/HEAD/docs/installation.md#i2c-backpack


Lint/UselessAccessModifier - being thrown on class singleton self definition

When I use the class singleton format, as below, Rubocop tells me it's a useless private access modifier:
class MyClass
  def self.class_method
    # stuff
  end

  class << self
    private

    def self.other_class_method
		# stuff
    end
  end
end

When I use the private_class_method definition format, as below, Rubocop does not tell me it's useless:
class MyClass
  def self.class_method
    # stuff
  end

  def self.other_class_method
	# stuff
  end

  private_class_method :other_class_method
end

Expected behavior
Rubocop does not throw a linting error
Actual behavior
W: Lint/UselessAccessModifier: Useless private access modifier.
    private
    ^^^^^^^

Steps to reproduce the problem
Define a private class method using the class singleton method and run rubocop
RuboCop version
Include the output of rubocop -V. Here's an example:
$ rubocop -v
0.57.2

It's actually useless, as other_class_method is not private at all.
You are confused by the fact that you are still calling def self.other_class_method
You have to remove the self part. This way you are not defining other_class_method on MyClass, but on it's singleton class, so the way yo call it is MyClass.singleton_class.other_class_method (and it's not private!)


feat: Harvest should collect Qtree metrics

WIP we still need to create a Quota plugin

Closed since this is covered by #558


perf: update deps, miscellaneous fixes

Codecov Report

Merging #24 into master will decrease coverage by 0.28%.
The diff coverage is 52.63%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
- Coverage   76.06%   75.78%   -0.29%
==========================================
  Files           6        6
  Lines         610      607       -3
  Branches      131      128       -3
==========================================
- Hits          464      460       -4
- Misses         90       91       +1
  Partials       56       56

Impacted Files
Coverage Δ

src/index.ts
77.95% <38.46%> (-0.18%)
:arrow_down:

src/account.ts
74.05% <83.33%> (-0.41%)
:arrow_down:

Continue to review full report at Codecov.

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