Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #10980
| Path | csiph.com!news.mixmin.net!news.unit0.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andreas Tille <andreas@an3as.eu> |
| Newsgroups | linux.debian.maint.python |
| Subject | TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) |
| Date | Fri, 12 Oct 2018 13:20:01 +0200 |
| Message-ID | <wI3E5-vZ-11@gated-at.bofh.it> (permalink) |
| References | <wHH0T-3XO-67@gated-at.bofh.it> <wHYXL-6cv-1@gated-at.bofh.it> |
| X-Original-To | debian-python@lists.debian.org, David Paleino <dapal@debian.org>, Federico Ceratto <federico.ceratto@gmail.com> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Fri Oct 12 11:15:49 2018 |
| Old-Return-Path | <andreas@an3as.eu> |
| X-Amavis-Spam-Status | No, score=-6.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -6.1 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | NeoMutt/20170113 (1.7.2) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/16410 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20181012111533.4ym6loirbvnr2fnx@an3as.eu |
| Approved | robomod@news.nic.it |
| Lines | 96 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | Picca Frédéric-Emmanuel <picca@debian.org> |
| X-Original-Date | Fri, 12 Oct 2018 13:15:33 +0200 |
| X-Original-Message-ID | <20181012111533.4ym6loirbvnr2fnx@an3as.eu> |
| X-Original-References | <20181011110643.hrxkvpfyzj4jjqeb@an3as.eu> <20181012061902.mf7vngqnwvxdge2s@an3as.eu> |
| Xref | csiph.com linux.debian.maint.python:10980 |
Show key headers only | View raw
Hi again,
I've now stumbled upon the `export PYBUILD_DISABLE=test` some Uploader
had commited. This is now deactivated in Git[2]. Any idea how to get
this working?
Kind regards
Andreas.
[2] https://salsa.debian.org/debian/python-uncertainties
On Fri, Oct 12, 2018 at 08:19:02AM +0200, Andreas Tille wrote:
> Hi,
>
> I need help with an issue in python-uncertainties[2]. It only occures
> with Python 2:
>
> $ python
> Python 2.7.15+ (default, Aug 31 2018, 11:56:52)
> [GCC 8.2.0] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from uncertainties import core
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib/python2.7/dist-packages/uncertainties/__init__.py", line 224, in <module>
> from .core import *
> File "/usr/lib/python2.7/dist-packages/uncertainties/core.py", line 946, in <module>
> ord(sup): normal for (normal, sup) in list(TO_SUPERSCRIPT.items())}
> File "/usr/lib/python2.7/dist-packages/uncertainties/core.py", line 946, in <dictcomp>
> ord(sup): normal for (normal, sup) in list(TO_SUPERSCRIPT.items())}
> TypeError: ord() expected a character, but string of length 3 found
> >>>
>
> With Python 3 everything is fine.
>
> Any idea what might be wrong?
>
> Please note that I commited a new upstream tarball to Git. It has the
> same release version but pypi contains a totally different release
> tarball than Github (different file site and different dirs). I was
> told that the Github version works "better" but this specific error
> occures for both. I'd recommend to use the current HEAD in Git anyway
> since that version looks more "sensible" in some way.
>
> I would also love if someone would check whether dh_auto_test is working
> correctly. I somehow see no sign that the test suite is executed - thus
> the problem above seems to remain hidden.
>
> Kind regards and thanks for any help
>
> Andreas.
>
> On Thu, Oct 11, 2018 at 01:06:43PM +0200, Andreas Tille wrote:
> > Hi,
> >
> > I'm working on bugs #906381 and #906419 of package lmfit-py which should
> > be solved in the latest upstream version. As it is documented in the
> > lmfit-py issue tracker[1] this latest version needs python-uncertainties
> > >= 3.0 which was prepared by Federico in Git[2]. Since it did not build
> > I fixed the build issues and did a team upload (if I understood David
> > Paleino correctly team maintenance in DPMT is fine and thus I have set
> > the team as maintainer - I hope this is fine with you. Since another
> > upload will be needed (see below) I'm fine with reverting this) of the
> > upstream source that was injected.
> >
> > According to lmfit-py upstream[3] there is some issue with the
> > uncertainties release and it seems we are now dealing with the wrong
> > code. I just want to let you know you about my past upload and that
> > I intend to do another upload until that issue[3] is fixed.
> >
> > Kind regards
> >
> > Andreas.
> >
> > PS: I'd consider it sensible to move the Git repository of
> > python-uncertainties from debian/ group on Salsa to
> > python-team/modules if you agree but before doing so I'd love
> > to hear some confirmation that this is OK and that all Uploaders
> > are member of DPMT and are able to keep on commiting.
> >
> >
> > [1] https://github.com/lmfit/lmfit-py/issues/502
> > [2] https://salsa.debian.org/debian/python-uncertainties
> > [3] https://github.com/lmfit/lmfit-py/issues/502#issuecomment-428638278
> >
> > --
> > http://fam-tille.de
>
> --
> http://fam-tille.de
>
>
--
http://fam-tille.de
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Updated python-uncertainties Andreas Tille <andreas@an3as.eu> - 2018-10-12 08:20 +0200
TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) Andreas Tille <andreas@an3as.eu> - 2018-10-12 13:20 +0200
Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) Chris Lamb <lamby@debian.org> - 2018-10-12 13:50 +0200
Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) Andreas Tille <tille@debian.org> - 2018-10-12 14:50 +0200
Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) Andreas Tille <tille@debian.org> - 2018-10-12 16:20 +0200
Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) Chris Lamb <lamby@debian.org> - 2018-10-12 16:40 +0200
RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-12 17:10 +0200
RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-12 17:40 +0200
Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) Piotr Ożarowski <piotr@debian.org> - 2018-10-12 18:20 +0200
RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-12 18:40 +0200
RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-13 11:10 +0200
RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-13 11:50 +0200
RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-13 14:00 +0200
Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) Andreas Tille <andreas@an3as.eu> - 2018-10-15 11:40 +0200
RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-15 12:00 +0200
Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) Karsten Hilbert <Karsten.Hilbert@gmx.net> - 2018-10-15 12:10 +0200
Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) Andreas Tille <andreas@an3as.eu> - 2018-10-15 13:20 +0200
RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-15 14:10 +0200
RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-15 21:20 +0200
Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) Chris Lamb <lamby@debian.org> - 2018-10-15 22:10 +0200
RE:TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-10-15 21:10 +0200
Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) Andreas Tille <andreas@an3as.eu> - 2018-10-16 09:10 +0200
Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) Dmitry Shachnev <mitya57@debian.org> - 2018-10-17 16:40 +0200
Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) Andreas Tille <tille@debian.org> - 2018-10-17 19:50 +0200
csiph-web