Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11400 > unrolled thread

Packaging debian xRayUtilities

Started byMARIE Alexandre <alexandre.marie@synchrotron-soleil.fr>
First post2019-03-25 15:00 +0100
Last post2019-03-25 15:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.maint.python


Contents

  Packaging debian xRayUtilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-25 15:00 +0100

#11400 — Packaging debian xRayUtilities

FromMARIE Alexandre <alexandre.marie@synchrotron-soleil.fr>
Date2019-03-25 15:00 +0100
SubjectPackaging debian xRayUtilities
Message-ID<xFyiR-7jA-5@gated-at.bofh.it>
Hello,

I am working on the salsa/debian CI tests, after the build.
Lintian, blhc and puiparts are working fine.
I am trying to fix the autopkgtest, but I am stuck with an error:

```
File "/usr/lib/python3/dist-packages/xrayutilities/materials/_create_database.py", line 70, in <module>
    add_mass_from_NIST(dbf, os.path.join(dataroot, 'nist_atom.dat'), verbose)
  File "/usr/lib/python3/dist-packages/xrayutilities/materials/database.py", line 727, in add_mass_from_NIST
    with open(nistfile, "r") as nf:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.ZEJOsL/autopkgtest_tmp/tests/../xrayutilities/materials/data/nist_atom.dat'
```

This error happens only with python3 and python3-dbg.
I have tried to copy xrayutilities/ (recursively) in "$AUTOPKGTEST_TMP" and tried to only copy nist_atom.dat.
But this causes import issues because of the "xrayutilities" dir.

It makes the autopkgtest to fail..

Thanks for your time.

Cheers,

Alexandre

[toc] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web