[Debian-med-packaging] Bug#711376: autopkgtest failing: missing numpy, trying to create 1nz9.full.pickle in system directory

Martin Pitt mpitt at debian.org
Thu Jun 6 15:56:22 UTC 2013


Package: python-csb
Version: 1.1.1+dfsg-1

Hello,

python-csb's autopkgtest is currently failing [1]:

Traceback (most recent call last):
  File "test/app.py", line 11, in <module>
    main('csb.test.cases.*')
[...]
  File "/usr/lib/python2.7/dist-packages/csb/bio/structure/__init__.py", line 67, in <module>
    import numpy
ImportError: No module named numpy

That bit is easily rectified by adding "python-numpy" to
debian/tests/control's Depends: line. But when I do this, it now runs
into the next failure:

Traceback (most recent call last):
  File "test/app.py", line 11, in <module>
    main('csb.test.cases.*')
  File "/usr/lib/python2.7/dist-packages/csb/test/__init__.py", line 804, in __init__
    self.run()
  File "/usr/lib/python2.7/dist-packages/csb/test/__init__.py", line 850, in run
    Config().ensureDataConsistency()
  File "/usr/lib/python2.7/dist-packages/csb/test/__init__.py", line 312, in ensureDataConsistency
    self.updateDataFiles()
  File "/usr/lib/python2.7/dist-packages/csb/test/__init__.py", line 330, in updateDataFiles
    Pickle.dump(ensemble, open(os.path.join(self.data, '1nz9.full.pickle'), 'wb'))
IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/dist-packages/csb/test/data/1nz9.full.pickle'

It seems strange that csb wants to write pickle files into the system
python module directory, so this might point out an actual bug? (I
have no idea what this module does, though).

Thank you,

Martin

[1] https://jenkins.qa.ubuntu.com/view/Saucy/view/AutoPkgTest/job/saucy-adt-python-csb/
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the Debian-med-packaging mailing list