Traceback (most recent call last):
File "/home/projects/Ingram/run_ingram.py", line 10, in <module>
from Ingram.utils import config
File "/home/projects/Ingram/Ingram/utils/__init__.py", line 4, in <module>
from Ingram.utils.logo import logo
File "/home/projects/Ingram/Ingram/utils/logo.py", line 351, in <module>
logo = generate_logo()
File "/home/projects/Ingram/Ingram/utils/logo.py", line 329, in generate_logo
if font_width + icon_width + 2 < os.get_terminal_size()[0]:
OSError: [Errno 25] Inappropriate ioctl for device
but when i run it directly with console , everything is ok.
How can i fix this and run it on backgroud correctly?
When I use the script on the backgroud of CentOS7 via nohup, but it has occurred some errors like below:
nohup python3 run_ingram.py -i targets.txt -o 218 -t 1248 &
but when i run it directly with console , everything is ok. How can i fix this and run it on backgroud correctly?