Project

General

Profile

Actions

Cleanup #5106

closed

ceph_deploy: install/compile error on wheezy

Added by Anonymous almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Incompatible syntax with python 2.6 compiler:

administrator@ceph-admin:~$ sudo aptitude install ceph-deploy
The following NEW packages will be installed:
ceph-deploy python-pushy{a}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 53.3 kB of archives. After unpacking 328 kB will be used.
Do you want to continue? [Y/n/?]
Get: 1 http://ceph.com/debian-cuttlefish/ wheezy/main python-pushy amd64 0.5.1-1 [30.9 kB]
Get: 2 http://ceph.com/debian-cuttlefish/ wheezy/main ceph-deploy all 0.1-1 [22.4 kB]
Fetched 53.3 kB in 1s (33.2 kB/s)
Selecting previously unselected package python-pushy.
(Reading database ... 38969 files and directories currently installed.)
Unpacking python-pushy (from .../python-pushy_0.5.1-1_amd64.deb) ...
Selecting previously unselected package ceph-deploy.
Unpacking ceph-deploy (from .../ceph-deploy_0.1-1_all.deb) ...
Setting up python-pushy (0.5.1-1) ...
Setting up ceph-deploy (0.1-1) ...
Processing triggers for python-support ...
Compiling /usr/lib/pymodules/python2.6/ceph_deploy/test/test_cli.py ...
SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.6/ceph_deploy/test/test_cli.py', 44, 26, ' assert {p.basename for p in tmpdir.listdir()} set()\n'))

Compiling /usr/lib/pymodules/python2.6/ceph_deploy/test/test_cli_new.py ...
SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.6/ceph_deploy/test/test_cli_new.py', 33, 26, " assert {p.basename for p in tmpdir.listdir()} {'ceph.conf'}\n"))

administrator@ceph-admin:~$ ceph-deploy
Traceback (most recent call last):
File "/usr/bin/ceph-deploy", line 19, in <module>
from ceph_deploy.cli import main
File "/usr/lib/pymodules/python2.7/ceph_deploy/cli.py", line 1, in <module>
import pkg_resources
ImportError: No module named pkg_resources
administrator@ceph-admin:~$ python
Python 2.7.3 (default, Jan 2 2013, 13:56:14)
[GCC 4.7.2] on linux2

Actions

Also available in: Atom PDF