komerican
창병
포스트: 24
|
|
« on: 5월 24, 2010, 05:20:29 am » |
|
IndexError Python 2.4.3: /usr/bin/python Sun May 23 16:17:07 2010
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /home/extrem14/public_html/cgi-bin/ResourceBalancerv3.py 266 outputdata.append(listrow) 267 268 currplayer = RBv6.populate_custom_player_via_coords(player, world, sitter, extraResource, outputdata) 269 RBv6.resource_algorithm(currplayer, wood, clay, iron) 270 linkFront = '<a href="javascript:var min= ' currplayer undefined, RBv6 = <module 'RBv6' from '/home/extrem14/public_html/cgi-bin/RBv6.pyc'>, RBv6.populate_custom_player_via_coords = <function populate_custom_player_via_coords>, player = 'Generic', world = 'kr6.bujokjeonjaeng.org', sitter = '', extraResource = False, outputdata = [[''], ['#44608;'], ['#52824;'], ['#48374;'], ['#51020;'], ['#48165; (526|481) K45', ' 1126', ' 526|481', ' 21615', ' 2390', ' 20863', ' 110', ' 175047', ' 16841'], [' '], ['#48372;'], ['#49888;'], ['#53461; (523|497) K45', ' 4785', ' 523|497', ' 14772', ' 14588', ' 11303', ' 35', ' 142373', ' 3976'], [' '], ['#50724;'], ['#48064;'], ['#46972;'], ['#51060;'], ['#49828; (525|497) K45', ' 1529', ' 525|497', ' 60471', ' 73017', ' 49029', ' 110', ' 264611', ' 24000'], [' '], ['#51204;'], ['#51452;'], ['#48708;'], ...] /home/extrem14/public_html/cgi-bin/RBv6.py in populate_custom_player_via_coords(playername='Generic', inpWorld='kr6.bujokjeonjaeng.org', inpSitter='', inpFarmFactor=False, data=[[''], ['#44608;'], ['#52824;'], ['#48374;'], ['#51020;'], ['#48165; (526|481) K45', ' 1126', ' 526|481', ' 21615', ' 2390', ' 20863', ' 110', ' 175047', ' 16841'], [' '], ['#48372;'], ['#49888;'], ['#53461; (523|497) K45', ' 4785', ' 523|497', ' 14772', ' 14588', ' 11303', ' 35', ' 142373', ' 3976'], [' '], ['#50724;'], ['#48064;'], ['#46972;'], ['#51060;'], ['#49828; (525|497) K45', ' 1529', ' 525|497', ' 60471', ' 73017', ' 49029', ' 110', ' 264611', ' 24000'], [' '], ['#51204;'], ['#51452;'], ['#48708;'], ...]) 639 for row in data: 640 thisrow = row 641 currVillage = Village(thisrow[1]) 642 currVillage.name = str(thisrow[0]) 643 currPlayer.add_village(currVillage) currVillage = None, global Village = <class 'RBv6.Village'>, thisrow = ['']
IndexError: list index out of range args = ('list index out of range',)
- - - - - - - - - - ------------------------------------------------------------------
오페라에서 자원균형 스크립트 쓸 때 이렇게 뜨는데요...
어찌 해결해야 될까요?
|