Community for yuuvis® RAD

0 votes
by (870 points)

Hello OS Team,

I am trying to upload a DWG-File to redline. The upload works fine but the rendition-service fails to build the PDF for preview.

Rendition-Service Log:

2019-02-13 11:27:12,792 routestart                         (  72) [     http-nio-8090-exec-2] DEBUG - 20190213.112709.292-14-toPdf        start renditionPrepaireRoute
2019-02-13 11:27:12,797 routestart                         (  72) [text) thread #3 - execute] DEBUG - 20190213.112709.292-14-toPdf        start renditionStartRoute
2019-02-13 11:27:12,807 RenditionInfoProcessor             (  53) [text) thread #3 - execute] INFO  - 20190213.112709.292-14-toPdf        convert [1] file(s) to profile [toPdf]; file name(s): [data.dwg]
2019-02-13 11:27:12,808 route                              (  72) [text) thread #3 - execute] DEBUG - 20190213.112709.292-14-toPdf        source content type:[application/dwg]
2019-02-13 11:27:12,809 routestart                         (  72) [text) thread #3 - execute] DEBUG - 20190213.112709.292-14-toPdf        start renditionPdfRoute
2019-02-13 11:27:12,810 route                              (  72) [text) thread #3 - execute] DEBUG - 20190213.112709.292-14-toPdf        source content type:[application/dwg]
2019-02-13 11:27:12,818 ReloadableConverterService         (  96) [text) thread #3 - execute] WARN  - 20190213.112709.292-14-toPdf        Cannot convert document [Document [id=null] Rendition[toPdf]; Content[(data.dwg,application/dwg)]]. Caused by: [CannotConvertException: Cannot find converter for source type: [application/dwg], target: [toPdf]]
2019-02-13 11:27:12,819 route                              (  96) [text) thread #3 - execute] INFO  - 20190213.112709.292-14-toPdf        CannotConvertException was throw. Caused by: [com.os.rendition.core.CannotConvertException: Cannot find converter for source type: [application/dwg], target: [toPdf]]
2019-02-13 11:27:12,822 performance-request                (  65) [     http-nio-8090-exec-2] DEBUG -                                     request [25] is finished after [35.4 ms]|total 23.9 s, counter 25, max 5.82 s, min 29.6 ms, mean 955 ms|performance.request

In your online-documentation is declared that DWG-Files are supported.
The rendition itself is not that important (of course it would be nice) but the notifications that show up when you open the document are the problem.

Can you suggest a solution to this problem?

Thanks,
Mathias

1 Answer

0 votes
by (12k points)
selected by
 
Best answer

Hello Mathias,

support for dwg files is diabled per default because you need to buy a license of anydwg (http://anydwg.com/dwg2pdf/) before you (or better said rendition-plus) can convert this filetype.
We are already are working on a solution to not show the error toast if the rendition ist not available anymore. So if you can wait for one of the next releases it will be solved.

If you need a solution right now and don't want to buy anydwg you could build your own rendition-plus converter for dwg files and just always return an empty pdf if you want - of course that is not really a "clean" solution...

Regards
Nicolai

by (870 points)
Hello Nicolai

Thanks for the information. In this case I will wait for the next releases.

Regards Mathias

Related questions

0 votes
1 answer
asked Feb 28, 2019 by dennisschmidt (2k points)
+1 vote
1 answer
asked Nov 19, 2018 by Robert Freese (1.5k points)
0 votes
1 answer
...