Skip to content

Errors on generate #3

Description

@atomfrede

I got the following issue when trying to generate from a fresh clone:

A problem occurred evaluating root project 'docToolchain'.
> Could not resolve all artifacts for configuration 'classpath'.
   > Could not find org.codehaus.groovy.modules.http-builder:http-builder:0.7.2.
     Searched in the following locations:
       - https://plugins.gradle.org/m2/org/codehaus/groovy/modules/http-builder/http-builder/0.7.2/http-builder-0.7.2.pom
     If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
     Required by:
         unspecified:unspecified:unspecified

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

This looks a bit like a version issue as 0.7.1 is available, but I don't know how/where to fix that version for testing. Or it also has to do with the recent f***up with jcenter and the gradle plugin portal.

By using the latest doctoolchain version inside the wrapper that error is gone, but the ruby asciidoc extension are not working (according to #1 thats the reason why using the older version). I tried to make it work, by first changing rubyExtensions = ['src/ruby/asciidoctor-lists'] to rubyExtensions = ['src/ruby/asciidoctor-lists/asciidoctor-lists.rb'] but just resulting in an other error message.

Exception in thread "main" org.jruby.exceptions.LoadError: (LoadError) no such file to load -- ../../git/github/atomfrede/iSAQB-Template/src/ruby/asciidoctor-lists/asciidoctor-lists.rb
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
        at uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.rubygems.core_ext.kernel_require.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85)
        at RUBY.<main>(<script>:1)

Just for testing removing the extension configuration completely gave me another error:

Caused by: org.asciidoctor.jruby.internal.AsciidoctorCoreException: org.jruby.exceptions.SystemCallError: (ENOENT) No such file or directory - mplus1mn-regular-ascii-conums.ttf not found in GEM_FONTS_DIR
        at org.asciidoctor.jruby.internal.JRubyAsciidoctor.convertFile(JRubyAsciidoctor.java:402)
        at org.asciidoctor.jruby.internal.JRubyAsciidoctor.convertFile(JRubyAsciidoctor.java:368)
        at org.asciidoctor.gradle.remote.AsciidoctorJavaExec$_convertFiles_closure4.doCall(AsciidoctorJavaExec.groovy:87)
        ... 22 more
Caused by: org.jruby.exceptions.SystemCallError: (ENOENT) No such file or directory - mplus1mn-regular-ascii-conums.ttf not found in GEM_FONTS_DIR

@MBoegers Can you still generate?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions