[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #IHY-300282]: Python in pqact.conf



Jamie,

> There are writes to a log file in the python script.

Does the log file indicate that the script was started?

> Also, I tried a
> redirect in pqact.conf:
> /data/alucard-ops/util/iem-ldm.py &> /data/alucard-ops/util/test.txt

PIPE entries in the LDM configuration-file aren't interpreted by a 
command-shell, so output redirection doesn't work.

> Neither of these have produced an error. I can the script as normal and it
> works fine.

Interesting. It would appear, therefore, that the execution environment differs.

Does the script depend on the current working directory?

Have you tried replacing the first line of the script with "#!/usr/bin/env 
/usr/bin/python3"?

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: IHY-300282
Department: Support LDM
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.



NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.