Q42 / Orchard-DbTranslations

Enables interface translation feature directly in Orchard's admin panels instead of .po files
https://github.com/Q42/Orchard-DbTranslations/wiki/Orchard-Database-Translations
12 stars 7 forks source link

Error when using import from source #35

Open blackilv opened 11 years ago

blackilv commented 11 years ago

An unhandled exception has occurred and the request was terminated. Please refresh the page. If the error persists, go back

Path must start with parent.

System.InvalidOperationException: Path must start with parent. at Fluent.IO.Path.MakeRelativeTo(Func2 parentGenerator) at Fluent.IO.Path.MakeRelativeTo(Path parent) at Q42.DbTranslations.Services.LocalizationManagementService.<DispatchResourceString>d__23.MoveNext() at System.Collections.Generic.List1.InsertRange(Int32 index, IEnumerable1 collection) at System.Collections.Generic.List1.AddRange(IEnumerable1 collection) at Q42.DbTranslations.Services.LocalizationManagementService.<>c__DisplayClasse.<ExtractDefaultTranslation>b__b(Path path, Match match, String contents) at Fluent.IO.Path.Grep(Regex regularExpression, Action3 action) at Q42.DbTranslations.Services.LocalizationManagementService.<>cDisplayClasse.b9(Path p) at Fluent.IO.Path.ForEach(Action1 action) at Q42.DbTranslations.Services.LocalizationManagementService.ExtractDefaultTranslation(String sitePath, String targetSitePath) at Q42.DbTranslations.Controllers.AdminController.FromSource(String culture) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<InvokeActionMethodWithFilters>b__10() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>cDisplayClass13.<>cDisplayClass15.b12() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>cDisplayClass13.<>cDisplayClass15.b12() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)