[ 
https://issues.apache.org/jira/browse/OFBIZ-12476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-12476.
-----------------------------------
      Assignee: Jacques Le Roux
    Resolution: Abandoned

> README.PDF is not generated by BuildBot nor locally
> ---------------------------------------------------
>
>                 Key: OFBIZ-12476
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12476
>             Project: OFBiz
>          Issue Type: Bug
>          Components: BuildBot, Gradle
>    Affects Versions: 18.12.05, 22.01.01, Upcoming Branch
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Major
>
> There is no README.PDF file  at
> https://nightlies.apache.org/ofbiz/trunk/readme/pdf/
> nor at
> https://nightlies.apache.org/ofbiz/stable/readme/pdf/
> They are still present at
> https://ci.apache.org/projects/ofbiz/site/trunk/readme/pdf/
> and
> https://ci.apache.org/projects/ofbiz/site/stable/readme/pdf/
> But I guess have not been changed since BuildBot 0.8 has been deprecated.
> Moreover there are no other PDF files at all on nightlies stable. It's OK on 
> trunk, but the README.PDF missing.
> Maybe a solution would maybe be to remove the badges, but that's not 
> satisfying.
> Here are the reported errors for the task generateReadmeFiles:
> * trunk locally (on Windows 7):
> {noformat}
> GRAVE: (EACCES) Permission denied - 
> C:/Users/Jacques/AppData/Local/Temp/image-20211231-15808-cfn6c1.svg?branch=trunk
> Exception in thread "main" 
> org.asciidoctor.gradle.remote.AsciidoctorRemoteExecutionException: Error 
> running Asciidoctor whilst attempting to process 
> C:\projectsASF\Git\ofbiz-framework\README.adoc using backend pdf
>         at 
> org.asciidoctor.gradle.remote.AsciidoctorJavaExec$_convertFiles_closure4.doCall(AsciidoctorJavaExec.groovy:87)
> [...]
> Caused by: org.asciidoctor.internal.AsciidoctorCoreException: 
> org.jruby.exceptions.SystemCallError: (EACCES) Permission denied - 
> C:/Users/Jacques/AppData/Local/Temp/image-20211231-15808-cfn6c1.svg?branch=trunk
>         at 
> org.asciidoctor.internal.JRubyAsciidoctor.convertFile(JRubyAsciidoctor.java:498)
>         at 
> org.asciidoctor.internal.JRubyAsciidoctor.convertFile(JRubyAsciidoctor.java:469)
>         at 
> org.asciidoctor.gradle.remote.AsciidoctorJavaExec$_convertFiles_closure4.doCall(AsciidoctorJavaExec.groovy:83)
>         ... 22 more
> Caused by: org.jruby.exceptions.SystemCallError: (EACCES) Permission denied - 
> C:/Users/Jacques/AppData/Local/Temp/image-20211231-15808-cfn6c1.svg?branch=trunk
>         at org.jruby.RubyIO.sysopen(org/jruby/RubyIO.java:1237)
>         at org.jruby.RubyFile.initialize(org/jruby/RubyFile.java:365)
>         at org.jruby.RubyIO.open(org/jruby/RubyIO.java:1156)
> {noformat}
> * trunk on BuildBot:
> {noformat}
>  Task :generateReadmeFiles
> could not retrieve remote image: 
> https://sonarcloud.io/api/project_badges/measure?project=apache_ofbiz-framework&metric=alert_status;
>  400  
> (uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb:resolve_image_path)
> Dec 31, 2021 7:43:33 PM 
> uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb 
> resolve_image_path
> WARNING: could not retrieve remote image: 
> https://sonarcloud.io/api/project_badges/measure?project=apache_ofbiz-framework&metric=alert_status;
>  400
> Dec 31, 2021 7:43:33 PM 
> uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb 
> layout_prose
> WARNING: could not embed image: 
> /tmp/image-20211231-2051196-14rafo2.svg?branch=trunk; image file is an 
> unrecognised format; install prawn-gmagick gem to add support
> could not embed image: /tmp/image-20211231-2051196-14rafo2.svg?branch=trunk; 
> image file is an unrecognised format; install prawn-gmagick gem to add 
> support 
> (uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb:layout_prose)
> {noformat}
> * 18.12 locally (on Windows 7):
> {noformat}
> > Task :generateReadmeFiles FAILED
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':generateReadmeFiles'.
> > Failed to create MD5 hash for file content.
> {noformat}
> * 18.12 on BuildBot (eg https://ci2.apache.org/#/builders/46/builds/84):
> {noformat}
> Task :generateReadmeFiles
> asciidoctor: WARNING: allow-uri-read is not enabled; cannot embed remote 
> image: https://img.shields.io/badge/License-Apache%202.0-blue.svg
> asciidoctor: WARNING: image to embed not found or not readable: 
> https://img.shields.io/badge/License-Apache%202.0-blue.svg
> asciidoctor: WARNING: allow-uri-read is not enabled; cannot embed remote 
> image: https://img.shields.io/badge/Version-release18.12-green.svg
> asciidoctor: WARNING: image to embed not found or not readable: 
> https://img.shields.io/badge/Version-release18.12-green.svg
> asciidoctor: WARNING: allow-uri-read is not enabled; cannot embed remote 
> image: 
> https://github.com/apache/ofbiz-framework/actions/workflows/gradle.yaml/badge.svg?branch=release18.12
> asciidoctor: WARNING: image to embed not found or not readable: 
> https://github.com/apache/ofbiz-framework/actions/workflows/gradle.yaml/badge.svg?branch=release18.12
> asciidoctor: WARNING: allow-uri-read is not enabled; cannot embed remote 
> image: 
> https://github.com/apache/ofbiz-framework/actions/workflows/codeql-analysis.yml/badge.svg?branch=release18.12
> asciidoctor: WARNING: image to embed not found or not readable: 
> https://github.com/apache/ofbiz-framework/actions/workflows/codeql-analysis.yml/badge.svg?branch=release18.12
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to