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


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

Re: python-babel

From Håvard Flaget Aasen <haavard_aasen@yahoo.no>
Newsgroups linux.debian.maint.python
Subject Re: python-babel
Date 2020-02-11 11:20 +0100
Message-ID <zyAO5-7vQ-1@gated-at.bofh.it> (permalink)
References <zn8BQ-5hN-11@gated-at.bofh.it> <zn8BQ-5hN-9@gated-at.bofh.it> <zyAbo-72Z-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> 
> I tried to build python-babel to sponsor the upload from what's in the
> Git in the DPMT, and it failed to build for me:
> 
> # Generate the localedata folder data out of the xml files
> # downloaded in debian/repack
> scripts/import_cldr.py common
> Processing root.xml (Language = root; Territory = 001)
> 
> root: Unsupported number system "adlm" in <symbols numberSystem="adlm">
> 
> [... lots of lines like this one ...]

I'm also getting these lines. I tested with the current 2.6.0 which also 
gives the same messages, the build log for 2.6.0 in Ubuntu prints the 
same messages.

Now for the files actually being processed
It is 719 in version 2.4.0
745 in version 2.6.0 and
764 in version 2.8.0

Not that it is supposed to be this way of course. Though I do believe 
the actual content in the package is correct.
I can have a look at what we are actually importing in d/repack and see
if anything has changed from version 2.4.0 to 2.8.0


> 
> root: Unsupported number system "vaii" in <currencyFormats
> numberSystem="vaii">
> 
> Traceback (most recent call last):
>    File "scripts/import_cldr.py", line 968, in <module>
>      main()
>    File "scripts/import_cldr.py", line 193, in main
>      dump_json=bool(options.dump_json)
>    File "scripts/import_cldr.py", line 207, in process_data
>      _process_local_datas(sup, srcdir, destdir, force=force,
> dump_json=dump_json)
>    File "scripts/import_cldr.py", line 435, in _process_local_datas
>      write_datafile(data_filename, data, dump_json=dump_json)
>    File "scripts/import_cldr.py", line 167, in write_datafile
>      with open(path, 'wb') as outfile:
> IOError: [Errno 2] No such file or directory:
> '/<<PKGBUILDDIR>>/babel/locale-data/root.dat'
> 
I can't replicate this. I tried with cowbuilder/pbuilder and sbuild and 
the build completes fine on my systems.

Håvard

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


Thread

python-babel Håvard Flaget Aasen <haavard_aasen@yahoo.no> - 2020-01-10 21:00 +0100
  Re: python-babel Jonathan Carter <jcc@debian.org> - 2020-02-11 10:40 +0100
  Re: python-babel Håvard Flaget Aasen <haavard_aasen@yahoo.no> - 2020-02-11 11:20 +0100
    Re: python-babel Jonathan Carter <jcc@debian.org> - 2020-02-11 11:30 +0100
    Re: python-babel Håvard Flaget Aasen <haavard_aasen@yahoo.no> - 2020-02-11 12:10 +0100
    Re: python-babel Sandro Tosi <morph@debian.org> - 2020-02-11 16:50 +0100
    Re: python-babel Håvard Flaget Aasen <haavard_aasen@yahoo.no> - 2020-02-11 17:00 +0100
      Re: python-babel Håvard Flaget Aasen <haavard_aasen@yahoo.no> - 2020-02-12 08:20 +0100

csiph-web