cole2295 / subtext

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

Export to BlogML fails #274

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Click Import/Export
2.
3.

What is the expected output? What do you see instead?
Expected export to succeed.  If there is content in my entries that is causing 
it to barf, would be nice to know what the entry is so i can clean it up.  Blog 
contains data going back 10 years, and multiple iteration of blogging systems.

What version of the product are you using? On what operating system?
Latest Version

Please provide any additional information below.
Server Error in '/' Application.

Unexpected EOF parsing start tag 'br.'

Description: An unhandled exception occurred during the execution of the 
current web request. Please review the stack trace for more information about 
the error and where it originated in the code. 

Exception Details: System.Exception: Unexpected EOF parsing start tag 'br.'

Source Error: 

An unhandled exception was generated during the execution of the current web 
request. Information regarding the origin and location of the exception can be 
identified using the exception stack trace below.

Stack Trace: 

[Exception: Unexpected EOF parsing start tag 'br.']
   Sgml.Entity.Error(String msg, String arg) +47
   Sgml.SgmlReader.ParseStartTag(Char ch) +860
   Sgml.SgmlReader.ParseTag(Char ch) +480
   Sgml.SgmlReader.Read() +269
   Subtext.Framework.Text.<GetAttributeValues>d__13.MoveNext() +241
   Subtext.ImportExport.<GetPostAttachments>d__b.MoveNext() +121
   System.Linq.Buffer`1..ctor(IEnumerable`1 source) +259
   System.Linq.Enumerable.ToArray(IEnumerable`1 source) +81
   Subtext.ImportExport.BlogMLExportMapper.ConvertEntry(EntryStatsView entry, Boolean embedAttachments) +571
   Subtext.ImportExport.<GetBlogPosts>d__1.MoveNext() +212
   Subtext.ImportExport.BlogMLWriter.WritePosts(IEnumerable`1 posts) +214
   Subtext.ImportExport.BlogMLWriter.InternalWriteBlog() +135
   BlogML.BlogMLWriterBase.Write(XmlWriter writer) +42
   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) +237
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) +10
   System.Web.Mvc.<>c__DisplayClass11.<InvokeActionResultWithFilters>b__e() +20
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +255
   System.Web.Mvc.<>c__DisplayClass13.<InvokeActionResultWithFilters>b__10() +20
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +179
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +382
   System.Web.Mvc.Controller.ExecuteCore() +123
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +23
   System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +7
   System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext) +144
   System.Web.Mvc.MvcHandler.ProcessRequest(HttpContext httpContext) +54
   System.Web.Mvc.MvcHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext httpContext) +7
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181

Original issue reported on code.google.com by r...@sindac.com on 28 Oct 2010 at 6:25

GoogleCodeExporter commented 8 years ago
Sorry forgot versions
Running Windows 2008
Subtext Version 2.5.1.19

Original comment by r...@sindac.com on 28 Oct 2010 at 6:27

GoogleCodeExporter commented 8 years ago
Found the issue.. i had a typo in a blog entry where i had "<br." ... if i get 
time i'll try to track down the line of code; 

Original comment by r...@sindac.com on 29 Oct 2010 at 2:11