Skip to content

TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' #46

@keldnorman

Description

@keldnorman

pluGET >> get essentialsx
Searching: essentialsx
┌─────┬─────────────────────────────┬───────────┬──────────────────────────────────────────────────────────────────────┐
│ No. │ Name │ Downloads │ Description │
└─────┴─────────────────────────────┴───────────┴──────────────────────────────────────────────────────────────────────┘
[1] EssentialsX 4352274 The essential plugin suite for Minecraft servers, now updated for Paper and Spigot 1.18.1
[2] EssentialsXGUIBanner 12275 A Nice GUI Temp-banning Plugin Alike The One Used On The Performium Server!
[3] BkTeleport 3632 Teleport countdown on screen, Chat clickable TPA and TPHERE, GUI for homes and warps and more!
[4] KitPreviewEssentialsxaddon 3128 Essentialsx addon
[5] iWarp 760 Player warps expire unless expressly renewed
[6] [U] - uSleep >> EssentialsX & SuperVanish Support [1.14 - 1.16] 581 A simple plugin that will change the way you sleep, custom percentage, AFK and Vanish support.
[7] EssentialsXExtras 198 Add cool features to your server.
[8] EssentialsXYZ 178 A plugin for ease of use and admin.
[9] EssentialsXLite 173 An alternative(not really) to Essentials, with performance in mind!
[10] EssentialsXAntiMSGSpam 164 Blocks /msg spam!
Select your wanted resource (No.)(0 to exit): 1
File is None
Traceback (most recent call last):
File "main.py", line 16, in
mainFunction()
File "main.py", line 14, in mainFunction
getInput()
File "/root/source/pluGET/pluGET/src/handlers/handle_input.py", line 105, in getInput
handleInput(inputCommand, inputSelectedObject, inputParams)
File "/root/source/pluGET/pluGET/src/handlers/handle_input.py", line 52, in handleInput
searchPackage(inputSelectedObject)
File "/root/source/pluGET/pluGET/src/plugin/plugin_downloader.py", line 94, in searchPackage
getSpecificPackage(resourceId, pluginDownloadPath)
File "/root/source/pluGET/pluGET/src/plugin/plugin_downloader.py", line 151, in getSpecificPackage
downloadSpecificVersion(resourceId=resourceId, downloadPath=downloadPackagePath)
File "/root/source/pluGET/pluGET/src/plugin/plugin_downloader.py", line 117, in downloadSpecificVersion
filesize = int(filesize)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions