dotnet / dotnet/machinelearning-modelbuilder

Selecting empty csv file throws an Exception

オープン
#2,955 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
GS Tutorial
主要言語
Dockerfile
スター
285
フォーク
66
PR マージ指標
30日以内にマージされた PR はありません

説明

**System Information (please complete the following information):**
- (No idea where I can get Model builder version)
- Visual studio version is 17.11.0 Preview 7.0

**Describe the bug**
When I select Question Answer template, and then select empty file it throws an Exception

**To Reproduce**
Steps to reproduce the behavior:
Create Machine learning model
Select a Question Answering template (Local)
Press next step
Browse
Select an empty csv file

**Expected behavior**
I would expect some message that the file is empty.

**Error**
Unable to parse file. Only comma, tab or semi-colon delimited files are allowed.

at StreamJsonRpc.JsonRpc.d__154`1.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.Actions.DataTextActions.d__14.MoveNext() in /_/src/Microsoft.ML.ModelBuilder/Actions/DataTextActions.cs:line 284
--- 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.Actions.DataTextActions.d__2.MoveNext() in /_/src/Microsoft.ML.ModelBuilder/Actions/DataTextActions.cs:line 61
--- 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.d__136.MoveNext() in /_/src/Microsoft.ML.ModelBuilder/ViewModels/DataTextViewModel.cs:line 683
--- 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.TextDataControl.<b__3_0>d.MoveNext() in /_/src/Microsoft.ML.ModelBuilder/ToolWindows/DataTabComponents/TextDataControl.xaml.cs:line 69

**Screenshots**
![image](https://github.com/user-attachments/assets/bc9bdfb6-9dc4-4ae9-9ed4-a8c950bc5715)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。