Running "zlm-install" script shows error messages before installation of server begins on SLES 11 platform

  • 7004678
  • 16-Oct-2009
  • 30-Apr-2012

Environment

Novell ZENworks 7.3 Linux Management - ZLM7.3
SUSE Linux Enterprise Server 11

Situation

Running "zlm-install" script on SLES 11
Console displays:
Installing gettext
Verifying python packages...
[current directory]/data/common.py:16: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
   import popen2

Install completes normally

Resolution

This is fixed in ZLM 7.3 Hot Patch 2/ZLM 7.3 Interim Release 1 - see KB 7003346 "Updates to Novell ZENworks 7.3 Linux Management" which can be found at https://www.novell.com/support

Additional Information

This issue is because SLE 11 ships python2.6, in which the popen2 module is deprecated.

A similar warning is seen when running zlm-config
# zlm-config --status
Installing gettext
Verifying python packages...
/opt/novell/zenworks/lib/install/ZLMInstallLib.py:21: DeprecationWarning: The
popen2 module is deprecated. Use the subprocess module.
import popen2