Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken Metrologia references #281

Open
ronaldtse opened this issue Jan 3, 2025 · 2 comments
Open

Fix broken Metrologia references #281

ronaldtse opened this issue Jan 3, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ronaldtse
Copy link
Contributor

From this:

I think this is a Relaton bug (ping @andrew2net ):

[relaton] ERROR: `BIPM Metrologia 11 4 179` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 14 2 53` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 15 2 65` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 19 4 163` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 21 3 147` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 27 1 3` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 28 3 163` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 28 5 357` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 31 4 315` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 32 6 435` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 33 4 325` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 35 2 133` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 35 4 267` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 35 4 363` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 35 4 419` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 35 4 465` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 35 6 811` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 37 5 579` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 37 5 603` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 38 4 289` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 39 4 391` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 39 6 589` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 40 1 S154` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 40 1 S35` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 40 2 93` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 40 4 195` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 40 5 217` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 41 1 41` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 42 2 89` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 43 1A 02003` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 43 2 S22` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 43 2 S78` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 44 3 187` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 46 1 11` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 46 1 62` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 46 3 249` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 46 3 332` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 46 5 534` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 47 5 R15` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 49 4 455` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 49 4 479` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 50 1 20` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 50 4 385` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 50 4 395` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 51 1 R1` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 51 3 169` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 52 2 310` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 52 5 628` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 52 5 S217` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 53 3 G1` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 53 5 1204` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 53 5 A19` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 53 5 A46` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 53 5 A6` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 53 5 A75` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 53 5 A86` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 53 6 1272` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 53 6 1306` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 53 6 1354` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 54 3 390` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 54 4 549` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 54 5 693` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 54 5 716` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 54 5 730` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 54 6 S99` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 55 1 125` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 55 1 L13` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 55 1 L1` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 55 1 T1` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 55 2 188` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 55 3 L25` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 56 1 015009` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 56 3 032001` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 7 1 15` -- no implicit conversion of Symbol into Integer
[relaton] ERROR: `BIPM Metrologia 8 1 32` -- no implicit conversion of Symbol into Integer
@ronaldtse ronaldtse added the bug Something isn't working label Jan 3, 2025
@andrew2net
Copy link
Contributor

@ronaldtse I don't see which Relaton version is used. It looks like dependencies are cached. I don't get that error with the latest Relaton. When I try to build bipm-si-brochure with main branch locally I get other error:

$ metanorma site generate . -o _site -c metanorma.yml --no-progress --agree-to-terms --install-fonts --no-continue-without-fonts
[info]: Compiling /Users/andrej/RubyProjects/bipm-si-brochure/sources/guide-ccem-ampere-realization-en.adoc ...
[DEPRECATION] Template.register_tag is deprecated. Use Environment#register_tag instead. Called from /Users/andrej/.rvm/gems/ruby-3.3.3/gems/metanorma-plugin-datastruct-0.3.0/lib/metanorma/plugin/datastruct/base_structured_text_preprocessor.rb:13:in `<top (required)>'
[DEPRECATION] Template.register_filter is deprecated. Use Environment#register_filter instead. Called from /Users/andrej/.rvm/gems/ruby-3.3.3/gems/metanorma-plugin-datastruct-0.3.0/lib/metanorma/plugin/datastruct/base_structured_text_preprocessor.rb:20:in `<top (required)>'
Fatal Error: uninitialized constant Metanorma::Standoc::Validate::Iev
/Users/andrej/.rvm/gems/ruby-3.3.3/gems/metanorma-standoc-2.10.4/lib/metanorma/standoc/validate_term.rb:10:in `init_iev': uninitialized constant Metanorma::Standoc::Validate::Iev (NameError)

        @iev = Iev::Db.new(@iev_globalname, @iev_localname) unless @no_isobib
               ^^^
Did you mean?  IEV
	from /Users/andrej/.rvm/gems/ruby-3.3.3/gems/metanorma-standoc-2.10.4/lib/metanorma/standoc/validate_term.rb:15:in `iev_validate'
...

@opoudjis
Copy link
Contributor

opoudjis commented Jan 4, 2025

Yes, that will be addressed on release Monday, there is a PR already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants