#Environment migration error

1 messages · Page 1 of 1 (latest)

calm blaze
#

I copied my existing installation's data folder over to a docker container (identical launch command) on some new hardware, and it's failing to create the XMLTV at all. The M3U generates fine, but the XMLTV throws a server error.

All of my channel numbers are in the format ddd.d -- I'm not sure where it's picking up that string ._211.5 from since the channel would be 211.5

System.FormatException: The input string '._211.5' was not in a correct format.
   at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, ReadOnlySpan`1 value, TypeCode type)
   at System.Decimal.Parse(String s)
   at ErsatzTV.Core.Iptv.ChannelGuide.<>c.<ToXml>b__4_0(KeyValuePair`2 kvp) in /source/ErsatzTV.Core/Iptv/ChannelGuide.cs:line 35
   at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
   at System.Linq.EnumerableSorter`1.ComputeMap(TElement[] elements, Int32 count)
   at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
   at System.Linq.OrderedEnumerable`1.SortedMap(Buffer`1 buffer)
   at System.Linq.OrderedEnumerable`1.GetEnumerator()+MoveNext()
   at ErsatzTV.Core.Iptv.ChannelGuide.ToXml() in /source/ErsatzTV.Core/Iptv/ChannelGuide.cs:line 34
   at ErsatzTV.Formatters.ChannelGuideOutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext context, Encoding selectedEncoding) in /source/ErsatzTV/Formatters/ChannelGuideOutputFormatter.cs:line 22
   at Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter.WriteAsync(OutputFormatterWriteContext context)```
brave copper
#

Did you perhaps copy it using a Mac? I'll have to ignore those files

calm blaze
#

👍 Yes, I did. Two linux-based shares, but the copy itself was on my laptop. I'll re-copy on the CLI

brave copper
#

its a quick fix, no need to copy again

calm blaze
#

Already started -- it's only a few GB so no big deal. This probably explains some of the odd items in the trash too

brave copper
#

yeah, ill search around for more places where files are listed