relaton / relaton-iec

IecBib: retrieve IEC/CIE Standards for bibliographic use using the BibliographicItem model
MIT License
1 stars 0 forks source link

(URGENT) Unable to fetch "IEC 61672-1" and "IEC 61672-1:2013" #53

Closed ronaldtse closed 1 year ago

ronaldtse commented 1 year ago
$ bundle exec relaton fetch "IEC 61672-1"
[relaton-iec] ("IEC 61672-1") fetching...
[relaton-iec] WARNING: no match found online for IEC 61672-1. The code must be exactly like it is on the standards website.
[relaton-iec] The provided document part may not exist, or the document may no longer be published in parts.
No matching bibliographic entry found
$ bundle exec relaton fetch "IEC 61672-1:2013"
[relaton-iec] ("IEC 61672-1:2013") fetching...
[relaton-iec] WARNING: no match found online for IEC 61672-1:2013:2013. The code must be exactly like it is on the standards website.
[relaton-iec] The provided document part may not exist, or the document may no longer be published in parts.
No matching bibliographic entry found

It exists: https://webstore.iec.ch/publication/5708

Screenshot 2023-04-12 at 9 38 30 AM

Blocks https://github.com/metanorma/iso-iec-80000/pull/19

anermina commented 1 year ago

I am actually getting both references auto-fetched.

bundle exec relaton fetch "IEC 61672-1"
(...)
      <status>
        <stage>60</stage>
        <substage>60</substage>
      </status>
      <copyright>
        <from>2013</from>
        <owner>
          <organization>
            <name>International Electrotechnical Commission</name>
            <abbreviation>IEC</abbreviation>
            <uri>www.iec.ch</uri>
          </organization>
        </owner>
      </copyright>
      <relation type="updates">
        <bibitem type="standard">
          <formattedref format="text/plain">IEC 61672-1:2002</formattedref>
          <docidentifier type="IEC" primary="true">IEC 61672-1:2002</docidentifier>
        </bibitem>
      </relation>
      <place>Geneva</place>
    </bibitem>
  </relation>
  <place>Geneva</place>
  <ext schema-version="v1.0.0">
    <doctype>international-standard</doctype>
    <editorialgroup>
      <technical-committee number="29" type="technicalCommittee">TC 29 - Electroacoustics</technical-committee>
    </editorialgroup>
    <ics>
      <code>17.140.50</code>
      <text>Electroacoustics</text>
    </ics>
    <structuredidentifier type="IEC">
      <project-number>61672</project-number>
    </structuredidentifier>
  </ext>
</bibdata>
bundle exec relaton fetch "IEC 61672-1:2013"
(...)
  <status>
    <stage>60</stage>
    <substage>60</substage>
  </status>
  <copyright>
    <from>2013</from>
    <owner>
      <organization>
        <name>International Electrotechnical Commission</name>
        <abbreviation>IEC</abbreviation>
        <uri>www.iec.ch</uri>
      </organization>
    </owner>
  </copyright>
  <relation type="updates">
    <bibitem type="standard">
      <formattedref format="text/plain">IEC 61672-1:2002</formattedref>
      <docidentifier type="IEC" primary="true">IEC 61672-1:2002</docidentifier>
    </bibitem>
  </relation>
  <place>Geneva</place>
  <ext schema-version="v1.0.0">
    <doctype>international-standard</doctype>
    <editorialgroup>
      <technical-committee number="29" type="technicalCommittee">TC 29 - Electroacoustics</technical-committee>
    </editorialgroup>
    <ics>
      <code>17.140.50</code>
      <text>Electroacoustics</text>
    </ics>
    <structuredidentifier type="IEC">
      <project-number>61672</project-number>
    </structuredidentifier>
  </ext>
</bibdata>
ronaldtse commented 1 year ago

Thanks @anermina . I'm on the latest version relaton-iec 1.14.2, and it is indeed still failing for me. I've cleared cache so this is an issue that needs to be fixed.

andrew2net commented 1 year ago

@ronaldtse do you still have this issue? I'm not able to reproduce it.

$ relaton version
CLI => 1.15.4
relaton => 1.15.3
relaton-bib => 1.14.11
relaton-iso-bib => 1.14.0
relaton-gb => 1.14.0
relaton-iec => 1.14.4
relaton-ietf => 1.14.4
relaton-iso => 1.15.4
relaton-itu => 1.14.2
relaton-nist => 1.14.6
relaton-ogc => 1.14.3
relaton-calconnect => 1.14.2
relaton-omg => 1.14.0
relaton-un => 1.14.1
relaton-w3c => 1.14.2
relaton-ieee => 1.14.8
relaton-iho => 1.14.3
relaton-bipm => 1.14.10
relaton-ecma => 1.14.5
relaton-cie => 1.14.1
relaton-bsi => 1.14.6
relaton-cen => 1.14.1
relaton-iana => 1.14.3
relaton-3gpp => 1.14.5
relaton-oasis => 1.14.4
relaton-doi => 1.14.4
relaton-jis => 1.14.2
ronaldtse commented 1 year ago

@andrew2net confirmed fixed for both cases using latest gem and cleared cache. Thanks!