Tasho 243 Posted September 20, 2014 Share Posted September 20, 2014 (edited) Hi, could someone tall me why I get this error ? the problem is from intrologin : import app, net, ui, os, ime, snd, wndMgr, musicInfo, systemSetting, localeInfo, constInfo, uiScriptLocale, webbrowser, ServerStateChecker, urllib class LoginWindow(ui.ScriptWindow): IS_TEST = net.IsTest() def __init__(self, stream): ui.ScriptWindow.__init__(self) net.SetPhaseWindow(net.PHASE_WINDOW_LOGIN, self) net.SetAccountConnectorHandler(self) self.stream = stream self.channels = 0 self.saved = { "snoe_save_01" : 0, "snoe_save_02" : 0, "snoe_save_03" : 0, "snoe_save_04" : 0} self.count = 0 self.serverIP = "0.0.0.0" self.online = urllib.urlopen("http://www.ascarial.ro/daneclient.txt").read().split("|") Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium Zonni 230 Posted September 20, 2014 Premium Share Posted September 20, 2014 lib.7z This is the hidden content, please Sign In or Sign Up try to use this 8 1 1 Link to comment Share on other sites More sharing options...
Tasho 243 Posted September 20, 2014 Author Share Posted September 20, 2014 lib.7z This is the hidden content, please Sign In or Sign Up try to use this same problem 1 Link to comment Share on other sites More sharing options...
Premium Zonni 230 Posted September 20, 2014 Premium Share Posted September 20, 2014 Sorry, logic fail. You're using python22 right? Link to comment Share on other sites More sharing options...
Tasho 243 Posted September 20, 2014 Author Share Posted September 20, 2014 no this is the problem, I use 2.7 (40k client) ... I thin the urllib.pyc is made for 2.2 :-? Link to comment Share on other sites More sharing options...
Denis 1474 Posted September 20, 2014 Share Posted September 20, 2014 Download python2.7(python.org) and take the urllib from there Link to comment Share on other sites More sharing options...
Tasho 243 Posted September 21, 2014 Author Share Posted September 21, 2014 Download python2.7(python.org) and take the urllib from there same problem ... Link to comment Share on other sites More sharing options...
Faby 20 Posted September 21, 2014 Share Posted September 21, 2014 In python when is import * like where says, from socket import *, means that will import the dll, the lib isn't the problem. It's python22.dll, you must do that import python27.dll not python22.dll. 1 Link to comment Share on other sites More sharing options...
Tasho 243 Posted September 21, 2014 Author Share Posted September 21, 2014 In python when is import * like where says, from socket import *, means that will import the dll, the lib isn't the problem. It's python22.dll, you must do that import python27.dll not python22.dll. you got me stuck with that can you be more exact? :-? Link to comment Share on other sites More sharing options...
developerares 1 Posted November 14, 2021 Share Posted November 14, 2021 + Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now