Comment 6 for bug 496113

Revision history for this message
Alan Jackson (ajackson-bcs) wrote :

Hmm very odd I can see what I think is causing the problem but I can't work out why.

OK try this as it might help shed some more light on it for me.

Edit PyLotROUtils.py, around line 349 it should read for name in glob.glob("%s%sclient_local_*.dat" % (runDir, os.sep)):
on the next line down insert a blank line then tab 3 times and enter:
print(name)

on the line after temp = name.replace("%s%sclient_local_" % (runDir, os.sep), "").replace(".dat", "") insert another blank line and tab three times then add:
print(temp)

Re-install but run it via a terminal (ie run using pylotro) it should dump out the full path of the language file followed by just the code (English in your case), it is this second line that seems to be getting screwed up, the first line will show me exactly what is being passed to create the second line. Hopefully that will spark the light bulb moment for me.