Draft generates Javascript Docker support for Asp.Net Core MVC

I am testing this tool with ASP.NET Core MVC template and it generates Javascript/Node instead of DotNet Core.

Draft version

draft version
&version.Version{SemVer:"v0.15.0", GitCommit:"9d73889a1318a435d126bc5df846610d30cfbe7f", GitTreeState:"clean"}

Draft create debugger output

PS D:\Dev\test\build2018> draft create --debug
?[37mDEBU?[0m[0000] with file: .
?[37mDEBU?[0m[0000] . is 4096 bytes
?[37mDEBU?[0m[0000] with file: .dockerignore
?[37mDEBU?[0m[0000] .dockerignore is 33 bytes
?[37mDEBU?[0m[0000] reading contents of .dockerignore
?[37mDEBU?[0m[0000] .dockerignore got language hints: []string(nil)

?[37mDEBU?[0m[0000] .dockerignore got result by data:  Coq
?[37mDEBU?[0m[0000] with file: Controllers
?[37mDEBU?[0m[0000] Controllers is 0 bytes
?[37mDEBU?[0m[0000] Controllers is empty file, skipping
?[37mDEBU?[0m[0000] with file: Controllers\HomeController.cs
?[37mDEBU?[0m[0000] Controllers\HomeController.cs is 1056 bytes
?[37mDEBU?[0m[0000] reading contents of Controllers\HomeController.cs
?[37mDEBU?[0m[0000] Controllers\HomeController.cs got language hints: []string{"Smalltalk", "C#"}

?[37mDEBU?[0m[0000] Controllers\HomeController.cs got result by data:  C#
?[37mDEBU?[0m[0000] with file: Models
?[37mDEBU?[0m[0000] Models is 0 bytes
?[37mDEBU?[0m[0000] Models is empty file, skipping
?[37mDEBU?[0m[0000] with file: Models\ErrorViewModel.cs
?[37mDEBU?[0m[0000] Models\ErrorViewModel.cs is 217 bytes
?[37mDEBU?[0m[0000] reading contents of Models\ErrorViewModel.cs
?[37mDEBU?[0m[0000] Models\ErrorViewModel.cs got language hints: []string{"Smalltalk", "C#"}

?[37mDEBU?[0m[0000] Models\ErrorViewModel.cs got result by data:  C#
?[37mDEBU?[0m[0000] with file: Program.cs
?[37mDEBU?[0m[0000] Program.cs is 631 bytes
?[37mDEBU?[0m[0000] reading contents of Program.cs
?[37mDEBU?[0m[0000] Program.cs got language hints: []string{"Smalltalk", "C#"}

?[37mDEBU?[0m[0000] Program.cs got result by data:  C#
?[37mDEBU?[0m[0000] with file: Properties
?[37mDEBU?[0m[0000] Properties is 0 bytes
?[37mDEBU?[0m[0000] Properties is empty file, skipping
?[37mDEBU?[0m[0000] with file: Properties\launchSettings.json
?[37mDEBU?[0m[0000] Properties\launchSettings.json is 674 bytes
?[37mDEBU?[0m[0000] Properties\launchSettings.json got result by name:  JSON
?[37mDEBU?[0m[0000] with file: Startup.cs
?[37mDEBU?[0m[0000] Startup.cs is 2054 bytes
?[37mDEBU?[0m[0000] reading contents of Startup.cs
?[37mDEBU?[0m[0000] Startup.cs got language hints: []string{"Smalltalk", "C#"}

?[37mDEBU?[0m[0000] Startup.cs got result by data:  C#
?[37mDEBU?[0m[0000] with file: Views
?[37mDEBU?[0m[0000] Views is 0 bytes
?[37mDEBU?[0m[0000] Views is empty file, skipping
?[37mDEBU?[0m[0000] with file: Views\Home
?[37mDEBU?[0m[0000] Views\Home is 0 bytes
?[37mDEBU?[0m[0000] Views\Home is empty file, skipping
?[37mDEBU?[0m[0000] with file: Views\Home\About.cshtml
?[37mDEBU?[0m[0000] Views\Home\About.cshtml is 163 bytes
?[37mDEBU?[0m[0000] Views\Home\About.cshtml got result by name:  C#
?[37mDEBU?[0m[0000] with file: Views\Home\Contact.cshtml
?[37mDEBU?[0m[0000] Views\Home\Contact.cshtml is 468 bytes
?[37mDEBU?[0m[0000] Views\Home\Contact.cshtml got result by name:  C#
?[37mDEBU?[0m[0000] with file: Views\Home\Index.cshtml
?[37mDEBU?[0m[0000] Views\Home\Index.cshtml is 4838 bytes
?[37mDEBU?[0m[0000] Views\Home\Index.cshtml got result by name:  C#
?[37mDEBU?[0m[0000] with file: Views\Home\Privacy.cshtml
?[37mDEBU?[0m[0000] Views\Home\Privacy.cshtml is 144 bytes
?[37mDEBU?[0m[0000] Views\Home\Privacy.cshtml got result by name:  C#
?[37mDEBU?[0m[0000] with file: Views\Shared
?[37mDEBU?[0m[0000] Views\Shared is 0 bytes
?[37mDEBU?[0m[0000] Views\Shared is empty file, skipping
?[37mDEBU?[0m[0000] with file: Views\Shared\Error.cshtml
?[37mDEBU?[0m[0000] Views\Shared\Error.cshtml is 869 bytes
?[37mDEBU?[0m[0000] Views\Shared\Error.cshtml got result by name:  C#
?[37mDEBU?[0m[0000] with file: Views\Shared\_CookieConsentPartial.cshtml
?[37mDEBU?[0m[0000] Views\Shared\_CookieConsentPartial.cshtml is 1898 bytes
?[37mDEBU?[0m[0000] Views\Shared\_CookieConsentPartial.cshtml got result by name:  C#
?[37mDEBU?[0m[0000] with file: Views\Shared\_Layout.cshtml
?[37mDEBU?[0m[0000] Views\Shared\_Layout.cshtml is 3441 bytes
?[37mDEBU?[0m[0000] Views\Shared\_Layout.cshtml got result by name:  C#
?[37mDEBU?[0m[0000] with file: Views\Shared\_ValidationScriptsPartial.cshtml
?[37mDEBU?[0m[0000] Views\Shared\_ValidationScriptsPartial.cshtml is 1172 bytes
?[37mDEBU?[0m[0000] Views\Shared\_ValidationScriptsPartial.cshtml got result by name:  C#
?[37mDEBU?[0m[0000] with file: Views\_ViewImports.cshtml
?[37mDEBU?[0m[0000] Views\_ViewImports.cshtml is 100 bytes
?[37mDEBU?[0m[0000] Views\_ViewImports.cshtml got result by name:  C#
?[37mDEBU?[0m[0000] with file: Views\_ViewStart.cshtml
?[37mDEBU?[0m[0000] Views\_ViewStart.cshtml is 35 bytes
?[37mDEBU?[0m[0000] Views\_ViewStart.cshtml got result by name:  C#
?[37mDEBU?[0m[0000] with file: appsettings.Development.json
?[37mDEBU?[0m[0000] appsettings.Development.json is 146 bytes
?[37mDEBU?[0m[0000] appsettings.Development.json got result by name:  JSON
?[37mDEBU?[0m[0000] with file: appsettings.json
?[37mDEBU?[0m[0000] appsettings.json is 105 bytes
?[37mDEBU?[0m[0000] appsettings.json got result by name:  JSON
?[37mDEBU?[0m[0000] with file: bin
?[37mDEBU?[0m[0000] bin is 0 bytes
?[37mDEBU?[0m[0000] bin is empty file, skipping
?[37mDEBU?[0m[0000] with file: bin\Debug
?[37mDEBU?[0m[0000] bin\Debug is 0 bytes
?[37mDEBU?[0m[0000] bin\Debug is empty file, skipping
?[37mDEBU?[0m[0000] with file: bin\Debug\netcoreapp2.1
?[37mDEBU?[0m[0000] bin\Debug\netcoreapp2.1 is 0 bytes
?[37mDEBU?[0m[0000] bin\Debug\netcoreapp2.1 is empty file, skipping
?[37mDEBU?[0m[0000] with file: build2018.csproj
?[37mDEBU?[0m[0000] build2018.csproj is 242 bytes
?[37mDEBU?[0m[0000] build2018.csproj got result by name:  XML
?[37mDEBU?[0m[0000] with file: obj
?[37mDEBU?[0m[0000] obj is 0 bytes
?[37mDEBU?[0m[0000] obj is empty file, skipping
?[37mDEBU?[0m[0000] with file: obj\Debug
?[37mDEBU?[0m[0000] obj\Debug is 0 bytes
?[37mDEBU?[0m[0000] obj\Debug is empty file, skipping
?[37mDEBU?[0m[0000] with file: obj\Debug\netcoreapp2.1
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1 is 4096 bytes
?[37mDEBU?[0m[0000] with file: obj\Debug\netcoreapp2.1\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs is 0 bytes
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs is empty file, skipping
?[37mDEBU?[0m[0000] with file: obj\Debug\netcoreapp2.1\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs is 0 bytes
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs is empty file, skipping
?[37mDEBU?[0m[0000] with file: obj\Debug\netcoreapp2.1\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs is 0 bytes
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs is empty file, skipping
?[37mDEBU?[0m[0000] with file: obj\Debug\netcoreapp2.1\build2018.AssemblyInfo.cs
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.AssemblyInfo.cs is 1000 bytes
?[37mDEBU?[0m[0000] reading contents of obj\Debug\netcoreapp2.1\build2018.AssemblyInfo.cs
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.AssemblyInfo.cs got language hints: []string{"Smalltalk", "C#"}

?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.AssemblyInfo.cs got result by data:  C#
?[37mDEBU?[0m[0000] with file: obj\Debug\netcoreapp2.1\build2018.AssemblyInfoInputs.cache
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.AssemblyInfoInputs.cache is 42 bytes
?[37mDEBU?[0m[0000] reading contents of obj\Debug\netcoreapp2.1\build2018.AssemblyInfoInputs.cache
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.AssemblyInfoInputs.cache got language hints: []string(nil)

?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.AssemblyInfoInputs.cache got result by data:  Coq
?[37mDEBU?[0m[0000] with file: obj\Debug\netcoreapp2.1\build2018.RazorAssemblyInfo.cache
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.RazorAssemblyInfo.cache is 42 bytes
?[37mDEBU?[0m[0000] reading contents of obj\Debug\netcoreapp2.1\build2018.RazorAssemblyInfo.cache
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.RazorAssemblyInfo.cache got language hints: []string(nil)

?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.RazorAssemblyInfo.cache got result by data:  Coq
?[37mDEBU?[0m[0000] with file: obj\Debug\netcoreapp2.1\build2018.RazorAssemblyInfo.cs
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.RazorAssemblyInfo.cs is 923 bytes
?[37mDEBU?[0m[0000] reading contents of obj\Debug\netcoreapp2.1\build2018.RazorAssemblyInfo.cs
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.RazorAssemblyInfo.cs got language hints: []string{"Smalltalk", "C#"}

?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.RazorAssemblyInfo.cs got result by data:  C#
?[37mDEBU?[0m[0000] with file: obj\Debug\netcoreapp2.1\build2018.assets.cache
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.assets.cache is 104877 bytes
?[37mDEBU?[0m[0000] reading contents of obj\Debug\netcoreapp2.1\build2018.assets.cache
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.assets.cache : contents should be ignored, skipping
?[37mDEBU?[0m[0000] with file: obj\Debug\netcoreapp2.1\build2018.csproj.CoreCompileInputs.cache
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.csproj.CoreCompileInputs.cache is 42 bytes
?[37mDEBU?[0m[0000] reading contents of obj\Debug\netcoreapp2.1\build2018.csproj.CoreCompileInputs.cache
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.csproj.CoreCompileInputs.cache got language hints: []string(nil)

?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.csproj.CoreCompileInputs.cache got result by data:  Coq
?[37mDEBU?[0m[0000] with file: obj\Debug\netcoreapp2.1\build2018.csprojAssemblyReference.cache
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.csprojAssemblyReference.cache is 232922 bytes
?[37mDEBU?[0m[0000] reading contents of obj\Debug\netcoreapp2.1\build2018.csprojAssemblyReference.cache
?[37mDEBU?[0m[0000] obj\Debug\netcoreapp2.1\build2018.csprojAssemblyReference.cache : contents should be ignored, skipping
?[37mDEBU?[0m[0000] with file: obj\build2018.csproj.nuget.cache
?[37mDEBU?[0m[0000] obj\build2018.csproj.nuget.cache is 149 bytes
?[37mDEBU?[0m[0000] reading contents of obj\build2018.csproj.nuget.cache
?[37mDEBU?[0m[0000] obj\build2018.csproj.nuget.cache got language hints: []string(nil)

?[37mDEBU?[0m[0000] obj\build2018.csproj.nuget.cache got result by data:  JavaScript
?[37mDEBU?[0m[0000] with file: obj\build2018.csproj.nuget.g.props
?[37mDEBU?[0m[0000] obj\build2018.csproj.nuget.g.props is 3378 bytes
?[37mDEBU?[0m[0000] obj\build2018.csproj.nuget.g.props got result by name:  XML
?[37mDEBU?[0m[0000] with file: obj\build2018.csproj.nuget.g.targets
?[37mDEBU?[0m[0000] obj\build2018.csproj.nuget.g.targets is 2521 bytes
?[37mDEBU?[0m[0000] obj\build2018.csproj.nuget.g.targets got result by name:  XML
?[37mDEBU?[0m[0000] with file: obj\project.assets.json
?[37mDEBU?[0m[0000] obj\project.assets.json is 525188 bytes
?[37mDEBU?[0m[0000] obj\project.assets.json got result by name:  JSON
?[37mDEBU?[0m[0000] with file: wwwroot
?[37mDEBU?[0m[0000] wwwroot is 0 bytes
?[37mDEBU?[0m[0000] wwwroot is empty file, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\css
?[37mDEBU?[0m[0000] wwwroot\css is 0 bytes
?[37mDEBU?[0m[0000] wwwroot\css is empty file, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\css\site.css
?[37mDEBU?[0m[0000] wwwroot\css\site.css is 882 bytes
?[37mDEBU?[0m[0000] wwwroot\css\site.css got result by name:  CSS
?[37mDEBU?[0m[0000] with file: wwwroot\css\site.min.css
?[37mDEBU?[0m[0000] wwwroot\css\site.min.css is 282 bytes
?[37mDEBU?[0m[0000] wwwroot\css\site.min.css: filename should be ignored, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\favicon.ico
?[37mDEBU?[0m[0000] wwwroot\favicon.ico is 32038 bytes
?[37mDEBU?[0m[0000] reading contents of wwwroot\favicon.ico
?[37mDEBU?[0m[0000] wwwroot\favicon.ico : contents should be ignored, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\images
?[37mDEBU?[0m[0000] wwwroot\images is 0 bytes
?[37mDEBU?[0m[0000] wwwroot\images is empty file, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\images\banner1.svg
?[37mDEBU?[0m[0000] wwwroot\images\banner1.svg is 9679 bytes
?[37mDEBU?[0m[0000] wwwroot\images\banner1.svg got result by name:  SVG
?[37mDEBU?[0m[0000] with file: wwwroot\images\banner2.svg
?[37mDEBU?[0m[0000] wwwroot\images\banner2.svg is 8394 bytes
?[37mDEBU?[0m[0000] wwwroot\images\banner2.svg got result by name:  SVG
?[37mDEBU?[0m[0000] with file: wwwroot\images\banner3.svg
?[37mDEBU?[0m[0000] wwwroot\images\banner3.svg is 12291 bytes
?[37mDEBU?[0m[0000] wwwroot\images\banner3.svg got result by name:  SVG
?[37mDEBU?[0m[0000] with file: wwwroot\js
?[37mDEBU?[0m[0000] wwwroot\js is 0 bytes
?[37mDEBU?[0m[0000] wwwroot\js is empty file, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\js\site.js
?[37mDEBU?[0m[0000] wwwroot\js\site.js is 230 bytes
?[37mDEBU?[0m[0000] wwwroot\js\site.js got result by name:  JavaScript
?[37mDEBU?[0m[0000] with file: wwwroot\js\site.min.js
?[37mDEBU?[0m[0000] wwwroot\js\site.min.js is 0 bytes
?[37mDEBU?[0m[0000] wwwroot\js\site.min.js is empty file, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib
?[37mDEBU?[0m[0000] wwwroot\lib is 0 bytes
?[37mDEBU?[0m[0000] wwwroot\lib is empty file, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap is 0 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap is empty file, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\.bower.json
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\.bower.json is 984 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\.bower.json got result by name:  JSON
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\LICENSE
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\LICENSE is 1106 bytes
?[37mDEBU?[0m[0000] reading contents of wwwroot\lib\bootstrap\LICENSE
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\LICENSE got language hints: []string(nil)

?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\LICENSE got result by data:  Propeller Spin
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist is 0 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist is empty file, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\css
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css is 4096 bytes
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\css\bootstrap-theme.css
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap-theme.css is 26719 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap-theme.css got result by name:  CSS
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\css\bootstrap-theme.css.map
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap-theme.css.map is 47706 bytes
?[37mDEBU?[0m[0000] reading contents of wwwroot\lib\bootstrap\dist\css\bootstrap-theme.css.map
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap-theme.css.map got language hints: []string(nil)

?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap-theme.css.map got result by data:  Coq
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\css\bootstrap-theme.min.css
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap-theme.min.css is 23414 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap-theme.min.css: filename should be ignored, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\css\bootstrap-theme.min.css.map
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap-theme.min.css.map is 25648 bytes
?[37mDEBU?[0m[0000] reading contents of wwwroot\lib\bootstrap\dist\css\bootstrap-theme.min.css.map
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap-theme.min.css.map got language hints: []string(nil)

?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap-theme.min.css.map got result by data:  Coq
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\css\bootstrap.css
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap.css is 152767 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap.css got result by name:  CSS
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\css\bootstrap.css.map
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap.css.map is 389287 bytes
?[37mDEBU?[0m[0000] reading contents of wwwroot\lib\bootstrap\dist\css\bootstrap.css.map
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap.css.map got language hints: []string(nil)

?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap.css.map got result by data:  Coq
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\css\bootstrap.min.css
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap.min.css is 121205 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap.min.css: filename should be ignored, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\css\bootstrap.min.css.map
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap.min.css.map is 542194 bytes
?[37mDEBU?[0m[0000] reading contents of wwwroot\lib\bootstrap\dist\css\bootstrap.min.css.map
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap.min.css.map got language hints: []string(nil)

?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\css\bootstrap.min.css.map got result by data:  Coq
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\fonts
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\fonts is 4096 bytes
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.eot
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.eot is 20127 bytes
?[37mDEBU?[0m[0000] reading contents of wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.eot
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.eot : contents should be ignored, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.svg
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.svg is 109025 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.svg got result by name:  SVG
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.ttf
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.ttf is 45404 bytes
?[37mDEBU?[0m[0000] reading contents of wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.ttf
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.ttf : contents should be ignored, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.woff
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.woff is 23424 bytes
?[37mDEBU?[0m[0000] reading contents of wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.woff
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.woff : contents should be ignored, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.woff2
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.woff2 is 18028 bytes
?[37mDEBU?[0m[0000] reading contents of wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.woff2
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.woff2 : contents should be ignored, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\js
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\js is 0 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\js is empty file, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\js\bootstrap.js
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\js\bootstrap.js is 72084 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\js\bootstrap.js got result by name:  JavaScript
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\js\bootstrap.min.js
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\js\bootstrap.min.js is 37051 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\js\bootstrap.min.js: filename should be ignored, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\bootstrap\dist\js\npm.js
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\js\npm.js is 496 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\bootstrap\dist\js\npm.js got result by name:  JavaScript
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery
?[37mDEBU?[0m[0000] wwwroot\lib\jquery is 0 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery is empty file, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery\.bower.json
?[37mDEBU?[0m[0000] wwwroot\lib\jquery\.bower.json is 570 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery\.bower.json got result by name:  JSON
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery\LICENSE.txt
?[37mDEBU?[0m[0000] wwwroot\lib\jquery\LICENSE.txt is 1641 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery\LICENSE.txt got result by name:  Text
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery\dist
?[37mDEBU?[0m[0000] wwwroot\lib\jquery\dist is 0 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery\dist is empty file, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery\dist\jquery.js
?[37mDEBU?[0m[0000] wwwroot\lib\jquery\dist\jquery.js is 282115 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery\dist\jquery.js got result by name:  JavaScript
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery\dist\jquery.min.js
?[37mDEBU?[0m[0000] wwwroot\lib\jquery\dist\jquery.min.js is 86929 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery\dist\jquery.min.js: filename should be ignored, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery\dist\jquery.min.map
?[37mDEBU?[0m[0000] wwwroot\lib\jquery\dist\jquery.min.map is 132370 bytes
?[37mDEBU?[0m[0000] reading contents of wwwroot\lib\jquery\dist\jquery.min.map
?[37mDEBU?[0m[0000] wwwroot\lib\jquery\dist\jquery.min.map got language hints: []string(nil)

?[37mDEBU?[0m[0000] wwwroot\lib\jquery\dist\jquery.min.map got result by data:  Coq
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery-validation
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation is 0 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation is empty file, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery-validation\.bower.json
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\.bower.json is 957 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\.bower.json got result by name:  JSON
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery-validation\LICENSE.md
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\LICENSE.md is 1117 bytes
?[37mDEBU?[0m[0000] reading contents of wwwroot\lib\jquery-validation\LICENSE.md
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\LICENSE.md got language hints: []string{"GCC Machine Description", "Markdown"}

?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\LICENSE.md got result by data:  Markdown
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery-validation\dist
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\dist is 0 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\dist is empty file, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery-validation\dist\additional-methods.js
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\dist\additional-methods.js is 43184 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\dist\additional-methods.js got result by name:  JavaScript
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery-validation\dist\additional-methods.min.js
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\dist\additional-methods.min.js is 18467 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\dist\additional-methods.min.js: filename should be ignored, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery-validation\dist\jquery.validate.js
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\dist\jquery.validate.js is 50276 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\dist\jquery.validate.js got result by name:  JavaScript
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery-validation\dist\jquery.validate.min.js
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\dist\jquery.validate.min.js is 23264 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation\dist\jquery.validate.min.js: filename should be ignored, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery-validation-unobtrusive
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation-unobtrusive is 0 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation-unobtrusive is empty file, skipping
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery-validation-unobtrusive\.bower.json
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation-unobtrusive\.bower.json is 474 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation-unobtrusive\.bower.json got result by name:  JSON
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery-validation-unobtrusive\LICENSE.txt
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation-unobtrusive\LICENSE.txt is 587 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation-unobtrusive\LICENSE.txt got result by name:  Text
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery-validation-unobtrusive\jquery.validate.unobtrusive.js
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation-unobtrusive\jquery.validate.unobtrusive.js is 19748 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation-unobtrusive\jquery.validate.unobtrusive.js got result by name:  JavaScript
?[37mDEBU?[0m[0000] with file: wwwroot\lib\jquery-validation-unobtrusive\jquery.validate.unobtrusive.min.js
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation-unobtrusive\jquery.validate.unobtrusive.min.js is 5763 bytes
?[37mDEBU?[0m[0000] wwwroot\lib\jquery-validation-unobtrusive\jquery.validate.unobtrusive.min.js: filename should be ignored, skipping
?[37mDEBU?[0m[0000] language: Markdown percent: 0.044966 color:
?[37mDEBU?[0m[0000] language: XML percent: 0.247212 color:
?[37mDEBU?[0m[0000] language: JavaScript percent: 18.851158 color: #f1e05a
?[37mDEBU?[0m[0000] language: SVG percent: 5.611243 color:
?[37mDEBU?[0m[0000] language: Propeller Spin percent: 0.044523 color: #7fa2a7
?[37mDEBU?[0m[0000] language: Text percent: 0.089690 color:
?[37mDEBU?[0m[0000] language: Coq percent: 45.785721 color:
?[37mDEBU?[0m[0000] language: C# percent: 0.765226 color: #178600
?[37mDEBU?[0m[0000] language: JSON percent: 21.299367 color:
?[37mDEBU?[0m[0000] language: CSS percent: 7.260893 color: #563d7c
?[37mDEBU?[0m[0000] linguist.ProcessDir('.') result:

Error: <nil>
?[37mDEBU?[0m[0000] Coq:        45.785721 ()
?[37mDEBU?[0m[0000] JSON:       21.299367 ()
?[37mDEBU?[0m[0000] JavaScript: 18.851158 (#f1e05a)
?[37mDEBU?[0m[0000] CSS:        7.260893 (#563d7c)
?[37mDEBU?[0m[0000] SVG:        5.611243 ()
?[37mDEBU?[0m[0000] C#: 0.765226 (#178600)
?[37mDEBU?[0m[0000] XML:        0.247212 ()
?[37mDEBU?[0m[0000] Text:       0.089690 ()
?[37mDEBU?[0m[0000] Markdown:   0.044966 ()
?[37mDEBU?[0m[0000] Propeller Spin:     0.044523 (#7fa2a7)
--> Draft detected Coq (45.785721%)
--> Could not find a pack for Coq. Trying to find the next likely language match...
--> Draft detected JSON (21.299367%)
--> Could not find a pack for JSON. Trying to find the next likely language match...
--> Draft detected JavaScript (18.851158%)
?[37mDEBU?[0m[0000] pack path: C:\Users\karpo\.draft\packs\github.com\Azure\draft\packs\javascript
--> Ready to sail

Do you have a code example?

@bjornmagnusson I simply use default Asp.net core 2.1 template by running:
dotnet new mvc

Version:
dotnet --version
2.1.300

OK, I just tried this. It seems the reason is because the wwwroot/lib folder contains all the javascript libraries, and that folder is size-wise dominant in the entire folder.
As an experiment I deleted the wwwroot/lib folder, and once this is done the draft create does indeed result in the csharp pack.
A workaround is to use the --pack flag to draft create. By using draft create --pack csharp it does work even without the "deletion hack"

I tried to follow this Build2018 video. It seems that it used to work fine with this folder in the past.

Make sense that following the best practices for creating apps using the default tool should be compatible with Draft. In this situation the files of the javascript libraries are larger than the csharp ones, which results in Draft choosing javascript.
Perhaps there is a need for some priority list of files per language.
You have any clues why the behaviour changes since Build2018 @bacongobbler ?


Using multiple variables to predict one of the single variables How to handle the data set？

In your examples, both multivariable and univariable, what should I do with the data? All I can think of so far is to add a linear layer after calling the model and turn multiple channels into one channel, what about the label?

Hello, Thank you for your attention and questions.
Sorry, our code currently cannot directly predict single variables with multiple variables. But we can implement this feature by modifying our framework, and we also believe that this is something that should be considered for the future. We have already adjusted its priority to a higher level. But recently, due to rushing to ICLR, I may not have time to complete it. We will complete the adaptation as quickly as possible.


Cached Images Support

It would be great if this supported cached images (just like react-native-fast-image)

I'm not sure I understand. Can you please clarify on how would thart work?

So, a simple example: When passing an URL to getColors() the response image would be cached for the first time the request was made and future requests wouldn't be necessary since the image is cached. How it would work:
getColors(url) {
    if (url is in cache) {
         return colors from the cached image
    } else {
         make the request, cache the image, return the colors
    }
}

this would be the logic.
Another idea that I came up with
Something that would be nice too is adding react-native-fast-image cached images support. I came up with this idea because I'm making a music app. It uses react-native-fast-image quite a lot and since the images that I use with getColors() are already cached, why would I need to request them once more to the server? Or even images that are cached by react-native by default when using Image. This would require a little extra work I assume, but only the part of caching images would be already a great addition to this package because it is efficient and time-saving.
If I made myself unclear at some point, feel free to ask, I'll do my best to explain it better

Thanks, I understand. Good idea. I'll try to look into this.

Hey @gustavo-dev. I briefly looked into this and I think the image component that ships with React Native does not expose any method to get the cached image.
For react-native-fast-image, once this pull request is merged, we will be able to get the image path from cache.
However, I think its better if we leave it up to the user to install and use Fast Image since it is a 3rd party library. But we could mention something about it in the README here as a tip.

When will it be merged?

Its up to the authors of FastImage

Oh, I didn't realize this pull request was on the FastImage repo, but thanks anyway.


amplify init TypeError: Cannot read property 'value' of undefined

Describe the bug
After a new install of aws-amplify in an empty project, running amplify init correctly lists editor options, but then the list of "types of apps" to create is empty. Pressing enter results in a JS error.
To Reproduce
Steps to reproduce the behavior:

npm install @aws-amplify/cli
Go to CLI and enter ./node_modules/.bin/amplify init
Press enter to pick the first editor
Note: Choose the type of app that you're building has no options.
Press enter
See error TypeError: Cannot read property 'value' of undefined

Expected behavior
amplify init should have listed types of apps such as javascript.
Screenshots
amplify init
Note: It is recommended to run this command from the root of your app directory
? Choose your default editor: None
? Choose the type of app that you're building (Use arrow keys)

readline.js:1020
            throw err;
            ^

TypeError: Cannot read property 'value' of undefined
    at Prompt.getCurrentValue (/Users/ozten/projects/CMSv0/node_modules/inquirer/lib/prompts/list.js:126:51)
    at tryCatcher (/Users/ozten/projects/CMSv0/node_modules/rx-lite/rx.lite.js:67:31)
    at InnerObserver.next (/Users/ozten/projects/CMSv0/node_modules/rx-lite/rx.lite.js:4495:43)
    at InnerObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/Users/ozten/projects/CMSv0/node_modules/rx-lite/rx.lite.js:1602:31)
    at InnerObserver.tryCatcher (/Users/ozten/projects/CMSv0/node_modules/rx-lite/rx.lite.js:67:31)
    at AutoDetachObserverPrototype.next (/Users/ozten/projects/CMSv0/node_modules/rx-lite/rx.lite.js:6495:51)
    at AutoDetachObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/Users/ozten/projects/CMSv0/node_modules/rx-lite/rx.lite.js:1602:31)
    at TakeObserver.next (/Users/ozten/projects/CMSv0/node_modules/rx-lite/rx.lite.js:4681:17)
    at TakeObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/Users/ozten/projects/CMSv0/node_modules/rx-lite/rx.lite.js:1602:31)
    at TakeObserver.tryCatcher (/Users/ozten/projects/CMSv0/node_modules/rx-lite/rx.lite.js:67:31)

Desktop (please complete the following information):

OS: Mac OS X 10.13.6 (17G65)
NodeJS: v8.12.0

Additional context
I'm new to amplify and have never installed or run it before.

@ozten Could you install amplify-cli globally by running npm install -g  @aws-amplify/cli for time being.
We will have a fix for this in a bit

The fix for this is merged in the latest version of the CLI -> 0.1.28. You can now locally install the install.


Lesson data is downloaded two times upon first load

They are triigered by onSelectedYearChanged and onSelectedSemesterChanged separately.
I add the 100ms cooling time in updateSrcData, it will work better now.
https://github.com/SJTU-Plus/course-plus/pull/32


Added solution.

The PR should have the Jira number in the title: 'CM-646: How to Solve HTTP Error 500.31"


added more fucntionality(cmd) on hotrodctl

@KabeloShongwe please document all commands and add a reference to it here before I merge (you can document in the docs repo)

@stephanbuys : on it.


genkeymap: Fix an array declaration conflict

The conflict on the size of xfree86_to_evdev between genkeymap.c and
evdev-map.c is causing build failures in openSUSE builds

Nice find.
I'm sure this could do with tidying up (there's a lot of magic numbers in here), but I can see why the static analysis is picking it up.

Hi @FelixZhang , it's been a while. Thank you for your xrdp housekeeping for openSUSE. Nice find from me, too.


initial update of map and grid files for v3 model data

initial update of map and grid files for v3 model data in staging/resource derivatives.conf

@TonyB9000 I'm digging out the slack chat with Charlie: "the short answer is that for v3 post-processing we have standardized on traave for all components. There's a longer answer here that I think does not affect your current use case". I think we should use traave instead?

@chengzhuzhang Yes, I recall that (traave) from a while ago, and probably forgot when updating the "derivatives.conf" file for v3.  I recall there were LOTS of options to choose from among maps - but I don't recall where they are provided.
I note there are no "traave" maps listed in /p/user_pub/e3sm/staging/resource/[maps|grids], which is where our tools look for maps via pointers in the derivatives.conf.   Can you point me to the location where ALL of the mapfiles are listed? (I'll make a note of it in the Info directory.)  I will copy over the "traave" maps and edit the derivatives file.
ASIDE:  If that location is expected to be stable, we should have our tools look there directly, instead of maintaining our private copies.  But when it comes to relocation (e.g. to ANL), the location must remain available.

@chengzhuzhang Sorry - I just now saw that on Chrysalis, I did place the "traave" maps in the maps directory
/lcrc/group/e3sm2/DSM/Staging/Resource/maps
and they are listed in the derivatives.conf file.  Beware when you update a repo from different systems . . .
I'll straighten this out.

@chengzhuzhang What about the regions/masks files?  They are still "EC" (I assume EC is EarthCube, and ICO are the hexagon refinements for Icosahedron?)
ocean,LR,3_0,MASK,EC30to60E2r3_mocBasinsAndTransects20210623.nc
ocean,LR,3_0,REGRID,map_IcoswISC30E3r5_to_cmip6_180x360_traave.20240221.nc
sea-ice,LR,3_0,MASK,EC30to60E2r3_mocBasinsAndTransects20210623.nc
sea-ice,LR,3_0,REGRID,map_IcoswISC30E3r5_to_cmip6_180x360_traave.20240221.nc

@xylar we are trying to find out the mapping files and region mask files for v3.LR simulations. I think we identified map_IcoswISC30E3r5_to_cmip6_180x360_traave.20240221.nc as the proper mapping file, could you point out where to look for the mask files.

Also, does "traave for ALL components" mean "atmos", "land", etc? I have yet to add ANY entries for 3_0 atmos, etc.

Yes, According to @czender, we should use traave mapping files for all components for post-processing. I think Charlie has added all the files here: https://web.lcrc.anl.gov/public/e3sm/diagnostics/maps/

@chengzhuzhang, that's one of the appropriate mapping files (conservative one for fluxes).  You also need a bilinear mapping file for state variables.

could you point out where to look for the mask files

Mask files are in:
/lcrc/group/e3sm/public_html/diagnostics/mpas_analysis/region_masks

or
https://web.lcrc.anl.gov/public/e3sm/diagnostics/mpas_analysis/region_masks/
You want IcoswISC30E3r5_mocBasinsAndTransects20210623.nc.  This is only used for the ocean, not the sea ice.

I assume EC is EarthCube,

EC is for Eddy Closure (required at this coarse resolution, but not a great name...)

and ICO are the hexagon refinements for Icosahedron?)

Icos is, indeed, a subdivided icosahedron.
wISC means it is "with ice-shelf cavities"
E3 is E3SM v3
r5 is revision 5 of the mesh.

Yes, According to @czender, we should use traave mapping files for all components for post-processing. I think Charlie has added all the files here: https://web.lcrc.anl.gov/public/e3sm/diagnostics/maps/

Interesting.  I wouldn't have thought that a conservative remapping would be a good idea for state variables but I will defer to Charlie on that.

@xylar and @chengzhuzhang My recommendation of TRAAVE for the map algorithm to use for all components in post-processing is based on two criteria: 1. The algorithm should be the same or as close as possible to those used with the online model as shown in the "map-matrix" here. (I just noticed that the matrix changed significantly on May 10!). 2. Make it possible to regrid an entire dataset (with flux and state variables) in a single pass, i.e., with one mapfile. TRFV2+CAAS does not seem to be a viable option for post-processing because the CAAS changes every timestep, and many data files contain multiple timesteps. So I recommend TRAAVE instead of TRFV2+CAAS for those fields in post-processing. So the two criteria lead to using TRAAVE (with local-mean renormalization) for all component pairs in post-processing. @xylar is right that now the online model atm->ocn state variables use TRBILIN. However, in post-processing the destination grid is usually rectangular, and together with the "requirement" (which could be relaxed) that one map-file be used for all variables in a datafile, that leads to TRAAVE as the best choice because then all the flux fields are conserved and all the fields are monotonic, full stop. Happy to discuss further.

@czender For post-processing for data publication (and most atmospheric analyses), we have been using (esmf)aave mapping algorithm regardless of state or fluxes fileds for mapping model output to  i.e. 180x360 cmip grids. (from fine-to-coarse). I was assuming using a same map algorithm (traave) for the same post-processing purpose for v3 is acceptable. Thank you for the insights and clarification.

When going from fine to coarse, traave (or the old esmf aave) will be okay.  But The Icos (and old EC) mesh is about the same resolution as 180x360 so I would expect that the results will be noisy for state variables.  I wasn't aware that aave was being used for E3SM v3 state variables.  I thought when we created e3sm_to_cmip that we had different mapping files for state and flux variables and that was part of the validation exercise.  But it was a long time ago and I could be misremembering.  If there is not a distinction between flux and state variables in the workflow, traave is definitely the right map to use as a default.

@xylar Your comment about noisiness is true. As you know the recommended algorithm for state variables when src and dst meshes are comparable resolution is TRBILIN or TRINTBILIN to prevent such noisiness, and those methods are indeed used in the online model. I explained the rationale for the choices for v3 postprocessing algorithms so it's clear to everyone that the ability to use a single algorithm/mapfile to post-process all variables is an important criteria. The same rationale applied to v2, and led to the choice of ESMFAAVE as @chengzhuzhang notes. The rationale for not using BILIN in post-processing is mainly to avoid the complexity of needing to postprocess with multiple mapfiles for an ever-changing cast of variables. However, IMHO, this should not preclude discussions of whether we want to go down that path, perhaps for a well-defined subset of state variables, or for certain src/dst grid resolutions.

Okay, I must have missed when that decision was made but I'll let it be.

@xylar "I wasn't aware that aave was being used for E3SM v3 state variables.".  I don't think it has been, except in some preliminary testing.  No significant v3 data has been processed as yet.  I think Jill meant we were anticipating it.

@xylar That sounds accurate.  For specific, I have endeavored to maintain a table of maps and grids applied in our CMIP6 generation (currently in flux - I need to update for 3_0 atmos, etc).  The selection is "keyed" off of realm, resolution, and model-version.  Perhaps I need more criteria?:
atmos,0_25deg_atm_18-6km_ocean,1_0,REGRID,map_ne120np4_to_cmip6_720x1440_aave.20181001.nc
atmos,1deg_atm_60-30km_ocean,1_0_LE,REGRID,map_ne30np4_to_cmip6_180x360_aave.20181001.nc
atmos,1deg_atm_60-30km_ocean,1_0,REGRID,map_ne30np4_to_cmip6_180x360_aave.20181001.nc
atmos,HR,2_0,REGRID,map_ne120pg2_to_cmip6_720x1440_aave.20200201.nc
atmos,LR,2_0_LE,REGRID,map_ne30pg2_to_cmip6_180x360_aave.20200201.nc
atmos,LR,2_0,REGRID,map_ne30pg2_to_cmip6_180x360_aave.20200201.nc
atmos,LR,2_1,REGRID,map_ne30pg2_to_cmip6_180x360_aave.20200201.nc
atmos,LR-NARRM,2_0_NARRM,REGRID,map_northamericax4v1pg2_to_cmip6_180x360_aave.20200401.nc
land,0_25deg_atm_18-6km_ocean,1_0,REGRID,map_ne120np4_to_cmip6_720x1440_aave.20181001.nc
land,1deg_atm_60-30km_ocean,1_0_LE,REGRID,map_ne30np4_to_cmip6_180x360_aave.20181001.nc
land,1deg_atm_60-30km_ocean,1_0,REGRID,map_ne30np4_to_cmip6_180x360_aave.20181001.nc
land,HR,2_0,REGRID,map_ne120pg2_to_cmip6_720x1440_aave.20200201.nc
land,LR,2_0_LE,REGRID,map_ne30pg2_to_cmip6_180x360_aave.20200201.nc
land,LR,2_0,REGRID,map_ne30pg2_to_cmip6_180x360_aave.20200201.nc
land,LR,2_1,REGRID,map_ne30pg2_to_cmip6_180x360_aave.20200201.nc
land,LR-NARRM,2_0_NARRM,REGRID,map_northamericax4v1pg2_to_cmip6_180x360_aave.20200401.nc
ocean,1deg_atm_60-30km_ocean,1_0_LE,MASK,oEC60to30v3_Atlantic_region_and_southern_transect.nc
ocean,1deg_atm_60-30km_ocean,1_0_LE,REGRID,map_oEC60to30v3_to_cmip6_180x360_aave.20181001.nc
ocean,1deg_atm_60-30km_ocean,1_0,MASK,oEC60to30v3_Atlantic_region_and_southern_transect.nc
ocean,1deg_atm_60-30km_ocean,1_0,REGRID,map_oEC60to30v3_to_cmip6_180x360_aave.20181001.nc
ocean,LR,2_0_LE,MASK,EC30to60E2r2_mocBasinsAndTransects20210623.nc
ocean,LR,2_0_LE,REGRID,map_EC30to60E2r2_to_cmip6_180x360_aave.20220301.nc
ocean,LR,2_0,MASK,EC30to60E2r2_mocBasinsAndTransects20210623.nc
ocean,LR,2_0,REGRID,map_EC30to60E2r2_to_cmip6_180x360_aave.20220301.nc
ocean,LR,2_1,MASK,EC30to60E2r2_mocBasinsAndTransects20210623.nc
ocean,LR,2_1,REGRID,map_EC30to60E2r2_to_cmip6_180x360_aave.20220301.nc
ocean,LR,3_0,MASK,EC30to60E2r3_mocBasinsAndTransects20210623.nc
ocean,LR,3_0,REGRID,map_IcoswISC30E3r5_to_cmip6_180x360_traave.20240221.nc
ocean,LR-NARRM,2_0_NARRM,MASK,WC14to60E2r5_mocBasinsAndTransects20210623.nc
ocean,LR-NARRM,2_0_NARRM,REGRID,map_WC14to60E2r5_to_cmip6_180x360_aave.20230313.nc
sea-ice,1deg_atm_60-30km_ocean,1_0_LE,MASK,oEC60to30v3_Atlantic_region_and_southern_transect.nc
sea-ice,1deg_atm_60-30km_ocean,1_0_LE,REGRID,map_oEC60to30v3_to_cmip6_180x360_aave.20181001.nc
sea-ice,1deg_atm_60-30km_ocean,1_0,MASK,oEC60to30v3_Atlantic_region_and_southern_transect.nc
sea-ice,1deg_atm_60-30km_ocean,1_0,REGRID,map_oEC60to30v3_to_cmip6_180x360_aave.20181001.nc
sea-ice,LR,2_0_LE,MASK,EC30to60E2r2_mocBasinsAndTransects20210623.nc
sea-ice,LR,2_0_LE,REGRID,map_EC30to60E2r2_to_cmip6_180x360_aave.20220301.nc
sea-ice,LR,2_0,MASK,EC30to60E2r2_mocBasinsAndTransects20210623.nc
sea-ice,LR,2_0,REGRID,map_EC30to60E2r2_to_cmip6_180x360_aave.20220301.nc
sea-ice,LR,2_1,MASK,EC30to60E2r2_mocBasinsAndTransects20210623.nc
sea-ice,LR,2_1,REGRID,map_EC30to60E2r2_to_cmip6_180x360_aave.20220301.nc
sea-ice,LR,3_0,MASK,EC30to60E2r3_mocBasinsAndTransects20210623.nc
sea-ice,LR,3_0,REGRID,map_IcoswISC30E3r5_to_cmip6_180x360_traave.20240221.nc
sea-ice,LR-NARRM,2_0_NARRM,MASK,WC14to60E2r5_mocBasinsAndTransects20210623.nc
sea-ice,LR-NARRM,2_0_NARRM,REGRID,map_WC14to60E2r5_to_cmip6_180x360_aave.20230313.nc

It sounds like that may have been why you all decided not to try to have different maps for different fields.  While that would lead to less noisy results for some fields, it would mean you would have another entry (flux vs. state) in your table for each configuration you currently have.

@xylar It would not bother me to add it, if it helps.  But it is critical to have this information accessible in a table for process automation.  I am given (via updates to our "dataset_spec", model-version, experiment, resolution, and then realm-by-realm lists of native and CMIP6 variables, from which to produce derivative datasets.  "flux vs state" is not readily accessible in the spec.  If it exists in the file metadata, I was never informed to look for it (and in any case, it should be an externally-defined relationship - I would think.)

@TonyB9000, I think we have to let this be.  I think we (the E3SM team) would have to maintain a table of whether each variable is a state or a flux variable.  Domain scientists will know whether each variable is a state or flux field and I would have hoped that CMOR would provide this information (because it isn't model specific) but that doesn't seem to be the case.  It seems like you all haven't been able to get enough engagement from domain scientists to help maintain a table of this kind, so it seems like the fallback solution has been to do conservative interpolation for all variables.  Since I don't have time to help fix this, I think we just stick with that approach.

@xylar Thank you for looking into this.  I suppose maintaining such a table locally (E3SM) would be an alternative, updated automatically by examining the metadata for each variable when a new archive arrives. (A simple step, assuming even the means of making the determination is uniform).  Perhaps that is overkill.  But it is good to understand the situation.  I am ignorant regarding the nature of the noise introduced, or resolution lost, by these choices of maps.

@chengzhuzhang Given the above discussion, I am still challenged to identify precisely which mapfiles, grids. masks will be applied to CMIP dataset generation for v3 data, for each realm.
/public/e3sm/diagnostics/maps lists 5 "traave" entries:
map_IcoswISC30E3r5_to_cmip6_180x360_traave.20240221.nc
map_IcosXISC30E3r7_to_cmip6_180x360_traave.20240314.nc
map_ne120pg2_to_cmip6_180x360_traave.20240401.nc
map_ne30pg2_to_cmip6_180x360_traave.20231201.nc
map_r05_to_cmip6_180x360_traave.20231110.nc

For "LR" resolution (and non-MPAS), I will guess that map_ne30pg2_to_cmip6_180x360_traave.20231201.nc is appropriate.
The table entries I had (somehow) prepared for v3 ocean and sea-ice were these:
ocean,LR,3_0,MASK,EC30to60E2r3_mocBasinsAndTransects20210623.nc
ocean,LR,3_0,REGRID,map_IcoswISC30E3r5_to_cmip6_180x360_traave.20240221.nc
sea-ice,LR,3_0,MASK,EC30to60E2r3_mocBasinsAndTransects20210623.nc
sea-ice,LR,3_0,REGRID,map_IcoswISC30E3r5_to_cmip6_180x360_traave.20240221.nc

This may have been premature.
I note that `/public/e3sm/diagnostics/mpas_analysis/maps`` lists roughly 350 maps, and I have no idea which, if any, are appropriate for MPAS CMIP6 generation.  Likewise, almost 250 region_masks exist.
@xylar wrote (regarding masks):
You want IcoswISC30E3r5_mocBasinsAndTransects20210623.nc. This is only used for the ocean, not the sea ice.
So, at least one of my 4 table entries looks OK.  But for sea-ice ... ?
(BTW, https://web.lcrc.anl.gov/public/e3sm/diagnostics/e3sm_to_cmip_data/ lists maps and grids and other materials that are quite out-of-date.  Who should maintain this material - and don't all look at me. ;) )

@TonyB9000 I think what Xylar meant is that sea-ice doesn't need a mask file,i.e. IcoswISC30E3r5_mocBasinsAndTransects20210623.nc
I think only the variable msftmz: Ocean Meridional Overturning Mass Streamfunction needs such a mask file.
Could you also take care updating data here: https://web.lcrc.anl.gov/public/e3sm/diagnostics/e3sm_to_cmip_data/  the local path is /lcrc/group/e3sm/public_html/diagnostics/e3sm_to_cmip_data/ (yes, I'm looking at you again)... then there is a mache tool to keep all supported machines in sync (

@chengzhuzhang OK,  I will eliminate the "sea-ice,*,*,MASK" entries from the derivatives.conf file.  I thought it might be needed for any MPAS processing.
I will employ map_ne30pg2_to_cmip6_180x360_traave.20231201.nc for non-MPAS (v3) regridding.
I'll log into chrysalis and see what I can do to update the e3sm_to_cmip_data content.

Thank you @TonyB9000

@TonyB9000 Just making sure you know that the correct map LR for v3 ELM is map_r05_to_cmip6_180x360_traave.20231110.nc

@czender Thank you Charlie!  No, I did not know that and had the wrong v3 ELM map!   Previously (v2), we had employed the same map for both EAM and ELM (map_ne30pg2_to_cmip6_180x360_aave.20200201.nc).  So now:
v3 LR EAM: map_ne30pg2_to_cmip6_180x360_traave.20231201.nc
v3 LR ELM: map_r05_to_cmip6_180x360_traave.20231110.nc

If you please, how should I have made this determination?  I sought the page:
https://acme-climate.atlassian.net/wiki/spaces/DOC/pages/178848194/Recommended+Mapping+Procedures+for+E3SM+Atmosphere+Grids#RecommendedMappingProceduresforE3SMAtmosphereGrids-E3SMv3.LRMappingtable
but honestly cannot make sense of it.

Aloha @TonyB9000. I do not have one-size-fits-all-forever answer to your question. E3SM components evolve and adopt new grids, sometimes, as versions change. One of my jobs is to make sure post-processing support works so I track grids and mapfiles carefully. Just ask me (or @xylar for MPAS) if you're unsure. You can always check that a mapfile is correct by attempting to regrid data with it. Another check is that (the product of) the horizontal dimensions in a source data file equals the sizes of the n_a dimension in the associated mapfile. The regridder will fail and spit out these numbers as an ERROR message if you use the wrong mapfile.
I personally do not use the file IcoswISC30E3r5_mocBasinsAndTransects20210623.nc but it's definitely for the v3 ocean model so I guess that  another tool like zppy uses it. However, these lines
ocean,3_0,LR,REGRID,map_ne30pg2_to_cmip6_180x360_traave.20231201.nc <-- Ocean is not on ne30pg2
sea-ice,3_0,LR,REGRID,map_ECwISC30to60E3r2_to_cmip6_180x360_aave.20230901.nc <- This looks like a mapfile for an unreleased, early version of v3?

appear to be incorrect because the mapfile for regridding raw ocean data to 180x360 is the same as that for the sea-ice model (i.e., ocean and sea-ice models run on the same grid), and v3 LR simulations for both ocean and ice should use map_IcoswISC30E3r5_to_cmip6_180x360_traave.20231201.nc.
And yes, AFAIK, MOSART and ELM are on the same grid and should use the same mapping file.

@czender Thank you so much for clarifying.  Probably naive of me to think that CMIP would demand a particular regridding and that E3SM would know what that is.  Too much freedom! :)  Until I have v3 data in hand with which to experiment, I'll just have to settle for close-enough and then wait.  Enjoy!


Implement v1 architecture in Code

We are adapting multiple ideas from other models to create a flexible architecture (multi resolution, multi chip size, multi bands / platform)

The v1 architecture is complete, we are now focused on the DataLoader and Sampler and setting up the infrastructure for trainig.


Make use of pyarrow iter_batches

Issue #660:
Description of changes:
When available make use of the new pyarrow function iter_batches, but keep the old mechanism as a fallback for pyarrow < 3.0.0.
I've opted for explicitly checking for the availability of iter_batches instead of a try except block, because of the for loop over the batches and to make sure that the two parsing mechanisms don't get mixed up in case of an unexpected exception.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-sDRE8Pq0duHT
Commit ID: 04111ea27273ea2e9c7aa31be0bc592d4d900f1b
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-sDRE8Pq0duHT
Commit ID: e03bfc1ded7cadc0f4cd50fae34b4435b52cea78
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Check for presence of 'lookup' key

Access to this key might have failed otherwise when the user specifies
no pillar.

ping?

thanks


Mutation with EF model object as parameter

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
This
public Customer AddCustomer(Customer customer)
        {
            ctx.Customers.Add(customer);
            ctx.SaveChanges();
            return customer;
        }

results to that graphql mutation query requires customer.id which is primary key.
mutation {
addCustomer(customer: {email:"abc@cde.ef",name:"xy"}) {
id, name
}
}
In this case i don't want to pass Customer.ID at all.
Is there any workaround (without need to create new input type) or it is simply not possible?
Steps to reproduce

Create mutation function with any EF model with primary key as a parameter.
create mutation query
Error that ID is required parameter appears.

Relevant log output
No response
Additional Context?
No response
Product
Hot Chocolate
Version
12.8.1

As per the docs, it is best practice for Mutations to contain a single argument called Input.
However, you don’t need to create these manually!
HotChocolate allows you to opt in to the AddMutationConventions when configuring your GraphQL server.
service
    .AddGraphQLServer()
    .AddMutationConventions(applyToAllMutations: true)

(The applyToAllMutations: true is optional, but I personally recommend it)
Then, all you’d need to do is adjust your method to only include the properties you want (e.g – email and name)
public Customer AddCustomer(string email, string name, ...)
If you prefer, you can still always create your own inputs, but with the AddMutationConventions  you don’t necessarily have to.
Hope this helps :)

Conventions... clear.
However if i want to do this:
public Customer AddCustomer(Customer c)
and
public Customer UpdateCustomer(Customer c)
In mutation query I thought it is somehow possible that UpdateCustomer expect Customer.ID and in AddCustomer doesn't.
Simply modify EF model or tell it to framework somehow.
To avoid parameters duplications or creating similar models outside EF.
Thank you

Declate InputObject and mark field id as nullable. However you will have to manually validate in each mutation that id is or is not filled.

OR

Create two classes UpdateYourEntityInput and CreateYourEntityInput which both inherit your entity and mark property id ignored by attribute (not sure if attribute exists) or using option 1. This produces two separate input which are both assignable to YourEntity in C# and can be directly added to EFC (which recognises that it's suppose to save it as parent type as EFC scans inheritance for non-configured types to find configured type).

I am closing this issue as it is not a bug. There are several ways to solve this, from using a type to specify which parts are ignored in the input case. Another good solution might be to have a separate model for the input case that also encapsulates validation.


Issue in restoring the backed data via invoke restore

Please verify that this bug has NOT been raised before.

[x] I checked and didn't find a similar issue

Describe the bug*
I want to have a proper backup and restore plan for Inventree database and media. Using the invoke created the backup manually for database and media. But restore of this same data in not working at all. Tried all the combination.
Steps to Reproduce
Creating backup in the existing running system

Data Backup via command invoke backup

sudo docker compose run --rm inventree-server invoke backup

Note down database Username and password from .env file

INVENTREE_DB_USER=<username>
INVENTREE_DB_PASSWORD=<password>

Finally Transfer or store into another system

Restore the data backup in other new system

Create the basic Required file as per the document link
Update database Username and password in .env file

INVENTREE_DB_USER=<username>
INVENTREE_DB_PASSWORD=<password>

Copying backup data from $BACKUP_SOURCE_PATH to the backup folder

sudo cp $BACKUP_SOURCE_PATH/*.gz $INVENTREE_DATA_PATH/backup/

Prepare the restore database and media file via invoke restore (Giving error)

sudo docker compose run --rm inventree-server invoke install
sudo docker compose run --rm inventree-server invoke restore

OR Tried Individually also (Giving error)
sudo docker compose run --rm inventree-server invoke install
sudo docker compose run --rm inventree-server invoke restore -g
sudo docker compose run --rm inventree-server invoke restore -i

Note: I tried without applying the invoke install or invoke update --skip-backupstep, still issue is there.

Starting all Docker containers via compose.

sudo docker compose up --remove-orphans -d

Expected behaviour
Success database and media file restore. In database restore is failed. For details refer the log section.
Deployment Method

[x] Docker
[ ] Package
[ ] Bare metal
[ ] Other - added info in Steps to Reproduce

Version Information
Versions:
Python      3.11.9
Django      4.2.15
InvenTree   0.16.9
API         232
Node        N/A
Yarn        N/A
Commit hash: e0756a7
Commit date: 2024-11-30
Please verify if you can reproduce this bug on the demo site.

[ ] I can reproduce this bug on the demo site.

Relevant log output
inventree$ sudo docker compose run --rm inventree-server ls data/backup
[+] Creating 2/0
 ✔ Container inventree-cache  Running                                                                                0.0s
 ✔ Container inventree-db     Running                                                                                0.0s
Loading config file : /home/inventree/data/config.yaml
24bd37a68652-2024-12-01-091519.tar.gz               default-24bd37a68652-2024-12-01-091516.psql.bin.gz

-----------------------------------------------------------------------------------------------------------------------------------------

inventree$ sudo docker compose run --rm inventree-server invoke restore
[+] Creating 2/0
 ✔ Container inventree-cache  Running                                                                                0.0s
 ✔ Container inventree-db     Running                                                                                0.0s
Loading config file : /home/inventree/data/config.yaml
Restoring InvenTree database
Python version 3.11.9 - /usr/local/bin/python3
/root/.local/lib/python3.11/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
  warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
Failed to set maintenance mode state
Failed to reset pricing flags - database not ready
Traceback (most recent call last):
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 732, in execute
    raise ex.with_traceback(None)
psycopg.errors.UndefinedTable: relation "part_partpricing" does not exist
LINE 1: SELECT COUNT(*) AS "__count" FROM "part_partpricing" WHERE "...
                                          ^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/inventree/src/backend/InvenTree/part/apps.py", line 68, in reset_part_pricing_flags
    if items.count() > 0:
       ^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 608, in count
    return self.query.get_count(using=self.db)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/query.py", line 568, in get_count
    return obj.get_aggregation(using, {"__count": Count("*")})["__count"]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/query.py", line 554, in get_aggregation
    result = compiler.execute_sql(SINGLE)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql
    cursor.execute(sql, params)
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
    return executor(sql, params, many, context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute
    with self.db.wrap_database_errors:
  File "/root/.local/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 732, in execute
    raise ex.with_traceback(None)
django.db.utils.ProgrammingError: relation "part_partpricing" does not exist
LINE 1: SELECT COUNT(*) AS "__count" FROM "part_partpricing" WHERE "...
                                          ^
Database not ready for creating default report templates
Failed to set maintenance mode state
Database was not ready for initializing machines
Failed to remove obsolete tasks - database not ready
Traceback (most recent call last):
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 732, in execute
    raise ex.with_traceback(None)
psycopg.errors.UndefinedTable: relation "django_q_schedule" does not exist
LINE 1: SELECT 1 AS "a" FROM "django_q_schedule" WHERE "django_q_sch...
                             ^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/inventree/src/backend/InvenTree/InvenTree/apps.py", line 102, in remove_obsolete_tasks
    if obsolete_tasks.exists():
       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1241, in exists
    return self.query.has_results(using=self.db)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/query.py", line 598, in has_results
    return compiler.has_results()
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1530, in has_results
    return bool(self.execute_sql(SINGLE))
                ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql
    cursor.execute(sql, params)
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
    return executor(sql, params, many, context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute
    with self.db.wrap_database_errors:
  File "/root/.local/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 732, in execute
    raise ex.with_traceback(None)
django.db.utils.ProgrammingError: relation "django_q_schedule" does not exist
LINE 1: SELECT 1 AS "a" FROM "django_q_schedule" WHERE "django_q_sch...
                             ^
Traceback (most recent call last):
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 732, in execute
    raise ex.with_traceback(None)
psycopg.errors.UndefinedTable: relation "django_q_schedule" does not exist
LINE 1: ...", "django_q_schedule"."intended_date_kwarg" FROM "django_q_...
                                                             ^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/inventree/src/backend/InvenTree/manage.py", line 24, in <module>
    main()
  File "/home/inventree/src/backend/InvenTree/manage.py", line 20, in main
    execute_from_command_line(sys.argv)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/root/.local/lib/python3.11/site-packages/django/core/management/__init__.py", line 416, in execute
    django.setup()
  File "/root/.local/lib/python3.11/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/root/.local/lib/python3.11/site-packages/django/apps/registry.py", line 124, in populate
    app_config.ready()
  File "/home/inventree/src/backend/InvenTree/InvenTree/apps.py", line 61, in ready
    self.start_background_tasks()
  File "/home/inventree/src/backend/InvenTree/InvenTree/apps.py", line 120, in start_background_tasks
    for existing_task in Schedule.objects.all():
  File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 398, in __iter__
    self._fetch_all()
  File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1881, in _fetch_all
    self._result_cache = list(self._iterable_class(self))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 91, in __iter__
    results = compiler.execute_sql(
              ^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql
    cursor.execute(sql, params)
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
    return executor(sql, params, many, context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute
    with self.db.wrap_database_errors:
  File "/root/.local/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 732, in execute
    raise ex.with_traceback(None)
django.db.utils.ProgrammingError: relation "django_q_schedule" does not exist
LINE 1: ...", "django_q_schedule"."intended_date_kwarg" FROM "django_q_...

You will need a few more things:

the full .env
depending on your setup the secret key file

For a restore you will need to initialise the database before attempting the restore.

For a restore you will need to initialise the database before attempting the restore.

To be specific here, you need to run docker compose --rm inventree-server invoke update
The errors here are because the required database tables have not been initialized yet. Ref: https://docs.inventree.org/en/stable/start/migrate/#initialize-new-database

Still issue is there with different error. Server is up But unable to login with old username and password
Different error while restoring the data(Refer below the Error logs).

Update the Restore process

Create the basic Required file as per the document
Replace the .env file with backup (Except the INVENTREE_SITE_URL and INVENTREE_EXT_VOLUME)
Copying backup data from $BACKUP_SOURCE_PATH to the backup folder & Secret key file
Prepare the restore database and media file via invoke(Giving error)

sudo docker compose run --rm inventree-server invoke update --skip-backup
sudo docker compose run --rm inventree-server invoke restore

Starting all Docker containers via compose.

sudo docker compose up --remove-orphans -d

Error log
inventree$ sudo docker compose run --rm inventree-server ls data/backup
[+] Creating 2/0
 ✔ Container inventree-db     Running                                                   0.0s
 ✔ Container inventree-cache  Running                                                   0.0s
Loading config file : /home/inventree/data/config.yaml
24bd37a68652-2024-12-01-091519.tar.gz
default-24bd37a68652-2024-12-01-091516.psql.bin.gz

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
inventree$ sudo docker compose run --rm inventree-server invoke restore
[+] Creating 2/0
 ✔ Container inventree-cache  Running                                                                                0.0s
 ✔ Container inventree-db     Running                                                                                0.0s
Loading config file : /home/inventree/data/config.yaml
Restoring InvenTree database
Python version 3.11.9 - /usr/local/bin/python3
/root/.local/lib/python3.11/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
  warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
Finding latest backup
Restoring backup for database 'default' and server 'None'
Restoring: default-24bd37a68652-2024-12-01-091516.psql.bin.gz
Restore tempfile created: 554.6 KiB
 pg_restore --dbname=postgresql://<REMOVED the DB USERNAME & PASSWORD>@inventree-db:5432/inventree --single-transaction --clean
Traceback (most recent call last):
  File "/home/inventree/src/backend/InvenTree/manage.py", line 24, in <module>
    main()
  File "/home/inventree/src/backend/InvenTree/manage.py", line 20, in main
    execute_from_command_line(sys.argv)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/root/.local/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/dbbackup/management/commands/dbrestore.py", line 71, in handle
    self._restore_backup()
  File "/root/.local/lib/python3.11/site-packages/dbbackup/management/commands/dbrestore.py", line 120, in _restore_backup
    self.connector.restore_dump(input_file)
  File "/root/.local/lib/python3.11/site-packages/dbbackup/db/base.py", line 105, in restore_dump
    return self._restore_dump(dump)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/dbbackup/db/postgresql.py", line 124, in _restore_dump
    stdout, stderr = self.run_command(cmd, stdin=dump, env=self.restore_env)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/dbbackup/db/base.py", line 171, in run_command
    raise exceptions.CommandConnectorError(
dbbackup.db.exceptions.CommandConnectorError: Error running:  pg_restore --dbname=postgresql://<REMOVED the DB USERNAME & PASSWORD>@inventree-db:5432/inventree --single-transaction --clean
pg_restore: while PROCESSING TOC:
pg_restore: from TOC entry 4419; 2606 19120 FK CONSTRAINT socialaccount_socialapp_sites socialaccount_social_socialapp_id_97fb6e7d_fk_socialacc bevlux
pg_restore: error: could not execute query: ERROR:  relation "public.socialaccount_socialapp_sites" does not exist
Command was: ALTER TABLE ONLY public.socialaccount_socialapp_sites DROP CONSTRAINT socialaccount_social_socialapp_id_97fb6e7d_fk_socialacc;

Running Database server log output
PostgreSQL Database directory appears to contain a database; Skipping initialization

2024-12-02 02:55:50.565 UTC [1] LOG:  starting PostgreSQL 13.18 (Debian 13.18-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit

2024-12-02 02:55:50.566 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432

2024-12-02 02:55:50.566 UTC [1] LOG:  listening on IPv6 address "::", port 5432

2024-12-02 02:55:50.567 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"

2024-12-02 02:55:50.569 UTC [27] LOG:  database system was shut down at 2024-12-02 02:52:57 UTC

2024-12-02 02:55:50.573 UTC [1] LOG:  database system is ready to accept connections

2024-12-02 03:00:11.626 UTC [254] ERROR:  relation "public.socialaccount_socialapp_sites" does not exist

2024-12-02 03:00:11.626 UTC [254] STATEMENT:  ALTER TABLE ONLY public.socialaccount_socialapp_sites DROP CONSTRAINT socialaccount_social_socialapp_id_97fb6e7d_fk_socialacc;

Are you migrating data between two setups with the exact same version and configuration?
The error message here is likely because multi site support is not enabled on your new setup - but it was (at some stage) on your old setup.
So, there are tables which exist in your old database which are not available in your new setup..

So, what you probably need to do is:

Crete a copy of your original database
Manually drop the "public.socialaccount_socialapp_sites table
Restore from the database which no longer has that table

@SchrodingersGat
Actually, I don't know much about database table creation.
Two options coming in my mind

Since the current application is running, On the front end (GUI) If I create a social account, then create a backup and use it for restore purposes. How to create a social account frontend (GUI)?

Can I use the migration database (invoke import-records ) option?  Initially I tried it but it is giving a different error so dropped that Idea.

Please let me know If the manual table creation is the only option?

Please provide your response here.
All My important data is stored here.
CC @SchrodingersGat @matmair

Please let me know If the manual table creation is the only option to do?

I am not suggesting creating any new tables. Rather, in the old data, you need to remove the offending table - as it is not supported in the new database schema

Yes, I understand your point.
I haven't worked in the database. Still I started exploring.
As per online search and chatgpt, I tried the take dump from the backup database file and removed the problem line then tried restoring data. But that is giving many errors 😕.
This is the reason I am asking for a possible alternate approach.
Your help will be very much valuable here!!!
CC: @SchrodingersGat

Unless you can get the database schema to match between both systems, the the invoke restore operation will continue to fail.

Can I use the migration database (invoke import-records ) option? Initially I tried it but it is giving a different error so dropped that Idea.

Yes, this would be worth a try. The data import process is more forgiving around differences in database tables. I have successfully used this to migrate between different database backends.
What error message are you getting when you try this approach?

While import first I got below error
1.
django.db.utils.IntegrityError: Problem installing fixture '/home/inventree/data/2b_data.json.data.json': Could not load common.InvenTreeSetting(pk=1): duplicate key value violates unique constraint "common_inventreesetting_key_key"
DETAIL:  Key (key)=(INVENTREE_DEFAULT_CURRENCY) already exists.

After see this error tried adding the below line in config as per the previous system( I configured default currency as INR).
# Base currency code (or use env var INVENTREE_BASE_CURRENCY)
base_currency: INR

# List of currencies supported by default. Add other currencies here to allow use in InvenTree
currencies:
  - AUD
  - CAD
  - CNY
  - EUR
  - GBP
  - JPY
  - NZD
  - INR
  - USD

and then run invoke update --skip-backup and  invoke import-records, Still I getting the same error.  and

I tried copy whole config.yaml as previous system Now I getting the different error*
django.db.utils.ProgrammingError: Problem installing fixture '/home/inventree/data/2b_data.json.auth.json': Could not load auth.Group(pk=1): relation "auth_group" does not exist
LINE 1: UPDATE "auth_group" SET "name" = 'Jai' WHERE "auth_group"."i...

I have attached both the logs
Not Sure what is mistake I am doing here.
Complete Error logs for two case

Without copy the config.yaml and manually adding the default currency details

inventree$ sudo docker compose run --rm inventree-server invoke import-records -f data/2b_data.json
Importing database records from '/home/inventree/data/2b_data.json'
Importing user auth data...
Python version 3.11.9 - /usr/local/bin/python3
/root/.local/lib/python3.11/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
  warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
Installed 4 object(s) from 1 fixture(s)
Importing database records...
Python version 3.11.9 - /usr/local/bin/python3
/root/.local/lib/python3.11/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
  warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
Traceback (most recent call last):
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 732, in execute
    raise ex.with_traceback(None)
psycopg.errors.UniqueViolation: duplicate key value violates unique constraint "common_inventreesetting_key_key"
DETAIL:  Key (key)=(INVENTREE_DEFAULT_CURRENCY) already exists.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/inventree/src/backend/InvenTree/manage.py", line 24, in <module>
    main()
  File "/home/inventree/src/backend/InvenTree/manage.py", line 20, in main
    execute_from_command_line(sys.argv)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/root/.local/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/core/management/commands/loaddata.py", line 102, in handle
    self.loaddata(fixture_labels)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/commands/loaddata.py", line 163, in loaddata
    self.load_label(fixture_label)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/commands/loaddata.py", line 253, in load_label
    if self.save_obj(obj):
       ^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/core/management/commands/loaddata.py", line 209, in save_obj
    obj.save(using=self.using)
  File "/root/.local/lib/python3.11/site-packages/django/core/serializers/base.py", line 288, in save
    models.Model.save_base(self.object, using=using, raw=True, **kwargs)
  File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 877, in save_base
    updated = self._save_table(
              ^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 990, in _save_table
    updated = self._do_update(
              ^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1054, in _do_update
    return filtered._update(values) > 0
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1231, in _update
    return query.get_compiler(self.db).execute_sql(CURSOR)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1984, in execute_sql
    cursor = super().execute_sql(result_type)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql
    cursor.execute(sql, params)
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
    return executor(sql, params, many, context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute
    with self.db.wrap_database_errors:
  File "/root/.local/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 732, in execute
    raise ex.with_traceback(None)
django.db.utils.IntegrityError: Problem installing fixture '/home/inventree/data/2b_data.json.data.json': Could not load common.InvenTreeSetting(pk=1): duplicate key value violates unique constraint "common_inventreesetting_key_key"
DETAIL:  Key (key)=(INVENTREE_DEFAULT_CURRENCY) already exists.

Copied the config.yaml from whole file

/inventree$ sudo docker compose run --rm inventree-server invoke import-records -f data/2b_data.json
[+] Creating 1/0
 ✔ Container inventree-db  Running                                                                                0.0s
Loading config file : /home/inventree/data/config.yaml
Importing database records from '/home/inventree/data/2b_data.json'
Importing user auth data...
Python version 3.11.9 - /usr/local/bin/python3
/root/.local/lib/python3.11/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
  warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
Traceback (most recent call last):
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 732, in execute
    raise ex.with_traceback(None)
psycopg.errors.UndefinedTable: relation "auth_group" does not exist
LINE 1: UPDATE "auth_group" SET "name" = 'Jai' WHERE "auth_group"."i...
               ^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/inventree/src/backend/InvenTree/manage.py", line 24, in <module>
    main()
  File "/home/inventree/src/backend/InvenTree/manage.py", line 20, in main
    execute_from_command_line(sys.argv)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/root/.local/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/core/management/commands/loaddata.py", line 102, in handle
    self.loaddata(fixture_labels)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/commands/loaddata.py", line 163, in loaddata
    self.load_label(fixture_label)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/commands/loaddata.py", line 253, in load_label
    if self.save_obj(obj):
       ^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/core/management/commands/loaddata.py", line 209, in save_obj
    obj.save(using=self.using)
  File "/root/.local/lib/python3.11/site-packages/django/core/serializers/base.py", line 288, in save
    models.Model.save_base(self.object, using=using, raw=True, **kwargs)
  File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 877, in save_base
    updated = self._save_table(
              ^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 990, in _save_table
    updated = self._do_update(
              ^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/base.py", line 1054, in _do_update
    return filtered._update(values) > 0
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/query.py", line 1231, in _update
    return query.get_compiler(self.db).execute_sql(CURSOR)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1984, in execute_sql
    cursor = super().execute_sql(result_type)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql
    cursor.execute(sql, params)
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
    return executor(sql, params, many, context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute
    with self.db.wrap_database_errors:
  File "/root/.local/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/root/.local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/psycopg/cursor.py", line 732, in execute
    raise ex.with_traceback(None)
django.db.utils.ProgrammingError: Problem installing fixture '/home/inventree/data/2b_data.json.auth.json': Could not load auth.Group(pk=1): relation "auth_group" does not exist
LINE 1: UPDATE "auth_group" SET "name" = 'Jai' WHERE "auth_group"."i...

Please let me know if I have to provide any other details
@SchrodingersGat

Hi @SchrodingersGat
All the issues are resolved, by adding -c to clear old data before import.
import-records -c -f data/2b_data.json

Thanks for your support !!!!

@Jaishankar872 happy to hear that you got it worked out


[test] Disable UnicodeLongTest.swift on watchos

rdar://problem/46609532

@swift-ci please test

Is there somewhere we run this test on a 32-bit platform, though? Can we allow it on the watch simulator but not the watch device or something?

How would I do that?

UNSUPPORTED: OS=watchos && CPU=armv7k or something? But try it out locally to make sure it's still working in the simulator, then.

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 277047eb8d113d404750ce1296432b60c55775ff

Build failed
Swift Test OS X Platform
Git Sha - 277047eb8d113d404750ce1296432b60c55775ff


Update observable

added the possibility to update a field in a observable in a case (tags, description, etc...)

I'll add some changes to make sure only updatable observable fields can be updated

Great! Thanks :)


Black text in quotation in replies

Expected behavior
When replying to a mail the quoted part should be shown in white, also when the black design is used.
Actual behavior

Steps to reproduce
Additionally you may need to use a black design in Cyanogenmod.
The pre-5.0 version the quote was shown correctly.
Environment
K-9 Mail version: 5.20
Android version: CM 13

If you're messing with system themes, you're on your own. Have you tried simply using K-9 Mail's dark theme?

I am using k9 mail darks theme and I just reproduced it with the System theme of CM.
Actually I saw the mail itself is the issue.

The original mail was from GitHub support, in case you care to reproduce it.
However I could also reproduce it by sending a plain-text mail to myself. You can directly send it from K9 mail. When replying this time the issue is not just that the font is black, but also that the font size is 8 pt or so, at least it is pretty small.

I see. We're not doing the same HTML preprocessing in the compose screen like we do in the message view screen.

But it's different…

I have same problem. I would need to edit the reply section if I want to view it properly.

I would need to edit the reply section if I want to view it properly.

Yes, this works here too. It basically just converts the screen to text.

Nice that this issue was fixed, but one problem still remains: https://github.com/k9mail/k-9/issues/2106


Revert "Arnej/use common hamming distance"

Reverts vespa-engine/vespa#19343
Unite test fails:
09:27:36 The following tests FAILED:
09:27:36 	788 - vespalib_hamming_test_app (Failed)

Fixed in https://github.com/vespa-engine/vespa/pull/19347


expose crop_native_box as a config variable

was hard-coded to 256x256x256vox

Test case worked and the spacing issue is now fixed in the YAML

awesome thanks, will merge this in now..


Add support for sound playback as per specification

Relevant: https://stackoverflow.com/questions/4060601/make-sounds-beep-with-c


Cannot delete collection with burned NFTs

Since we're doing lot of testing, I've created few collections with the idea of deleting them later.  Today I found out I can't delete empty collection, if there were previously any NFTs (even when they're burned).
Example:
https://beta.kodadot.xyz/bsx/collection/3639335494
The collection itself isn't showing in the explorer, however, I can't hit the delete button and I keep seeing it when trying to mint new nfts etc.

linked to:

https://github.com/kodadot/nft-gallery/issues/3206


Use nginx proxy on non-master nodes to proxy apiserver traffic

Also adds all masters by hostname and localhost/<IP_ADDRESS> to
apiserver SSL certificate.

WIP for now. I will update docs with a diagram showing flow of data with the proxy.
Nginx listens on https://localhost on each non-master kube-node host. It sets up a transparent SSL passthrough proxy to each kube-apiserver, which are located on kube-master role hosts. In this configuration. The reason for this proxy is because kubelet and kube-proxy are unable to contact multiple masters(link to Kubernetes issue #18174). The only viable workarounds are to use an external DNS with multiple A records or to set up an external loadbalancer. Since Kargo assumes little control of the deployer's infrastructure, setting up an external loadbalancer listening on localhost is the most sensible and conservative option.


About Resolution Presets and Frame Rate

Is it correct to assess for frame rate in the playground that for the available presets we have
- 1216x704: 41 frames / 5 seconds = 8.2 FPS
- 1088x704: 49 frames / 5 seconds = 9.8 FPS
- 1056x640: 57 frames / 5 seconds = 11.4 FPS
- 992x608: 65 frames / 5 seconds = 13 FPS
- 896x608: 73 frames / 5 seconds = 14.6 FPS
- 896x544: 81 frames / 5 seconds = 16.2 FPS
- 832x544: 89 frames / 5 seconds = 17.8 FPS
- 800x512: 97 frames / 5 seconds = 19.4 FPS
- 768x512: 97 frames / 5 seconds = 19.4 FPS
- 800x480: 105 frames / 5 seconds = 21 FPS
- 736x480: 113 frames / 5 seconds = 22.6 FPS
- 704x480: 121 frames / 5 seconds = 24.2 FPS
- 704x448: 129 frames / 5 seconds = 25.8 FPS
- 672x448: 137 frames / 5 seconds = 27.4 FPS
- 640x416: 153 frames / 5 seconds = 30.6 FPS
- 672x384: 161 frames / 5 seconds = 32.2 FPS
- 640x384: 169 frames / 5 seconds = 33.8 FPS
- 608x384: 177 frames / 5 seconds = 35.4 FPS
- 576x384: 185 frames / 5 seconds = 37 FPS
- 608x352: 193 frames / 5 seconds = 38.6 FPS
- 576x352: 201 frames / 5 seconds = 40.2 FPS
- 544x352: 209 frames / 5 seconds = 41.8 FPS
- 512x352: 225 frames / 5 seconds = 45 FPS
- 512x352: 233 frames / 5 seconds = 46.6 FPS
- 544x320: 241 frames / 5 seconds = 48.2 FPS
- 512x320: 249 frames / 5 seconds = 49.8 FPS
- 512x320: 257 frames / 5 seconds = 51.4 FPS

While I see that FPS settings has range from 21 to 30.
Thank you!

I don't think there's a causal link between the frame rate and the number of frames. Per my understsanding, the presets in the ComfyUI node are just a convenient way to select from some common resolutions and total frame counts - and the frame rate is set separately, but I think the model has mainly been trained for frame rates of 24-30.
The presets on the Playground are the same, and you input the frame rate separately there as well, so I'm not sure I understand what you mean?

Ah ok thanks I see,
So the actual frame rate is calculated lately in app.py when selecting the fps parameters from the slider.
Thank you!


[Enhancement] Pause timeout when cursor hovering alert

Hi, thanks for the nice lib.
It'd be a nice feature if the timeout could be paused when the cursor is hovering the alert.

Hi @orditeck. It's easily can be done, just adding the events listeners onMouseEnter, onMouseLeave to the alert template

I was wondering if I could get some clarity on what needs to be called in the onMouseEnter and onMouseLeave handlers in the alert template in order to pause the timeout? As far as I can tell, the only option is to omit the timeout option completely and implement a custom one inside the alert template that calls close directly. Is that correct?

Hi @ShannonLCapper, yes it's totally correct. It may be not the best implementation, but it's the working one. I use such construction in one of my projects.


"dotnet graphql update" delets schema file before checking if server is reachable

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
When you run "dotnet graphql update" as documented in the strawberryshake tooling.md and the endpoint is not reachable, you wil get a HTTP Error and the process stops (so far so good) BUT the process will delete the schema.graphql file before it tries to reach the server, so that you will be left with a missing schema and failing builds.
Maybe you can restore the schema from your local git client, but this can be quite annoying and dangerous.
Steps to reproduce

Make sure the graphql endpoint / server is not reachable
In the console navigate to the project where you have implemented StrawberryShake
run "dotnet graphql update"
Try to recompile or run any test - it will fail due to the missing schema file

Relevant log output
No response
Additional Context?
It would be handyto check if the server was reachable before deleting any schema files.
Product
Strawberry Shake
Version
12.12.1

Thank you for reporting this

This is fixed with version 13