Timings command line option not working?
See original GitHub issueWhen using the -t
timings option on master
or alpha.4
I receive some errors which I think is to do with the Opal conversion of asciidoctor.js? But that doesn’t seem right because using asciidoctor.js command line works fine. So filing here…
error { format: undefined method `format' for "%05.5f"
at String.$$method_missing (/home/mulhollandd/Documents/asciidoctor-pdf.js/node_modules/asciidoctor-opal-runtime/src/opal.js:3907:56)
at String.method_missing_stub (/home/mulhollandd/Documents/asciidoctor-pdf.js/node_modules/asciidoctor-opal-runtime/src/opal.js:1310:35)
at String.$String_$percent$5 (/home/mulhollandd/Documents/asciidoctor-pdf.js/node_modules/asciidoctor-opal-runtime/src/opal.js:6437:21)
at constructor.$$print_report (/home/mulhollandd/Documents/asciidoctor-pdf.js/node_modules/@asciidoctor/core/dist/node/asciidoctor.js:16408:76)
at Object.convert (/home/mulhollandd/Documents/asciidoctor-pdf.js/lib/converter.js:74:13)
at convertFiles (/home/mulhollandd/Documents/asciidoctor-pdf.js/lib/cli.js:15:21)
at PdfInvoker.invoke (/home/mulhollandd/Documents/asciidoctor-pdf.js/lib/cli.js:64:13)
at /home/mulhollandd/Documents/asciidoctor-pdf.js/bin/asciidoctor-pdf:10:34
at Object.<anonymous> (/home/mulhollandd/Documents/asciidoctor-pdf.js/bin/asciidoctor-pdf:11:3)
at Module._compile (internal/modules/cjs/loader.js:778:30)
name: 'format',
message: 'undefined method `format\' for "%05.5f"',
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
bash - Why doesn't the `time` command work with any option?
This will overwrite the shell keyword time because the command: type time ... Options: -p print the timing summary in the portable Posix...
Read more >Enable \timing from the vsql Command Line - Vertica Forum
The vsql \timing meta-command reports, in milliseconds, the length of time it takes each SQL statement to execute. You can also enable \timing...
Read more >batch file - How do I measure execution time of a command on ...
Type mytimer.bat in the command line then press Enter. Share.
Read more >How To Time Command Execution with the time Command
Learn how to track how long a command takes to execute from the command-line using the time command.
Read more >Command-line Options - Verilog-to-Routing's documentation!
At a minimum VPR requires two command-line arguments: vpr architecture circuit ... Controls whether VPR should terminate if timing is not met after...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh I’ve actually removed the
format
method in Opal runtime to reduce the runtime size. We need to use the new Asciidoctor.js APIprintReport
:See: https://github.com/asciidoctor/asciidoctor-cli.js/pull/83/files
Ah, sorry – this one: