[Problem]mit Client

04/29/2012 00:00 PepsiCraft#1
Hallo epvp,
Ich habe heute bzw. gestern das "GrößereMenü" eingefügt. Jetzt steht in der syserr:

Code:
0428 23:44:32220 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
0428 23:44:33791 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc2/warrior/skill/musa_2.msa) ERROR
0428 23:44:33801 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc2/warrior/skill/musa_3.msa) ERROR
0428 23:44:33811 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc2/warrior/skill/musa_4.msa) ERROR
0428 23:44:38648 :: Traceback (most recent call last):

0428 23:44:38648 ::   File "networkModule.py", line 233, in SetGamePhase

0428 23:44:38648 ::   File "game.py", line 96, in __init__

0428 23:44:38648 ::   File "interfaceModule.py", line 244, in MakeInterface

0428 23:44:38649 ::   File "interfaceModule.py", line 182, in __MakeDialogs

0428 23:44:38649 ::   File "uiSystem.py", line 34, in LoadDialog

0428 23:44:38649 ::   File "uiSystem.py", line 54, in __LoadSystemMenu_Default

0428 23:44:38649 :: AttributeError
0428 23:44:38649 :: : 
0428 23:44:38649 :: 'str' object has no attribute 'readlines'
0428 23:44:38649 ::
Hier die zeile

Code:
		a = urllib.urlopen(news_url).read()
		b = a.readlines()
Vielen dank im Vorraus

PepsiCraft
04/29/2012 01:15 theo1990#2
hi kurz und knapp hier steht alles was du wissen musst

Quote:
'str' object has no attribute 'readlines'
anscheinend kann der nichgts mit der variable b anfangen. er sagt dass str (meinstens string (zeichenkette)) objekt keine attribute hat. vllrt ist das a vor readlinse() falsch. dummerweise hab ich jetzt nciht das komplette script vor mir liegen. viel kann da nicht falsch sein. kann auch einfach nur ein abschluss fehlen ein ';' oder '}'
04/29/2012 01:25 PepsiCraft#3
vll musst ja readlines(a)

jetzt bekomme ich den error:

Code:
0429 01:28:15337 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
0429 01:28:18313 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc2/warrior/skill/musa_2.msa) ERROR
0429 01:28:18321 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc2/warrior/skill/musa_3.msa) ERROR
0429 01:28:18329 :: CRaceData::RegisterMotionData - LoadMotionData(c_szFileName=d:/ymir work/pc2/warrior/skill/musa_4.msa) ERROR
0429 01:28:27449 :: Traceback (most recent call last):

0429 01:28:27449 ::   File "networkModule.py", line 233, in SetGamePhase

0429 01:28:27449 ::   File "game.py", line 96, in __init__

0429 01:28:27450 ::   File "interfaceModule.py", line 244, in MakeInterface

0429 01:28:27450 ::   File "interfaceModule.py", line 182, in __MakeDialogs

0429 01:28:27450 ::   File "uiSystem.py", line 34, in LoadDialog

0429 01:28:27450 ::   File "uiSystem.py", line 53, in __LoadSystemMenu_Default

0429 01:28:27451 ::   File "C:\python22\lib\urllib.py", line 73, in urlopen

0429 01:28:27451 ::   File "C:\python22\lib\urllib.py", line 178, in open

0429 01:28:27451 ::   File "C:\python22\lib\urllib.py", line 292, in open_http

0429 01:28:27451 ::   File "C:\Python22\Lib\httplib.py", line 695, in endheaders

0429 01:28:27451 ::   File "C:\Python22\Lib\httplib.py", line 581, in _send_output

0429 01:28:27452 ::   File "C:\Python22\Lib\httplib.py", line 548, in send

0429 01:28:27452 ::   File "C:\Python22\Lib\httplib.py", line 532, in connect

0429 01:28:27452 :: IOError
0429 01:28:27452 :: : 
0429 01:28:27452 :: [Errno socket error] (10061, 'Connection refused')
0429 01:28:27452 ::
04/29/2012 01:28 .KenShy##4
Ich würde alles noch mal auf fehlende [TAB´s] abchecken ggf. nach fehlenden Strings im Code but Lib erweiterung drinne? urllib usw....
04/29/2012 01:31 PepsiCraft#5
alles drinn jetzt ist ja connection refused aber der server wo die datei drauf ist ist on.
04/29/2012 02:09 Nick#6
Hast du TV? Könnte es dir schnell machen. :awesome:
04/29/2012 02:50 PepsiCraft#7
jo ich sende dir pn