Importing dataless in SC4.0.0

Hello all,

I tried to import my dataless volumes in my newly installed SC4.0.0. If I run it in a shell, the result is the following:

[sysop@pokemongo2 G]$ seiscomp exec import_inv dlsv G.DZM.dataless
Generating output to /home/sysop/seiscomp/etc/inventory/G.DZM.dataless.xml
/builddir/build/BUILD/gcc-8.3.1-20191121/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc+±v3/include/bits/basic_string.h:1067: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]: Assertion ‘__pos <= size()’ failed.
Conversion failed, return code: -6

If I run it via scconfig, the result is return code -6 (see attached).

Has someone an idea about this? These dataless files where imported in Jakarta with no problem…

Thank you for your help
Pierre

But if I use xml files generated on Jakarta from the same dataless files, it seems to work…

[sysop@ XMLfiles]$ seiscomp exec import_inv sc3 G.DZM.dataless.xml
Generating output to /home/sysop/seiscomp/etc/inventory/G.DZM.dataless.xml

In fact, even with xml files, sync doesn’t work…:

Screenshot 2020-06-17_16-23-20-566

Can you upload the dataless SEED volume that does not work? Furthermore. did you hit “sync” or “test inventory”?

Regards,
Jan

Yes of course, I hit ’sync’. Please find attached one of the many files that causes the issue. I suspect it could come from a bad file transfer (these files could have been transferred (internally) with bad ftp options (sac mode instead of binary).

Regards

Pierre

G.DZM.dataless (32 KB)

I tried on my computer and it worked. I will try on CentOS as well. You are using CentOS8, right?

Yes, I do, my version is CentOS 8.

Regards
Pierre

Pierre Lebellegard

IRD - UMR 7329 Géoazur

Laboratoire de Sismologie - Centre IRD de Nouméa

IRD BP A5

98848 Nouméa CEDEX

Nouvelle-Calédonie

Téléphone: +687 26 07 70**(GMT + 11)**

Télécopie: +687 26 43 26**(GMT + 11)**

GSM: +687 96 44 70 (GMT + 11)

** +33 6 07 35 48 04 (CET)**

** +82 10-4062-2607 (GMT + 9)**

Courriel: Pierre.Lebellegard@ird.fr

Twitter: @NCseismicobserv

**Site web: **http://www.seisme.nc

천리길도 한걸음부터.

千里之行 始于足下.
(Parcourir) un chemin de mille lis, en commençant par un pas.

A 1.000 lis travel begins with one single step.

I have tried a fresh build on CentOS8 and it has worked. Using the precompiled binaries from seiscomp.de has failed. I don’t know which build options @andres has used. We will check that.

Regards,
Jan

I could reproduce it with a debug build. The substring extraction routine has an issue with empty tokens (end time in your case) and crashes. This will be fixed.

Done on Github, will be included in 4.0.2.

Thank you :slight_smile:

In addition, always on pre-compiled CentOS 8, when importing the equivalent FDSNXML file newly downloaded (but inventory entry is created):

No inventory read from inventory db

Create empty one

Processing /home/sysop/dataless/AK/AK.CHI.xml

  • parsing StationXML
  • converting into SeisComP-XML

W ambiguous resourceId ‘’ for ResponseFIR

generated new resourceId ‘ResponseFIR/20200619041851.062658.7’

W ambiguous resourceId ‘’ for ResponseFIR

generated new resourceId ‘ResponseFIR/20200619041851.065236.34’

W ambiguous resourceId ‘’ for ResponsePAZ

generated new resourceId ‘ResponsePAZ/20200619041851.06555.38’

W ambiguous resourceId ‘’ for ResponseFIR

generated new resourceId ‘ResponseFIR/20200619041851.065842.39’

W ambiguous resourceId ‘’ for ResponsePAZ

generated new resourceId ‘ResponsePAZ/20200619041851.06738.53’

W ambiguous resourceId ‘’ for ResponseFIR

generated new resourceId ‘ResponseFIR/20200619041851.067504.54’

W ambiguous resourceId ‘’ for ResponsePAZ

generated new resourceId ‘ResponsePAZ/20200619041851.068907.68’

W ambiguous resourceId ‘’ for ResponseFIR

generated new resourceId ‘ResponseFIR/20200619041851.069034.69’

Finished processing

Writing inventory to /home/sysop/seiscomp/etc/inventory/AK.CHI.xml

Generating output to /home/sysop/seiscomp/etc/inventory/AK.CHI.xml

Pierre

Pierre Lebellegard

IRD - UMR 7329 Géoazur

Laboratoire de Sismologie - Centre IRD de Nouméa

IRD BP A5

98848 Nouméa CEDEX

Nouvelle-Calédonie

Téléphone: +687 26 07 70**(GMT + 11)**

Télécopie: +687 26 43 26**(GMT + 11)**

GSM: +687 96 44 70 (GMT + 11)

** +33 6 07 35 48 04 (CET)**

** +82 10-4062-2607 (GMT + 9)**

Courriel: Pierre.Lebellegard@ird.fr

Twitter: @NCseismicobserv

**Web: **http://www.seisme.nc

천리길도 한걸음부터.

千里之行 始于足下.
(Parcourir) un chemin de mille lis, en commençant par un pas.

A 1.000 lis travel begins with one single step.