home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
WebService and Mobile Access
Popular Plugins
MPExtended
Require help with JSON Error
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Obelisk" data-source="post: 1013192" data-attributes="member: 137834"><p>Getting a JSON Error for illegal character in path for Moving Pictures loading. The log doesn't indicate what it is trying to load and based on the sort order being used I looked at what I think is the Movie it should be loading when the exception is thrown. The issue is that I cannot find anything out of the ordinary with the movie file or backdrop path that could be causing the issue.</p><p> </p><p>Is there any way to get more information in the logs to indicate what is being loaded when the exception occurs? </p><p> </p><p>Here is the error...</p><p> </p><p>2013-07-16 10:39:07.39845 [(41)] ERROR: Unhandled exception in service (JSON interface)</p><p>System.ArgumentException: Illegal characters in path.</p><p> at System.IO.Path.CheckInvalidPathChars(String path)</p><p> at System.IO.Path.GetExtension(String path)</p><p> at MPExtended.PlugIns.MAS.MovingPictures.MPMovingPictures.<>c__DisplayClassf.<BackdropReader>b__e(String x) in C:\Users\Oxan\Documents\Projects\MPExtended\PlugIns\MPExtended.PlugIns.MAS.MPMovingPictures\MPMovingPictures.cs:line 70</p><p> at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()</p><p> at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)</p><p> at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)</p><p> at MPExtended.PlugIns.MAS.MovingPictures.MPMovingPictures.BackdropReader(SQLiteDataReader reader, Int32 idx) in C:\Users\Oxan\Documents\Projects\MPExtended\PlugIns\MPExtended.PlugIns.MAS.MPMovingPictures\MPMovingPictures.cs:line 70</p><p> at MPExtended.Libraries.SQLitePlugin.AutoFiller`1.AutoCreate(SQLiteDataReader reader) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.SQLitePlugin\AutoFiller.cs:line 74</p><p> at MPExtended.Libraries.SQLitePlugin.ObjectFactory`1.CreateObject(SQLiteDataReader reader) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.SQLitePlugin\ObjectFactory.cs:line 53</p><p> at MPExtended.Libraries.SQLitePlugin.LazyQuery`1.ExecuteQuery() in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.SQLitePlugin\LazyQuery.cs:line 148</p><p> at MPExtended.Libraries.SQLitePlugin.LazyQuery`1.Where(Expression`1 predicate) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.SQLitePlugin\LazyQuery.cs:line 276</p><p> at MPExtended.Libraries.SQLitePlugin.LazyQueryProvider`1.CreateQuerySmart(MethodCallExpression mce) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.SQLitePlugin\LazyQueryProvider.cs:line 59</p><p> at MPExtended.Libraries.SQLitePlugin.LazyQueryProvider`1.CreateQuery[TElement](Expression expression) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.SQLitePlugin\LazyQueryProvider.cs:line 45</p><p> at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)</p><p> at MPExtended.Libraries.Service.Extensions.QueryableExtensionMethods.Filter[T](IQueryable`1 list, String filter) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.Service\Extensions\QueryableExtensionMethods.cs:line 72</p><p> at MPExtended.Services.MediaAccessService.MediaAccessService.GetMovieCount(Nullable`1 provider, String filter) in C:\Users\Oxan\Documents\Projects\MPExtended\Services\MPExtended.Services.MediaAccessService\MediaAccessService.cs:line 166</p><p> at SyncInvokeGetMovieCount(Object , Object[] , Object[] )</p><p> at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)</p><p> at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)</p><p> at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)</p><p> at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)</p><p> at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</p></blockquote><p></p>
[QUOTE="Obelisk, post: 1013192, member: 137834"] Getting a JSON Error for illegal character in path for Moving Pictures loading. The log doesn't indicate what it is trying to load and based on the sort order being used I looked at what I think is the Movie it should be loading when the exception is thrown. The issue is that I cannot find anything out of the ordinary with the movie file or backdrop path that could be causing the issue. Is there any way to get more information in the logs to indicate what is being loaded when the exception occurs? Here is the error... 2013-07-16 10:39:07.39845 [(41)] ERROR: Unhandled exception in service (JSON interface) System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path) at System.IO.Path.GetExtension(String path) at MPExtended.PlugIns.MAS.MovingPictures.MPMovingPictures.<>c__DisplayClassf.<BackdropReader>b__e(String x) in C:\Users\Oxan\Documents\Projects\MPExtended\PlugIns\MPExtended.PlugIns.MAS.MPMovingPictures\MPMovingPictures.cs:line 70 at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at MPExtended.PlugIns.MAS.MovingPictures.MPMovingPictures.BackdropReader(SQLiteDataReader reader, Int32 idx) in C:\Users\Oxan\Documents\Projects\MPExtended\PlugIns\MPExtended.PlugIns.MAS.MPMovingPictures\MPMovingPictures.cs:line 70 at MPExtended.Libraries.SQLitePlugin.AutoFiller`1.AutoCreate(SQLiteDataReader reader) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.SQLitePlugin\AutoFiller.cs:line 74 at MPExtended.Libraries.SQLitePlugin.ObjectFactory`1.CreateObject(SQLiteDataReader reader) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.SQLitePlugin\ObjectFactory.cs:line 53 at MPExtended.Libraries.SQLitePlugin.LazyQuery`1.ExecuteQuery() in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.SQLitePlugin\LazyQuery.cs:line 148 at MPExtended.Libraries.SQLitePlugin.LazyQuery`1.Where(Expression`1 predicate) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.SQLitePlugin\LazyQuery.cs:line 276 at MPExtended.Libraries.SQLitePlugin.LazyQueryProvider`1.CreateQuerySmart(MethodCallExpression mce) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.SQLitePlugin\LazyQueryProvider.cs:line 59 at MPExtended.Libraries.SQLitePlugin.LazyQueryProvider`1.CreateQuery[TElement](Expression expression) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.SQLitePlugin\LazyQueryProvider.cs:line 45 at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate) at MPExtended.Libraries.Service.Extensions.QueryableExtensionMethods.Filter[T](IQueryable`1 list, String filter) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.Service\Extensions\QueryableExtensionMethods.cs:line 72 at MPExtended.Services.MediaAccessService.MediaAccessService.GetMovieCount(Nullable`1 provider, String filter) in C:\Users\Oxan\Documents\Projects\MPExtended\Services\MPExtended.Services.MediaAccessService\MediaAccessService.cs:line 166 at SyncInvokeGetMovieCount(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
Popular Plugins
MPExtended
Require help with JSON Error
Contact us
RSS
Top
Bottom