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


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

Packaging debian xRayUtilities

Path csiph.com!4.us.feeder.erje.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.unit0.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr>
Newsgroups linux.debian.maint.python
Subject Packaging debian xRayUtilities
Date Mon, 25 Mar 2019 15:00:01 +0100
Message-ID <xFyiR-7jA-5@gated-at.bofh.it> (permalink)
X-Original-To "debian-python@lists.debian.org" <debian-python@lists.debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Mar 25 13:54:42 2019
Old-Return-Path <alexandre.marie@synchrotron-soleil.fr>
X-Amavis-Spam-Status No, score=-5.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, THREADTOPIC=2] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
Dkim-Filter OpenDKIM Filter v2.11.0 poussette.synchrotron-soleil.fr 7FBC660083
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=synchrotron-soleil.fr; s=email; t=1553522061; bh=912doFgm4rvQRv94SkwO9rgmXGt/OEOKQ4e+SQBe6h0=; h=From:To:Subject:Date:From; b=Q3jYnq692tWOjTHdq+HNsIgJYoAZCwW17BFWktlc5bsRly65XU0939Y6/9q8mQU14 2552YUcX0eH/LI0HBHMPAi7GAr4evOSoM/2dIecjTBddw/DixlosjrP4MQo3ExQd6f 5X1llyt0H6eUmNMZCDQ2UWr24NluMcXn/YT5Tb6I=
Dkim-Filter OpenDKIM Filter v2.11.0 poussette.synchrotron-soleil.fr C47E9600B7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=synchrotron-soleil.fr; s=email; t=1553522060; bh=912doFgm4rvQRv94SkwO9rgmXGt/OEOKQ4e+SQBe6h0=; h=From:To:Subject:Date:From; b=fK1/5C6Vh77qQaF2DhHkTZLmWh4B+eAeA+pf3oM8YxgBB4csbjvdPPhExD2Sy61zv QHgiBjFQjzoVh4KT+F6KecShBbOva+f347zfA3ikryVKC1DjldxUm6JGZ/3r6lqHak QHzDYokyqshcbTM6hfc+6Hq3zEyqoFmRwzC/5rYo=
Thread-Topic Packaging debian xRayUtilities
Thread-Index AdTjEPoxmZV+bufjSKSVGN6NzkmSQw==
Accept-Language fr-FR, en-US
Content-Language fr-FR
X-Originating-IP [195.221.0.171]
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16863
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/7EF15309FAA2EA4FAB1643CB55D93ED8DBD525@SUN-DAG3.synchrotron-soleil.fr
Approved robomod@news.nic.it
Lines 30
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 25 Mar 2019 13:54:20 +0000
X-Original-Message-ID <7EF15309FAA2EA4FAB1643CB55D93ED8DBD525@SUN-DAG3.synchrotron-soleil.fr>
Xref csiph.com linux.debian.maint.python:11400

Show key headers only | View raw


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

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web