relaton / relaton-iso

RelatonIso: ISO Standards metadata using the BibliographicItem model
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

Strange failure with "ISO 9000:2005" #83

Closed ronaldtse closed 4 years ago

ronaldtse commented 4 years ago

The first call worked, then the second failed?

[relaton-iso] ("ISO 9000:2005") fetching...
[relaton-iso] ("ISO 9000:2005") found ISO 9000:2005
[relaton-iso] ("ISO 9000:2005") fetching...
[relaton-iso] WARNING: no match found online for ISO 9000:2005. The code must be exactly like it is on the standards website.
[relaton-iso] If you wanted to cite all document parts for the reference, use "ISO 9000:2005 (all parts)".
andrew2net commented 4 years ago

Can't reproduce this issue:

[2] pry(main)> item = RelatonIso::IsoBibliography.get 'ISO 9000:2005'
[relaton-iso] ("ISO 9000:2005") fetching...
[relaton-iso] ("ISO 9000:2005") found ISO 9000:2005
=> #<RelatonIsoBib::IsoBibliographicItem:0x007f920ad3df80
...

[3] pry(main)> item.docidentifier
=> [#<RelatonBib::DocumentIdentifier:0x007f920ad5c958 @id="ISO 9000:2005", @type="ISO">]

[4] pry(main)> RelatonIso::VERSION
=> "0.12.1"
ronaldtse commented 4 years ago

Have you tried doing twice?

andrew2net commented 4 years ago

@ronaldtse yes, of course.

ronaldtse commented 4 years ago

Maybe it has to do with the local cache? This was from Metanorma.

andrew2net commented 4 years ago

Can't reproduce the issue now? How do you get the warning?

ronaldtse commented 4 years ago

I don't see it anymore... closing.