HBmontorHelp


Bob kc2cwt
 

looking for some help with HBmontor 
wen i use systemctl start hbmon
I get the err below 
If some could point out the fail point as i am just not seeing it 
Thanks .

● hbmon.service - HBMonitor
   Loaded: loaded (/lib/systemd/system/hbmon.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2022-05-15 21:22:43 EDT; 324ms ago
  Process: 822 ExecStart=/usr/bin/python3 /opt/HBmonitor/monitor.py (code=exited, status=1/FAILURE)
 Main PID: 822 (code=exited, status=1/FAILURE)

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512


Doug - W4DBG
 

Can you run it in the foreground?

cd /opt/HBMonitor

python3 monitor.py

And see what errors you get?

Doug
W4DBG




On Sun, May 15, 2022 at 8:30 PM Bob kc2cwt <kc2cwt@...> wrote:
looking for some help with HBmontor 
wen i use systemctl start hbmon
I get the err below 
If some could point out the fail point as i am just not seeing it 
Thanks .

● hbmon.service - HBMonitor
   Loaded: loaded (/lib/systemd/system/hbmon.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2022-05-15 21:22:43 EDT; 324ms ago
  Process: 822 ExecStart=/usr/bin/python3 /opt/HBmonitor/monitor.py (code=exited, status=1/FAILURE)
 Main PID: 822 (code=exited, status=1/FAILURE)

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

--
Doug Gooden
troytrojan@...


Bob kc2cwt
 

I get this But its thair 
~# python3 monitor.py
python3: can't open file 'monitor.py': [Errno 2] No such file or directory


KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:32:20 PM
Subject: Re: [DVSwitch] HBmontorHelp

Can you run it in the foreground?

cd /opt/HBMonitor

python3 monitor.py

And see what errors you get?

Doug
W4DBG




On Sun, May 15, 2022 at 8:30 PM Bob kc2cwt <kc2cwt@...> wrote:
looking for some help with HBmontor 
wen i use systemctl start hbmon
I get the err below 
If some could point out the fail point as i am just not seeing it 
Thanks .

● hbmon.service - HBMonitor
   Loaded: loaded (/lib/systemd/system/hbmon.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2022-05-15 21:22:43 EDT; 324ms ago
  Process: 822 ExecStart=/usr/bin/python3 /opt/HBmonitor/monitor.py (code=exited, status=1/FAILURE)
 Main PID: 822 (code=exited, status=1/FAILURE)

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

--
Doug Gooden
troytrojan@...


Doug - W4DBG
 

The ‘monitor.py’ has ‘ around it. Not sure why. 

Try mv ‘monitor.py’ monitor.py

Then

python3 monitor.py





On Sun, May 15, 2022 at 8:34 PM Bob kc2cwt <kc2cwt@...> wrote:
I get this But its thair 
~# python3 monitor.py
python3: can't open file 'monitor.py': [Errno 2] No such file or directory


KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:32:20 PM
Subject: Re: [DVSwitch] HBmontorHelp

Can you run it in the foreground?

cd /opt/HBMonitor

python3 monitor.py

And see what errors you get?

Doug
W4DBG




On Sun, May 15, 2022 at 8:30 PM Bob kc2cwt <kc2cwt@...> wrote:
looking for some help with HBmontor 
wen i use systemctl start hbmon
I get the err below 
If some could point out the fail point as i am just not seeing it 
Thanks .

● hbmon.service - HBMonitor
   Loaded: loaded (/lib/systemd/system/hbmon.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2022-05-15 21:22:43 EDT; 324ms ago
  Process: 822 ExecStart=/usr/bin/python3 /opt/HBmonitor/monitor.py (code=exited, status=1/FAILURE)
 Main PID: 822 (code=exited, status=1/FAILURE)

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

--
Doug Gooden
troytrojan@...

--
Doug Gooden
troytrojan@...


Bob kc2cwt
 

i ran it this time from /opt/HBmontor Dir and got this 

:/opt/HBmonitor# python3 monitor.py
Traceback (most recent call last):
  File "monitor.py", line 60, in <module>
    from jinja2 import Environment, PackageLoader, select_autoescape
  File "/usr/local/lib/python3.7/dist-packages/jinja2/__init__.py", line 12, in <module>
    from .environment import Environment
  File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 25, in <module>
    from .defaults import BLOCK_END_STRING
  File "/usr/local/lib/python3.7/dist-packages/jinja2/defaults.py", line 3, in <module>
    from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
  File "/usr/local/lib/python3.7/dist-packages/jinja2/filters.py", line 13, in <module>
    from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.7/dist-packages/markupsafe/__init__.py)

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:37:11 PM
Subject: Re: [DVSwitch] HBmontorHelp

The ‘monitor.py’ has ‘ around it. Not sure why. 

Try mv ‘monitor.py’ monitor.py

Then

python3 monitor.py





On Sun, May 15, 2022 at 8:34 PM Bob kc2cwt <kc2cwt@...> wrote:
I get this But its thair 
~# python3 monitor.py
python3: can't open file 'monitor.py': [Errno 2] No such file or directory


KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:32:20 PM
Subject: Re: [DVSwitch] HBmontorHelp

Can you run it in the foreground?

cd /opt/HBMonitor

python3 monitor.py

And see what errors you get?

Doug
W4DBG




On Sun, May 15, 2022 at 8:30 PM Bob kc2cwt <kc2cwt@...> wrote:
looking for some help with HBmontor 
wen i use systemctl start hbmon
I get the err below 
If some could point out the fail point as i am just not seeing it 
Thanks .

● hbmon.service - HBMonitor
   Loaded: loaded (/lib/systemd/system/hbmon.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2022-05-15 21:22:43 EDT; 324ms ago
  Process: 822 ExecStart=/usr/bin/python3 /opt/HBmonitor/monitor.py (code=exited, status=1/FAILURE)
 Main PID: 822 (code=exited, status=1/FAILURE)

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

--
Doug Gooden
troytrojan@...

--
Doug Gooden
troytrojan@...


Doug - W4DBG
 

What version of Jinja are you running?



On Sun, May 15, 2022 at 8:39 PM Bob kc2cwt <kc2cwt@...> wrote:
i ran it this time from /opt/HBmontor Dir and got this 

:/opt/HBmonitor# python3 monitor.py
Traceback (most recent call last):
  File "monitor.py", line 60, in <module>
    from jinja2 import Environment, PackageLoader, select_autoescape
  File "/usr/local/lib/python3.7/dist-packages/jinja2/__init__.py", line 12, in <module>
    from .environment import Environment
  File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 25, in <module>
    from .defaults import BLOCK_END_STRING
  File "/usr/local/lib/python3.7/dist-packages/jinja2/defaults.py", line 3, in <module>
    from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
  File "/usr/local/lib/python3.7/dist-packages/jinja2/filters.py", line 13, in <module>
    from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.7/dist-packages/markupsafe/__init__.py)

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:37:11 PM
Subject: Re: [DVSwitch] HBmontorHelp

The ‘monitor.py’ has ‘ around it. Not sure why. 

Try mv ‘monitor.py’ monitor.py

Then

python3 monitor.py





On Sun, May 15, 2022 at 8:34 PM Bob kc2cwt <kc2cwt@...> wrote:
I get this But its thair 
~# python3 monitor.py
python3: can't open file 'monitor.py': [Errno 2] No such file or directory


KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:32:20 PM
Subject: Re: [DVSwitch] HBmontorHelp

Can you run it in the foreground?

cd /opt/HBMonitor

python3 monitor.py

And see what errors you get?

Doug
W4DBG




On Sun, May 15, 2022 at 8:30 PM Bob kc2cwt <kc2cwt@...> wrote:
looking for some help with HBmontor 
wen i use systemctl start hbmon
I get the err below 
If some could point out the fail point as i am just not seeing it 
Thanks .

● hbmon.service - HBMonitor
   Loaded: loaded (/lib/systemd/system/hbmon.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2022-05-15 21:22:43 EDT; 324ms ago
  Process: 822 ExecStart=/usr/bin/python3 /opt/HBmonitor/monitor.py (code=exited, status=1/FAILURE)
 Main PID: 822 (code=exited, status=1/FAILURE)

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

--
Doug Gooden
troytrojan@...

--
Doug Gooden
troytrojan@...

--
Doug Gooden
troytrojan@...


Bob kc2cwt
 

Jinja2         2.11.3

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:42:07 PM
Subject: Re: [DVSwitch] HBmontorHelp

What version of Jinja are you running?



On Sun, May 15, 2022 at 8:39 PM Bob kc2cwt <kc2cwt@...> wrote:
i ran it this time from /opt/HBmontor Dir and got this 

:/opt/HBmonitor# python3 monitor.py
Traceback (most recent call last):
  File "monitor.py", line 60, in <module>
    from jinja2 import Environment, PackageLoader, select_autoescape
  File "/usr/local/lib/python3.7/dist-packages/jinja2/__init__.py", line 12, in <module>
    from .environment import Environment
  File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 25, in <module>
    from .defaults import BLOCK_END_STRING
  File "/usr/local/lib/python3.7/dist-packages/jinja2/defaults.py", line 3, in <module>
    from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
  File "/usr/local/lib/python3.7/dist-packages/jinja2/filters.py", line 13, in <module>
    from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.7/dist-packages/markupsafe/__init__.py)

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:37:11 PM
Subject: Re: [DVSwitch] HBmontorHelp

The ‘monitor.py’ has ‘ around it. Not sure why. 

Try mv ‘monitor.py’ monitor.py

Then

python3 monitor.py





On Sun, May 15, 2022 at 8:34 PM Bob kc2cwt <kc2cwt@...> wrote:
I get this But its thair 
~# python3 monitor.py
python3: can't open file 'monitor.py': [Errno 2] No such file or directory


KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:32:20 PM
Subject: Re: [DVSwitch] HBmontorHelp

Can you run it in the foreground?

cd /opt/HBMonitor

python3 monitor.py

And see what errors you get?

Doug
W4DBG




On Sun, May 15, 2022 at 8:30 PM Bob kc2cwt <kc2cwt@...> wrote:
looking for some help with HBmontor 
wen i use systemctl start hbmon
I get the err below 
If some could point out the fail point as i am just not seeing it 
Thanks .

● hbmon.service - HBMonitor
   Loaded: loaded (/lib/systemd/system/hbmon.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2022-05-15 21:22:43 EDT; 324ms ago
  Process: 822 ExecStart=/usr/bin/python3 /opt/HBmonitor/monitor.py (code=exited, status=1/FAILURE)
 Main PID: 822 (code=exited, status=1/FAILURE)

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

--
Doug Gooden
troytrojan@...

--
Doug Gooden
troytrojan@...

--
Doug Gooden
troytrojan@...


Doug - W4DBG
 

Ok Bob,

I was hoping to get you going. Hopefully someone can add some information but I am not sure what road you should go down next. 

73



On Sun, May 15, 2022 at 8:45 PM Bob kc2cwt <kc2cwt@...> wrote:
Jinja2         2.11.3

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:42:07 PM
Subject: Re: [DVSwitch] HBmontorHelp

What version of Jinja are you running?



On Sun, May 15, 2022 at 8:39 PM Bob kc2cwt <kc2cwt@...> wrote:
i ran it this time from /opt/HBmontor Dir and got this 

:/opt/HBmonitor# python3 monitor.py
Traceback (most recent call last):
  File "monitor.py", line 60, in <module>
    from jinja2 import Environment, PackageLoader, select_autoescape
  File "/usr/local/lib/python3.7/dist-packages/jinja2/__init__.py", line 12, in <module>
    from .environment import Environment
  File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 25, in <module>
    from .defaults import BLOCK_END_STRING
  File "/usr/local/lib/python3.7/dist-packages/jinja2/defaults.py", line 3, in <module>
    from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
  File "/usr/local/lib/python3.7/dist-packages/jinja2/filters.py", line 13, in <module>
    from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.7/dist-packages/markupsafe/__init__.py)

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:37:11 PM
Subject: Re: [DVSwitch] HBmontorHelp

The ‘monitor.py’ has ‘ around it. Not sure why. 

Try mv ‘monitor.py’ monitor.py

Then

python3 monitor.py





On Sun, May 15, 2022 at 8:34 PM Bob kc2cwt <kc2cwt@...> wrote:
I get this But its thair 
~# python3 monitor.py
python3: can't open file 'monitor.py': [Errno 2] No such file or directory


KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:32:20 PM
Subject: Re: [DVSwitch] HBmontorHelp

Can you run it in the foreground?

cd /opt/HBMonitor

python3 monitor.py

And see what errors you get?

Doug
W4DBG




On Sun, May 15, 2022 at 8:30 PM Bob kc2cwt <kc2cwt@...> wrote:
looking for some help with HBmontor 
wen i use systemctl start hbmon
I get the err below 
If some could point out the fail point as i am just not seeing it 
Thanks .

● hbmon.service - HBMonitor
   Loaded: loaded (/lib/systemd/system/hbmon.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2022-05-15 21:22:43 EDT; 324ms ago
  Process: 822 ExecStart=/usr/bin/python3 /opt/HBmonitor/monitor.py (code=exited, status=1/FAILURE)
 Main PID: 822 (code=exited, status=1/FAILURE)

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

--
Doug Gooden
troytrojan@...

--
Doug Gooden
troytrojan@...

--
Doug Gooden
troytrojan@...

--
Doug Gooden
troytrojan@...


Bob kc2cwt
 

Thank for trying to help out .. 
I am just start all over 

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:48:12 PM
Subject: Re: [DVSwitch] HBmontorHelp

Ok Bob,

I was hoping to get you going. Hopefully someone can add some information but I am not sure what road you should go down next. 

73



On Sun, May 15, 2022 at 8:45 PM Bob kc2cwt <kc2cwt@...> wrote:
Jinja2         2.11.3

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:42:07 PM
Subject: Re: [DVSwitch] HBmontorHelp

What version of Jinja are you running?



On Sun, May 15, 2022 at 8:39 PM Bob kc2cwt <kc2cwt@...> wrote:
i ran it this time from /opt/HBmontor Dir and got this 

:/opt/HBmonitor# python3 monitor.py
Traceback (most recent call last):
  File "monitor.py", line 60, in <module>
    from jinja2 import Environment, PackageLoader, select_autoescape
  File "/usr/local/lib/python3.7/dist-packages/jinja2/__init__.py", line 12, in <module>
    from .environment import Environment
  File "/usr/local/lib/python3.7/dist-packages/jinja2/environment.py", line 25, in <module>
    from .defaults import BLOCK_END_STRING
  File "/usr/local/lib/python3.7/dist-packages/jinja2/defaults.py", line 3, in <module>
    from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
  File "/usr/local/lib/python3.7/dist-packages/jinja2/filters.py", line 13, in <module>
    from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.7/dist-packages/markupsafe/__init__.py)

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:37:11 PM
Subject: Re: [DVSwitch] HBmontorHelp

The ‘monitor.py’ has ‘ around it. Not sure why. 

Try mv ‘monitor.py’ monitor.py

Then

python3 monitor.py





On Sun, May 15, 2022 at 8:34 PM Bob kc2cwt <kc2cwt@...> wrote:
I get this But its thair 
~# python3 monitor.py
python3: can't open file 'monitor.py': [Errno 2] No such file or directory


KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

------ Original Message ------
From: "Doug - W4DBG" <douggooden@...>
Sent: 5/15/2022 9:32:20 PM
Subject: Re: [DVSwitch] HBmontorHelp

Can you run it in the foreground?

cd /opt/HBMonitor

python3 monitor.py

And see what errors you get?

Doug
W4DBG




On Sun, May 15, 2022 at 8:30 PM Bob kc2cwt <kc2cwt@...> wrote:
looking for some help with HBmontor 
wen i use systemctl start hbmon
I get the err below 
If some could point out the fail point as i am just not seeing it 
Thanks .

● hbmon.service - HBMonitor
   Loaded: loaded (/lib/systemd/system/hbmon.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2022-05-15 21:22:43 EDT; 324ms ago
  Process: 822 ExecStart=/usr/bin/python3 /opt/HBmonitor/monitor.py (code=exited, status=1/FAILURE)
 Main PID: 822 (code=exited, status=1/FAILURE)

KC2CWT
Bob Schneider 
(914)497-5502
Carmel NY 10512

--
Doug Gooden
troytrojan@...

--
Doug Gooden
troytrojan@...

--
Doug Gooden
troytrojan@...

--
Doug Gooden
troytrojan@...


GB7NR Support
 

What source are you using for this? Re-install from tne provided script in SP2ONG’s git repo,, there has been some obsolete libs in recent months if you have updated apt repo. You will need to force versioning. markupsafe is one that has been effected.

I believe Weldek fixed this in forced versioning in requirements.txt 

Shane 
M0VUB