Error when initializing ghunt #141

Closed
opened 2025-10-14 16:47:01 -06:00 by navan · 0 comments
Owner

Originally created by @ghost on 12/7/2022

Just installed new release of project on my Ubuntu 20.04.5 LTS and got this traceback:

Traceback (most recent call last):
  File "/home/evilapuera/.local/bin/ghunt", line 5, in <module>
    from ghunt.ghunt import main
  File "/home/evilapuera/.local/pipx/venvs/ghunt/lib/python3.8/site-packages/ghunt/__init__.py", line 1, in <module>
    from ghunt import globals as gb; gb.init_globals()
  File "/home/evilapuera/.local/pipx/venvs/ghunt/lib/python3.8/site-packages/ghunt/globals.py", line 5, in init_globals
    from ghunt.objects.utils import TMPrinter
  File "/home/evilapuera/.local/pipx/venvs/ghunt/lib/python3.8/site-packages/ghunt/objects/utils.py", line 1, in <module>
    from ghunt.helpers.utils import *
  File "/home/evilapuera/.local/pipx/venvs/ghunt/lib/python3.8/site-packages/ghunt/helpers/utils.py", line 77, in <module>
    def ppnb(nb: float|int) -> float:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
*Originally created by @ghost on 12/7/2022* Just installed new release of project on my `Ubuntu 20.04.5 LTS` and got this traceback: ``` Traceback (most recent call last): File "/home/evilapuera/.local/bin/ghunt", line 5, in <module> from ghunt.ghunt import main File "/home/evilapuera/.local/pipx/venvs/ghunt/lib/python3.8/site-packages/ghunt/__init__.py", line 1, in <module> from ghunt import globals as gb; gb.init_globals() File "/home/evilapuera/.local/pipx/venvs/ghunt/lib/python3.8/site-packages/ghunt/globals.py", line 5, in init_globals from ghunt.objects.utils import TMPrinter File "/home/evilapuera/.local/pipx/venvs/ghunt/lib/python3.8/site-packages/ghunt/objects/utils.py", line 1, in <module> from ghunt.helpers.utils import * File "/home/evilapuera/.local/pipx/venvs/ghunt/lib/python3.8/site-packages/ghunt/helpers/utils.py", line 77, in <module> def ppnb(nb: float|int) -> float: TypeError: unsupported operand type(s) for |: 'type' and 'type' ```
Sign in to join this conversation.
No labels
backdoor-try
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
can't read
can't read
can't read
can't read
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
good first issue
google-patch
google-patch
hacktoberfest-accepted
hacktoberfest-accepted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
knowledge-enrichment
known bug
question
question
question
question
question
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/GHunt#141
No description provided.