Re: HBmontorHelp


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@...

Join main@DVSwitch.groups.io to automatically receive all group messages.