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

Plateau : Addressed issues ready to be added to the main branch(s) #158

Open
ReesePlews opened this issue Jan 27, 2025 · 7 comments
Open

Comments

@ReesePlews
Copy link

hello @opoudjis and @ronaldtse

with the forthcoming draft delivery (M2) of the Plateau Project documents, the following issues have been addressed and confirmed.

i would like these revisions (shown below) added by Jan 30th to their respective main branches so that a to a local build of both the Plateau documents (mn-samples-plateau - docs 001-v5 and 002-v5) from the main branch can be generated.

i believe these issues have already been added:

these issues are newer and their problems were recently fixed and confirmed by a local development level document builds:

there is one outstanding issue which is under checking/revision:

please let me know Nick if there are any questions on any of these. i hope i used the correct terminology here to explain. things are coming together very well for the Project and i really appreciate your work on the Plateau Flavor and metanorma. thank you!

@ReesePlews
Copy link
Author

making a local build today after doing a bundle update; no problems during bundle update;

building plateau doc01 (sources/001-v5) with this command:
bundle exec metanorma sources/001-v5/document.adoc

it has taken 2 hours and nothing has changed and the only output shown below. i cancelled the job.

PS E:\github\mn-samples-plateau> bundle exec metanorma sources/001-v5/document.adoc 
[DEPRECATION] Template.register_tag is deprecated. Use Environment#register_tag instead. Called from C:/tools/ruby33/lib/ruby/gems/3.3.0/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 C:/tools/ruby33/lib/ruby/gems/3.3.0/gems/metanorma-plugin-datastruct-0.3.0/lib/metanorma/plugin/datastruct/base_structured_text_preprocessor.rb:20:in `<top (required)>'

@ronaldtse or @opoudjis can you check into this? thank you.

my gemfile

source "https://rubygems.org"

gem "metanorma-cli"

# WARNING: only for developers

# 20250126
# gem "metanorma-plateau", git: "https://github.com/metanorma/metanorma-plateau", branch: "main"
# gem "mn2pdf"

# gem "metanorma-plateau", git: "https://github.com/metanorma/metanorma-plateau"
# gem "metanorma-iso", git: "https://github.com/metanorma/metanorma-iso"
# gem "isodoc", git: "https://github.com/metanorma/isodoc"
# gem "sassc"
# gem "debug"
# gem "metanorma-plateau", path: "~/src/mn/metanorma-plateau"

# gem "metanorma-plugin-lutaml", git: "https://github.com/metanorma/metanorma-plugin-lutaml"
# gem "metanorma-standoc", git: "https://github.com/metanorma/metanorma-standoc"
# gem "lutaml", git: "https://github.com/lutaml/lutaml"

# for local development
# gem "metanorma-plugin-lutaml", path: "~/src/metanorma/metanorma-plugin-lutaml"
# gem "metanorma-standoc", path: "~/src/metanorma/metanorma-standoc"
# gem "lutaml", path: "~/src/lutaml/lutaml"

bundle list

Gems included by the bundle:
  * activesupport (8.0.1)
  * addressable (2.8.7)
  * algolia (2.3.4)
  * arr-pm (0.0.12)
  * asciidoctor (2.0.23)
  * asciimath (2.0.5)
  * asciimath2unitsml (0.4.4)
  * base64 (0.2.0)
  * bcp47_spec (0.2.1)
  * benchmark (0.4.0)
  * bibtex-ruby (6.1.0)
  * bigdecimal (3.1.9)
  * builder (3.3.0)
  * camertron-eprun (1.1.1)
  * cldr-plurals-runtime-rb (1.1.0)
  * cliver (0.3.2)
  * cnccs (0.1.6)
  * concurrent-ruby (1.3.5)
  * connection_pool (2.5.0)
  * coradoc (1.1.5)
  * crass (1.0.6)
  * creek (2.6.3)
  * css_parser (1.21.0)
  * csv (3.3.2)
  * date (3.4.1)
  * descriptive_statistics (2.5.1)
  * domain_name (0.6.20240107)
  * down (5.4.2)
  * drb (2.2.1)
  * ebnf (2.4.0)
  * emf2svg (1.4.3)
  * excavate (0.3.7)
  * expressir (2.1.10)
  * extract_ttc (0.3.6)
  * faraday (2.7.12)
  * faraday-net_http (3.0.2)
  * faraday-net_http_persistent (2.3.0)
  * ffi (1.17.1)
  * ffi-compiler2 (2.3.0)
  * ffi-libarchive (1.1.14)
  * ffi-libarchive-binary (0.4.0)
  * fiber-storage (1.0.0)
  * fontist (1.21.2)
  * fuzzy_match (2.1.0)
  * gb-agencies (0.0.7)
  * git (1.19.1)
  * glossarist (2.3.1)
  * graphql (2.4.8)
  * graphql-client (0.25.0)
  * haml (6.3.0)
  * hamster (3.0.0)
  * hashie (4.1.0)
  * hollaback (0.1.1)
  * html2doc (1.8.8)
  * htmlentities (4.3.4)
  * http-cookie (1.0.8)
  * i18n (1.14.7)
  * ieee-idams (0.2.11)
  * iev (0.3.5)
  * image_size (3.4.0)
  * iso-639 (0.3.8)
  * iso639 (1.3.3)
  * isodoc (2.12.8)
  * isodoc-i18n (1.3.1)
  * isoics (0.1.13)
  * japanese_calendar (0.4.2)
  * json (2.9.1)
  * json-canonicalization (1.0.0)
  * json-ld (3.3.2)
  * json-ld-preloaded (3.3.1)
  * latex-decode (0.4.0)
  * ld-patch (3.3.0)
  * libmspack (0.11.0)
  * lightly (0.4.0)
  * link_header (0.0.8)
  * linkeddata (3.3.1)
  * liquid (5.7.1)
  * loc_mods (0.2.7)
  * logger (1.6.5)
  * lutaml (0.9.27)
  * lutaml-model (0.5.4)
  * lutaml-path (0.1.0)
  * marcel (1.0.4)
  * mathml2asciimath (0.0.14)
  * matrix (0.4.2)
  * mechanize (2.14.0)
  * metanorma (2.0.11)
  * metanorma-bipm (2.5.11)
  * metanorma-cc (2.5.11)
  * metanorma-cli (1.11.5)
  * metanorma-csa (2.5.11)
  * metanorma-generic (2.7.4)
  * metanorma-iec (2.5.12)
  * metanorma-ieee (1.3.9)
  * metanorma-ietf (3.4.4)
  * metanorma-ietf-data (0.2.0)
  * metanorma-iho (1.0.15)
  * metanorma-iso (2.9.5)
  * metanorma-itu (2.5.13)
  * metanorma-jis (0.4.5)
  * metanorma-ogc (2.6.11)
  * metanorma-plateau (0.1.15)
  * metanorma-plugin-datastruct (0.3.0)
  * metanorma-plugin-glossarist (0.2.3)
  * metanorma-plugin-lutaml (0.7.18)
  * metanorma-standoc (2.10.5)
  * metanorma-utils (1.10.2)
  * mime-types (3.6.0)
  * mime-types-data (3.2025.0107)
  * mini_portile2 (2.8.8)
  * minitest (5.25.4)
  * mml (1.0.1)
  * mn-requirements (0.4.3)
  * mn2pdf (2.14)
  * mnconvert (1.67.0)
  * multi_json (1.15.0)
  * net-ftp (0.1.4)
  * net-http-digest_auth (1.4.1)
  * net-http-persistent (4.0.5)
  * net-protocol (0.2.2)
  * nkf (0.2.0)
  * nokogiri (1.16.8)
  * nokogiri-styles (0.1.2)
  * ogc-gml (1.0.0)
  * optout (0.0.2)
  * oscal (0.1.1)
  * ox (2.14.21)
  * parslet (2.0.0)
  * plane1converter (0.0.1)
  * plist (3.7.2)
  * plurimath (0.8.22)
  * pngcheck (0.3.1)
  * premailer (1.11.1)
  * psych (5.2.3)
  * pubid (0.1.2)
  * pubid-bsi (0.3.4)
  * pubid-ccsds (0.1.6)
  * pubid-cen (0.2.4)
  * pubid-core (1.12.10)
  * pubid-etsi (0.1.0)
  * pubid-iec (0.3.2)
  * pubid-ieee (0.2.2)
  * pubid-iso (0.7.8)
  * pubid-itu (0.1.3)
  * pubid-jis (0.3.2)
  * pubid-nist (0.4.2)
  * public_suffix (6.0.1)
  * racc (1.8.1)
  * rack (3.1.8)
  * rake (13.2.1)
  * rchardet (1.9.0)
  * rdf (3.3.2)
  * rdf-aggregate-repo (3.3.0)
  * rdf-hamster-repo (3.3.0)
  * rdf-isomorphic (3.3.0)
  * rdf-json (3.3.0)
  * rdf-microdata (3.3.0)
  * rdf-n3 (3.3.0)
  * rdf-normalize (0.7.0)
  * rdf-ordered-repo (3.3.0)
  * rdf-rdfa (3.3.0)
  * rdf-rdfxml (3.3.0)
  * rdf-reasoner (0.9.0)
  * rdf-tabular (3.3.0)
  * rdf-trig (3.3.0)
  * rdf-trix (3.3.0)
  * rdf-turtle (3.3.0)
  * rdf-vocab (3.3.2)
  * rdf-xsd (3.3.0)
  * relaton (1.20.0)
  * relaton-3gpp (1.20.0)
  * relaton-bib (1.20.4)
  * relaton-bipm (1.20.3)
  * relaton-bsi (1.20.0)
  * relaton-calconnect (1.20.0)
  * relaton-ccsds (1.20.2)
  * relaton-cen (1.20.0)
  * relaton-cie (1.20.0)
  * relaton-cli (1.20.0)
  * relaton-doi (1.20.0)
  * relaton-ecma (1.20.0)
  * relaton-etsi (1.20.0)
  * relaton-gb (1.20.0)
  * relaton-iana (1.20.0)
  * relaton-iec (1.20.0)
  * relaton-ieee (1.20.0)
  * relaton-ietf (1.20.0)
  * relaton-iev (1.2.0)
  * relaton-iho (1.20.0)
  * relaton-index (0.2.16)
  * relaton-isbn (1.20.0)
  * relaton-iso (1.20.0)
  * relaton-iso-bib (1.20.0)
  * relaton-itu (1.20.1)
  * relaton-jis (1.20.0)
  * relaton-logger (0.2.2)
  * relaton-nist (1.20.0)
  * relaton-oasis (1.20.0)
  * relaton-ogc (1.20.0)
  * relaton-omg (1.20.0)
  * relaton-plateau (1.20.0)
  * relaton-render (0.9.1)
  * relaton-un (1.20.0)
  * relaton-w3c (1.20.0)
  * relaton-xsf (1.20.0)
  * reverse_markdown (2.1.1)
  * rexml (3.4.0)
  * roman-numerals (0.3.0)
  * rouge (4.5.1)
  * rsec (1.0.0)
  * ruby-graphviz (1.2.5)
  * ruby-jing (0.0.3)
  * ruby-ole (1.2.13.1)
  * ruby2_keywords (0.0.5)
  * rubyntlm (0.6.5)
  * rubyzip (2.3.2)
  * scanf (1.0.0)
  * securerandom (0.4.1)
  * sequel (5.88.0)
  * seven-zip (1.4.2)
  * shacl (0.4.1)
  * shale (1.2.1)
  * shex (0.8.0)
  * socksify (1.7.1)
  * sparql (3.3.0)
  * sparql-client (3.3.0)
  * sqlite3 (1.7.3)
  * sterile (1.0.26)
  * stringio (3.1.2)
  * strscan (3.1.2)
  * sxp (1.3.0)
  * sys-proctable (1.3.0)
  * sys-uname (1.3.1)
  * temple (0.10.3)
  * thor (1.3.2)
  * thor-hollaback (0.2.1)
  * thread_safe (0.3.6)
  * tilt (2.6.0)
  * time (0.4.1)
  * timeout (0.4.3)
  * tokenizer (0.3.0)
  * ttfunk (1.8.0)
  * twitter_cldr (6.13.0)
  * tzinfo (2.0.6)
  * tzinfo-data (1.2025.1)
  * unf_ext (0.0.9.1)
  * unicode-types (1.10.0)
  * unicode2latex (0.0.6)
  * unitsml (0.2.9)
  * uri (1.0.2)
  * uuidtools (2.2.0)
  * vectory (0.7.7)
  * webrick (1.9.1)
  * webrobots (0.1.2)
  * word-to-markdown (1.1.9)
  * xmi (0.3.13)
  * yaml (0.4.0)
  * yaml-ld (0.0.3)
  * zeitwerk (2.7.1)
Use `bundle info` to print more detailed information about a gem

@ReesePlews
Copy link
Author

running doc2 (sources/002-v5) now... much more robust, processing speed and output normal. it must be something with doc1.

@ReesePlews
Copy link
Author

doc02 (sources/002-v5) completed without any issues. the time was basically the same as previous builds.

i will try and build doc1 (sources/001-v5) again but i think something is wrong with that build taking so long.

@ReesePlews
Copy link
Author

going on 3 hours of processing for doc01 and only in the past couple of minutes have the asciidoctor messages appeared. if it takes this long on my local machine, how long will it take on github? @ronaldtse is there any way to see processing messages before the asciidoctor errors occur?

PS E:\github\mn-samples-plateau> date ; bundle exec metanorma sources/001-v5/document.adoc ; date

Tuesday, 28 January, 2025 15:00:55 PM
[DEPRECATION] Template.register_tag is deprecated. Use Environment#register_tag instead. Called from C:/tools/ruby33/lib/ruby/gems/3.3.0/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 C:/tools/ruby33/lib/ruby/gems/3.3.0/gems/metanorma-plugin-datastruct-0.3.0/lib/metanorma/plugin/datastruct/base_structured_text_preprocessor.rb:20:in <top (required)>'
asciidoctor: ERROR: : line 18762: dropping cells from incomplete row detected end of table
asciidoctor: ERROR: : line 18783: dropping cells from incomplete row detected end of table

@ReesePlews
Copy link
Author

doc01 (sources/001-v5) completed the build on my local machine in 3:30 minutes. what will happen on github?

...
Anchors: (ID implicitgeometry__x306b___x3088___x308a___x5730___x4e0b___x57cb___x8a2d___x7269___x306e___x5f62___x72b6___x3092___x8868___x73fe___x3059___x308b___x5834___x5408___x306e___x95a2___x9023___x5f79___x5272): normalised identifier in from _implicitgeometryにより地下埋設物の形状を表現する場合の関連役割
No label has been processed for ID PointCloudSpecAttribute_class.xml
No label has been processed for ID PointCloudSpecAttribute_function.xml
No label has been processed for ID PointCloudSpecAttribute_srcScale.xml
No label has been processed for ID PointCloudSpecAttribute_srcFilteringCriteria.xml
No label has been processed for ID PointCloudSpecAttribute_customClassificationType.xml
No label has been processed for ID PointCloudSpecAttribute_pointCloudAssociationMethod.xml
No label has been processed for ID PointCloudSpecAttribute_pointSubsamplingInfo.xml
java -Xss10m -Xmx3g -Djava.awt.headless=true -Duser.home=C:/Users/admin -jar C:/tools/ruby33/lib/ruby/gems/3.3.0/gems/mn2pdf-2.14/bin/mn2pdf.jar --xml-file "C:/Users/admin/AppData/Local/Temp/document20250128-18688-3ckifb.xml" --xsl-file "C:/tools/ruby33/lib/ruby/gems/3.3.0/gems/metanorma-plateau-0.1.15/lib/isodoc/plateau/plateau.international-standard.xsl" --pdf-file "E:/github/mn-samples-plateau/sources/001-v5/document.pdf" --param baseassetpath="E:/github/mn-samples-plateau/sources/001-v5" --syntax-highlight --font-manifest "C:/Users/admin/AppData/Local/Temp/fontist_locations20250128-18688-z8z3go.yml"
Tuesday, 28 January, 2025 18:29:13 PM

PS E:\github\mn-samples-plateau>

@ReesePlews
Copy link
Author

hello @ronaldtse and @opoudjis it seems these fixed issues have not yet been added to metanorma-cli version 1.11.5

their problems were recently fixed and confirmed by a local development level document builds:

please let me know when these fixes will be added to the main branch. thank you.

@ReesePlews
Copy link
Author

hello @ronaldtse and @opoudjis do you have an update on when these fixes will be added to the main branch?

in addition to these fixed issues shown above, the static single HTML file ToC render issue has also been fixed and verified with a local development build; i hope it will be in the next release;

perhaps a new release is forthcoming in the next couple of days?

thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant