Exception while processing document [unknown source] in module Razor: The model item passed into the ViewDataDictionary is of type 'Wyam.Core.Documents.Document', but this ViewDataDictionary instance requires a model item of type 'Google.Apis.YouTube.v3.Data.PlaylistItemListResponse'.
Error while executing module Razor
Error while executing pipeline RenderYouTube
Exception during execution: System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: The model item passed into the ViewDataDictionary is of type 'Wyam.Core.Documents.Document', but this ViewDataDictionary instance requires a model item of type 'Google.Apis.YouTube.v3.Data.PlaylistItemListResponse'.
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary.EnsureCompatible(Object value)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary..ctor(ViewDataDictionary source, Object model, Type declaredModelType)
at lambda_method(Closure , ViewDataDictionary )
at Microsoft.AspNetCore.Mvc.Razor.RazorPageActivator.Activate(IRazorPage page, ViewContext context)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.<RenderPageAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.<RenderLayoutAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.<RenderAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Wyam.Razor.RazorCompiler.RenderPage(RenderRequest request) in C:\Dropbox\OSS\wyamio\youtube\src\extensions\Wyam.Razor\RazorCompiler.cs:line 80
at Wyam.Razor.RazorService.Render(RenderRequest request) in C:\Dropbox\OSS\wyamio\youtube\src\extensions\Wyam.Razor\RazorService.cs:line 27
at Wyam.Razor.Razor.<>c__DisplayClass16_0.<Execute>b__1(IDocument input) in C:\Dropbox\OSS\wyamio\youtube\src\extensions\Wyam.Razor\Razor.cs:line 246
at Wyam.Common.Execution.TraceExceptionsExtensions.TraceExceptions[TResult](IExecutionContext context, IDocument document, Func`2 func) in C:\Dropbox\OSS\wyamio\youtube\src\core\Wyam.Common\Execution\TraceExceptionsExtensions.cs:line 55
at System.Linq.Parallel.PartitionedDataSource`1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey)
at System.Linq.Parallel.PipelineSpoolingTask`2.SpoolingWork()
at System.Linq.Parallel.SpoolingTaskBase.Work()
at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
at System.Linq.Parallel.AsynchronousChannelMergeEnumerator`1.MoveNextSlowPath()
at System.Linq.Parallel.QueryOpeningEnumerator`1.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable`1 items)
at Wyam.Core.Execution.ExecutionPipeline.Execute(ExecutionContext context, IEnumerable`1 modules, ImmutableArray`1 inputDocuments) in C:\Dropbox\OSS\wyamio\youtube\src\core\Wyam.Core\Execution\ExecutionPipeline.cs:line 191
at Wyam.Core.Execution.ExecutionPipeline.Execute(Engine engine, Guid executionId) in C:\Dropbox\OSS\wyamio\youtube\src\core\Wyam.Core\Execution\ExecutionPipeline.cs:line 85
at Wyam.Core.Execution.Engine.Execute() in C:\Dropbox\OSS\wyamio\youtube\src\core\Wyam.Core\Execution\Engine.cs:line 286
---> (Inner Exception #0) System.InvalidOperationException: The model item passed into the ViewDataDictionary is of type 'Wyam.Core.Documents.Document', but this ViewDataDictionary instance requires a model item of type 'Google.Apis.YouTube.v3.Data.PlaylistItemListResponse'.
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary.EnsureCompatible(Object value)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary..ctor(ViewDataDictionary source, Object model, Type declaredModelType)
at lambda_method(Closure , ViewDataDictionary )
at Microsoft.AspNetCore.Mvc.Razor.RazorPageActivator.Activate(IRazorPage page, ViewContext context)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.<RenderPageAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.<RenderLayoutAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.<RenderAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Wyam.Razor.RazorCompiler.RenderPage(RenderRequest request) in C:\Dropbox\OSS\wyamio\youtube\src\extensions\Wyam.Razor\RazorCompiler.cs:line 80
at Wyam.Razor.RazorService.Render(RenderRequest request) in C:\Dropbox\OSS\wyamio\youtube\src\extensions\Wyam.Razor\RazorService.cs:line 27
at Wyam.Razor.Razor.<>c__DisplayClass16_0.<Execute>b__1(IDocument input) in C:\Dropbox\OSS\wyamio\youtube\src\extensions\Wyam.Razor\Razor.cs:line 246
at Wyam.Common.Execution.TraceExceptionsExtensions.TraceExceptions[TResult](IExecutionContext context, IDocument document, Func`2 func) in C:\Dropbox\OSS\wyamio\youtube\src\core\Wyam.Common\Execution\TraceExceptionsExtensions.cs:line 55
at System.Linq.Parallel.PartitionedDataSource`1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey)
at System.Linq.Parallel.PipelineSpoolingTask`2.SpoolingWork()
at System.Linq.Parallel.SpoolingTaskBase.Work()
at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
at System.Threading.Tasks.Task.Execute()<---
my-first-wyam-pipelines's Introduction
my-first-wyam-pipelines's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.