I think the following error message says it all. std.conv.ConvException at C:\D\dmd2\windows\bin\..\..\src\phobos\std\conv.d(2002): Unexpected '1' when converting from type string to type int I would expect that 1 would be among the group of expected items.