Crashing on launch: PlatformNotSupportedException

Version
The version the bug was found on: 1.7.3
Edition	Windows 11 Home
Version	24H2
Installed on	2/17/2024
OS build	26058.1400
Experience	Windows Feature Experience Pack 1000.26058.1100.0
Device name	DESKTOP-R15
Processor	AMD Ryzen 9 7950X 16-Core Processor               4.50 GHz
Installed RAM	128 GB (128 GB usable)
System type	64-bit operating system, x64-based processor
Pen and touch	No pen or touch input is available for this display
Describe the bug
System.PlatformNotSupportedException: Operation is not supported on this platform.
To Reproduce
Steps to reproduce the behavior:

Run MDRP Windowed (or in the background, but then you won't see the error)
See error

Expected behavior
MDRP runs and shows up in Discord
Screenshots

I ran a Windows update and it fixed it. I think Microsoft was playing with something that affected it and decided to roll it back.


I dont like this tool

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Problem
It is a pain to uploading big logs (+1GB) for partners.

If I leave them overnight uploading, many times they fail for no reason.

Desired Solution
Sharefile site used to work a lot better
Alternatives and Workarounds
None, it is a pain on the ....
Additional Context
:(

@mcline1984 files in the ranges of GB should be of no problem. So if you do find the time to try without splitting up, and then share any failure logs with us that'd be great. And of course, make sure you try tweaking the settings we suggested. :)


Fix monitoring and observability gallery docs link

Why are these changes needed?

Fixes the wrong monitoring and observability gallery documentation link

Related issue number

Closes #923

Checks

[x] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

LGTM

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e74abe2) 26.69% compared to head (845c8e3) 26.50%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #926      +/-   ##
==========================================
- Coverage   26.69%   26.50%   -0.19%
==========================================
  Files          28       28
  Lines        3742     3742
  Branches      849      849
==========================================
- Hits          999      992       -7
- Misses       2670     2676       +6
- Partials       73       74       +1

Flag
Coverage Δ

unittests
26.50% <ø> (-0.14%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Separator line thicker

Make separator line thicker (see attachment)
Currently it's anoying that one cannot always grab it with the mouse, bacuse it's so thin.

I (obviously) disagree with your characterization, but by all means, make a patch and I'll consider. Preferably one that makes the sensitive area larger, not necessarily the visual one.

Hi Václav,
I'm sorry to say I'm not a programmer and don't know how/where to make such changes (same goes for issue #593 . :-(

For me, that separator thickness is probably enough, though I guess making it thicker would make the UI more accessible (same goes for the vertical bar that separates the suggestions on the right)

Yes, horizontal and vertical could have larger sensitive area …

Xcode has a good solution for this: the separator is thin, but the active draggable area where the cursor changes is the much wider (in Poedit's case, the entire Source text: row):


VideoTextureState

Open conversation:
VideoTextures are resources, but their state is also part of the resource, because two videos at two different seek points, are indeed two different textures.
And as two textures those should count as two resources. But loading videos is very expensive in terms of CPU and bandwidth.
A very common and widespread use case for video textures is to have only one texture shared across many different shapes to create show stages with multiple UV mapped screens.
The chosen approach should contemplate:

the resource-sharing approach described above
the ease of use of setting and getting the current video state from the renderer

Today the textures are referenced in the Material component as TextureUnion
https://github.com/decentraland/protocol/blob/main/proto/decentraland/common/texture.proto
It could have an approach that sastifies the requirement above:

The state that defines or determines the texture itself would be in another entity.
The TextureUnion oneof would have the reference, this way we'd be creation a piece of indirection

This behavior would be useful for other many cases, such as CameraViewport, or a WearablePreviewViewport.
For the VideoTexture the protocol suggested would be:

To add a new component with the VideoState:

type VideoTextureState = {
    src: string
    playing: boolean
    position: number
}

To add the indirection in TextureUnion

message VideoTexture {
  entity: int32
}

message TextureUnion {
 oneof texture {
    ...
    VideoTexture video_texture = x;
  }
}

@kuruk-mm   why was this issue reopened?  can't we consider it solved?
My understanding is that we're already handling the video texture as a separate reusable asset that can be shared on various materials


More repliant and support "callout in callout"

Hello.
I updated your code with my method for detecting callout. This method is more repliant to detect callout, because Obsidian accept callout starting like : >[! (note the absence's whitespace) and >contents.
Also, I updated the plugin to support "callout in callout" :

With :
> [!info] notes
> somes contents
>> [!info] new admonition
>> contents of admonition2

This will be transform with :
!!! info "notes"
    some contents
    !!! info "new admonition"
        contents of admonition 2

Also, I changed the four space for tabulation, for a better reading.

Thanks a lot for this, looks very good.
Made some minor changes to the way callout content is parsed, the current implementation would replace every instance of > within a callout with \t, now it should only change the leading symbols.
Also removed this unused code
if line.startswith('>[!') and ']' in line:  # Fix callout box syntax
    contents = line.replace('>[!', '> [!')

Good work!

I made some changes to try and clean the code up a bit, and discovered a minor fault in the regex - not sure if you're using it in your other project :)
# old
title = re.search(r'^( ?>*)*\[!(.*)\]', line)
rest_line = re.sub(r'^( ?>*)*\[!(.*)\][\+\-]?', '', line)
# new
block = re.search(r'^ ?(>*) *\[!([^\]]*)\]([\-\+]?)(.*)?', line)

The bug is with [!(.*)\] - this doesn't allow markdown URLs to work within the callout title.
After:
!!! note "a [link](https ...)"
Capture groups are now:
1 - Leading > symbols
2 - Callout type
3 - Foldable token (+ or -)
4 - Title
Also fixed some issues with leading whitespace before the callout indentation, thanks again for this PR.


helm template . -- could not find expected : -- line reporting is odd

Output of helm version:
version.BuildInfo{Version:"v3.5.2", GitCommit:"167aac70832d3a384f65f9745335e9fb40169dc2", GitTreeState:"dirty", GoVersion:"go1.15.7"}

Input 1 (Chart.yaml):
apiVersion: v1
kind: Pod
metadata:
  name: "{{.Release.Name}}-{{.Values.Name}}"
spec:
  containers:
  - name: waiter
    image: "alpine:3.9"
    command: ["/bin/sleep","9000"]
invalid

:

Run:
helm template .

Output:
Error: cannot load Chart.yaml: error converting YAML to JSON: yaml: line 14: could not find expected ':'

Delete the : on the last line and then run:
helm template .

Output:
Error: cannot load Chart.yaml: error converting YAML to JSON: yaml: line 15: could not find expected ':'

Expected results:
Error: cannot load Chart.yaml: error converting YAML to JSON: yaml: line 10: could not find expected ':'

Note: this is a variation of https://github.com/helm/helm/blob/master/cmd/helm/testdata/testcharts/chart-with-template-with-invalid-yaml/templates/alpine-pod.yaml
I'm debugging it because I'm trying to improve the error reporting #8657
This is ~probably~ technically a bug in the underlying Yaml library ~but while I can debug into the library, there doesn't appear to be a command-line interface to it, which makes useful testing painful~. And practically, end users expect reasonably good error reporting from helm. ~If someone else could figure out how to report this to the yaml library, I'd appreciate it, or if someone could helm me report it, that'd also be great.~

The fix for this will be just updating the go-yaml/yaml dependency once the above issue is fixed.

You are correct that this is an upstream issue.

@mattfarina: Upstream appears to be dead. Has helm considered forking it, trying to take ownership of it, or replacing it?

Sigh


[Bug]: WARNING:chromadb.api.models.Collection:No embedding_function provided, using default embedding function:

What happened?
from langchain.vectorstores import Chroma
from langchain.embeddings.openai import OpenAIEmbeddings
from chromadb.utils import embedding_functions
from sentence_transformers import SentenceTransformer
def construct_index(splitted_docs):
openai.api_key = os.environ["OPENAI_API_KEY"]

embedding_model_1 = "all-MiniLM-L6-v2"
embedding_model_2 = "multi-qa-mpnet-base-dot-v1"
embedding_model_openai= "text-embedding-ada-002"

persist_directory_m1 = "minil6v2_db/"
persist_directory_m2 = "mpnet_db/"
persist_directory_openai = "openai_db/"

embeddings_stf = embedding_functions.SentenceTransformerEmbeddingFunction(model_name = embedding_model_2)
embeddings_openai = embedding_functions.OpenAIEmbeddingFunction(embedding_model_openai)

vectorstore  = Chroma.from_documents(documents = splitted_docs, embeddings=embeddings_stf, persist_directory=persist_directory_m2)

return vectorstore

index = construct_index(chunks)
Doesn't matter which embedding model I pass through Chroma.from_documents, always receiving warning message: WARNING:chromadb.api.models.Collection:No embedding_function provided, using default embedding function. Not sure if it is just warning log or it is indeed using the default embedding model.
Versions
chromadb 0.3.25, Python 3.9.18, Windows 10 Pro 22H2
Relevant log output
INFO:chromadb.telemetry.posthog:Anonymized telemetry enabled. See https://docs.trychroma.com/telemetry for more information.
INFO:chromadb.db.duckdb:No existing DB found in mpnet_db/, skipping load
INFO:chromadb.db.duckdb:No existing DB found in mpnet_db/, skipping load
WARNING:chromadb.api.models.Collection:No embedding_function provided, using default embedding function: DefaultEmbeddingFunction https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2

@sanjayporwal02, I've noticed you are using Langchain in the above snippet. Do you mind sharing which version of it do you have installed?

@sanjayporwal02, I've noticed you are using Langchain in the above snippet. Do you mind sharing which version of it do you have installed?

Hi, I am using langchain 0.0.306

I am experiencing the same issue.

@sanjayporwal02 @alyhafez95 working on this now. I will come back soon.

@sanjayporwal02, is there any chance you can upgrade to Chroma 0.4.17 and LC 0.0.338?

@sanjayporwal02, is there any chance you can upgrade to Chroma 0.4.17 and LC 0.0.338?

I tried with the above specific versions. Still receiving the same issue unfortunately.


[HOLD component refactoring] [$500] [LOW] Green circular loading does not appear when searching for a contact in request money flow

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.43-14
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @brunovjk
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1708081508978019
Action Performed:

Click +  and select Request money
Enter amount and click next
Search for any contact in the field

Expected Result:
Green circular loading ring is seen like when we search for a contact to chat
Actual Result:
Not appearing when searching in Request money flow
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/38435837/69a0d4f2-5176-4a87-bcd4-9aaacae07549

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01788bcdaa345e5022
Upwork Job ID:<PHONE_NUMBER>378701312
Last Price Increase: 2024-02-23

Proposal
Please re-state the problem that we are trying to solve in this issue.
Green circular loading does not appear when searching for a contact in request money flow
What is the root cause of that problem?
We are not passing isLoadingNewOptions prop to the selection list
What changes do you think we should make in order to solve the problem?

We should be passing isLoadingNewOptions prop to the selection list as for search contact
What alternative solutions did you explore? (Optional)

I don't want to cause any problems here and I accept the review's decision. But I would really like to work on this issue, I noticed this bug a month ago, but I was waiting for Selection List Refactor.
Report issue on slack.
Thanks in advance

I don't want to cause any problems here and I accept the review's decision. But I would really like to work on this issue, I noticed this bug a month ago, but I was waiting for Selection List Refactor so we can fix it.
Report issue on slack.
Thanks in advance

Just a head-ups! I'll be reviewing the proposal from @brunovjk first since the posted the proposal along side with this bug report. Context: https://expensify.slack.com/archives/C01GTK53T8Q/p1708081508978019

Posted to the Wave6 channel - https://expensify.slack.com/archives/C02MW39LT9N/p1708908540463509

Thank you guys for your patience!
The proposal from @brunovjk looks good to me! I'm also inclined to update MoneyRequestParticipantsSelector to have isLoadingNewOptions, so we can get the same behavior for the send money flow.
🎀 👀 🎀 C+ reviewed!

My consideration is the main issue here is the MoneyTemporaryForRefactorRequestParticipantsSelector missing isLoadingNewOptions. So basically the proposal from @brunovjk has solved the issue, and the other proposal seems doing the same.
Yes, your proposal has an addition to fix the send money flow, but because it's not the main issue, the fix is pretty similar. So I don't think it's fair for another contributor that focus only on the main problem here.
I let @lakchote decide who's gonna work on this issue.

@mollfpr Thanks for the review.

In the Send money flow here, we have the Skeleton loading whenever the user types something to search

@dukenv0307 I believe that is not the scope of this issue. I dont think we are oing to use MoneyRequestParticipantsSelector, instead we will use MoneyTemporaryForRefactorRequestParticipantsSelector. If I'm not mistaken, we are still refactoring SendMoney flow :D

@mollfpr Thanks for the review.

In the Send money flow here, we have the Skeleton loading whenever the user types something to search

@mollfpr I didn't mention this because I thought it was out of scope of this issue. I dont think we are going to use MoneyRequestParticipantsSelector, instead we will use MoneyTemporaryForRefactorRequestParticipantsSelector. If I'm not mistaken, we are still refactoring SendMoney flow :D

@mollfpr Thanks for the review.

In the Send money flow here, we have the Skeleton loading whenever the user types something to search

@mollfpr I didn't mention this because I thought it was out of scope of this issue. I dont think we are going to use MoneyRequestParticipantsSelector, instead we will use MoneyTemporaryForRefactorRequestParticipantsSelector. If I'm not mistaken, we are still refactoring Selection List SendMoney flow :D

DM'ed @lakchote for the review!

@brunovjk's proposal LGTM.
Thanks @mollfpr for the C+ review.

Thank you all for the review. PR will be ready for review within 2 days.

PR ready for review :D

@dukenv0307 The component you are trying to change will be removed here.

We won't remember/keep track of this to do it

Don't worry, I'll keep close eye on it, we won't forget :D

@dukenv0307 The component you are trying to change will be removed here.

@dukenv0307 The component you are trying to change will be removed here, and after "Replace all uses of the Old Component with the New Component" the issue you are reporting will not exist.

@dukenv0307 The component you are trying to change will be removed here, and after "Replace all uses of the Old Component with the New Component" the issue you are reporting will not exist.

How will it solve it? I do not agree. In the new component, there's the old logic in place, see here.
Since no changes have been made to the logic in the old component, it won't be ported to the new component.
So the issue will remain.
If we just solve the current issue and not the related one for the skeleton, we risk  letting a known problem be unfixed whereas we could act on it. That's not ideal actually. We want to have the same behavior across components. Especially related ones (Request/Send money components). The "other" issue reported by @dukenv0307 was found while he was investigating the bug. It's not like the two issues are entirely unrelated.
I'm going to seek for an external opinion on this. Thanks @dukenv0307 for pinging me again on this and raise my awareness of the problem.

We want to have the same behavior across components

I can guarantee that, I just didn't think it was necessary for this issue, Im so sorry about that.

@lakchote @brunovjk Given that this issue would prevail in the new component, I think we should put this issue on hold for the other one and then we can resume work once new component will be in place

Hey @lakchote, @mountiny and @dukenv0307,
Appreciate you delving into this with me. 🚀 Still getting the ropes here, and your insights are a huge help.

How will it solve it? I do not agree. In the new component, there's the old logic in place, see here.

The line you referenced is from our PR. Also, I didn't move the new change to the old component based on @ntdyary's suggestion link to the comment.
Please, correct me if Im wrong. In my view, we've got two distinct issues: green circular loading (our current discussion) and skeleton loading control (highlighted by @dukenv0307). Our issue involves the variable isSearchingForReports controlling isLoadingNewOptions for green circular loading. @dukenv0307issue deals with didScreenTransitionEnd and isOptionsDataReady controlling showLoadingPlaceholder for skeleton loading. The former triggers with every new contact search, while the latter activates only once during screen transition/list loading.
Currently, we have several flows loading contact lists using IOURequestStepParticipants (new component) and MoneyRequestParticipantsPage (old component). The transition/skeleton error was reported here, and during the PR, it surfaced in both components, as indicated by @ntdyary (link to the comment). However, he suggested not altering the old component as it's slated for removal.
In summary:

The skeleton loading issue is addressed in my latest PR, focusing on MoneyTemporaryForRefactorRequestParticipantsSelector. I see now that we should have dealt with this at once. Ensuring consistency between MoneyRequestParticipantsSelector and MoneyTemporaryForRefactorRequestParticipantsSelector might come with component refactoring, but your guidance suggest otherwise.
The green circular loading issue could be a separate task (I can update my PR to modify MoneyRequestParticipantsSelector as well).

I dont mind about splitting compensation. I just believe it'd be more effective to compartmentalize these into distinct purposes/issues.

But I also agree that we can "put this issue on hold for the other one and then we can resume work once new component will be in place"

Still waiting Refactor navigation

Pages that use SelectionList to handle a options list
Skeleton
Green Circular

- Search page
   ✅
  ✅

- New chat
  ❌ should be fixed here
  ✅

  New room chat - RoomInvitePage  - Press "Start chat"  - Select "Room"  - Fill the name and create a room  - Open room details  - Press "Members"  - Press "Invite"
   ❌
   ❌

- Request money
   ❌
   ❌

- Send money
   ❌
   ❌

- Assign task
   ❌
  ❌

  Assign task - share somewhere  - Press "Assign task"  - Fill the title and press "Next"  - Press "Share somewhere"
   ❌
  ✅

  Invite to workspace  - Open "Choose a workspace"  - Press "+" button  - Go to "Members"  - Press "Invite member"
  ❌
   ❌

  Share logs  - Go to Settings -> About -> Troubleshoot  - Enable "Client Side logging"  - Press "Debug console"  - Press "Share log"
   ❌
   ❌

I think the Skeleton issue still requires hold. Can we fix them all together in a separate issue/PR later? Since it has different root causes (didScreenTransitionEnd + "loading searchable lists by caching the options") from this issue.

For the Green Circular loading (this issue), I can updat my PR to include all cases. NewChatPage still uses OptionsSelector we could wait Replace OptionsSelector with SelectionList to move on, but I think we are good here, since the green circular on the NewChatPage is working now and should keep working after refactor.

@mollfpr @lakchote @mountiny @dukenv0307 Thoughts?

I am up for unifying this

Perfecto

Unifying means as you wrote:

For the Green Circular loading (this issue), I can update my https://github.com/Expensify/App/pull/37842 to include all cases.

Just making sure the green loading works same everywhere we would expect this

There are several places in our App where we use a SelectionList with a Search Field, but they do not load a contact list.

src/components/CategoryPicker.tsx
src/components/DatePicker/CalendarPicker/YearPickerModal.tsx
src/components/StatePicker/StateSelectorModal.tsx
src/components/TagPicker/index.tsx
src/components/TaxPicker.tsx
src/pages/EditReportFieldDropdown.tsx
src/pages/EditReportFieldDropdownPage.tsx
src/pages/iou/IOUCurrencySelection.js
src/pages/iou/request/step/IOURequestStepCurrency.js
src/pages/settings/Profile/PersonalDetails/CountrySelectionPage.tsx
src/pages/settings/Profile/PersonalDetails/StateSelectionPage.tsx
src/pages/settings/Profile/PronounsPage.tsx
src/pages/workspace/workflows/WorkspaceAutoReportingMonthlyOffsetPage.tsx
src/pages/workspace/workflows/WorkspaceWorkflowsApproverPage.tsx or UU?
src/pages/workspace/workflows/WorkspaceWorkflowsPayerPage.tsx or UU?
src/pages/workspace/WorkspaceProfileCurrencyPage.tsx
src/pages/WorkspaceSwitcherPage.tsx
src/pages/WorkspaceSwitcherPage.tsx

Should we configure the "Green Circular Loading" on them too? I believe the answer is no, but I would like to confirm. Thanks.

We must also enable the Green Circular in Room Members Page? Thank you.

PR ready for review

PR was merged, but not to staging yet

Payment Summary

C: @brunovjk $500
C: @dukenv0307 $500
C+: @mollfpr $500

Is this correct? I'll need to create a new Upworks job.

This is correct for @mollfpr and @brunovjk! However not for @dukenv0307 as his PR for handling skeleton cases isn't ready, so no payment is due yet.

@lakchote, thanks for checking! I assume I will be paying @dukenv0307 via this job, so we'll need to keep this open?

NEW UPWORKS JOB

Paid @brunovjk

$500 approved for @mollfpr

Note for myself: waiting to pay @dukenv0307

Hey @lakchote, @mollfpr, and @dukenv0307,
It's been a couple of weeks since our fix for the green circular loading was pushed to production, and it seems to be working fine. Now, I tjhink it's time to standardize how we handle the skeleton loading on those same pages.
Most of the pages have the skeleton working fine:

[x] - src/pages/ChatFinderPage/index.tsx
[x] - src/pages/NewChatPage.tsx
[x] - src/pages/InviteReportParticipantsPage.tsx
[ ] - src/pages/RoomInvitePage.tsx
[x] - src/pages/iou/request/MoneyRequestParticipantsSelector.ts

Submit Expense
Split Expense
Pay Someone
Send Invoice

[x] - src/pages/settings/AboutPage/ShareLogList/BaseShareLogList.tsx
[ ] - src/pages/tasks/TaskAssigneeSelectorModal.tsx
[x] - src/pages/tasks/TaskShareDestinationSelectorModal.tsx
[x] - src/pages/workspace/WorkspaceInvitePage.tsx

However, a couple of them need proper implementation (showLoadingPlaceholder={!areOptionsInitialized || !didScreenTransitionEnd}).
For example, TaskAssigneeSelectorModal still uses its own useOptions, and not the useOptionsList hook like the others.
@dukenv0307, do you want to work on this, or can I?
Thank you!

@lakchote feel free to bump me when @dukenv0307 needs payment.


travis-cargo run cannot pass arguments to the program

travis-cargo run -- <cargo arguments> works, but travis-cargo -- <cargo arguments> -- <program arguments> does not works.
See my travis log: https://travis-ci.org/gifnksm/SLSR/jobs/82426011#L223

From what I understand, I think https://github.com/huonw/travis-cargo/issues/19 would resolve this.


Table glpi_plugin_phpsaml_configs should use InnoDB engine

Since GLPI 9.3, the expected engine is InnoDB for all tables

Updated.  After reinstalling the plugin I ran into an issue with empty config values so I added a check that controls loading the SAML library.


Make log messages clearer by displaying a relative source path

Make log messages slightly clearer by displaying the generated source position relative to the workspace.

If there isn't a workspace the absolute path will still be used.

Before:

After:

@chmeyer-ms take a look when you get a chance!

Relative links now get pre-prended with ./ which makes them ctrl+clickable

If the workspace is on C: (C:\NoSpace\ts-starter-complete-cotta) and the TS is on D: (D:\NoSpace\ts-starter-complete-cotta) the absolute path is displayed


[Network] Create VN Gateway, 'name=default' required in VirtualNetworkGatewayIPConfiguration?

When created a VN Gateway, if you forget to specify a name argument to VirtualNetworkGatewayIPConfiguration we receive an (unhelpful) error from ARM: Cannot parse the request.
Digging using the Automation window on the Portal, it seems that there is only one value possible: 'default'

So:

If this is a constant, please declare it as constant with "default" as unique value
If this can vary, please declare it as required parameter

In any situation, please correct the error message on the RestAPI message. Took me one hour and diff from the Portal to figure this out. And trapped also a customer (https://github.com/Azure/azure-sdk-for-python/issues/910)

@DeepakRajendranMsft - Please take a look at this issue.

@DeepakRajendranMsft - assign this to @amitsriva

@MohitGargVpn can you take a look?

This is no repro. 'name' is the required parameter for command let:-New-AzureRmVirtualNetworkGatewayIpConfig for creating new Vnet gateway ip config which you pass to create a new VirtualNetworkGateway. If you do not pass name param, it will ask to pass value for it.
You can pass any valid value for name param except default. Please find below command lets:-
PS C:\WINDOWS\system32> New-AzureRmVirtualNetworkGatewayIpConfig -PublicIpAddress $publicip -Subnet $subnet
cmdlet New-AzureRmVirtualNetworkGatewayIpConfig at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
Name: vnetGatewayConfigName1
Name                      : vnetGatewayConfigName1
Id                        : /subscriptions/b636ca99-6f88-4df4-a7c3-2f8dc4545509/resourceGroups/ResourceGroupNotSet/providers/Microsoft.Network/virtualNetworkGateways/VirtualNetworkGatewayNameNotSet/virtualNetworkGatewayIpConfiguration/vnetGatewayConfigName1
Etag                      :
PrivateIpAddress          :
PrivateIpAllocationMethod : Dynamic
Subnet                    : {
"Id": "/subscriptions/b636ca99-6f88-4df4-a7c3-2f8dc4545509/resourceGroups/VpnGw3RG1/providers/Microsoft.Network/virtualNetworks/vnetName1/subnets/GatewaySubnet"
}
PublicIpAddress           : {
"Id": "/subscriptions/b636ca99-6f88-4df4-a7c3-2f8dc4545509/resourceGroups/VpnGw3RG1/providers/Microsoft.Network/publicIPAddresses/publicIpName1"
}
Please help close this issue.

@lmazuel  - Could you please look at @Nilambari's response above and close this if you have no other concerns.

@kirthik @Nilambari Sorry I didn't see the answer earlier.
I have concerns, @Nilambari you wrote "The 'name' is required parameter". Then do define this parameter as required in the Swagger (as I suggested at first). It's still not the case.

fixed


Use URL hyperlinks for PMC affiliation and github handle.

@kscottz @clalancette @ahcorde what do you think?

@Mergifyio backport jazzy iron humble


cocotb.seed for pseudo-random numbers, fixes #814

Fixes #814
When seed variable type is set to global, it can be accessed in cocotb.test as cocotb.seed.
This allows seeding other pseudo-random number generators with the same value in cocotb test (e.g. numpy's: numpy.random.seed(cocotb.seed)). This makes data in tests with RANDOM_SEED set repeatable.
Once random generator seed is set it can't be accessed so I had trouble with making a simple test for that but I think this change is pretty clear.

Calling this global cocotb.RANDOM_SEED might be clearer

I've liked this proposal and renamed the variable. @eric-wieser can you review?

Looks good, thanks for your contribution!


Misc bug fix

Text message alignment bug fix
Sending blank message bug fix
Bubble color bug fix

Connects #157
Connects #159
Connects #160

Btw @howawong It would be better not to have commits like lint fix, the commit history will look better if you can squash the commit to related commit. If the PR is large and difficult to rebase, i am ok to have commits like that. Thanks howa 🙏🏻


Network and Navigation API update descriptions

https://review.docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/apis-capabilities?branch=pr-en-us-2027
Plan to close this PR after PR 1971 (user/v-mhoffman/wv2-api-capabs) is merged into main.

Docs Build status updates of commit dec6ff2:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/concepts/apis-capabilities.md
:warning:Warning
View
Details

microsoft-edge/webview2/concepts/apis-capabilities.md

Line 127, Column 3: [Warning: bookmark-not-found] Cannot find bookmark '#manage-content-loaded-in-webview2' in 'webview2/concepts/apis-capabilities.md', did you mean '#manage-content-loaded-to-webview2'?
Line 128, Column 3: [Warning: bookmark-not-found] Cannot find bookmark '#web-content' in 'webview2/concepts/apis-capabilities.md'.
Line 148, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2' will be broken in isolated environments. Replace with a relative link.
Line 149, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2controller' will be broken in isolated environments. Replace with a relative link.
Line 150, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2environment' will be broken in isolated environments. Replace with a relative link.
Line 151, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2settings' will be broken in isolated environments. Replace with a relative link.
Line 155, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2' will be broken in isolated environments. Replace with a relative link.
Line 156, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2controller' will be broken in isolated environments. Replace with a relative link.
Line 157, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2environment' will be broken in isolated environments. Replace with a relative link.
Line 158, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2settings' will be broken in isolated environments. Replace with a relative link.
Line 240, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2.addhostobjecttoscript' will be broken in isolated environments. Replace with a relative link.
Line 241, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2.removehostobjectfromscript' will be broken in isolated environments. Replace with a relative link.
Line 242, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2settings.arehostobjectsallowed' will be broken in isolated environments. Replace with a relative link.
Line 243, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2hostresourceaccesskind' will be broken in isolated environments. Replace with a relative link.
Line 248, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2#addhostobjecttoscript' will be broken in isolated environments. Replace with a relative link.
Line 249, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2#removehostobjectfromscript' will be broken in isolated environments. Replace with a relative link.
Line 250, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2settings#get_arehostobjectsallowed' will be broken in isolated environments. Replace with a relative link.
Line 250, Column 181: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2settings#put_arehostobjectsallowed' will be broken in isolated environments. Replace with a relative link.
Line 267, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2.addscripttoexecuteondocumentcreatedasync' will be broken in isolated environments. Replace with a relative link.
Line 268, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2.executescriptasync' will be broken in isolated environments. Replace with a relative link.
Line 269, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2.removescripttoexecuteondocumentcreated' will be broken in isolated environments. Replace with a relative link.
Line 270, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2settings.isscriptenabled' will be broken in isolated environments. Replace with a relative link.
Line 274, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2#addscripttoexecuteondocumentcreated' will be broken in isolated environments. Replace with a relative link.
Line 275, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2#executescript' will be broken in isolated environments. Replace with a relative link.
Line 276, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2#removescripttoexecuteondocumentcreated' will be broken in isolated environments. Replace with a relative link.

This comment lists only the first 25 errors (including error/warning/suggestion) in the pull request.
For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit dec6ff2:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/webview2/concepts/apis-capabilities.md
:warning:Warning
View
Details

microsoft-edge/webview2/concepts/apis-capabilities.md

Line 52, Column 3: [Warning: bookmark-not-found] Cannot find bookmark '#load-and-keep-track-of-content-weblocalremote' in 'webview2/concepts/apis-capabilities.md'.
Line 53, Column 6: [Warning: bookmark-not-found] Cannot find bookmark '#manage-page-navigation' in 'webview2/concepts/apis-capabilities.md'.
Line 54, Column 6: [Warning: bookmark-not-found] Cannot find bookmark '#domcontent-loaded' in 'webview2/concepts/apis-capabilities.md'.
Line 56, Column 3: [Warning: bookmark-not-found] Cannot find bookmark '#web-content' in 'webview2/concepts/apis-capabilities.md'.
Line 57, Column 6: [Warning: bookmark-not-found] Cannot find bookmark '#web-resource-request' in 'webview2/concepts/apis-capabilities.md'.
Line 58, Column 6: [Warning: bookmark-not-found] Cannot find bookmark '#web-resource-response' in 'webview2/concepts/apis-capabilities.md'.
Line 100, Column 3: [Warning: bookmark-not-found] Cannot find bookmark '#load-and-keep-track-of-content-weblocalremote' in 'webview2/concepts/apis-capabilities.md'.
Line 101, Column 3: [Warning: bookmark-not-found] Cannot find bookmark '#web-content' in 'webview2/concepts/apis-capabilities.md'.
Line 121, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2' will be broken in isolated environments. Replace with a relative link.
Line 122, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2controller' will be broken in isolated environments. Replace with a relative link.
Line 123, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2environment' will be broken in isolated environments. Replace with a relative link.
Line 124, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2settings' will be broken in isolated environments. Replace with a relative link.
Line 128, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2' will be broken in isolated environments. Replace with a relative link.
Line 129, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2controller' will be broken in isolated environments. Replace with a relative link.
Line 130, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2environment' will be broken in isolated environments. Replace with a relative link.
Line 131, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2settings' will be broken in isolated environments. Replace with a relative link.
Line 213, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2.addhostobjecttoscript' will be broken in isolated environments. Replace with a relative link.
Line 214, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2.removehostobjectfromscript' will be broken in isolated environments. Replace with a relative link.
Line 215, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2settings.arehostobjectsallowed' will be broken in isolated environments. Replace with a relative link.
Line 216, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2hostresourceaccesskind' will be broken in isolated environments. Replace with a relative link.
Line 221, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2#addhostobjecttoscript' will be broken in isolated environments. Replace with a relative link.
Line 222, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2#removehostobjectfromscript' will be broken in isolated environments. Replace with a relative link.
Line 223, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2settings#get_arehostobjectsallowed' will be broken in isolated environments. Replace with a relative link.
Line 223, Column 181: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/microsoft-edge/webview2/reference/win32/icorewebview2settings#put_arehostobjectsallowed' will be broken in isolated environments. Replace with a relative link.
Line 240, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2.addscripttoexecuteondocumentcreatedasync' will be broken in isolated environments. Replace with a relative link.

This comment lists only the first 25 errors (including error/warning/suggestion) in the pull request.
For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Destination PR 1971 has been merged into main and includes work done in this PR.  Closing this PR w/o merging.


Add common code

Add common code to this package that appears in almost every project, but in a slightly different form. See below.
Let's make it consistent.
Future<void> _setupLogger(AppConfig config) async {
  if (config.debugMode) {
    Logger.root.level = Level.ALL;
    Logger.root.onRecord.listen((record) {
      final firstLine = StringBuffer()
        ..writeAll(
          <String>[
            record.level.name,
            if (record.loggerName.isNotEmpty) record.loggerName,
            record.message,
          ],
          ': ',
        );

      debugPrint(firstLine.toString());
      if (record.error != null) {
        debugPrint(record.error.toString());
      }
      if (record.stackTrace != null) {
        debugPrint(record.stackTrace.toString());
      }
    });
  } else {
    Logger.root.level = Level.INFO;
    LoggingBugfenderListener(config.bugfenderKey).listen(Logger.root);
  }

  final flutterErrorLogger = Logger('FlutterError');
  FlutterError.onError = (details) {
    if (config.debugMode) {
      FlutterError.dumpErrorToConsole(details);
    } else {
      flutterErrorLogger.warning(
        details.summary.name,
        details.exception,
        details.stack,
      );
    }
  };
}

We could provide few Printer classes, for production and development purposes.
I'd love to see colored output on dev ❤

Some code that might be useful from package:logger:

https://github.com/leisim/logger/blob/master/lib/src/ansi_color.dart
https://github.com/leisim/logger/blob/master/lib/src/printers/simple_printer.dart

TBH I'm not sure whether additional Loggers/Printers should be included in this project/package. Its purpose is to integrate package:logging and flutter_bugfender, not to provide some custom colorful logging. It's a cool idea but maybe we should think of adding it in a separate package? Something like a reincarnation of package:leancode_logging_flutter.
btw @Albert221, what do you exactly mean by "Printer class"? Such a thing exists neither in package:logging nor package:flutter_bugfender.

I don't agree we need to keep that package really that atomic. I'd like to keep this package as a toolkit of a kind, that helps integrate the logger with Bugfender in a Flutter environment. Providing additional, optional functionality that could reduce repeated code among the projects that use it, such as formatting the LogRecord to a string with every piece of information needed is one of such cases.

By printers, I meant the formatters themselves, so that, e.g. when we read logs on a development machine we could have all the fancy colors and when sending logs to the server it would be kept plain text.
Currently, we have printToConsole parameter of the LoggingBugfenderListener, which is just passed to the Bugfender plugin. We can alter it so that Bugfender never prints to the console itself, but we do. And we could let the developer choose the strategy of the formatting (the formatter itself) for the console printing. It could be:

consoleStrategy: const NeverPrintStrategy()
consoleStrategy: const PlainTextPrintStrategy()
consoleStrategy: const ColoredTextPrintStrategy()


How to change the size of the icon.

I am using the ng2-smart-table in my application. I want to change the size of the icon in a custom column. how can I change it? please guide me.
Note: i want to change the size of the icons with class. "ion-document ", "ion-edit"
ts
settings = {
    actions: {
      custom: [
        {
          name: 'yourAction',
          title: ''
        },
        {
          name: 'editAction',
          title: ''
        },
        {
          name: 'deleteAction',
          title: ''
        }
      ],
}

scss
:host /deep/ ng2-st-tbody-custom a.ng2-smart-action.ng2-smart-action-custom-custom {
    display: inline-flex;
    width: 50px;
    text-align: center;
    font-size: 0.5em;
}

:host /deep/ ng2-st-tbody-custom a.ng2-smart-action.ng2-smart-action-custom-custom:hover {
    color: #5dcfe3;
}

Did you get this working?


(Build) Fail on dev branch.

This issue is created automatically by CI.
Linux Build State: failure
Windows Build State: failure
Commit: 9313b6f49dac4558bced20a1b861803a6b2ba888
Commit Branch: dev
Commit Author: @innerviewer.

CI: The build in this branch is still failing.
Linux Build State: success.
Windows Build State: failure.
Commit ba235a7990addf3788f7470643d5eea9264e8171 by @innerviewer.

CI: The build in this branch is still failing.
Linux Build State: success.
Windows Build State: failure.
Commit 6a86c874b69053d798f229c4fb4d1a70494bf754 by @innerviewer.

CI: The build in this branch is still failing.
Linux Build State: success.
Windows Build State: failure.
Commit 507ce10bb378b00e48febd58d0c811e1a549d0d6 by @innerviewer.

Auto-closing as build in this branch is successful now. Commit: 861eb567db5512bd88c1cfd528ef9e24cce99677


[git tool bug] Use command change git branch, but vsCode default git branch not changed

VSCode Version: 1.26.1
OS Version: mac os 10.13.6

Steps to Reproduce:

Use command change git branch
vsCode default git tool's git branch has not changed

must click the refresh button to reload git branch

Does this issue occur when all extensions are disabled?: Yes/No
YES

Did you open the repository's root folder as a folder in VS Code?

No, I didn't, I open a child folder in VS Code and changed git branch.

Known limitation: https://github.com/Microsoft/vscode/issues/41085


Add devise

Here we did the following requirments:
We removed current_user method in ApplicationController, devise will provide us with one.
A user can register.
A user logs in with a combination of email and password.
Hashed password is stored in the database.
A user can ask for confirmation of email.
A user can reset password.

@Gambit142
It is becuase once I saw approval in my dashboard when my teammate send the pull request!!


Mode 'verify' and tests do not run on Windows

Fixes #19 by converting CRLF's to LF's before comparing generated code and content of existing files in 'verify' mode.
Fixes tests by replacing backslashes in file pathes by slashes before comparing with snapshot.

Thanks for merging! 🍻


thumbnails: Segmentation fault

Hi, I often see a segmentation fault when importing. I can't completely confirm, but I have the impression it happens when I get a prompt ("Apply, More candidates,...") and don't respond immediately.
I enabled the following plugins: fetchart embedart chroma discogs mbsync duplicates missing random thumbnails replaygain
Thread 0x00007fccf1ffb700 (most recent call first):
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/audioread/ffdec.py", line 65 in run
File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
Current thread 0x00007fccf2ffd700 (most recent call first):
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/thumbnails.py", line 268 in uri
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/thumbnails.py", line 164 in thumbnail_file_name
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/thumbnails.py", line 143 in make_cover_thumbnail
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/thumbnails.py", line 131 in process_album
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/plugins.py", line 123 in wrapper
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/plugins.py", line 455 in send
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/library.py", line 1069 in set_art
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/fetchart.py", line 362 in assign_art
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/plugins.py", line 123 in wrapper
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/plugins.py", line 455 in send
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/importer.py", line 661 in manipulate_files
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/importer.py", line 1366 in manipulate_files
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 160 in coro
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 347 in run
File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
Thread 0x00007fccf37fe700 (most recent call first):
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/dbcore/db.py", line 651 in query
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/dbcore/db.py", line 551 in _make_model
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/dbcore/db.py", line 522 in _get_objects
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/dbcore/db.py", line 609 in get
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/dbcore/db.py", line 823 in _get
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/dbcore/db.py", line 384 in load
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/importer.py", line 759 in reload
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/importer.py", line 1348 in plugin_stage
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 183 in coro
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 301 in run
File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
Thread 0x00007fccf3fff700 (most recent call first):
File "/usr/lib/python2.7/socket.py", line 387 in read
File "/usr/lib/python2.7/httplib.py", line 573 in read
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/requests/packages/urllib3/response.py", line 186 in read
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/requests/packages/urllib3/response.py", line 256 in stream
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/requests/models.py", line 655 in generate
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/fetchart.py", line 397 in _fetch_image
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/fetchart.py", line 442 in art_for_album
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/fetchart.py", line 348 in fetch_art
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/plugins.py", line 123 in wrapper
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/importer.py", line 1343 in plugin_stage
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 183 in coro
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 301 in run
File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
Thread 0x00007fcd00b35700 (most recent call first):
File "/usr/lib/python2.7/threading.py", line 340 in wait
File "/usr/lib/python2.7/Queue.py", line 168 in get
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 292 in run
File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
Thread 0x00007fcd01336700 (most recent call first):
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/ui/init.py", line 156 in input_
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/ui/init.py", line 292 in input_options
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/ui/commands.py", line 643 in choose_candidate
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/ui/commands.py", line 707 in choose_match
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/importer.py", line 751 in choose_match
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/importer.py", line 1257 in user_query
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 160 in coro
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 301 in run
File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
Thread 0x00007fcd01b37700 (most recent call first):
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/audioread/ffdec.py", line 134 in _get_info
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/audioread/ffdec.py", line 90 in init
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/audioread/init.py", line 91 in audio_open
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/acoustid.py", line 262 in _fingerprint_file_audioread
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/acoustid.py", line 321 in fingerprint_file
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/chroma.py", line 65 in acoustid_match
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/chroma.py", line 213 in fingerprint_task
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/chroma.py", line 143 in fingerprint_task
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/plugins.py", line 123 in wrapper
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/plugins.py", line 455 in send
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/importer.py", line 1234 in lookup_candidates
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 183 in coro
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 301 in run
File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
Thread 0x00007fcd0dc76700 (most recent call first):
File "/usr/lib/python2.7/threading.py", line 359 in wait
File "/usr/lib/python2.7/threading.py", line 960 in join
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 415 in run_parallel
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/importer.py", line 316 in run
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/ui/commands.py", line 870 in import_files
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/ui/commands.py", line 893 in import_func
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/ui/init.py", line 1094 in _raw_main
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/ui/init.py", line 1104 in main
File "/home/bart/.virtualenv/beets/bin/beet", line 11 in
[1]    1054 segmentation fault  beet import J

Wow, that looks bad. Can you please try narrowing this down in two dimensions?

Is a specific file causing the crash? (Import one at a time to check.)
is a specific plugin the cause? (Disable plugins selectively to eliminate some.)

Also, can you please describe your system setup?

Hi,
I haven't had a lot of time to try and narrow it down, but I found I could consistently reproduce it with one folder (although I think I also had the issue with other folders before). When I disable all plugins, the issue goes away. It does not seem related to fetchart, embedart, chroma, discogs, mbsync, duplicates or replaygain
My setup:

debian testing (jessie)
beets 1.3.12 in a python 2.7.9 virtual environment
replaygain configured to use aacgain
music is on an NFS mounted drive

Please let me know if you need more info about my system. I'll try to test all plugins as quickly as possible.

Thanks for the additional information. From your lists, are you saying that the crash does appear when you only have these plugins enabled: random thumbnails missing? If so, I'm inclined to guess it's the thumbnails plugin—especially since that traceback blames a call into native code inside the plugin!
Is there any chance you can get the verbose output for one of these crashes?
And in the mean time, @burnal, any ideas about why this ctypes call in the thumbnails plugin would segfault?
uri = ctypes.c_char_p(uri_ptr).value

I see there's a null check for that pointer just above, so it must somehow be the case that we're getting an invalid but non-null pointer from g_file_get_uri. :scream:

I can confirm the minimal configuration that reproduces this is thumbnails and fetchart.
The verbose log is below:
beet -v import Smoking\ Monkey
user configuration: /home/bart/.config/beets/config.yaml
data directory: /home/bart/.config/beets
plugin paths:
Sending event: pluginload
artresizer: method is (2, (6, 8, 9))
thumbnails: using IM to write metadata
thumbnails: using GIO to compute URIs
library database: /files/musiclibrary.db
library directory: /files/Music
Sending event: library_opened
Sending event: import_begin
Sending event: import_task_created
Sending event: import_task_start
Looking up: /files/Music_old/J/Jonathan Coulton/Smoking Monkey
Tagging Jonathan Coulton - Smoking Monkey
Searching for discovered album ID: dfb4af73-1c60-4392-ac6a-4c86ee8ac408
Candidate: Jonathan Coulton - Smoking Monkey
Success. Distance: 0.00
Album ID match recommendation is Recommendation.strong
ID match.
/files/Music_old/J/Jonathan Coulton/Smoking Monkey (12 items)
Tagging:
Jonathan Coulton - Smoking Monkey
URL:
http://musicbrainz.org/release/dfb4af73-1c60-4392-ac6a-4c86ee8ac408
(Similarity: 100.0%) (Digital Media, 2003, XW)
Sending event: import_task_choice
This album is already in the library!
could not get filesize: [Errno 2] No such file or directory: '/files/Music/J/Jonathan Coulton/Smoking Monkey/[01] Jonathan Coulton - I_m Having a Party.mp3'
could not get filesize: [Errno 2] No such file or directory: '/files/Music/J/Jonathan Coulton/Smoking Monkey/[02] Jonathan Coulton - Bozo_s Lament.mp3'
could not get filesize: [Errno 2] No such file or directory: '/files/Music/J/Jonathan Coulton/Smoking Monkey/[03] Jonathan Coulton - Kenesaw Mountain Landis.mp3'
could not get filesize: [Errno 2] No such file or directory: '/files/Music/J/Jonathan Coulton/Smoking Monkey/[04] Jonathan Coulton - Ikea.mp3'
could not get filesize: [Errno 2] No such file or directory: '/files/Music/J/Jonathan Coulton/Smoking Monkey/[05] Jonathan Coulton - I Hate California.mp3'
could not get filesize: [Errno 2] No such file or directory: '/files/Music/J/Jonathan Coulton/Smoking Monkey/[06] Jonathan Coulton - Christmas Is Interesting.mp3'
could not get filesize: [Errno 2] No such file or directory: '/files/Music/J/Jonathan Coulton/Smoking Monkey/[07] Jonathan Coulton - Over There.mp3'
could not get filesize: [Errno 2] No such file or directory: '/files/Music/J/Jonathan Coulton/Smoking Monkey/[08] Jonathan Coulton - Millionaire Girlfriend.mp3'
could not get filesize: [Errno 2] No such file or directory: '/files/Music/J/Jonathan Coulton/Smoking Monkey/[09] Jonathan Coulton - First of May.mp3'
could not get filesize: [Errno 2] No such file or directory: '/files/Music/J/Jonathan Coulton/Smoking Monkey/[10] Jonathan Coulton - De-Evolving.mp3'
could not get filesize: [Errno 2] No such file or directory: '/files/Music/J/Jonathan Coulton/Smoking Monkey/[11] Jonathan Coulton - I_m a Mason Now.mp3'
could not get filesize: [Errno 2] No such file or directory: '/files/Music/J/Jonathan Coulton/Smoking Monkey/[12] Jonathan Coulton - Overhead.mp3'
Old: 12 items, MP3, 254kbps, 42:10, 0.0 B
New: 12 items, MP3, 254kbps, 42:10, 86.2 MB
[S]kip new, Keep both, Remove old? R
Sending event: import_task_apply
0 of 12 items replaced
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
removing 12 old duplicated items
Sending event: database_change
Sending event: item_removed
deleting duplicate /files/Music/J/Jonathan Coulton/Smoking Monkey/[01] Jonathan Coulton - I_m Having a Party.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /files/Music/J/Jonathan Coulton/Smoking Monkey/[02] Jonathan Coulton - Bozo_s Lament.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /files/Music/J/Jonathan Coulton/Smoking Monkey/[03] Jonathan Coulton - Kenesaw Mountain Landis.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /files/Music/J/Jonathan Coulton/Smoking Monkey/[04] Jonathan Coulton - Ikea.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /files/Music/J/Jonathan Coulton/Smoking Monkey/[05] Jonathan Coulton - I Hate California.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /files/Music/J/Jonathan Coulton/Smoking Monkey/[06] Jonathan Coulton - Christmas Is Interesting.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /files/Music/J/Jonathan Coulton/Smoking Monkey/[07] Jonathan Coulton - Over There.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /files/Music/J/Jonathan Coulton/Smoking Monkey/[08] Jonathan Coulton - Millionaire Girlfriend.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /files/Music/J/Jonathan Coulton/Smoking Monkey/[09] Jonathan Coulton - First of May.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /files/Music/J/Jonathan Coulton/Smoking Monkey/[10] Jonathan Coulton - De-Evolving.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /files/Music/J/Jonathan Coulton/Smoking Monkey/[11] Jonathan Coulton - I_m a Mason Now.mp3
Sending event: database_change
Sending event: database_change
Sending event: item_removed
deleting duplicate /files/Music/J/Jonathan Coulton/Smoking Monkey/[12] Jonathan Coulton - Overhead.mp3
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: import_task_files
Sending event: art_set
Fatal Python error: Segmentation fault
Current thread 0x00007f4733fff700 (most recent call first):
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/thumbnails.py", line 268 in uri
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/thumbnails.py", line 164 in thumbnail_file_name
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/thumbnails.py", line 143 in make_cover_thumbnail
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/thumbnails.py", line 131 in process_album
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/plugins.py", line 123 in wrapper
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/plugins.py", line 455 in send
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/library.py", line 1069 in set_art
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beetsplug/fetchart.py", line 362 in assign_art
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/plugins.py", line 123 in wrapper
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/plugins.py", line 455 in send
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/importer.py", line 661 in manipulate_files
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/importer.py", line 1366 in manipulate_files
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 160 in coro
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 347 in run
File "/usr/lib/python2.7/threading.py", line 810 in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 783 in __bootstrap
Thread 0x00007f4750204700 (most recent call first):
File "/usr/lib/python2.7/threading.py", line 359 in wait
File "/usr/lib/python2.7/threading.py", line 960 in join
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/util/pipeline.py", line 415 in run_parallel
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/importer.py", line 316 in run
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/ui/commands.py", line 870 in import_files
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/ui/commands.py", line 893 in import_func
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/ui/init.py", line 1094 in _raw_main
File "/home/bart/.virtualenv/beets/local/lib/python2.7/site-packages/beets/ui/init.py", line 1104 in main
File "/home/bart/.virtualenv/beets/bin/beet", line 11 in
[1]    4507 segmentation fault  beet -v import Smoking\ Monkey

Great; thanks! Since I don't currently have a system running with the appropriate Freedesktop libraries, I'll defer to @brunal here.

Hi,
Since the types are set for ctypes call there shouldn't be a segfault. This is really strange.
I'm currently traveling around quite a lot so I'm note sure if I'll have time to look at it within the next 2 weeks.

It is strange indeed. We probably even shouldn't rule out a bug in the gio library.
Safe travels, @brunal! There's no hurry, of course.

I can reproduce this on Fedora 21 also with glib 2.42.2

I have a probably related issue when issuing a direct call to the thumbnails plugin:
plugin paths:
Sending event: pluginload
artresizer: method is (2, (6, 9, 1))
thumbnails: using IM to write metadata
thumbnails: using GIO to compute URIs
library database: /media/sao/Musique/beets.blb
library directory: /media/sao/Musique
Sending event: library_opened
thumbnails: using IM to write metadata
thumbnails: using GIO to compute URIs
thumbnails: generating thumbnail for 65daysofstatic - Hole
Erreur de segmentation (core dumped)

Beets is 1.3.14, glib library is 2.44.1, running on Archlinux.

Hi,
It seems that this problem disappears when setting threaded: false in the config file.
Hope it helps !

As requested by @sampsyo, I'm adding my bit of info about this issue:

I recently updated my Fedora 22 to 23. After the update, the thumbnails plugin segfaults. I have tested this issue in fresh VM installation of Fedora 22 and Fedora 23 – the same issue occurred on the newer OS.
Both VMs ran newest beets and had ImageMagick installed (<IP_ADDRESS> on Fedora 22, <IP_ADDRESS> on Fedora 23):
[bruno@localhost ~]$ beet version
beets version 1.3.15
plugins: embedart, fetchart, fuzzy, thumbnails

…and the same config (output of beet config:
fetchart:
    cautious: yes
    sources: coverart albumart google
    auto: no
    minwidth: 0
    maxwidth: 0
    cover_names:
    - cover
    - front
    - art
    - album
    - folder
    remote_priority: no
    enforce_ratio: no
thumbnails:
    auto: no
    dolphin: no
    force: no
embedart:
    auto: no
    compare_threshold: 0
    ifempty: no
    remove_art_file: no
    maxwidth: 0

plugins: fuzzy fetchart embedart thumbnails
fuzzy:
    threshold: 0.7
    prefix: '~'

On Fedora 22 the thumbnails plugin works correctly and the folder thumbnails are present in Nautilus:
[bruno@fedora22 ~]$ beet -vv thumbnails -f
user configuration: /home/bruno/.config/beets/config.yaml
data directory: /home/bruno/.config/beets
plugin paths:
Sending event: pluginload
library database: /home/bruno/.config/beets/library.db
library directory: /home/bruno/Music
Sending event: library_opened
artresizer: method is (2, (6, 8, 8))
thumbnails: using IM to write metadata
thumbnails: using GIO to compute URIs
thumbnails: generating thumbnail for Wojciech Bąkowski - Kształt
thumbnails: found a suitable 256x256 thumbnail for Wojciech Bąkowski - Kształt, forcing regeneration
artresizer: ImageMagick resizing /home/bruno/Music/Wojciech Bąkowski/Kształt/cover.jpg to /home/bruno/.cache/thumbnails/large/76177378dc73dd856f8a83e758662b68.png
thumbnails: found a suitable 128x128 thumbnail for Wojciech Bąkowski - Kształt, forcing regeneration
artresizer: ImageMagick resizing /home/bruno/Music/Wojciech Bąkowski/Kształt/cover.jpg to /home/bruno/.cache/thumbnails/normal/76177378dc73dd856f8a83e758662b68.png
thumbnails: wrote thumbnail for Wojciech Bąkowski - Kształt
Sending event: cli_exit

On Fedora 23 the thumbnails plugin causes segmentation fault:
[bruno@fedora23 ~]$ beet -vv thumbnails -f
user configuration: /home/bruno/.config/beets/config.yaml
data directory: /home/bruno/.config/beets
plugin paths:
Sending event: pluginload
library database: /home/bruno/.config/beets/library.db
library directory: /home/bruno/Music
Sending event: library_opened
artresizer: method is (2, (6, 9, 1))
thumbnails: using IM to write metadata
thumbnails: using GIO to compute URIs
thumbnails: generating thumbnail for Wojciech Bąkowski - Kształt
Segmentation fault (core dumped)

PIP version and installed packages on

Fedora 22:

[bruno@fedora22 ~]$ pip -V
pip 7.1.2 from /usr/lib/python2.7/site-packages (python 2.7)
[bruno@fedora22 ~]$ pip list
backports.ssl-match-hostname (<IP_ADDRESS>)
beets (1.3.15)
blivet (1.0.9)
chardet (2.2.1)
coverage (4.0a5)
decorator (3.4.0)
di (0.3)
dnf-langpacks (0.9.1)
enum34 (1.0.4)
iniparse (0.4)
initial-setup (0.3.31)
IPy (0.81)
jellyfish (0.5.1)
kitchen (1.2.1)
langtable (0.0.31)
munkres (1.0.7)
musicbrainzngs (0.5)
mutagen (1.31)
ntplib (0.3.2)
pathlib (1.0.1)
pexpect (3.1)
pip (7.1.2)
pwquality (1.2.4)
pycurl (<IP_ADDRESS>)
pygobject (3.16.1)
pygpgme (0.3)
PyIscsi (1.0)
pykickstart (1.99.66)
pyliblzma (0.5.3)
pyparted (3.10.3)
python-augeas (0.5.0)
python-dmidecode (3.10.13)
python-meh (0.38)
pytz (2012d)
pyudev (0.16.1)
pyxattr (0.5.3)
pyxdg (0.25)
PyYAML (3.11)
requests (2.6.2)
rpm-python (<IP_ADDRESS>)
setuptools (12.0.3)
six (1.9.0)
slip (0.6.1)
slip.dbus (0.6.1)
SSSDConfig (1.12.4)
Unidecode (0.4.18)
urlgrabber (3.10.1)
urllib3 (1.10.2)
yum-metadata-parser (1.1.4)
[bruno@localhost ~]$

Fedora 23:

[bruno@fedora23 ~]$ pip -V
pip 7.1.2 from /usr/lib/python2.7/site-packages (python 2.7)
[bruno@fedora23 ~]$ pip list
beets (1.3.15)
chardet (2.2.1)
enum34 (1.0.4)
iniparse (0.4)
jellyfish (0.5.1)
kitchen (1.2.1)
munkres (1.0.7)
musicbrainzngs (0.5)
mutagen (1.31)
pathlib (1.0.1)
pexpect (3.1)
pip (7.1.2)
pycurl (<IP_ADDRESS>)
pygobject (3.18.0)
pygpgme (0.3)
pyliblzma (0.5.3)
pyxattr (0.5.3)
pyxdg (0.25)
PyYAML (3.11)
requests (2.8.1)
rpm-python (4.13.0rc1)
setuptools (18.0.1)
six (1.9.0)
Unidecode (0.4.18)
urlgrabber (3.10.1)
yum-metadata-parser (1.1.4)

The core dump is available at https://www.dropbox.com/s/sl2i3hs62fx7gi1/beets-coredump.zip?dl=0 . Unfortunately, I don't have the experience to debug this myself. Could this be related to the migration to Python 3 as the default in the newest release?

Unfortunately, the fix suggested by @bcalou did not work for me – thumbnails still segfaults after setting threaded to no.

I think I've found and fixed the problem. Could someone who experienced it in the wild please confirm that the crash is gone?

I don't have a Linux box to check that the thumbnail is here, but the crash is indeed gone :+1:

I installed the newest Beets using dnf install -U git+https://github.com/sampsyo/beets.git at commit<PHONE_NUMBER>f7db81ec6d17362e68a1d4a930bb7f . I can confirm that the thumbnails plugin works now.
[bruno@localhost ~]$ beet -vv thumbnails
user configuration: /home/bruno/.config/beets/config.yaml
data directory: /home/bruno/.config/beets
plugin paths:
Sending event: pluginload
library database: /home/bruno/.config/beets/library.db
library directory: /home/bruno/Music
Sending event: library_opened
artresizer: method is (2, (6, 9, 1))
thumbnails: using IM to write metadata
thumbnails: using GIO to compute URIs
thumbnails: generating thumbnail for Wojciech Bąkowski - Kształt
artresizer: ImageMagick resizing /home/bruno/Music/Wojciech Bąkowski/Kształt/cover.jpg to /home/bruno/.cache/thumbnails/large/76177378dc73dd856f8a83e758662b68.png
artresizer: ImageMagick resizing /home/bruno/Music/Wojciech Bąkowski/Kształt/cover.jpg to /home/bruno/.cache/thumbnails/normal/76177378dc73dd856f8a83e758662b68.png
thumbnails: wrote thumbnail for Wojciech Bąkowski - Kształt
Sending event: cli_exit

Woohoo! Great news.


[Discord Reborn 6] PTB Channel List Bug

The channel list looks like the default dark mode.
Image of the issue:

Fixing

Update that included this just hit discord

There seems to be some broken elements from this updatebreak on Quiet too

many elements in reborn are the default dark mode color instead of the theme color


Promise.resolve can only return one value

I prefer changing it to resolve({rows, rowAffected, insertId, sql}) instead of array. that seems good.


Handlebars AMD version

Hello, where can I get a AMD runtime version of the handlebars v2?

https://github.com/wycats/handlebars.js/issues/948

The UMD builds defined here https://github.com/components/handlebars.js/blob/master/handlebars.runtime.js are the current recommendation. There is a standalone amd build in that repository as well but there have been reports of it not working in all environments.


uv add workspace fails misteriously from git but not locally

I tried to add as a dependency to a project a workspace that is found on git by doing
uv init
uv add git+https://github.com/NeuralQXLab/omnia  --no-sync

this fails with the error
❯ uv add git+https://github.com/NeuralQXLab/omnia  --no-sync
 Updated https://github.com/NeuralQXLab/omnia (5d97a5b)
error: Requirements contain conflicting URLs for package `netket` in split `python_full_version == '3.12.*'`:
- file:///Users/filippo.vicentini/.cache/uv/git-v0/checkouts/75e22c3618b1966a/5d97a5b/external/netket
- file:///Users/filippo.vicentini/.cache/uv/git-v0/checkouts/75e22c3618b1966a/5d97a5b/external/netket

Instead, if I do the same but from a cloned version of the workspace, it just works
uv init
git clone https://github.com/NeuralQXLab/omnia
uv add ./omnia

While the workspace is private, the structure is something that looks like
# omnia/pyproject.toml
[project]
name = "omnia"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
    "ipykernel>=6.29.5",
    "netket",
    "netket_pro",
    "netket_checkpoint",
    "deepnets",
]

[tool.uv]
dev-dependencies = [
    "networkx>=3.4.2",
    "pytest-xdist>=3.6.1",
    "pytest>=8.3.3",
]

[tool.uv.sources]
netket = { workspace = true }
netket_pro = { workspace = true }
netket_checkpoint = { workspace = true }
deepnets = { workspace = true }

[tool.uv.workspace]
members = ["packages/*", "utils/*", "external/netket"]
exclude = ["utils/jax-rocm-autoinstall"]

However the error is not very telling, and I do not understand what I can do to fix it.

Are you on a fairly recent version of uv? \cc @konstin

Separately @konstin any idea how we're getting that specific error when the URLs are the same...?

❯ uv --version
uv 0.4.30 (61ed2a236 2024-11-04)
Here is the gist of the error when running in verbose mode.
https://gist.github.com/PhilipVinc/b6929ae0d315a90cd08df864bc839e83

@charliermarsh I cleaned up the workspace to publish it.
You can run the following to reproduce
mkdir test
cd test
uv init
uv add git+https://github.com/PhilipVinc/uvtest

It looks like while the VerbatimUrls are the same, the ParsedUrls differ. In particular, the fork has an existing url that's a ParsedUrl::Git and we're trying to replace it with a ParsedUrl::Directory (see below). I'm guessing the former is because the add command is given a git url and then tool.uv.sources gives us a relative URL for netket on top of that. I'm unfamiliar with this part of the code and thus as of yet unsure where the Directory url is coming from. For reference, here's the check that's failing.
 That means if you depend on A in a git repo and A depends on B in that same git repo, we get B as a directory. If you also depend on B from that git repo, we get the conflict. I had hoped to have fixed that in https://github.com/astral-sh/uv/pull/8665, but apparently this branch is still wrong.

I could maybe take a swing at this but could use some pointers on where to look for things

The workspace section of lowering.rs as well as the workspace discovery in workspace.rs are probably the best starting points, esp. https://github.com/astral-sh/uv/pull/8665/files#diff-56eaccbf913b25ab6ebc621027c1e8e66017e9c353001cf69c16a235e5323072R224-R241. My hunch is this is similar to #8665 overall.

@konstin I'm not very familiar with rust, but I think that the condition you linked to above is correct.
The problem is that let source = if let Some(git_member)  tests False because LoweredRequirement::from_requirement( is called with a git_member that is None in requires_dist.
I'm unsure how to proceed from here, however..

Ok, some more debugging lead me to the conclusion that:

the first time that uv calls git_metadata the check if Some(metadata) passes, so the git_member gets constructed correctly.
When parsing the dependencies of the sub package, and getting the git metadata the condition above fails so we end up hitting the cache here where the git repository is not built.

By changing those lines to
            if let Some(metadata) = read_cached_metadata(&metadata_entry).await? {
                let path = if let Some(subdirectory) = resource.subdirectory {
                    Cow::Owned(fetch.path().join(subdirectory))
                } else {
                    Cow::Borrowed(fetch.path())
                };
                let git_member = GitWorkspaceMember {
                    fetch_root: fetch.path(),
                    git_source: resource,
                };
                    return Ok(ArchiveMetadata::from(
                    Metadata::from_workspace(
                        metadata,
                        &path,
                        Some(&git_member),
                        self.build_context.locations(),
                        self.build_context.sources(),
                        self.build_context.bounds(),
                    )

my ignorant test case (cargo run run --with git+https://github.com/PhilipVinc/uvtest python) works

Ah!
I think I understand.

For a git dependency that is a workspace, we first clone the repository to the cache dir, then do workspace discovery inside the cache directory. That means if you depend on A in a git repo and A depends on B in that same git repo, we get B as a directory. If you also depend on B from that git repo, we get the conflict. I had hoped to have fixed that in https://github.com/astral-sh/uv/pull/8665 by rewriting the directory back to a git URL, but apparently this branch is still wrong.

The error stems when any among repository A or B have a dynamic pyproject.toml file.
The logic is too hard for me to follow, but I believe that if they have a dynamic pyproject file uv does not reuse the git workspace information...

Is the new github repo you changed the example to public? I'm not seeing it on github

I went to go do some more debugging here and it seems to work at a513301b7

However I suspect that this change breaks ùv`

Was looking at this again, I don't see any immediate problems with this, and doesn't seem to cause any issues with the test suite (I do have 3 failing tests locally but 2 are due to rate limiting and the last one fails even without the change, so I'm assuming it's irrelevant).
@konstin wdyt?

Threw something up at #9388. If you think the PR makes sense I can get into writing some tests

The PR code makes sense to me


add mbedtls support

@bugparty Why have you picked exactly the mbedtls? I see there are 4 possible libraries for https enabling:

libtls
openssl
gnutls
mbedtls

What is your reasoning?

mbedtls is the easiest one to build, gnutls and openssl is not easy to
compile in android.
Oleksandr Berezhnyi @.***> 于2022年6月20日周一 19:41写道：

@bugparty https://github.com/bugparty Why have you picked exactly the
mbedtls? I see there are 4 possible libraries for https enabling:

libtls
openssl
gnutls
mbedtls

What is your reasoning?
—
Reply to this email directly, view it on GitHub
https://github.com/Javernaut/ffmpeg-android-maker/pull/64#issuecomment-1160340155,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALQ26GT4GYT4YQOFVXTQ3LVQBKGHANCNFSM5ZH7UWHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

openssl and gnutls is not using autoconf, instead they use custom build scripts, I can not make them easily, but mbedtls uses cmake, this project has cmake template so it is easy to build.
besides, mbedtls is an execellent alternative to openssl.

OK, got it, I was a little bit worried about your safety last week.
have a nice day:)

Please review,all the requirements are fullfilled


[Improve][Connector-V2][GoogleSheets] Unified exception for GoogleSheets source connector

Purpose of this pull request
sub-task of #2930
close #3523

Check list

[x] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

@TyrantLucifer @Hisoka-X PTAL, thanks

@EricJoy2048 PTAL, thanks


Dropped dbname variable and set QUOTED_IDENTIFIER to ON

To prepare these scripts for future development purpose:

Modify the scripts to SET QUOTED_IDENTIFIER to 'ON' -- run sqlcmd with -I and bcp with -q
Also drop 'Use DbName' or the use of dbname variable

Coverage remained the same at 72.261% when pulling 9c70bdce0dd5928c5fea6a4fbe89de389aa7c926 on yitam:testDB into 4efb54e45a80e1d8839b5cd655c091e6f13b717c on Microsoft:dev.

Codecov Report

Merging #911 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #911   +/-   ##
=======================================
  Coverage   80.37%   80.37%
=======================================
  Files          25       25
  Lines        7731     7731
=======================================
  Hits         6214     6214
  Misses       1517     1517

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 4efb54e...a578b22. Read the comment docs.


[SQL] when SQL has more ';' then return unexcpted result

What happened:
When I run SQL select * from student order by id ;; in mycli command line. Got unexcepted result and command line can not exist.
What you expected to happen:
Clear results and errors? 🤔
How to reproduce it (as minimally and precisely as possible):

Start arana server in local Mac.
Connect arana using Mycli.
Run SQL select * from student order by id ;;

Anything else we need to know?:

Thanks for pointing out @icrzye .

This is a bug caused by empty query, and it's not supported yet, I'll add a patch to fix it. Thanks for figure out.


CSRNDArray from/to scipy csr_matrix; fix rand_shape_nd

Added preliminary/inefficient support so that user can

construct CSRNDArray from scipy csr_matrix.
convert CSRNDArray to scipy csr_matrix
throw exception when setters for indices/data/indptr are called.

Also fixed rand_shape_nd so that it returns tuple (consistent w/ rand_shape_2d)
TODO in next PR:

move copy logic to cpp backend to reduce copy/blocking.

@reminisce @anirudh2290

Done

Added better err msg for mx.nd.sparse.array.


Mute barbarian assault cannon sound

Suggesting an option to mute the cannon in barbarian assault. Standing next to it constantly makes a static noise.

If it constantly makes a static noise it is likely related to #2 and there isn't anything I can do about it, unfortunately :(


TS Marked Source for object properties and class members

This is a simple extension of the support we already have for marked
source on variable declarations. Class members and object properties are
given the context (property), matching what tsserver does.

ptal @evmar


when sliceType == sliceTypeRender right click causes blank canvas

This is because the selection box drawing mechanism. simplest option is to disable drawing the selection box when in 3D mode.

Closed by #40


Query syntax not defined

As a user when I have no details on how to use it for "advanced queries".
I suppose something along the lines of the example below might help with and without the exact match filter
winget search --id="Git.Git" -e
There is probably more example and might just need a tiny bit more examples of the switches use cases.
Thanks

The search command currently only accepts two parameters: a search term and a list of options.
winget search [[-q] <query>] [<options>]

If no options are defined the query term is searched across all metadata fields. The string will be treated as a substring - so there is no complex query language hidden behind this. The search by default is also case insensitive. The following options are used to limit that search to certain fields, e.g.

Option
Description

--id
Limits the search to the ID of the application. The ID includes the publisher and the application name.

--name
Limits the search to the name of the application.

--moniker
Limits the search to the moniker specified.

--tag
Limits the search to the tags listed for the application.

--command
Limits the search to the name of the application.

Source: Docs

I get it but in the docs I have seen no examples showing how to use the
switches, e.g. --id=something
Cheers
Manu
On Sun, 31 May 2020, 19:31 Sebastian N<EMAIL_ADDRESS>wrote:

The search command currently only accepts two parameters: a search term
and a list of options.
winget search [[-q] ] []
If no options are defined the query term is searched across all metadata
fields. The string will be treated as a substring - so there is no complex
query language hidden behind this. The search by default is also case
insensitive. The following options are used to limit that search to certain
fields, e.g.
Option Description
--id Limits the search to the ID of the application. The ID includes the
publisher and the application name.
--name Limits the search to the name of the application.
--moniker Limits the search to the moniker specified.
--tag Limits the search to the tags listed for the application.
--command Limits the search to the name of the application.
Source: Docs
https://docs.microsoft.com/windows/package-manager/winget/search
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/winget-cli/issues/374#issuecomment-636434402,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4R3AD4SP3JYQYTHVLCJNLRUIBTLANCNFSM4NO7MFYQ
.

I agree there is no guidance on how to resolve the desired package.
> winget install --id Git.Git
Multiple apps found matching input criteria. Please refine the input.
Name   Id         Version
-------------------------
Git    Git.Git    2.26.2
GitLFS Git.GitLFS 2.11.0

Please refine the input.

It "would be nice" if the install was interactive that the user would be prompted which selection they wished to install.

@KevM  Sorry, but your comment is not related to the original author's issue. The current issue with the -e/ --exact parameter has been discussed at length in various along with how the install command is to be used and even lead to the following spec #292 - winget should install an app if there is an exact match.md.

@ManuInNZ are you referring to adding some additional samples with options on https://docs.microsoft.com/windows/package-manager/ ?

Hi there
Sorry that was a long ago now.
I think my point was merely yes to suggest an amendment to the docs and providing query examples like the one I had.
Cheers
Manu

@ManuInNZ the documentation at https://docs.microsoft.com/windows/package-manager/winget/install has gone through several revisions. Do you believe it is clear enough at this point to close this issue?

@ManuInNZ the documentation at https://docs.microsoft.com/windows/package-manager/winget/install has gone through several revisions. Do you believe it is clear enough at this point to close this issue?

Happy with the updates, issue can be closed from my end.
Cheers
Manu
Thanks for following up.