Hi,
Trying to get subscription-manager working on a CentOS 5.11 with no success
as I am getting the following errors :
Traceback (most recent call last):
File "/usr/sbin/subscription-manager", line 58, in ?
from subscription_manager.injectioninit import init_dep_injection
File "/usr/share/rhsm/subscription_manager/injectioninit.py", line 17, in
?
from subscription_manager.cache import ProductStatusCache,
EntitlementStatusCache,
File "/usr/share/rhsm/subscription_manager/cache.py", line 29, in ?
from rhsm.config import initConfig
File "/usr/lib64/python2.4/site-packages/rhsm/config.py", line 121
except (NoOptionError, NoSectionError) as er:
^
SyntaxError: invalid syntax
I am using the following versions :
subscription-manager-1.11.4-1.el5.centos
python-rhsm-1.11.4-1.el5.centos
All dependencies installed, but cannot get it working. Any clue why ?
Well looks like I got this resolved by using the 2.2 client version instead
of the latest (2.3) at the time of writing this.
ยทยทยท
On Thursday, August 20, 2015 at 9:48:11 PM UTC-7, Renaud Pere wrote:
>
> Hi,
>
> Trying to get subscription-manager working on a CentOS 5.11 with no
> success as I am getting the following errors :
>
> Traceback (most recent call last):
> File "/usr/sbin/subscription-manager", line 58, in ?
> from subscription_manager.injectioninit import init_dep_injection
> File "/usr/share/rhsm/subscription_manager/injectioninit.py", line 17,
> in ?
> from subscription_manager.cache import ProductStatusCache,
> EntitlementStatusCache, \
> File "/usr/share/rhsm/subscription_manager/cache.py", line 29, in ?
> from rhsm.config import initConfig
> File "/usr/lib64/python2.4/site-packages/rhsm/config.py", line 121
> except (NoOptionError, NoSectionError) as er:
> ^
> SyntaxError: invalid syntax
>
> I am using the following versions :
> subscription-manager-1.11.4-1.el5.centos
> python-rhsm-1.11.4-1.el5.centos
>
> All dependencies installed, but cannot get it working. Any clue why ?
>