View Single Post
  #5  
Old December 18th, 2004, 12:14 PM

CJN CJN is offline
Private
 
Join Date: Dec 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
CJN is on a distinguished road
Default Re: Dominions II mapfile parser

Quote:
Skolem said:
I wanted to test it and I receive the following error:
IndexError: list index out of range

File "mapinfo.py", line 156, in ?
fname = sys.argv[1]
What should I do?
Sounds like you didn't add the mapfile name when you ran it.
(sys.argv[1] = first command line argument)
Did you use IDLE to run in windows? Is it possible to add command line arguments when you use IDLE?

EDIT:
A new Version is now available, which has some improvements.
For details & download, see the first post.
Reply With Quote