Hi. I have a 40k bin with python 2.7 and I have a problem with use Urllib in game, i import this lib, and when i run my bin i have something like that
Can anyone tell my how to fix this?
I tried this . I tried to copy libs from extern in novaline source and from python 2.7 for windows. In every case is the same error and in novaline or in py for windows _socket.pyc dosen't exist
Okey, I will not make another topic, becouse it is a connected, so i ask here. Now when i use the urllib i have something like that:
sysser:
Quote:
0223 20:00:01676 ::
introLogin.py(line:539) __LoadScript
Lib\urllib.py(line:87) urlopen
Lib\urllib.py(line:208) open
Lib\urllib.py(line:292) open_http
system.py(line:145) __pack_import
Lib\httplib.py(line:79) <module>
system.py(line:145) __pack_import
Lib\mimetools.py(line:6) <module>
system.py(line:145) __pack_import
Lib\tempfile.py(line:32) <module>
system.py(line:145) __pack_import
Lib\io.py(line:51) <module>
system.py(line:145) __pack_import
LoginWindow.__LoadScript.BindObject - <type 'exceptions.TypeError'>:__pack_import() takes at most 4 arguments (5 given)
How can i fix this?
Okey, I will not make another topic, becouse it is a connected, so i ask here. Now when i use the urllib i have something like that:
sysser:
Quote:
0223 20:00:01676 ::
introLogin.py(line:539) __LoadScript
Lib\urllib.py(line:87) urlopen
Lib\urllib.py(line:208) open
Lib\urllib.py(line:292) open_http
system.py(line:145) __pack_import
Lib\httplib.py(line:79) <module>
system.py(line:145) __pack_import
Lib\mimetools.py(line:6) <module>
system.py(line:145) __pack_import
Lib\tempfile.py(line:32) <module>
system.py(line:145) __pack_import
Lib\io.py(line:51) <module>
system.py(line:145) __pack_import
LoginWindow.__LoadScript.BindObject - <type 'exceptions.TypeError'>:__pack_import() takes at most 4 arguments (5 given)
How can i fix this?
search in system.pY:
def __pack_import(name,globals=None,locals=None,fromli st=None):
and change in:
def __pack_import(name,globals=None,locals=None,fromli st=None,arg5=None):
Python urllib geht nicht.... 12/12/2013 - Metin2 Private Server - 0 Replies Hallo Com,
Ich wollte gerade in Python was schreiben das eine txt etc von nem webspace ausliest.
Ich bekomme Folgenden Fehler:
1212 13:48:00257 :: url_request = urllib.urlopen("http://www.procoder.ch/python .txt").readline()
1212 13:48:00257 :: AttributeError
1212 13:48:00257 :: :
URLLIB einfügen 07/23/2013 - Metin2 Private Server - 8 Replies Hallo liebe Community. Ich habe versucht nach dem Tutorial von CranK.
Den Wartungsmodus im Client einzufügen.
Es kommt aber der Error:
Run - exceptions.ImportError: No module named urllib
Nun die Frage. Wie füge ich URLLIB im Client ein?
Am besten ein kleines Tutorial.
Nutze den ic3 Client.
[Python]Urllib .txt auslesen 05/16/2013 - Metin2 Private Server - 7 Replies Hey
Ich hab ein kleines Problem und zwar wollte ich von einem Webspace gerne verschiedene Strings auslesen dann hab ich es zunächst mit einer normalen txt datei auf meinem pc probiert kein problem. Nur wenn ich das jetzt von dem Webspace auslesen kommt ein Error.
Script:
available = urllib.urlopen(url)
availableList = available.read()
availableFilter = str(availableList).replace("\n", "")
availablePlayer = str(availableFilter).split(",")
for i in...
Urllib fehler? 09/19/2012 - Metin2 Private Server - 2 Replies hallo
bekomme immer ein fehler sobald ich die urllib in die imports schreibe urllib ist in dem lib ordner. woran liegt das.Will das wegen dem wartungsmodus haben von crank.
urllib client lib 08/24/2012 - Metin2 Private Server - 0 Replies Hey epvp. I have downloaded libs "lib-darooworld". If i would import urllib in any *.py file in root, my client off.
0824 15:51:04811 ::
networkModule.py(line:194) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:28) ?
system.py(line:130) __pack_import
system.py(line:110) _process_result
interfaceModule.py(line:21) ?