relaton / relaton-iec

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

No IEV standards fetching #51

Closed opoudjis closed 1 year ago

opoudjis commented 1 year ago
bundle exec relaton fetch "IEC 60050"
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
[relaton-iec] ("IEC 60050") fetching...
[relaton-iec] WARNING: no match found online for IEC 60050. The code must be exactly like it is on the standards website.
[relaton-iec] (There was no match for , though there were matches found for 2007, 2009, 2010, 1998, 2013, 2020, 2014, 2016, 2017, 1988, 1992, 1993, 1995, 1996, 1991, 1997, 1994, 1982.)
[relaton-iec] If you wanted to cite all document parts for the reference, use "IEC 60050 (all parts)".
If the document is not a standard, use its document type abbreviation (TS, TR, PAS, Guide).

bundle exec relaton fetch "IEC 60050-102"
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
[relaton] (IEC 60050-102) not found.
No matching bibliographic entry found

bundle exec relaton fetch "IEC 60050-102:2007"
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
[relaton-iec] ("IEC 60050-102:2007") fetching...
[relaton-iec] WARNING: no match found online for IEC 60050-102:2007:2007. 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
opoudjis commented 1 year ago

Until this is fixed, I need to disable

opoudjis commented 1 year ago

It seems the issue with index. We use an index to search filenames. For IEV we use API to fetch last updates only, so the index should be updated partly. I see the documents in the repository but in the index they are missed. Looks like the index isn't updated correctly. I'm going to recreate the index entirely. Sorry, but I'm unable to rewrite the code today. I've started full repository update, it should recreate the index from scratch. After the repository update you can remove your local ~/.relaton/iec/index.yaml and try to fetch the documents again

opoudjis commented 1 year ago

Has not worked: https://github.com/relaton/relaton-data-iec/actions/runs/4654542507 has run, but the behaviour is unchanged, despite clearing caches...

Note that Andrej will not be available until this Friday.

opoudjis commented 1 year ago

This is still not fixed.

@andrew2net ?

andrew2net commented 1 year ago

fixed in v 1.14.3