YesWeBurp icon indicating copy to clipboard operation
YesWeBurp copied to clipboard

Can't fecth program scopes

Open alpernae opened this issue 1 year ago • 0 comments

Hey There,

I'm encountering a error when I choose a program I'm getting error. Here's the logs:

Traceback (most recent call last):
  File "/root/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/helpers.py", line 35, in wrapper
    result = func()
  File "/root/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/Tabs/ProgramsTab.py", line 339, in <lambda>
    lambda: context.api.get_program_details(self.programs[0].slug),
  File "/root/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/api/api.py", line 144, in get_program_details
    return ProgramDetails(response.json())
  File "/root/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/api/models.py", line 35, in __init__
    load_class(self.__class__)
  File "/root/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/api/models.py", line 30, in load_class
    setattr(self, key, constructor(data.get(key, None)))
  File "/root/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/api/models.py", line 35, in __init__
    load_class(self.__class__)
  File "/root/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/api/models.py", line 30, in load_class
    setattr(self, key, constructor(data.get(key, None)))
TypeError: int() argument must be a string or a number, not 'None'
Traceback (most recent call last):
  File "/root/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/helpers.py", line 35, in wrapper
    result = func()
  File "/root/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/Tabs/ProgramsTab.py", line 365, in <lambda>
    lambda: context.api.get_program_details(slug), self.load_program_details
  File "/root/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/api/api.py", line 144, in get_program_details
    return ProgramDetails(response.json())
  File "/root/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/api/models.py", line 35, in __init__
    load_class(self.__class__)
  File "/root/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/api/models.py", line 30, in load_class
    setattr(self, key, constructor(data.get(key, None)))
  File "/root/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/api/models.py", line 35, in __init__
    load_class(self.__class__)
  File "/root/.BurpSuite/bapps/87e0eb0c385747b2ab1abe8089664807/src/api/models.py", line 30, in load_class
    setattr(self, key, constructor(data.get(key, None)))
TypeError: int() argument must be a string or a number, not 'None'

Regards, @alpernae

alpernae avatar Apr 16 '25 15:04 alpernae