Neocky / pluGET

📦 Powerful Package manager which updates plugins & server software for minecraft servers
Apache License 2.0
150 stars 27 forks source link

Error: Couldn't Parse JSON #78

Open Cpd879 opened 7 months ago

Cpd879 commented 7 months ago

Error: Couldn't parse json of webrequest

To Reproduce Steps to reproduce the behavior:

  1. Install a lot of plugins. Maybe 50+
  2. Run It (check all)
  3. See error

Expected behavior Expected it to update all. TIP = It works if I specify a plugin. EG - check EssentialsX

OS - Linux Debian (Raspberry Pi 5)

Additional context Full Error Log => Error: Couldn't parse json of webrequest Traceback (most recent call last): File "/home/Cpd879/pluGET/pluget.py", line 45, in handle_input() File "/home/Cpd879/pluGET/src/handlers/handle_input.py", line 85, in handle_input check_installed_plugins(input_selected_object, input_parameter) File "/home/Cpd879/pluGET/src/plugin/plugin_updatechecker.py", line 341, in check_installed_plugins plugin_count, plugins_with_udpates = check_update_available_installed_plugins(input_selected_object, config_values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/Cpd879/pluGET/src/plugin/plugin_updatechecker.py", line 316, in check_update_available_installed_plugins plugin_spigot_id = search_plugin_spiget(plugin_file, plugin_file_name, plugin_file_version) # plugin_spigot_id isn't needed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/Cpd879/pluGET/src/plugin/plugin_updatechecker.py", line 555, in search_plugin_spiget for plugin in plugin_list: TypeError: 'NoneType' object is not iterable