뉴스:
페이지: [1]
  프린트  
작성자 게시글: 부족툴즈 이야기는 아니지만..  (Read 119403 times)
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',)

- - - - - - - - - - ------------------------------------------------------------------

오페라에서 자원균형 스크립트 쓸 때 이렇게 뜨는데요...

어찌 해결해야 될까요?
Logged






x불멸x
Administrator
기마병
*****
포스트: 129


프로필 보기
« 리플라이 #1 on: 5월 24, 2010, 08:23:34 am »

자원 스크립트에서 정보를 보낼때 포스트 방식을 이용해 보내게 되는데 그때 마을명에 한글이 포함 되어 있으면 위와 같은 오류가 발생하게 됩니다.

파이어폭스를 이용하시면 마을명에 한글이 포함 되어 있어도 정상 작동 합니다.
Logged
komerican
창병
*
포스트: 24


프로필 보기
« 리플라이 #2 on: 5월 25, 2010, 11:23:36 am »

동줍이나 초치기 할 땐 오페라쓰고, 다른 거 할 땐 파폭쓰니..

번갈아가며 쓰는게 불편하네용...

누가 부족전용 브라우저 안 만드나용...

파폭이랑 오페라 장점만 모아놓은 브라우저...
Logged






x불멸x
Administrator
기마병
*****
포스트: 129


프로필 보기
« 리플라이 #3 on: 5월 25, 2010, 11:43:09 am »

사실 한글을 인식 하지 못하는게 오페라의 문제점은 아닙니다.

자원 균형 스크립트 제작자가 라틴계열 문자 이외의 유니코드 문자들은 고려하지 않고 만든지라.....

확실히 오페라와 파폭이 각각 장단점이 있고 둘 다 계속해서 발전하는 브라우저이니 미래에 분명히 서로의 장점을 닮아가고 단점은 점점 없어지리라 생각됩니다.
Logged
kimdh3326
창병
*
포스트: 2


프로필 보기
« 리플라이 #4 on: 6월 09, 2010, 10:06:49 am »

예전에 누가 부족전용브라우저만들엇던데 ㅇㅅㅇ,,,

집에있긴한데 쫌 쓰기귀찮던 ㅇㅅㅇ,,,
Logged
페이지: [1]
  프린트  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Theme AvareMu by Fussilet.com
© 2009-2024 부족 툴즈. All Rights Reserved.