avertuss 48 Posted March 18, 2020 Share Posted March 18, 2020 Hi. I tried but i have problem with uiscript 0318 15:06:00344 :: Failed to load script file : UIScript/PopupDialog.py 0318 15:06:00344 :: error : [Errno 2] No such file or directory: 'UIScript/PopupDialog.py' 0318 15:06:00344 :: ui.py(line:3403) ui.PythonScriptLoader.LoadScriptFile (ui.c:80931) system.py(line:204) system.execfile (system.c:4646) system.py(line:187) system.__LoadTextFile__ (system.c:4286) system.py(line:91) system.open (system.c:2884) LoadScriptFile1 - <type 'exceptions.IOError'>:[Errno 2] No such file or directory: 'UIScript/PopupDialog.py' I tried popupdialog.py PopupDialog.py etc and nothing change. Root works normal. 1 Link to comment Share on other sites More sharing options...
Kori 170 Posted March 18, 2020 Share Posted March 18, 2020 No such file or directory: 'UIScript/PopupDialog.py' You need more informations? 2 Link to comment Share on other sites More sharing options...
avertuss 48 Posted March 18, 2020 Author Share Posted March 18, 2020 1 hour ago, Kori said: No such file or directory: 'UIScript/PopupDialog.py' You need more informations? XDDDDDDD but that file exist, i don't know why but cythonized uiscript doesn't work. Link to comment Share on other sites More sharing options...
Premium Jira 458 Posted March 18, 2020 Premium Share Posted March 18, 2020 :))) UIScript/PopupDialog.py not uiscript/popupdialog.py Rename the folder and file correctly. Link to comment Share on other sites More sharing options...
Premium Solution Wizz 4 Posted March 18, 2020 Premium Solution Share Posted March 18, 2020 (edited) Search in ui.py def LoadScriptFile(self, window, FileName): And replace whole function with: def LoadScriptFile(self, window, FileName): FileName = FileName.lower() import exception import exceptions import os import errno self.Clear() Edited March 18, 2020 by Wizz added a function. 1 Link to comment Share on other sites More sharing options...
mageth 0 Posted March 5, 2023 Share Posted March 5, 2023 0305 10:18:00550 :: Failed to load script file : new_login/LoginWindow.py 0305 10:18:00551 :: ui.py(line:2781) LoadScriptFile system.py(line:192) execfile system.py(line:163) Run new_login/LoginWindow.py(line:305) <module> LoadScriptFile!!!!!!!!!!!!!! - <type 'exceptions.AttributeError'>:'module' object has no attribute 'SALVEAZA_CONT' 0305 10:18:00551 :: ============================================================================================================ 0305 10:18:00551 :: Abort!!!! 0305 10:18:00553 :: introLogin.py(line:223) __LoadScript ui.py(line:2798) LoadScriptFile exception.py(line:36) Abort LoginWindow.__LoadScript.LoadObject - <type 'exceptions.SystemExit'>: 0305 10:18:00553 :: ============================================================================================================ 0305 10:18:00553 :: Abort!!!! I can't figure out what's wrong pls help Link to comment Share on other sites More sharing options...
Contributor Amun 1905 Posted March 6, 2023 Contributor Share Posted March 6, 2023 On 3/5/2023 at 9:40 AM, mageth said: 0305 10:18:00550 :: Failed to load script file : new_login/LoginWindow.py 0305 10:18:00551 :: ui.py(line:2781) LoadScriptFile system.py(line:192) execfile system.py(line:163) Run new_login/LoginWindow.py(line:305) <module> LoadScriptFile!!!!!!!!!!!!!! - <type 'exceptions.AttributeError'>:'module' object has no attribute 'SALVEAZA_CONT' 0305 10:18:00551 :: ============================================================================================================ 0305 10:18:00551 :: Abort!!!! 0305 10:18:00553 :: introLogin.py(line:223) __LoadScript ui.py(line:2798) LoadScriptFile exception.py(line:36) Abort LoginWindow.__LoadScript.LoadObject - <type 'exceptions.SystemExit'>: 0305 10:18:00553 :: ============================================================================================================ 0305 10:18:00553 :: Abort!!!! I can't figure out what's wrong pls help https://docs.python.org/3/tutorial/modules.html https://bobbyhadz.com/blog/python-attributeerror-module-has-no-attribute https://www.google.com/search?q=python+module+has+no+attribute Link to comment Share on other sites More sharing options...
Pseudabo 32 Posted March 7, 2023 Share Posted March 7, 2023 On 3/18/2020 at 5:07 PM, Kori said: No such file or directory: 'UIScript/PopupDialog.py' You need more informations? Marty script reading all possible versions.. He has problem with ui.py.. There is no correct code for uiscript.. He can extract it from leaked Marty source or etc.. I got long time ago same problem.. 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