Project

General

Profile

Actions

Bug #5263

closed

Python Error While Installing ceph-deply on debian wheezy

Added by Yan-Fa Li almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
ceph-deploy
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

While trying to install ceph-deploy on a new Debian 7.0/Wheezy with all the latest updates I got the following error:

root@ceph-server:~# aptitude install ceph-deploy
The following NEW packages will be installed:
ceph-deploy python-pkg-resources{a} python-pushy{a} python-setuptools{a}
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 567 kB of archives. After unpacking 1,644 kB will be used.
Do you want to continue? [Y/n/?] Y
Get: 1 http://ceph.com/debian/ wheezy/main python-pushy amd64 0.5.1-1 [30.9 kB]
Get: 2 http://ceph.com/debian/ wheezy/main ceph-deploy all 1.0-1 [23.3 kB]
Get: 3 http://ftp.us.debian.org/debian/ wheezy/main python-pkg-resources all 0.6.24-1 [63.6 kB]
Get: 4 http://ftp.us.debian.org/debian/ wheezy/main python-setuptools all 0.6.24-1 [449 kB]
Fetched 567 kB in 1s (367 kB/s)
Selecting previously unselected package python-pushy.
(Reading database ... 25462 files and directories currently installed.)
Unpacking python-pushy (from .../python-pushy_0.5.1-1_amd64.deb) ...
Selecting previously unselected package python-pkg-resources.
Unpacking python-pkg-resources (from .../python-pkg-resources_0.6.24-1_all.deb) ...
Selecting previously unselected package python-setuptools.
Unpacking python-setuptools (from .../python-setuptools_0.6.24-1_all.deb) ...
Selecting previously unselected package ceph-deploy.
Unpacking ceph-deploy (from .../ceph-deploy_1.0-1_all.deb) ...
Setting up python-pushy (0.5.1-1) ...
Setting up python-pkg-resources (0.6.24-1) ...
Setting up python-setuptools (0.6.24-1) ...
Setting up ceph-deploy (1.0-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"))

Actions

Also available in: Atom PDF