On 16/08/13 22:15, Canek Peláez Valdés wrote: > On Fri, Aug 16, 2013 at 9:12 AM, William Kenworthy <bi...@iinet.net.au> wrote: >> On 16/08/13 15:34, Keith Dart wrote: >>> Re , William Kenworthy said: >>>> olympus ~ # ceph >>>> File "/usr/bin/ceph", line 192 >>>> print '\n', s, '\n', '=' * len(s) >>>> ^ >>>> SyntaxError: invalid syntax >>>> olympus ~ # >>> >>> >>> In Python 3 "print" is a function, and should be called like this: >>> >>> print('\n', s, '\n', '=' * len(s)) >>> >>> This works as-is in Python 2, unless you have this at the top of the >>> file: >>> >>> from __future__ import print_function >>> >>> >>> -- Keith >>> >>> >> Thanks Keith, that was suggested on the ceph list but grepping doesnt >> show it in the source. With this version of ceph they have replaced the >> "ceph" binary with a python script so its quite different from the older >> version which works. They target mainly centos and ubuntu/debian so I >> will have to keep looking. > > Have you tried a simple: > > python3 /usr/bin/ceph > > Regards. >
No, doesnt work either. The ceph guys say it works fine for them which leaves me suspecting something is broken on my system ... BillK