faroukbmiled / BOIIIWD

Black Ops 3 GUI Workshop downloader (Windows only for now...)
42 stars 5 forks source link

"No internet connection" when I am connected to the internet #37

Closed thicccpvpboi closed 5 months ago

thicccpvpboi commented 5 months ago

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? image

faroukbmiled commented 5 months ago

Please check latest release and let me know if it works out for you! -> v0.3.6

thicccpvpboi commented 5 months ago

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

faroukbmiled commented 5 months ago

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

thicccpvpboi commented 5 months ago

image Same thing happens when using normal downloader.

faroukbmiled commented 5 months ago

image

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)

thicccpvpboi commented 5 months ago

I have 15 maps and 1 mod installed using steamcmd. image 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. image

faroukbmiled commented 5 months ago

I have 15 maps and 1 mod installed using steamcmd. image 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. image

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

thicccpvpboi commented 5 months ago

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>

faroukbmiled commented 5 months ago

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

faroukbmiled commented 5 months ago

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

Release.zip

thicccpvpboi commented 5 months ago

The new build works! Thank you so much!

faroukbmiled commented 5 months ago

The new build works! Thank you so much!

No problem,thank you for helping me figuring this out