CLI>: add 192.168.0.16
192.168.0.16 was added to monitoring
CLI>: File "pingsubprocess.py", line 39
sys.stderr.write(f"{ip} session crushed.")
^
SyntaxError: invalid syntax
10 INPUT a
20 INPUT b
30 LET c=a+b
40 PRINT c
50 GOTO 10
CLI>: add 192.168.0.16
192.168.0.16 was added to monitoring
CLI>: ping: permission denied (are you root?)
ping: permission denied (are you root?)
ping: permission denied (are you root?)
ping: permission denied (are you root?)
192.168.0.16 is not reachable.
admin@AS1002T:/volume1/home/admin/ICMP_Ping_Monitor_True_CLI $ python3.7 -V
Python 3.7.0
obsd# python3.6 main.py
The program is not designed to work in your OS openbsd6
The program will be terminated in 5 seconds, Sorry...
Bye
obsd#
obsd# python3.6 -V
Python 3.6.6
obsd#
CLI>: add 192.168.0.16
Traceback (most recent call last):
File "main.py", line 22, in <module>
main()
File "main.py", line 10, in main
command = input("CLI>: ")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 2: invalid continuation byte
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
from apport.packaging_impl import impl as packaging
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>
import apt
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Original exception was:
Traceback (most recent call last):
File "main.py", line 22, in <module>
main()
File "main.py", line 10, in main
command = input("CLI>: ")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 2: invalid continuation byte
seven@testrsync:~/ICMP_Ping_Monitor_True_CLI$
seven@testrsync:~/ICMP_Ping_Monitor_True_CLI$ python3.6 -V
Python 3.6.7
Зачем в 2019 году нужен HDD в компе? Шумный, тормозной. Лучше вместо этой парочки поставить SSD, пусть и попроще самсунга, но более ёмкий.
fdroid агрессивно считает, что 128 Г хватит всем.
да, это будет отличный вариант!
и это тоже)