Closed thicccpvpboi closed 5 months ago
Please check latest release and let me know if it works out for you! -> v0.3.6
I am testing it right now and it looks like it is frozen at loading when attempting to download. It is also frozen at loading when opening the library tab as well. I forgot to mention that the issue with the library tab was also happening in v0.3.5
I am testing it right now and it looks like it is frozen at loading when attempting to download. It is also frozen at loading when opening the library tab as well. I forgot to mention that the issue with the library tab was also happening in v0.3.5
Im not too sure about the freezing,its normal for it to freeze for a little bit since it will be running some checks or fetching ur folders for mods and maps, but if its taking too long it could be something else ,if u dont mind me asking what's ur cpu? Python is very slow depending on what cpu u have
Same thing happens when using normal downloader.
I can confirm that cpu should be fine Next thing is how many mods/maps u have in total?
And i want you to go in settings turn on "Display SteamCMD console" and redownload again and show me what comes up in the console (or if its continuously crashing)
I have 15 maps and 1 mod installed using steamcmd. I have the display SteamCMD console option on and nothing pops up at all when clicking download. I also restarted the program and tried again and nothing shows up.
I have 15 maps and 1 mod installed using steamcmd. I have the display SteamCMD console option on and nothing pops up at all when clicking download. I also restarted the program and tried again and nothing shows up.
Something is definitely wrong ,do you know how to clone a project and run it as a script using python?, that way we can see if anything is crashing/throwing (since we will have the console opened)?
If you could follow this: Install python 3.12 Install git Open a cmd prompt instance and type these commands:
git clone https://github.com/faroukbmiled/BOIIIWD.git
cd BOIIIWD
pip install -r .\requirements.txt
python boiiiwd_package\boiiiwd.py
This will run the program with the gui and also the console opened and if anything wrong happens you will see it in the console
If not i don't know how to assist you further than this the only thing i can think of rn is a directory permission issue or something like that
Here are my cmd logs:
Invalid geometry format: 920x560+85+-1 Invalid geometry format: 920x560+85+-2 Invalid geometry format: 920x560+86+-2 Invalid geometry format: 920x560+86+-3 Invalid geometry format: 920x560+86+-4 Invalid geometry format: 920x560+87+-4 Invalid geometry format: 920x560+87+-5 Invalid geometry format: 920x560+87+-6 Invalid geometry format: 920x560+88+-6 Invalid geometry format: 920x560+88+-7 Invalid geometry format: 920x560+88+-8 Invalid geometry format: 920x560+89+-8 Invalid geometry format: 920x560+89+-9 Invalid geometry format: 920x560+90+-9 Invalid geometry format: 920x560+90+-10 Invalid geometry format: 920x560+90+-11 Invalid geometry format: 920x560+91+-11 Invalid geometry format: 920x560+91+-12 Invalid geometry format: 920x560+91+-13 Invalid geometry format: 920x560+91+-14 Invalid geometry format: 920x560+91+-15 Invalid geometry format: 920x560+92+-15 Invalid geometry format: 920x560+92+-16 Invalid geometry format: 920x560+92+-17 Invalid geometry format: 920x560+92+-18 Invalid geometry format: 920x560+92+-17 Invalid geometry format: 920x560+92+-16 Invalid geometry format: 920x560+91+-16 Invalid geometry format: 920x560+91+-15 Invalid geometry format: 920x560+91+-14 Invalid geometry format: 920x560+91+-13 Invalid geometry format: 920x560+90+-13 Invalid geometry format: 920x560+90+-12 Invalid geometry format: 920x560+90+-11 Invalid geometry format: 920x560+90+-10 Invalid geometry format: 920x560+90+-9 Invalid geometry format: 920x560+90+-8 Invalid geometry format: 920x560+90+-7 Invalid geometry format: 920x560+89+-7 Invalid geometry format: 920x560+89+-6 Invalid geometry format: 920x560+89+-5 Invalid geometry format: 920x560+89+-4 Invalid geometry format: 920x560+89+-3 Invalid geometry format: 920x560+89+-2 Invalid geometry format: 920x560+89+-1 Exception in Tkinter callback Traceback (most recent call last): File "Z:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1008.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 1967, in __call__ return self.func(*args) ^^^^^^^^^^^^^^^^ File "Z:\Users\marek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked self._command() File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\main.py", line 414, in library_button_event self.show_library_widgets() File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\main.py", line 373, in show_library_widgets status = self.library_tab.load_items(self.settings_tab.edit_destination_folder.get()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\library_tab.py", line 270, in load_items workshop_id = extract_json_data(json_path, "PublisherID") or "None" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\helpers.py", line 247, in extract_json_data data = json.load(json_file) ^^^^^^^^^^^^^^^^^^^^ File "Z:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1008.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 299: character maps to <undefined> Exception in Tkinter callback Traceback (most recent call last): File "Z:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1008.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 1967, in __call__ return self.func(*args) ^^^^^^^^^^^^^^^^ File "Z:\Users\marek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked self._command() File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\helpers.py", line 103, in wrapper return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\main.py", line 1100, in download_map self.library_tab.load_items(self.settings_tab.edit_destination_folder.get(), dont_add=True) File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\library_tab.py", line 270, in load_items workshop_id = extract_json_data(json_path, "PublisherID") or "None" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\helpers.py", line 247, in extract_json_data data = json.load(json_file) ^^^^^^^^^^^^^^^^^^^^ File "Z:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1008.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 299: character maps to <undefined>
Here are my cmd logs:
Invalid geometry format: 920x560+85+-1 Invalid geometry format: 920x560+85+-2 Invalid geometry format: 920x560+86+-2 Invalid geometry format: 920x560+86+-3 Invalid geometry format: 920x560+86+-4 Invalid geometry format: 920x560+87+-4 Invalid geometry format: 920x560+87+-5 Invalid geometry format: 920x560+87+-6 Invalid geometry format: 920x560+88+-6 Invalid geometry format: 920x560+88+-7 Invalid geometry format: 920x560+88+-8 Invalid geometry format: 920x560+89+-8 Invalid geometry format: 920x560+89+-9 Invalid geometry format: 920x560+90+-9 Invalid geometry format: 920x560+90+-10 Invalid geometry format: 920x560+90+-11 Invalid geometry format: 920x560+91+-11 Invalid geometry format: 920x560+91+-12 Invalid geometry format: 920x560+91+-13 Invalid geometry format: 920x560+91+-14 Invalid geometry format: 920x560+91+-15 Invalid geometry format: 920x560+92+-15 Invalid geometry format: 920x560+92+-16 Invalid geometry format: 920x560+92+-17 Invalid geometry format: 920x560+92+-18 Invalid geometry format: 920x560+92+-17 Invalid geometry format: 920x560+92+-16 Invalid geometry format: 920x560+91+-16 Invalid geometry format: 920x560+91+-15 Invalid geometry format: 920x560+91+-14 Invalid geometry format: 920x560+91+-13 Invalid geometry format: 920x560+90+-13 Invalid geometry format: 920x560+90+-12 Invalid geometry format: 920x560+90+-11 Invalid geometry format: 920x560+90+-10 Invalid geometry format: 920x560+90+-9 Invalid geometry format: 920x560+90+-8 Invalid geometry format: 920x560+90+-7 Invalid geometry format: 920x560+89+-7 Invalid geometry format: 920x560+89+-6 Invalid geometry format: 920x560+89+-5 Invalid geometry format: 920x560+89+-4 Invalid geometry format: 920x560+89+-3 Invalid geometry format: 920x560+89+-2 Invalid geometry format: 920x560+89+-1 Exception in Tkinter callback Traceback (most recent call last): File "Z:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1008.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 1967, in __call__ return self.func(*args) ^^^^^^^^^^^^^^^^ File "Z:\Users\marek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked self._command() File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\main.py", line 414, in library_button_event self.show_library_widgets() File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\main.py", line 373, in show_library_widgets status = self.library_tab.load_items(self.settings_tab.edit_destination_folder.get()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\library_tab.py", line 270, in load_items workshop_id = extract_json_data(json_path, "PublisherID") or "None" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\helpers.py", line 247, in extract_json_data data = json.load(json_file) ^^^^^^^^^^^^^^^^^^^^ File "Z:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1008.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 299: character maps to <undefined> Exception in Tkinter callback Traceback (most recent call last): File "Z:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1008.0_x64__qbz5n2kfra8p0\Lib\tkinter\__init__.py", line 1967, in __call__ return self.func(*args) ^^^^^^^^^^^^^^^^ File "Z:\Users\marek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked self._command() File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\helpers.py", line 103, in wrapper return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\main.py", line 1100, in download_map self.library_tab.load_items(self.settings_tab.edit_destination_folder.get(), dont_add=True) File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\library_tab.py", line 270, in load_items workshop_id = extract_json_data(json_path, "PublisherID") or "None" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\games\blackops3\BOIIIWD\BOIIIWD\boiiiwd_package\src\helpers.py", line 247, in extract_json_data data = json.load(json_file) ^^^^^^^^^^^^^^^^^^^^ File "Z:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1008.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 299: character maps to <undefined>
Did this happen when you ran the program or when you pressed something? like download of library? The decode error might be because your "boiiiwd_library.json" has a map or a mod's name that has some special characters that it couldn't decode
Can you try this test build and let me know if it works out or not?!
Or do a git pull
in your BOIIIWD folder where you cloned the project and run the script again
The new build works! Thank you so much!
The new build works! Thank you so much!
No problem,thank you for helping me figuring this out
Anytime that I attempt to download a mod, it always shows that I am not connected to the internet when I am. This only happens when attempting to download a mod, and didn't happen when it installed steamcmd for me. Attempting to run the program as an administrator didn't solve the issue. Trying previous versions of the mod didn't solve the issue. All of my filepaths are correct. Is there something that I am doing wrong?