bishop335 / subtext

Automatically exported from code.google.com/p/subtext
0 stars 0 forks source link

Exporting BlogML fails with "given key was not present in the dictionary" #262

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm running v2.5.120 on a local server:

Windows Server 2008
SQL Server 2008 R2 (10.50.1600)
.NET Framework v4.0

When I try and export my blog (with either setting for attachments), I get:

The given key was not present in the dictionary.

The stack trace is:

[KeyNotFoundException: The given key was not present in the dictionary.]
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +9627953
   Subtext.ImportExport.<GetBlogPosts>d__1.MoveNext() +408
   Subtext.ImportExport.BlogMLWriter.WritePosts(IEnumerable`1 posts) +376
   Subtext.ImportExport.BlogMLWriter.InternalWriteBlog() +135
   BlogML.BlogMLWriterBase.Write(XmlWriter writer) +48
   Subtext.ImportExport.BlogMLWriter.Subtext.ImportExport.IBlogMLWriter.Write(XmlWriter writer) +5
   Subtext.Infrastructure.ActionResults.ExportActionResult.WriteFile(HttpResponseBase response) +51
   System.Web.Mvc.FileResult.ExecuteResult(ControllerContext context) +215
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) +13
   System.Web.Mvc.<>c__DisplayClass11.<InvokeActionResultWithFilters>b__e() +23
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +264
   System.Web.Mvc.<>c__DisplayClass13.<InvokeActionResultWithFilters>b__10() +20
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +176
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +384
   System.Web.Mvc.Controller.ExecuteCore() +199
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +28
   System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +10
   System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext) +150
   System.Web.Mvc.MvcHandler.ProcessRequest(HttpContext httpContext) +42
   System.Web.Mvc.MvcHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext httpContext) +10
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

Original issue reported on code.google.com by ian.wije...@gmail.com on 6 Sep 2010 at 2:59

GoogleCodeExporter commented 8 years ago
I could not reproduce the issue in trunk. Could you try and create a minimal 
repro. Perhaps attach a database that causes this issue?

Original comment by haac...@gmail.com on 16 May 2011 at 3:16