PowerFlex: MDM showevents.py Fails With Invalid Syntax
Résumé: The execution of showevents fails with an invalid syntax error
Cet article concerne
Cet article ne concerne pas
Cet article n’est associé à aucun produit spécifique.
Toutes les versions du produit ne sont pas identifiées dans cet article.
Symptômes
MDM installed on a host running Red Hat Enterprise Linux 8.x or CentOS 8.x.
Symptoms
The following error appears, either when showevents.py is performed directly or using another utility, such as 'get info'.
File "/opt/emc/scaleio/mdm/bin/showevents.py", line 22 except ImportError,e: ^ SyntaxError: invalid syntax
Impact
MDM events cannot be viewed or collected.
Cause
The showevents.py utility is only compatible with Python 2.
Résolution
Perform the following steps.
- Confirm that Python 2 is available on all the MDM manager hosts.
-
Change the utility's interpreter to Python 2.
Change the utility's first line (shebang sequence) to the following:#!/usr/bin/python2
Informations supplémentaires
Impacted Versions
VxFlex OS 3.0.x
Fixed in Version
VxFlex OS 3.5
Produits concernés
Red Hat Enterprise Linux Version 8, PowerFlex Software, VxFlex Product FamilyPropriétés de l’article
Numéro d’article: 000063351
Type d’article: Solution
Dernière modification: 18 Apr 2026
Version: 7
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.