text:
Installation error

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/create
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

I installed it, and repaired it twice. Still doesnt work

Hi @26mmangan! I'm sorry to hear you're running into problems.
This might be an issue with PATH.
Check the output of the where.exe dotnet command and if your system is x64 and the x86 path returns first, please follow the steps at https://github.com/dotnet/core/issues/5962#issuecomment-780084535 to fix the issue.
Let us know how that goes.

Ive reinstalled it a few times,

Doesn't look like it's working

Oh, it seems they changed the behavior. Let me check with the team and get back to you.

Looks like you are in the user space. You want the system one. You appear to be looking at the first box. You want the second one.

Can you show your system path?
Also, show the results of this:
C:\Users\rich>where dotnet
C:\Program Files\dotnet\dotnet.exe
C:\Users\rich>dotnet --version
8.0.100-preview.1.23115.2

Can you open the one I highlighted below?

The x86 is listed first there. Can you confirm what kind of machine you have?
Type system type on your windows toolbar and open the System Information app.
If System Type is x64, then you need to move down the x86 entry to be the last one.

I have a x64 machine. Will do.

Let us know if after the change, you can type dotnet commands. Make sure to open a new window.

Yes, I used a new window

Usually that step by step works 😢 @richlander any other suggestions?

Make sure to close the command prompt after changing the values in the environment variables.

I did, I restarted it twice

Done, alright thanks

And type where dotnet again to see where that is coming from.

That is very odd. Something is clearly injecting the x86 path. Which .NET versions do you have installed?
Like this:

That looks correct.
Can you show the output of set from your command prompt? It's really only the PATH variable I'm interested in.

That looks right.
Please show me where dotnet now and dotnet --info

This is the problem. You have an old 5.0 install on your machine that you need to remove.
Perhaps this was installed by Visual Studio. If you have that, can you go into the Visual Studio Installer and remove it from the installed components?

How do I do this?

This is my extensions list for VS Code if you need it.

This is VS Code. Do you have Visual Studio also installed?

@26mmangan it appears that you have x86 versions of .NET 5.0 WindowsDesktop runtime, which also carries NETCore runtime.
The easiest way to remove would be from Control Panel or Settings app, but if they don't show there, here's the alternative.

Download the following installer: https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-5.0.10-windows-x86-installer

Run the installation. You should get a dialog that says Modify Setup, with multiple options, one being Uninstall - proceed with that. In some rare cases, it's possible that you would see a regular dialog for first-time installation - you would proceed to install the product. After that, you'd run the installer again and choose Uninstall.

After .NET 5 is uninstalled, open a new command prompt and try the commands that were failing, or producing unexpected results, previously, i.e. dotnet --version and dotnet --info.

Successfully uninstalled, and reinstalled.

You re-installed .NET 5? Is there a reason for that? Also, you seem to have 5.0.10. Is there a reason you are using that version? If you need .NET 5, can you install 5.0.17? https://dotnet.microsoft.com/en-us/download/dotnet/5.0

No, I re installed .NET 6.0.407

You still have 5.0 installed. Did you try running the 5.0 installer and choosing uninstall?

Done.

@26mmangan can you share the outputs of dotnet --info and set PATH commands?

Thanks - it is odd. I understand that you installed and uninstalled 5.0.408 SDK, but have you tried to install (or repair) x86 version of 5.0.10 WindowsDesktop installer, and then run the same installer to uninstall it? I've shared the steps 2 days ago: https://github.com/dotnet/core/issues/8347#issuecomment-1496277810
It would be good to go through those steps and see if there is any improvement in dotnet --info and dotnet --version results.
I presume you are starting a new command window after each of these install/uninstall operations, as that is necessary to get the updated values of environment variables, like PATH.

That's great news! If dotnet --info also works, you have a working .NET SDK!

This looks resolved. Sorry that this was so hard.

authors: 26mmangan NikolaMilosavljevic mairaw richlander


text:
Failed to initialize CoreCLR, HRESULT: 0x80131500 on Linux Docker container

Hi,
Developing the app on Windows, it runs fine on Windows. When trying to run the published release build on CentOS7, it works fine. However running it on Linux container, it throws this error:Failed to initialize CoreCLR, HRESULT: 0x80131500
Creation of a new app inside the container and running it works, but I want to build on Windows and host on Linux container.
Dotnet info:
Product Information:
Version:            2.0.0
Commit SHA-1 hash:  cdcd1928c9
Runtime Environment:
OS Name:     ubuntu
OS Version:  14.04
OS Platform: Linux
RID:         ubuntu.14.04-x64
Base Path:   /usr/share/dotnet/sdk/2.0.0/
--- End breadcrumb write 0
Microsoft .NET Core Shared Framework Host
Version  : 2.0.0
Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d
Any Ideas?

Can you install strace in your container and run strace on dotnet? If your original command is:
 dotnet /path/to/dll

The strace version becomes
strace -o logfile dotnet /path/to/dll

And please upload logfile from the container to somewhere public.

Attached is the log file.
dotnetstracelog.txt

@janvorli looks like there is a lot of probing for System.Globalization.Native.so. Any thoughts?

Issue moved to dotnet/coreclr #14444 via ZenHub

source: gharchive/issue

authors: Parth6288 Petermarcu omajid

repo: dotnet/core

license: MIT

license_type: permissive

license_source: github-api


text:
Fix broken links in 2.1.3.md

Fix broken links for:

Changes in this release
Known Issues
Lifecycle

@leecow @jamshedd

@vivmishra

source: gharchive/pull-request

authors: Petermarcu jo-ninja leecow


text:
Add stress tests for Span APIs

Tests with multiple threads to confirm that Span APIs are stateless and thread safe
Tests with lots of GC allocations to confirm that when GC moves addresses around, the use of Span is still correct

@ahsonkhan, is that something we should track in corefx now?

Tracking this issue in https://github.com/dotnet/corefx/issues/28227 now. Closing.

authors: KrzysztofCwalina ahsonkhan

repo: dotnet/corefxlab

license: mit

license_source: bigquery


text:
Update xunit.perf to newer version and update README

We get capabilities to collect new metrics (and customize which metrics we want to see) with the latest package of xunit.performance.
Example:

--perf:collect default+BranchMispredictions+CacheMisses+InstructionRetired+gcapi

cc @jorive, @KrzysztofCwalina

Does it make sense to update the run.bat file too?

Does it make sense to update the run.bat file too?

Update the folder path to dotnetcli? That was done here: https://github.com/dotnet/corefxlab/pull/1872/files
Or are you suggesting adding the extra metrics to run.bat? If so, which ones would you like to see?

What are the default metrics we collect?

What are the default metrics we collect?

According to the README here, the default is Duration only (which is always enabled) along with any metrics specified in the test source.

--perf:collect default
Collect metrics specified in the test source code by using xUnit Performance API attributes


text:
ROB now hides items past its length

ReadOnlyBytes stores both a linked list of buffers and total length. But it exposes Rest property which returns the linked list, regardless of its length.
This change hides the ReadOnlyBytes.Rest property. The segments are accessed using the TryGet method, which will trim the last linked list segment and stop enumeration, if the enumeration moves past ReadOnlyBytes.Length.
cc: @ahsonkhan, @pakrym

Would be nice to have End cursor, it's often used in consumer code in kestrel especially for examined.

@dotnet-bot test Innerloop OSX10.12 Release Build and Test

Would be nice to have End cursor, it's often used in consumer code in kestrel especially for examined.

Could you point me to code showing how End is used?

Could you point me to code showing how End is used?

https://github.com/aspnet/KestrelHttpServer/blob/dev/src/Kestrel.Core/Internal/Http/Http1MessageBody.cs
https://github.com/aspnet/KestrelHttpServer/blob/dev/src/Kestrel.Core/Internal/Http/HttpParser.cs

@pakrym, we talked about this in person, I thought you guys were changing the reader to assume all was examined if consumed is not advanced. If we make the change, the APIs will be simpler and there won't be a need for End.

@KrzysztofCwalina what about usages for IndexOf? What if you want to consume to the end?

@dotnet-build-bot test Innerloop OSX10.12 Release Build and Test

If consume, you keep advancing as you go till you are at end (and so you have the end cursor, or you have advanced using indexes).

@KrzysztofCwalina all API's would have to return cursors then, for example CopyTo would have to tell you where it stopped copying.

I don't understand why. In most cases these operations return very short ranges and for these int index/offset should be used to advance. I might be missing something but advancing 20 bytes using a cursor seems like a lot of overhead. For example, I don't understand why parsing request line uses cursors. It consumes very small range and so it seems like it should return an int. The code that calls the method can advance using either cursors or ints. If it calls a method that return consumed int, it calls Advance(int). If it calls a method that returns a cursor, it calls Advance(Cursor). Would that not work?

No, we need a single way to do things or customer would have to merge cursors returned from one set of methods with int's returned from another set.
And how do you decide something would return a short range if it's not a fixed size method like ReadInt. Should CopyTo return int or cursor? What about IndexOf, ParseStartLine, ParseHeaders, ParseJson?
We would also need some methods to move cursor by the int amount.

Many, if not all APIs today use ints as the index/offset/length currency, so we need a way to translate ints to cursors anyway. And I don't think we can change BCL APIs to use cursors instead of ints. And so, CopyTo, and many of the other APIs you listed would return int, not cursor.
This is actually at the root of my position that we should be int first (as most consuming/processing APIs are int based). In fact, your APIs (e.g. buffer reader) do exactly that: they use ints internally and only once in a while the code/consumer translates the int the reader advanced to cursor position.

@KrzysztofCwalina difference is that in ReadableBufferReader  you don't have to walk the list to return a cursor. My goal is to avoid walking linked list in most situations and having Advance(int) is doing just that.

in ReadableBufferReader you don't have to walk the list to return a cursor.

Only because it was already walked (during processing), correct?

Yes, same as CopyTo on IReadOnlyMemorySequence or CursorOf - we walk sequence there so based on your logic have to return the cursor to the point where we stopped.

Not sure where I said that all APIs that walk the sequence have to return cursors.
CursorOf is a specific API for cases when the caller thinks they need a cursor
IReadOnlyMmeorySequence walks segments, not Ts, and so it uses "cursor"  (Position).
CopyTo is mainly used to stitch very small buffers at the boundary between two segments, so I definatelly don't propose it returns a cursor.

Rewriting parser to use cursors might help clarify things a little.
I don't think that re-walking segment list every time Advance is called is acceptable, we've seen large performance penalty when doing it.

I just added some perf tests that show that re-walking after ints are used does not seem to be a problem for short re walks like parsing headers and RL. I think the reason for it is that ints are super fast when doing small advances, the wins are so large in comparison to doing short advances using cursors, that the time to re walk later (sequentially) is not a big deal in comparison.

We've seen issues with large HTTP message bodies.

Can you provide info on the scenario? I would like to add a test and measure it.

authors: KrzysztofCwalina pakrym


text:
Allow rooting a generic method in RD.XML

Adds support for following syntax:
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
  <Application>
    <Assembly Name="repro">
      <Type Name="Program">
        <Method Name="SayHello">
          <GenericArgument Name="System.Object, System.Private.CoreLib" />
        </Method>
      </Type>
    </Assembly>
  </Application>
</Directives>

Since this is temporary code, I just twisted the RD.XML syntax a bit so that we can reuse the type string parser we have for custom attribute blobs.

@sergiy-k PTAL

@MichalStrehovsky, thank you! I assume that you checked that this is sufficient to allow rooting the generics method from https://github.com/dotnet/corert/issues/4444#issuecomment-328206168 in RD.xml instead of putting it in the code?

@MichalStrehovsky, thank you! I assume that you checked that this is sufficient to allow rooting the generics method from #4444 (comment) in RD.xml instead of putting it in the code?

I haven't actually tried with that, but the syntax should be along the lines of:
<Type Name="SharpYaml.Serialization.Descriptors.DictionaryDescriptor">
  <Method Name="GetGenericEnumerable" Dynamic="Required">
    <GenericArgument Name="System.String, System.Private.CoreLib" />
    <GenericArgument Name="System.Object, System.Private.CoreLib" />
  </Method>
</Type>

It should be possible to express anything with this syntax, unless there's multiple overloads of the method (overload handling would make this unnecessarily complicated so lets cross that bridge if we ever get there).

authors: MichalStrehovsky sergiy-k

repo: dotnet/corert


text:
[New article]: App host configuration

Proposed topic or title
App host configuration
Location in table of contents.
App Host
Reason for the article
The app host can be configured by setting values in launchSettings.json, e.g. https://github.com/dotnet/aspire/blob/9a59d122949de428321599c503da59c54fb673d6/playground/BrowserTelemetry/BrowserTelemetry.AppHost/Properties/launchSettings.json#L8-L15
I don't believe this are documented anywhere. The page can follow what the dashboard configuration page does.
Article abstract
Details about the configuration values for the app host.
Relevant searches
No response

We have this content for it now, perhaps we could expand this?
https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/launch-profiles

That mainly focuses on launch profiles for project resources.
There should be a doc that details the config options that can be added to the host launchSettings.json

authors: IEvangelist JamesNK

repo: dotnet/docs-aspire


text:
Methods without parameters?

In order to avoid confusion with methods with 0 parameters, I propose code formatting be added to "out" in the title "Calls to methods with out parameters". Thus it would be:
Calls to methods with out parameters

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

ID: 8047b417-55af-c6df-9333-f1e1c428e594
Version Independent ID: 8bcc16bb-c2d8-0b6d-af20-6958964efe9e
Content: Discards - C# Guide
Content Source: docs/csharp/discards.md
Product: dotnet-csharp
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Tagging @DuncanmaMSFT and @adkinn as an example of where code style in headers and TOC entries would be beneficial.

closing after transferring to MicrosoftDocs/feedback#2033

authors: BillWagner Narvey

repo: dotnet/docs


text:
Initial extension member example is incorrect

[<Extension>]
type Extensions() =
    [static] member self-identifier.extension-name (ty: typename, [args]) =
        body
    ...

static is not optional and each member should be annotated with [<Extension>]

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

ID: 640cc89f-e2da-021c-daf3-68f6772ffabf
Version Independent ID: 1df801b1-3a11-0aa5-44d7-78c5e2751393
Content: Type Extensions - F#
Content Source: docs/fsharp/language-reference/type-extensions.md
Product: dotnet-fsharp
GitHub Login: @cartermp
Microsoft Alias: phcart

Thanks @cartermp

yeet

authors: NinoFloris cartermp


text:
Wrong key

Press Shift+F5 to compile and run the program without debugging.nter feedback here]
should be Ctrl+F5

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

ID: 8df4bc4b-88e1-a629-fcbd-6808b4f7308c
Version Independent ID: 87d3afdd-d7d5-35d7-0718-63dadc4eab1d
Content: Create a .NET Standard class library using Visual Studio - .NET Core
Content Source: docs/core/tutorials/library-with-visual-studio.md
Product: dotnet-core
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

Thanks for reporting that!


text:
Incorrect syntax - TestPriority

Code:
string assemblyName = typeof(TestPriorityAttribute).AssemblyQualifiedName!;
Right:
string assemblyName = typeof(TestPriorityAttribute).AssemblyQualifiedName;
Remove the "!" Character?

The ! is there because the code is written in nullable-enabled context. See null-forgiving operator for more information. While the code is correct, I think it should either be made clear it's written in nullable-enabled context, or disable nullable.
@IEvangelist Can you add the document details to the original issue?

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

ID: a17b1fbc-2e79-c453-ef83-2ffff1683d5c
Version Independent ID: b82fafa9-47c1-1c5a-93a3-669782e915eb
Content: Order unit tests - .NET
Content Source: docs/core/testing/order-unit-tests.md
Product: dotnet-fundamentals
GitHub Login: @IEvangelist
Microsoft Alias: dapine

I get an error when I inform the "!" (Cancellation) in my project.
string assemblyName = typeof(TestPriorityAttribute).AssemblyQualifiedName!;
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS8370	Feature 'nullable reference types' is not available in C# 7.3. Please use language version 8.0 or greater.	Util	C:\Users\BSI93387\Source\Repos\bs2.credito.tst.automacao\src\Util\Config\Orderers.cs	37	Active
Even updating to version 8.0 the error persists (I am updating only the project).

@WilliamMega You need to also enable nullable reference types feature after upgrading to C# 8.0. See Nullable reference types for more information.

Perfeito e muito obrigado @Youssef1313.
I'm trying to order the execution of my tests and even using the code in the link below:
https://docs.microsoft.com/en-us/dotnet/core/testing/order-unit-tests?pivots=xunit
Here is an excerpt from my code, below:
namespace Bs2.Credito.Antecipacao.Empresa.Bff.Tests
{
[Collection("DadosCliente")]
[TestCaseOrderer("Util.Config.Orderers.PriorityOrderer", "Bs2.Credito.Antecipacao.Empresa.Bff.Tests")]
public class TestObterDadosClienteTests : TestBase, IDisposable
{

    [Fact(DisplayName = "DadosCliente 2"), TestPriority(2)]
    [Trait("Categoria", "Integration")]
    public async Task DadosCliente2_DeveRetornarSucesso()
    {
                 ...........
    }

    [Fact(DisplayName = "DadosCliente 1"), TestPriority(1)]
    [Trait("Categoria", "Integration")]
    public async Task DadosCliente1_DeveRetornarSucesso()
    {
                 ...........
    }
}

}
But the ordering is not working properly, could you help me?
I emphasize that the execution is happening like this:

DadosCliente 2 - 01/03/2021 - 09:46:27

DadosCliente 1 - 01/03/2021 - 09:46:35

I'm not sure. @IEvangelist Would you be able to assist here?

Ok I just saw you have a separate issue for this (https://github.com/dotnet/docs/issues/23044). Should this one be closed?

The ! is there because the code is written in nullable-enabled context. See null-forgiving operator for more information. While the code is correct, I think it should either be made clear it's written in nullable-enabled context, or disable nullable.
~IEvangelist Can you add the document details to the original issue?~

I updated the the item with the doc info, thanks. I'll bring this situation up for discussion.

Resolved.

netcoreapp3.1
enable
8.0

authors: WilliamMega Youssef1313 adegeo


text:
Typo 'surpress' in sidebar menu and page title

Couldn't find where to edit this.

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

ID: 5024fa30-1120-04be-76f7-3bf77a94cfa1
Version Independent ID: 500270dc-2a10-f593-23da-a1baa6893c2a
Content: Surpress emitting localsinit flag - C# 9.0 specification proposals
Content Source: proposals/csharp-9.0/skip-localsinit.md
Product: dotnet-csharp
Technology: csharp-spec
GitHub Login: @dotnet-bot
Microsoft Alias: wiwagn

Opened #23994 to fix this.


text:
H1 title overlap with in-page navigation column

https://docs.microsoft.com/en-us/dotnet/api/system.func-17?view=netframework-4.7.2
Title is long: Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,TResult>
It overlaps with "in this article"

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

ID: d95cd525-746d-313d-b7f9-4d442d2319df
Version Independent ID: 930861a9-778b-7428-f582-58043958e890
Content: Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,TResult> Delegate (System)
Content Source: [xml/System/Func17.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System/Func17.xml)
Product: dotnet-api
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Thanks @zhiliangxu for reporting this issue. Given this is a problem with the docs platform, I've moved this to https://github.com/MicrosoftDocs/feedback/issues/622.

authors: mairaw zhiliangxu


text:
Add linux-arm64 to the portable RID list

Some users seem to be picking a non-portable RID instead. See https://github.com/dotnet/core/issues/4634.
I am not sure if this is 100% correct. Anyone more familiar with RIDs than me?

cc  @bartonjs  @wfurt


text:
Delete unused images

@gewarren, FYI. (Related to #19777)

Does the build detect if this breaks something?

Does the build detect if this breaks something?

Yes, build would flag a broken image link. How did you find these images?

How did you find these images?

@gewarren I wrote a small tool that gets the images from every subfolder, and searches if the image is referenced in any markdown or not.


text:
add January 2021

This has that some workaround for the single-item in the 2021 TOC node.
Internal review link

@IEvangelist Yes, the goal is to have a TOC that looks like:

2021

February
January

2020

December
November
October
September

Unfortunately, a node with a single child doesn't work.

Looks like we need to update the breadcrumb.

Unfortunately, a node with a single child doesn't work.

I just tried that and it seems to work fine -- https://review.docs.microsoft.com/en-us/dotnet/whats-new/2020-12?branch=tdykstra-patch-1

authors: BillWagner gewarren tdykstra


text:
Predict prices update

Update Predict Prices tutorial
Fixes #24827
Preview

@luisquintanilla I think this is good now and ready for an additional review.

@luisquintanilla It looks like all the requested changes have been made. Can you check and merge if appropriate?


text:
replacing msdn link

Related to #2037
Internal review link

@mairaw I get a 404 on the updated link.  Did I miss something?

The cross-repo links don’t work on staging. You need to change to master branch on the target url.
@jzeferino you can add docs.microsoft.com in front of that path and see if the link is right.

I can confirm the link is working properly. @mairaw

authors: BillWagner jzeferino mairaw


text:
PR triggers should be more flexible about their target branches

PR triggers today can apply to a specific branch.  We don't easily allow through the Utilities to apply to multiple branches.  This should be fixed.
In addition, a change to the ghprb should be made that can allow for the trigger to NOT apply to specific branches.
The other tracked branches for a repo should also be passed into the generators, so that logic like:
'Apply this PR trigger to master and to any other branch that isn't tracked'

:+1:

This is fixed by recent contributions to the GHPRB, pending merges and upgrades on our end.

authors: dilijev mmitche

repo: dotnet/dotnet-ci


text:
addPrivateGithubPRTrigger needs triggerPhaseOnly option

This is actually listed in the doc comment but not an actual parameter to the function.  I did a search on the dotnet org and found no active uses of this function hence it should not be a breaking change.

CC @mmitche, @smile21prc

LGTM

authors: jaredpar mmitche


text:
New code cells in F# default notebook are missing metadata, are treated as C#

Describe the bug
I mainly write notebooks for F# and PowerShell, with the occasional C# cell in the mix. The default notebook language setting is set to fsharp.
The last few times I worked with the notebooks, I noticed that new code cells show in the top bottom corner my default language setting "fsharp - F# Script Code". However, if valid F# code is entered in the cell, it gets a lot of red squiggles (screenshot 1). When executing the cell, there are a lot of CS errors, indicating that the code is treated as C# (screenshot 2).
When I open the notebook in a text editor, I see that the metadata node of the cell is empty. Other working cells have metadata indicating F# in there (screenshot 3). See also a gist of the file in that state: https://gist.github.com/FH-Inway/34984cfacc39b27e206873048a16fb3e?short_path=51a4666
When I explicitely set the code cell via the language selector in the bottom right corner to F#, all is well again.
When I close a notebook with such an "invalid" cell, it is opened again right away, showing unsaved changes. The cell can now be executed successfully and after saving the file, the cell shows F# metadata.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
Version: 1.0.522904+cdfa48b2ea1a27dfe0f545c42a34fd3ec7119074
Library version: 1.0.0-beta.24229.4+cdfa48b2ea1a27dfe0f545c42a34fd3ec7119074
Build date: 2024-05-05T09:37:02.5479468Z

OS

[x] Windows 11

Browser

[x] Edge

Frontend

[x] Visual Studio Code

Screenshots

Seeing same issue with PowerShell cells.

New polyglot notebook as PowerShell
In first code cell, already tagged as pwsh, run a command
Receive error The state of the current PowerShell instance is not valid for this operation.
Manually set the cell tag to pwsh, command runs as expected
Save file
Restart kernel
All cells that weren't manually tagged reset to C#

I downgraded to a few versions back to 1.0.4403* and saw similar results, though in the current version the save file retains the notebook level metadata, in those older versions even that would go away.

Since this keeps bugging me, a few more observations:
Observation 1

When a new notebook is created, it is created with an empty code cell as first cell. When the Default Notebook Language setting is set to fsharp, that cell shows "fsharp - F# Script" in the bottom right corner.
If that notebook is saved, a file is created, but the open file keeps the "unsaved" indicator. The cell now shows "csharp - C# Script" in the bottom right corner.
In the JSON of the file, the cell is listed with csharp in the metadata.
valid F# code is interpreted as C# code

Observation 2

Again, create a new notebook. This time, before saving, create a markdown cell before the first code cell.
When that notebook is saved, no "unsaved" indicator is shown after file creation.
The code cell still shows "fsharp - F# Script" in the bottom right corner.
The JSON of the file shows the code cell with fsharp in the metadata.
valid F# code is interpreted as F# code

Observation 3

Same steps as observation 2
then add a new code cell after the existing code cell; it is shown with "fsharp - F# Script" in the bottom right corner
after saving the file, no "unsaved" indicator is shown
JSON of the file shows the new code cell with "languageId": "polyglot-notebook" in the metadata
valid F# code in the new code cell is interpreted as C# code

I could keep going with all kinds of weird results, some reproducible, some not (at one time, I had a markdown cell with csharp language in the metadata). It seems every variation of sequence when a notebook is saved, when and where a new cell is added, when the cell is executed, ... results in a different outcome. Though none of the outcomes so far result in the expected behavior, that a new code cell is created as a fsharp cell. This makes it an inconsistent and frustrating user experience.
I'm now on the following version of .NET Interactive:
Version: 1.0.526301+dd3fefb929d456fa10b0b9f7e0b2c65f6cfbee93
Library version: 1.0.0-beta.24263.1+dd3fefb929d456fa10b0b9f7e0b2c65f6cfbee93
Build date: 2024-06-22T11:52:32.3437483Z
Still Windows 11, Edge and VSCode.

This bug is because when you click "+ code" to create a cell, the "metadata" field inside the json is not populated, so the cell is parsed as C# by default.
Example text view of problem cell:
{
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "ename": "Error",
     "evalue": "(1,10): error CS1002: ; expected",
     "output_type": "error",
     "traceback": [
      "(1,10): error CS1002: ; expected"
     ]
    }
   ],
   "source": [
    "let y = 5"
   ]
  }

Add metadata and it works
If I manually re-select the "fsharp" language in the bottom right of the code sell, the metadata gets set and I can run the code using the F# kernel.

{
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "dotnet_interactive": {
     "language": "fsharp"
    },
    "polyglot_notebook": {
     "kernelName": "fsharp"
    }
   },
   "outputs": [],
   "source": [
    "let y = 15"
   ]
  }

Thanks, that is the workaround I currently use. I hope we agree that this should not be the normal workflow for a user.

@brettfo It seems you did the change with #2712 where a new notebook is initialized with the default language setting. Do you have pointers on how to get started with changing the behavior when new code cells are being added to a notebook? I've been looking at the code in vscode-common for a while, commands.ts in particular. But nothing obvious has been jumping out at me so far.

Note that this affects only .ipynb files and not .dib files.
@DonJayamanne, does this ring any bells? It seems related to the removal of support for the custom metadata field and appeared around the time that was removed.

@jonsequitur @colombod
Is it possible to debug the .net extension and let me know where the problem lies in .net interactive.
I.e. are you able to repro this at your end.
Jupyter and Julia extensions also adopted the change to drop custom metadata and didn't run into any issues.

It sees that the edit sent to the cell and notebook metadata is not persisted. I wonder if this is also part of the issue that opening a notebook marks it as modified

@jonsequitur @colombod Is it possible to debug the .net extension and let me know where the problem lies in .net interactive. Also are you able to repro this at your end? Jupyter and Julia extensions also adopted the change to drop custom metadata and didn't run into any issues.

If you step into this 👍 https://github.com/dotnet/interactive/blob/c384f80cd128f9240f7e80205714bb023ca33a40/src/polyglot-notebooks-vscode-common/src/notebookControllers.ts#L84
you see we calculate the metadata but after the edit is not persisted.

metadata but after the edit is not persisted.

Please can you share where this edit is made, thanks a lot

it seems even i set the "Default notebook language" to be fsharp, the new cell is still c#. That's a bit troublesome to have to manually override every time a cell is created.

@DonJayamanne  this is the "race" we reported a while back. We need to deep test and isolate where the issue is, so far everything points to internal implementations in the vs side, but still need to isolate this.

The same bug happened to me, and sometimes also cannot correctly refer namespace.
#r "nuget: Microsoft.Data.Analysis"
open Microsoft.Data.Analysis
DataFrame.LoadCsv("xxx")  // error

authors: DonJayamanne FH-Inway Snozzberries arisliang colombod jonsequitur nhirschey visitantz

repo: dotnet/interactive


text:
move to a more standard DSL for F# HTML

This adjusts the HTML DSL for F# as described in https://github.com/dotnet/interactive/issues/687
Also includes #688 to trim back on default namespaces
Typical F# html code looks like this
open Html  // opens Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers.Html

let register (df:DataFrame) (writer:TextWriter)
    let take = 20
    table [] [
      thead [] [
        th [] [i [ str "index"]]
        for c in df.Columns -> th [] [c.Name]
      ]
      tbody [] [
        for i in 0 .. min take (int df.Rows.Count - 1) do
          td [] [ object i ]
          for o in df.Rows.[int64 i] do
            td [] [ object o ]
      ]
    ]
    |> writer.Write
Formatter<DataFrame>.Register( (fun df writer -> register df writer), mimeType = "text/html")

TODO:

[x] please check design
[x] check the notebooks I adjusted by hand

This is ready

I went through all the F# docs for formatting to make sure things were adding up.
Along the way I merged the "HTML.ipynb" into the "Displaying Outputs" and also renamed the notebook files so they don't have spaces in their names, to help me get the cross-references right.
I also added a fix and testing for #703.

I also relented on a little on the question of which namespaces are open for F# and also included these by default:
open System
open System.IO
open System.Text

I'll add this to the documentation.

OK, I've added a document on the F# notebook programming model.

@jonsequitur @colombod ready again

I've adjusted for code review (would love to get this one in as I'm needing it in documentation etc.)


text:
Object reference not set to an instance of an object.

System Information (please complete the following information):

Model Builder or CLI Version:
Visual Studio Version (if applicable):

Describe the bug

On which page of the tutorial did you run into an issue (URL):
Clear description of the problem:

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
2022-07-29 17:00:01.2852 INFO Set log file path to C:\Users\NghiepHT\AppData\Local\Temp\MLVSTools\logs\EventTitle-F3GLU9.txt (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-07-29 17:04:04.3264 DEBUG AutoMLType: Octopus (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:04:04.4095 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:04.4165 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel finished. Elapsed 00:00:00.0084149. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:04.4165 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:04.4386 INFO start nni training (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-07-29 17:04:04.4495 INFO Experiment output folder: C:\Users\NghiepHT\AppData\Local\Temp\AutoML-NNI\Experiment-GSQGCK (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-07-29 17:04:04.4495 DEBUG row count is unknown, count it explicitly (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:04:04.4642 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.5518 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:05.0877488. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.5518 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.5518 DEBUG count elapse 5101ms (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:04:09.5607 INFO |     Trainer                              MicroAccuracy  MacroAccuracy  Duration #Iteration                     | (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-07-29 17:04:09.6049 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.6049 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel finished. Elapsed 00:00:00.0009916. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.6049 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.6049 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.6049 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel finished. Elapsed 00:00:00.0000251. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.6049 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.6418 TRACE [Source=Saving data, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.6418 TRACE [Source=BinarySaver; Saving, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.6638 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.6709 TRACE [Source=Shuffle; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7140 TRACE [Source=GenerateNumber; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7140 TRACE [Source=RangeFilter; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7140 TRACE [Source=SelectColumnsDataTransform; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7303 TRACE [Source=Shuffle; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:00.0592287. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7303 TRACE [Source=Shuffle; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7303 TRACE [Source=GenerateNumber; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:00.0162112. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7303 TRACE [Source=GenerateNumber; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7303 TRACE [Source=RangeFilter; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:00.0136236. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7303 TRACE [Source=RangeFilter; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7303 TRACE [Source=SelectColumnsDataTransform; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:00.0125793. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7303 TRACE [Source=SelectColumnsDataTransform; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7303 TRACE [Source=BinarySaver; Saving, Kind=Trace] Channel finished. Elapsed 00:00:00.0846597. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7303 TRACE [Source=BinarySaver; Saving, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7303 TRACE [Source=Saving data, Kind=Trace] Channel finished. Elapsed 00:00:00.0892988. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.7303 TRACE [Source=Saving data, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:04:09.8172 DEBUG Shuffle input cursor reader failed with an exception
at Microsoft.ML.Transforms.RowShufflingTransformer.Cursor.MoveNextCore()
at Microsoft.ML.Data.RootCursorBase.MoveNext()
at Microsoft.ML.Data.LinkedRowFilterCursorBase.MoveNextCore()
at Microsoft.ML.Data.RootCursorBase.MoveNext()
at Microsoft.ML.Data.IO.BinarySaver.RowsPerBlockHeuristic(IDataView data, ColumnCodec[] actives)
at Microsoft.ML.Data.IO.BinarySaver.SaveData(Stream stream, IDataView data, Int32[] colIndices)
at Microsoft.ML.Data.DataSaverUtils.SaveDataView(IChannel ch, IDataSaver saver, IDataView view, Stream stream, Boolean keepHidden)
at Microsoft.ML.BinaryLoaderSaverCatalog.SaveAsBinary(DataOperationsCatalog catalog, IDataView data, Stream stream, Boolean keepHidden)
at Microsoft.ML.ModelBuilder.AutoMLService.Proposer.ResampleStrategyProposer.Initialize(String outputFolder) in //src/Microsoft.ML.ModelBuilder.AutoMLService/Proposer/ResampleStrategyProposer.cs:line 99
at Microsoft.ML.ModelBuilder.AutoMLService.Proposer.ResampleStrategyProposer.Propose(TrialParameter trialParameter) in //src/Microsoft.ML.ModelBuilder.AutoMLService/Proposer/ResampleStrategyProposer.cs:line 61
at Microsoft.ML.ModelBuilder.AutoMLService.Proposer.Controller.Propose() in //src/Microsoft.ML.ModelBuilder.AutoMLService/Proposer/Controller.cs:line 58
at Microsoft.ML.ModelBuilder.AutoMLService.Experiments.LocalAutoMLExperiment.d__15.MoveNext() in //src/Microsoft.ML.ModelBuilder.AutoMLService/Experiments/LocalAutoMLExperiment.cs:line 136
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.AutoMLEngine.d__21.MoveNext() in //src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:line 167   at StreamJsonRpc.JsonRpc.d__1431.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.<<StartTrainingAsync>b__109_0>d.MoveNext() (Microsoft.ML.ModelBuilder.Utils.Logger.Debug) 2022-07-29 17:08:38.8925 DEBUG AutoMLType: Octopus (Microsoft.ML.ModelBuilder.Utils.Logger.Debug) 2022-07-29 17:08:38.8925 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:38.8925 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel finished. Elapsed 00:00:00.0003120. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:38.8925 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:38.8925 INFO start nni training (Microsoft.ML.ModelBuilder.Utils.Logger.Info) 2022-07-29 17:08:38.8925 INFO Experiment output folder: C:\Users\NghiepHT\AppData\Local\Temp\AutoML-NNI\Experiment-HYUCB1 (Microsoft.ML.ModelBuilder.Utils.Logger.Info) 2022-07-29 17:08:38.8925 DEBUG row count is unknown, count it explicitly (Microsoft.ML.ModelBuilder.Utils.Logger.Debug) 2022-07-29 17:08:38.8925 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:04.4466808. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 DEBUG count elapse 4446ms (Microsoft.ML.ModelBuilder.Utils.Logger.Debug) 2022-07-29 17:08:43.3439 INFO |     Trainer                              MicroAccuracy  MacroAccuracy  Duration #Iteration                     | (Microsoft.ML.ModelBuilder.Utils.Logger.Info) 2022-07-29 17:08:43.3439 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel finished. Elapsed 00:00:00.0000477. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel finished. Elapsed 00:00:00.0000183. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=Saving data, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=BinarySaver; Saving, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=Shuffle; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=GenerateNumber; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=RangeFilter; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=SelectColumnsDataTransform; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=Shuffle; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:00.0021510. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=Shuffle; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=GenerateNumber; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:00.0003731. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=GenerateNumber; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=RangeFilter; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:00.0003317. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=RangeFilter; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=SelectColumnsDataTransform; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:00.0003533. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 TRACE [Source=SelectColumnsDataTransform; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:08:43.3439 DEBUG Shuffle input cursor reader failed with an exception    at Microsoft.ML.Transforms.RowShufflingTransformer.Cursor.MoveNextCore()    at Microsoft.ML.Data.RootCursorBase.MoveNext()    at Microsoft.ML.Data.LinkedRowFilterCursorBase.MoveNextCore()    at Microsoft.ML.Data.RootCursorBase.MoveNext()    at Microsoft.ML.Data.IO.BinarySaver.RowsPerBlockHeuristic(IDataView data, ColumnCodec[] actives)    at Microsoft.ML.Data.IO.BinarySaver.SaveData(Stream stream, IDataView data, Int32[] colIndices)    at Microsoft.ML.Data.DataSaverUtils.SaveDataView(IChannel ch, IDataSaver saver, IDataView view, Stream stream, Boolean keepHidden)    at Microsoft.ML.BinaryLoaderSaverCatalog.SaveAsBinary(DataOperationsCatalog catalog, IDataView data, Stream stream, Boolean keepHidden)    at Microsoft.ML.ModelBuilder.AutoMLService.Proposer.ResampleStrategyProposer.Initialize(String outputFolder) in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/Proposer/ResampleStrategyProposer.cs:line 99    at Microsoft.ML.ModelBuilder.AutoMLService.Proposer.ResampleStrategyProposer.Propose(TrialParameter trialParameter) in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/Proposer/ResampleStrategyProposer.cs:line 61    at Microsoft.ML.ModelBuilder.AutoMLService.Proposer.Controller.Propose() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/Proposer/Controller.cs:line 58    at Microsoft.ML.ModelBuilder.AutoMLService.Experiments.LocalAutoMLExperiment.<ExecuteAsync>d__15.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/Experiments/LocalAutoMLExperiment.cs:line 136 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.ML.ModelBuilder.AutoMLEngine.<StartTrainingAsync>d__21.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:line 167   at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__1431.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.<b__109_0>d.MoveNext() (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:08:43.3439 TRACE [Source=BinarySaver; Saving, Kind=Trace] Channel finished. Elapsed 00:00:00.0025416. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:08:43.3439 TRACE [Source=BinarySaver; Saving, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:08:43.3439 TRACE [Source=Saving data, Kind=Trace] Channel finished. Elapsed 00:00:00.0026494. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:08:43.3439 TRACE [Source=Saving data, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:09:11.4902 DEBUG AutoMLType: Octopus (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:09:11.4902 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:09:11.4941 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel finished. Elapsed 00:00:00.0001146. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:09:11.4941 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:09:11.4941 INFO start nni training (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-07-29 17:09:11.4941 INFO Experiment output folder: C:\Users\NghiepHT\AppData\Local\Temp\AutoML-NNI\Experiment-HYUCB1 (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-07-29 17:09:11.4941 DEBUG row count is unknown, count it explicitly (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:09:11.5480 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:09:24.6998 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:13.2036994. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:09:24.6998 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:09:24.6998 DEBUG count elapse 13203ms (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:09:24.6998 INFO |     Trainer                              MicroAccuracy  MacroAccuracy  Duration #Iteration                     | (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-07-29 17:09:24.9733 DEBUG select pipeline e0 * e1 * e2 * e3 * e4 * e5 * e6 * e7 * e17 * e18 * e19 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:09:24.9924 DEBUG sample size 10000 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:09:24.9924 DEBUG 9$L1Regularization:1,9$L2Regularization:1 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:09:25.0044 DEBUG update train dataset C:\Users\NghiepHT\AppData\Local\Temp\AutoML-NNI\Experiment-HYUCB1\train.bin (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:09:25.0163 INFO Trial 0 encounter error with message: Read only 0 bytes in file, expected header size of 256 (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-07-29 17:09:25.0163 DEBUG    at Microsoft.ML.Data.IO.BinaryLoader.InitHeader()
at Microsoft.ML.Data.IO.BinaryLoader..ctor(Arguments args, IHost host, Stream stream, Boolean leaveOpen)
at Microsoft.ML.BinaryLoaderSaverCatalog.LoadFromBinary(DataOperationsCatalog catalog, String path)
at Microsoft.ML.ModelBuilder.AutoMLService.LocalDispatcher.Run() in //src/Microsoft.ML.ModelBuilder.AutoMLService/Dispatcher/LocalDispatcher.cs:line 115
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.AutoMLService.LocalDispatcher.d__19.MoveNext() in //src/Microsoft.ML.ModelBuilder.AutoMLService/Dispatcher/LocalDispatcher.cs:line 153
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.AutoMLService.LocalDispatcher.d__16.MoveNext() in //src/Microsoft.ML.ModelBuilder.AutoMLService/Dispatcher/LocalDispatcher.cs:line 51 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:09:25.0303 DEBUG Object reference not set to an instance of an object.
at Microsoft.ML.ModelBuilder.AutoMLService.Proposer.PipelineProposer.Update(TrialParameter parameter, TrialResult result) in //src/Microsoft.ML.ModelBuilder.AutoMLService/Proposer/PipelineProposer.cs:line 254
at Microsoft.ML.ModelBuilder.AutoMLService.Experiments.LocalAutoMLExperiment.d__15.MoveNext() in //src/Microsoft.ML.ModelBuilder.AutoMLService/Experiments/LocalAutoMLExperiment.cs:line 161
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.AutoMLEngine.d__21.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:line 167   at StreamJsonRpc.JsonRpc.d__1431.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.<<StartTrainingAsync>b__109_0>d.MoveNext() (Microsoft.ML.ModelBuilder.Utils.Logger.Debug) 2022-07-29 17:10:19.7847 DEBUG AutoMLType: Octopus (Microsoft.ML.ModelBuilder.Utils.Logger.Debug) 2022-07-29 17:10:19.7847 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:19.7847 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel finished. Elapsed 00:00:00.0001092. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:19.7847 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:19.7847 INFO start nni training (Microsoft.ML.ModelBuilder.Utils.Logger.Info) 2022-07-29 17:10:19.7847 INFO Experiment output folder: C:\Users\NghiepHT\AppData\Local\Temp\AutoML-NNI\Experiment-Y7R983 (Microsoft.ML.ModelBuilder.Utils.Logger.Info) 2022-07-29 17:10:19.7847 DEBUG row count is unknown, count it explicitly (Microsoft.ML.ModelBuilder.Utils.Logger.Debug) 2022-07-29 17:10:19.7847 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2273 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:04.4376899. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2273 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2273 DEBUG count elapse 4437ms (Microsoft.ML.ModelBuilder.Utils.Logger.Debug) 2022-07-29 17:10:24.2273 INFO |     Trainer                              MicroAccuracy  MacroAccuracy  Duration #Iteration                     | (Microsoft.ML.ModelBuilder.Utils.Logger.Info) 2022-07-29 17:10:24.2273 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel finished. Elapsed 00:00:00.0000321. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel finished. Elapsed 00:00:00.0000178. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=RangeFilter; Checking parameters, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=Saving data, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=BinarySaver; Saving, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=Shuffle; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=GenerateNumber; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=RangeFilter; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=SelectColumnsDataTransform; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=Shuffle; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:00.0052112. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=Shuffle; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=GenerateNumber; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:00.0034465. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=GenerateNumber; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=RangeFilter; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:00.0033875. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=RangeFilter; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=SelectColumnsDataTransform; Cursor, Kind=Trace] Channel finished. Elapsed 00:00:00.0034041. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=SelectColumnsDataTransform; Cursor, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=BinarySaver; Saving, Kind=Trace] Channel finished. Elapsed 00:00:00.0056617. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=BinarySaver; Saving, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 TRACE [Source=Saving data, Kind=Trace] Channel finished. Elapsed 00:00:00.0058171. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived) 2022-07-29 17:10:24.2293 DEBUG Shuffle input cursor reader failed with an exception    at Microsoft.ML.Transforms.RowShufflingTransformer.Cursor.MoveNextCore()    at Microsoft.ML.Data.RootCursorBase.MoveNext()    at Microsoft.ML.Data.LinkedRowFilterCursorBase.MoveNextCore()    at Microsoft.ML.Data.RootCursorBase.MoveNext()    at Microsoft.ML.Data.IO.BinarySaver.RowsPerBlockHeuristic(IDataView data, ColumnCodec[] actives)    at Microsoft.ML.Data.IO.BinarySaver.SaveData(Stream stream, IDataView data, Int32[] colIndices)    at Microsoft.ML.Data.DataSaverUtils.SaveDataView(IChannel ch, IDataSaver saver, IDataView view, Stream stream, Boolean keepHidden)    at Microsoft.ML.BinaryLoaderSaverCatalog.SaveAsBinary(DataOperationsCatalog catalog, IDataView data, Stream stream, Boolean keepHidden)    at Microsoft.ML.ModelBuilder.AutoMLService.Proposer.ResampleStrategyProposer.Initialize(String outputFolder) in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/Proposer/ResampleStrategyProposer.cs:line 99    at Microsoft.ML.ModelBuilder.AutoMLService.Proposer.ResampleStrategyProposer.Propose(TrialParameter trialParameter) in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/Proposer/ResampleStrategyProposer.cs:line 61    at Microsoft.ML.ModelBuilder.AutoMLService.Proposer.Controller.Propose() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/Proposer/Controller.cs:line 58    at Microsoft.ML.ModelBuilder.AutoMLService.Experiments.LocalAutoMLExperiment.<ExecuteAsync>d__15.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/Experiments/LocalAutoMLExperiment.cs:line 136 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.ML.ModelBuilder.AutoMLEngine.<StartTrainingAsync>d__21.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:line 167   at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__1431.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.<b__109_0>d.MoveNext() (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:10:24.2293 TRACE [Source=Saving data, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:11:17.3687 DEBUG AutoMLType: Octopus (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:11:17.3707 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:11:17.3707 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel finished. Elapsed 00:00:00.0001226. (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:11:17.3707 TRACE [Source=DatabaseLoader; Binding, Kind=Trace] Channel disposed (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:11:17.3707 INFO start nni training (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-07-29 17:11:17.3707 INFO Experiment output folder: C:\Users\NghiepHT\AppData\Local\Temp\AutoML-NNI\Experiment-MXZW88 (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-07-29 17:11:17.3707 DEBUG row count is unknown, count it explicitly (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2022-07-29 17:11:17.3707 TRACE [Source=DatabaseLoader; Cursor, Kind=Trace] Channel started (Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AutoMLService_DiagnosticDataReceived)
2022-07-29 17:11:39.4478 DEBUG Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)    at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()    at System.Data.SqlClient.SqlDataReader.get_MetaData()    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteScalar()
at Microsoft.ML.ModelBuilder.DataProviders.SQLDataProvider.d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.ToolWindows.DataTextViewModel.<OnColumnPropertiesChange_RowColSummaryAsync>d__119.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.Observable.ObservableModel.d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.Observable.ObservableModel.d__28.MoveNext() (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
Additional context
Add any other context about the problem here.

Sorry you ran into this problem! Can you make sure you're on the latest version of model builder and try again? https://marketplace.visualstudio.com/items?itemName=MLNET.ModelBuilder2022

Any luck with an updated version?

repo: dotnet/machinelearning-modelbuilder


text:
reduced work for the garbage collector

Purpose: Minor garbage collector CPU time reduction.
This is just a minor enhancement as I noticed it's quite easy to make the garbage collectors job a little easier with quite a minor change in the framework. The code should be quite self explanatory too.

Because of how this class/struct is used by GetForwarder (return type is IObserver rather than a generic constrained by IObserver), this would result in boxing.

Thanks for the hint! I didn't know about the unique behaviour regarding boxing when it comes to structs but I read up on it now. As you pointed out it results in an additional boxing operation which negates the benefit hence why I'll retract the proposed change now.

authors: Fijo cabauman

repo: dotnet/reactive


text:
Debug Property Page Command line arguments too small on 200% DPI

This has been fixed for 15.1

Yeah, this is: https://github.com/dotnet/roslyn-project-system/issues/427.

authors: KirillOsenkov davkean srivatsn

repo: dotnet/roslyn-project-system


text:
Keep RepoName consistent between releases

For the February release, we had CLI -> dotnet-cli and a few others due to the internal repos.  For March we took the auto-update change of URLs which changed casing.  We should keep these consistent between releases.

Constantly changing repo names break downstream packaging scripts on every release.
For example, this is what I had to change in Fedora for the Feb release:
https://src.fedoraproject.org/rpms/dotnet3.1/c/afa7f9a38cd8368e41e41309d6bd4fae20a0e3a5?branch=master
Some of this is unavoidable, like changing the package version/release, but some of it seems a little pointless - like changing locations of where stuff we need to install is located .

This will require an uber-clone change to supply a base name for the repo so they can be consistent between internal and external builds.  Alternately, can we rename the folders on tarball build?  Then a DARC change will not be necessary.

@MichaelSimons can we close this issue now? AFAIK, this is now fixed for 6.0 and later.

@MichaelSimons can we close this issue now? AFAIK, this is now fixed for 6.0 and later.

Yes - thanks for bringing this to my attention.

authors: MichaelSimons crummel dseefeld omajid

repo: dotnet/source-build


text:
Unable to debug test using code lens with net46 framework

We are trying to debug the nunit test in VScode in net46 framework but even if change the target framework from netcoreapp2.0 to net46 it still picking the dll present inside netcoreapp2.0 folder.
Test -> f:\Automation_Framework\12022018\GTS_CS_FWK\Test\bin\Debug\net46\Test.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.79
NUnit Adapter 3.9.0.0: Test discovery starting
NUnit Adapter 3.9.0.0: Test discovery complete
[xUnit.net 00:00:00.9136379] Discovering: Test
[xUnit.net 00:00:00.9341569] Discovered: Test
Started debugging process #14184.
NUnit Adapter 3.9.0.0: Test execution started
Debugging selected tests in f:\Automation_Framework\12022018\GTS_CS_FWK\Test\bin\Debug\netcoreapp2.0\Test.dll
NUnit3TestExecutor converted 1 of 1 NUnit test cases
NUnit Adapter 3.9.0.0: Test execution complete
Debugging complete.
If we remove the folder netcoreapp2.0 then unable to debug the code.
kindly help.
thanks

Note that this doesn't appear to work in Visual Studio either. @pp1609 Is your csproj an "SDK" project?

If your scenario fits within the limitations on Desktop .NET Framework debugging (see here), then you can make this work by opening your VS Code preferences file and adding "csharp.unitTestDebuggingOptions.type": "clr".

Hi @gregg-miskelly thanks for the reply. I tried the solution u suggested but not able to proceed with the debugging.
I am getting "Error processing launch options at field: program" error now.

Sounds like there are multiple issues then. This means that the extension didn't provide the program to launch to the debugger.

Is there a plan to fix this issue. Any workaround for this yet?

i also can not start debugging a nunit3 unit test via code lens in vs code (using net472 or netcoreapp2.2).
BTW calling "Run test" via code lens also isn't working

A lot has changed with debugging and testing since this issue was opened. Please reopen with current details if it is still a problem.

authors: JoeRobich SSK00111 gregg-miskelly pp1609 preetipadalia rchande toebens

repo: dotnet/vscode-csharp


text:
Typing is freezed for a few seconds when intellisensing.

Issue Description
I installed two plugins vscodevim and c#.
I type some letters, trigger c# to analyzing the code, and then vscode gets stuck, and the typed letter doesn't appear in the editor until it's been analyzed for a few seconds.
Disable one of the two plugins and the problem doesn't happen.
The video is http://r96qpl1xa.hd-bkt.clouddn.com/desktop 2022-03-23 14-23-28.mp4
I also raised an issue in vscodevim.
Steps to Reproduce

Create a new csproj by running "dotnet new console"
Open the folder by vscode with vscodevim and c# plugins.
Wait for omnisharp to finish.
Type any words, and the editor gets stuck.

Expected Behavior
Do not freeze typing.
Actual Behavior
Logs
OmniSharp log

Received response for /v2/getcodeactions but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Users\zec_iiii\Documents\git\vlab-unity\Assets\Common\Rotate\RotateSystem.cs, Line: 34, Column: 25.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Users\zec_iiii\Documents\git\vlab-unity\Assets\Common\Rotate\RotateSystem.cs, Line: 34, Column: 27.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Users\zec_iiii\Documents\git\vlab-unity\Assets\Common\Rotate\RotateSystem.cs, Line: 34, Column: 28.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Users\zec_iiii\Documents\git\vlab-unity\Assets\Common\Rotate\RotateSystem.cs, Line: 34, Column: 29.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Users\zec_iiii\Documents\git\vlab-unity\Assets\Common\Rotate\RotateSystem.cs, Line: 34, Column: 30.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Users\zec_iiii\Documents\git\vlab-unity\Assets\Common\Rotate\RotateSystem.cs, Line: 34, Column: 31.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Users\zec_iiii\Documents\git\vlab-unity\Assets\Common\Rotate\RotateSystem.cs, Line: 34, Column: 32.
Received response for /findusages but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Users\zec_iiii\Documents\git\vlab-unity\Assets\Common\Rotate\RotateSystem.cs, Line: 34, Column: 33.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Users\zec_iiii\Documents\git\vlab-unity\Assets\Common\Rotate\RotateSystem.cs, Line: 34, Column: 32.

C# log
Post the output from Output-->C# here
Nothing.
Environment information
VSCode version: 1.65.2
C# Extension: 1.24.1
Dotnet Information
.NET SDK (reflecting any global.json):
 Version:   6.0.101
 Commit:    ef49f6213a
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.22000
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\6.0.101\
Host (useful for support):
Version: 6.0.1
Commit:  3a25a7f1cc
.NET SDKs installed:
2.1.602 [C:\Program Files\dotnet\sdk]
5.0.406 [C:\Program Files\dotnet\sdk]
6.0.101 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.23 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.23 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.23 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

background
shalldie
1.1.30

cmake
twxs
0.0.17

cmake-tools
ms-vscode
1.10.5

copilot
GitHub
1.9.5350

crates
serayuzgur
0.5.10

csharp
ms-dotnettools
1.24.1

errorlens
usernamehw
3.4.2

eva-theme
fisheva
1.7.8

even-better-toml
tamasfe
0.14.2

git-graph
mhutchie
1.30.0

gitlens
eamodio
12.0.5

go
golang
0.32.0

java
redhat
1.4.0

javascript-ejs-support
DigitalBrainstem
1.3.1

jupyter
ms-toolsai
2022.2.1030672458

jupyter-keymap
ms-toolsai
1.0.0

jupyter-renderers
ms-toolsai
1.0.6

material-icon-theme
PKief
4.14.1

prettier-vscode
esbenp
9.3.0

python
ms-python
2022.2.1924087327

remote-ssh
ms-vscode-remote
0.76.1

remote-ssh-edit
ms-vscode-remote
0.76.1

remote-wsl
ms-vscode-remote
0.64.2

rust-analyzer
matklad
0.2.985

search-node-modules
jasonnutter
1.3.0

shader
slevesque
1.1.5

svg
jock
1.4.17

todo-tree
Gruntfuggly
0.0.215

unity-debug
Unity
3.0.2

vetur
octref
0.35.0

vim
vscodevim
1.22.2

vscode-data-preview
RandomFractalsInc
2.3.0

vscode-eslint
dbaeumer
2.2.2

vscode-hexdump
slevesque
1.8.1

vscode-java-debug
vscjava
0.38.0

vscode-lombok
GabrielBB
1.0.1

vscode-mysql-client2
cweijan
4.8.6

vscode-nginx-conf
ahmadalli
0.1.3

vscode-power-mode
hoovercj
3.0.2

vscode-pylance
ms-python
2022.3.2

vscode-styled-components
jpoissonnier
1.7.0

vscode-stylelint
stylelint
1.2.2

vsliveshare
ms-vsliveshare
1.0.5449

Could you try installing Ionide, and trying it against C# extension, and vscodevim separately to see if it maybe happens only in one of those extensions? https://marketplace.visualstudio.com/items?itemName=Ionide.Ionide-fsharp

I tried F# with Ionide, and this problem did not occur.
But I never studied F#, I just created a "Hello World" app by dotnet new console -lang F# -o MyApp -f net6.0.
Maybe my project is too small, so the intellisense is too fast to reproduce the problem?

A lot has changed with O# intellisense since this issue was opened. If you are still having problems, please open a new issue at https://github.com/omnisharp/omnisharp-roslyn/issues

authors: Acceyuriko JoeRobich nohwnd


text:
Error when creating docker Image

URL
https://dotnet.microsoft.com/en-us/learn/aspnet/microservice-tutorial/docker-image
Operating system
windows
More information about your system
No response
Description
C:\Users\m.aqib\MyMicroservice>docker build -t mymicroservice .
ERROR: error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/_ping": open //./pipe/docker_engine: The system cannot find the file specified.
when i run this command to create docker image it give me an above error
dotnet --info
No response

Did you get errors in any of the previous steps?
@baronfel, any ideas about what's going on here?

In this case the user hasn't started Docker. The error they have provided is coming right from Docker. They should start Docker Desktop and try again.

authors: baronfel katiesavage muhammadaqib123321

repo: dotnet/website-feedback


text:
🛑 Spica.si is down

In f799e9a, Spica.si (https://www.spica.si/) was down:

HTTP code: 502
Response time: 671 ms

Resolved: Spica.si is back up in e5d89a0 after 5 minutes.

repo: dotsi/bitamiuptime


text:
🛑 Biseri-jadrana.si is down

In 1c78c1c, Biseri-jadrana.si (https://www.biseri-jadrana.si/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Biseri-jadrana.si is back up in e6149b4.


text:
🛑 Biseri-jadrana.si is down

In 08dc6cf, Biseri-jadrana.si (https://www.biseri-jadrana.si/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Biseri-jadrana.si is back up in b5d9c46.


text:
Include Limit Parameters in PlaceStopOrderAsync

First of all, BIG THUMBS UP!  This project is awesome!  I'm curious as to the current ability to create Limit Stop Loss and Limit Stop Entry Orders.  Best I can tell Gdax recently(relatively) added documentation for their API concerning these.
Thanks!

Thanks! I have not added these currently but would like to have them added soon. If you would like to try contributing, feel free to open a pull request with these changes. If not - leave this issue open and I will get to them shortly :)

repo: dougdellolio/gdax-csharp


text:
Expression inside of parenthesis is not syntax highlighted.

The following sample code doesn't have syntax highlighted of expression inside of parenthesis.
lda #($7E-JOYDEADZONE*2)

new match-parens function for parens


text:
Implement from_pixel_float

Was it missed accidentally or intentionally?

I'm thinking the functions should be renamed. What from_pixel_float would be, is from_round now.

I've opened a PR that adds the from_pixel method here #7

@dpc This can be closed since it was implemented in my PR above :)

authors: dpc echochamber kvark


text:
🛑 Portal TBK Partners Sandbox is down

In b3e5639, Portal TBK Partners Sandbox ($PORTAL_TBK_PARTNERS_SANDBOX) was down:

HTTP code: 504
Response time: 993 ms

Resolved: Portal TBK Partners Sandbox is back up in ec45f42 after 5 hours, 43 minutes.

repo: dpkg-i-foo-deb/upptime


text:
🛑 Portal TBK Clientes Sandbox is down

In bedc2a5, Portal TBK Clientes Sandbox ($PORTAL_TBK_CLIENTES_SANDBOX) was down:

HTTP code: 502
Response time: 629 ms

Resolved: Portal TBK Clientes Sandbox is back up in f3505d9 after 1 day, 17 hours, 29 minutes.


text:
Create Dracula for Editplus

Hi guys.
I created the Editplus theme.
I hope Editplus users like it.
thank you.
Dracula for Editplus

Hey @JRevirthuum 👋 Would you like to move the theme to the organization?

Hey @JRevirthuum 👋 Would you like to move the theme to the organization?

I hope you do. 🙆🏼♂

Just sent you the invite to join the team. Let me know once you've moved the repo and I'll change the permissions so you can push changes directly. Thanks!

authors: JRevirthuum hacknug

repo: dracula/dracula-theme


text:
[feature request] add minrate option for dfget

Why you need it?

Let the client (dfget) to set the minimal rate, the default value can be 64 KB/s.
How it could be?

Other related information

Why you need it? If we do not have this feature, what shortcomings will be brought to the end users?
Could you be more specific? @jyizheng

Currently, the minimal download speed of Dragonfly is 64 KB/s,  and Dragonfly uses this
number and the file size to estimate the total time of downloading a file. Some machines
may have very low download speed (<64 KB/s). For these machines, it could be useful to specify
"minrate" when running dfget so that they will not encounter TIMEOUT.

We can close this via https://github.com/dragonflyoss/Dragonfly/pull/664

We can close this via #664

Yes.

authors: allencloud jyizheng yeya24

repo: dragonflyoss/Dragonfly


text:
Error when exporting users without birth date, but with birthplace

I don't see living people
I can't use the anonymizedYears parameter
when typing -anonymizedYears: -1 crashes error, when I type -anonymizedYear-1 it doesn't throw the error but people still can't see it.
I do not assume a new thread, because maybe anonymisation gives such an effect?
WebApp Exporter: https://i.imgur.com/D8tv04Y.png
GenoPro: https://i.imgur.com/NZkkLm9.png

Dates are obscured by "person graphics".
Not all lines can be seen
I can't see everyone in the tree

My tree:
https://cutt.ly/Wt9XRux

The expected form is -anonymizedYears:-1 (i.e. no space after colon).

Error:

D:>java -jar D:\genopro-webapp-exporter.jar -in:"D:\family-tree.gno" -out:"D:\family-tree" -mode:static -anonymizedYears:-1
Exception in thread "main" java.lang.NullPointerException
at sun.font.FontDesignMetrics.stringWidth(Unknown Source)
at in.drifted.tools.genopro.webapp.SvgRenderer.renderIndividualDates(SvgRenderer.java:537)
at in.drifted.tools.genopro.webapp.SvgRenderer.renderIndividual(SvgRenderer.java:486)
at in.drifted.tools.genopro.webapp.SvgRenderer.render(SvgRenderer.java:83)
at in.drifted.tools.genopro.webapp.WebAppExporter.generateMainHtml(WebAppExporter.java:111)
at in.drifted.tools.genopro.webapp.WebAppExporter.exportAsStaticPage(WebAppExporter.java:71)
at in.drifted.tools.genopro.webapp.App.main(App.java:138)

For displaying dates I use two lines option (menu Display | Date of Birth and Date of Death (on separate lines)) and this way is apparently hardcoded to my code as well. Now it makes sense why the second line is always covered with the gender symbol. However, it should not crash.

That's right I improved the view on two lines and now it's good ... It's not what I wanted, but it can be :)
https://cutt.ly/Wt9XRux
But the problem with anonymized is still unsolved .. start a new thread?

I've changed my mind and now dedicating this issue back to that original anonymization issue. For label position issue I've filled a separate enhancement https://github.com/drifted-in/genopro-webapp-exporter/issues/3.
After testing your file I was able to find the root cause. That exception is thrown in cases individual has no birth date specified, but birthplace.
It has just been fixed. Please try newly updated app.zip.

I used app.zip from the date 4/20/2016 (23:30).
Still the same
https://cutt.ly/Ot8katB
Doesn't show people without a place of birth and living people.
Now when generating the page doesn't throw any errors.
My GNO file:
https://cutt.ly/Ct8kja0

I am getting different (correct) output using above commands. Please check you use latest jar file.

authors: genmielec jan-tosovsky-cz

repo: drifted-in/genopro-webapp-exporter


text:
Please restore support for --aot build flag

Short description of the problem:
ionic cordova build [platform] --aot no longer works.
What behavior are you expecting?
app-scripts has an --aot flag that uses ngc but not minification. I find it very useful. CLI v3 seems not to want to pass this flag through, so --aot builds become just JiT --dev builds. If I do nothing but downgrade CLI to 2.2.3 (keeping app-scripts version identical), ionic build [platform] --aot works again.
Steps to reproduce:

install CLI v3
try to run `ionic cordova build [platform] --aot
note that ngc does not run

Post the output of ionic info below please
global packages:
@ionic/cli-utils : 1.0.0
Cordova CLI      : 6.5.0
Ionic CLI        : 3.0.0

local packages:
@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.0.0
@ionic/cli-plugin-ionic-angular : 1.0.0
Ionic Framework                 : ionic-angular 3.2.0

System:
Node       : v6.10.0
OS         : Linux 4.9
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed

@rapropos I'm not an expert with the build config, but would this be achievable with --prod ?

Thank you for taking the time to respond. The problem with --prod is that it enables minification, which makes debugging nigh-impossible. The --aot option provides use of ngc without minification. If there is another way to say --prod --no-minify (or whatever you consider an appropriate name), that would work, but as of now I do not know how to enable AoT without minification.

Thanks, @rapropos! That sums it up nicely.
@danbucholtz / @jthoms1 Can you weigh in? I see --aot is still an option in app-scripts. What do devs do for debugging AoT builds?

@rapropos, cat man 😸 , this is working for me if I run npm run ionic:build --aot. Is it working for you? Trying to identify if this is in the CLI or in app-scripts.
Thanks,
Dan

@danbucholtz: confirmed that npm run ionic:build --aot does indeed invoke ngc, but npm run ionic:build android --aot does not build an android package. I am unsure whether that syntax is supposed to work, and do not know what syntax is intended for CLIv3: I thought it was ionic cordova build [platform]. I believe the issue is not with app-scripts, but with CLI.

@rapropos Yeah, we're just not passing some flags to app-scripts. I think --aot, --minifyjs, and --minifycss will be common enough that I'll add it to the CLI "whitelist" for now, but we need a better solution soon for all these options that end up all over the place (Cordova, Gradle, xcode, app-scripts???)

Thanks, @rapropos !! 🎉

authors: danbucholtz dwieeb rapropos

repo: driftyco/ionic-cli


text:
Segments breaks Infinite scroll

Ionic version:  (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Infinite scroll is not triggered for pages with Segments
Expected behavior:
Infinite scroll should be triggered for pages with Segments
Steps to reproduce:

http://plnkr.co/edit/zNxlBj0R8Zmt7BT3qKPn?p=preview
Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.5.0
Ionic Framework Version: 2.0.1
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v7.5.0
Xcode version: Not installed

Hi there!
I'm not really understanding the issue. From the plunkr, everything appears to be working fine.
Could you explain the issue with a bit more detail?

I'm using Chrome Version 56.0.2924.87 (64-bit) on Windows 10 Version 1607 (OS Build 14393.0)

I have the same issue

authors: Jai-Krish front-stream mhartington

repo: driftyco/ionic