relaton / relaton-itu

Relaton-ITU: retrieve ITU Standards for bibliographic use using the Relaton BibliographicItem model
https://www.relaton.org
MIT License
2 stars 1 forks source link

Unable to fetch "ITU-R BS.1534-1" #55

Open ronaldtse opened 3 years ago

ronaldtse commented 3 years ago

From https://github.com/metanorma/mn-samples-itu/pull/142#issuecomment-804606422

[relaton-itu] ("ITU-R BS.1534-1") fetching...
/usr/local/bundle/gems/relaton-bib-1.7.4/lib/relaton_bib/hash_converter.rb:440:in `block in symbolize': undefined method `to_sym' for 404:Integer (NoMethodError)
    from /usr/local/bundle/gems/relaton-bib-1.7.4/lib/relaton_bib/hash_converter.rb:439:in `each'
    from /usr/local/bundle/gems/relaton-bib-1.7.4/lib/relaton_bib/hash_converter.rb:439:in `reduce'
    from /usr/local/bundle/gems/relaton-bib-1.7.4/lib/relaton_bib/hash_converter.rb:439:in `symbolize'
    from /usr/local/bundle/gems/relaton-bib-1.7.4/lib/relaton_bib/hash_converter.rb:12:in `hash_to_bib'
andrew2net commented 3 years ago

@ronaldtse we don't have ITU-R BS.1534-1 in the relaton-data-itu-r. There is ITU-R BS.1534-3but it's reference is ITU-R REC-BS.1534-3. I've tried to check if the document ITU-R BS.1534-1 exists on https://extranet.itu.int/brdocsearch/ but it seems the site isn't available. It returns this message:

image
andrew2net commented 3 years ago

@ronaldtse the https://extranet.itu.int/brdocsearch/ works now but there isn't BS.1534-1 document

ronaldtse commented 3 years ago

@andrew2net I have sought help from ITU-R, let's wait for their reply.

ronaldtse commented 3 years ago

From ITU:

I remember that link was not reliable (I think it’s the same one you sent me some time ago) Why not use https://extranet.itu.int/brdocsearch/R-REC/Forms/folders_inforce.aspx?

This page does contain the document: https://extranet.itu.int/brdocsearch/R-REC/Forms/folders_inforce.aspx

It's just that the search doesn't.

I guess the best way for us to find this document is to cache the full list of documents, then we can find things faster without needing to hit the search.

ronaldtse commented 3 years ago

This issue is related to the facility provided in #45 .

andrew2net commented 3 years ago

@ronaldtse there isn't document ITU-R BS.1534-1 here https://extranet.itu.int/brdocsearch There is ITU-R BS.1534-1

ronaldtse commented 3 years ago

Hmm what’s the difference here?

andrew2net commented 3 years ago

@ronaldtse sorry I meant there is ITU-R BS.1534-3