Sitecore / xGenerator

Utility to generate "realistically looking" traffic for Sitecore sites with configurable patterns
37 stars 27 forks source link

EXM Generator Fails - No Cities #21

Closed digitalParkour closed 6 years ago

digitalParkour commented 7 years ago

The EXM generator fails. I traced it to the GetRandomCity method. The issue is where it is loading cities by subcontinent from GeoIP cache. The error is fired when no cities exist. It appears to be looking for the City data from a file named "ExperienceGenerator.Data.countryInfo.txt" Where does this text file come from?

ManagedPoolThread #9 12:25:55 ERROR EXM Generator failed for campaign: 71b62829-0550-4c3a-8328-0cfb0d49d615 Exception: System.InvalidOperationException Message: No items specified Source: Colossus at Colossus.Statistics.WeightedSetBuilder`1.Build() at ExperienceGenerator.Services.GetRandomCityService.GetRandomCity(String subcontinentCode)

This is with Sitecore 8.1 update 2.

steviemcg commented 7 years ago

ExperienceGenerator.Data.countryInfo.txt is an embedded resource

jeanfrancoislarente commented 6 years ago

Closing as no longer relevant