Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-24918

Fix 3D addon not processing 3D documents when running from a Docker container

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 10.2-SNAPSHOT
    • Fix Version/s: Postponed
    • Component/s: 3D
    • Tags:
    • Team:
      NOS
    • Sprint:
      NOS 11.1.16 - 2019-08 2
    • Story Points:
      5

      Description

      Steps to reproduce:

      1. Using Docker, create a new Nuxeo server instance:
      docker run --name mynuxeo -p 8080:8080 -d nuxeo

      2. Stop it:
      docker exec mynuxeo bin/nuxeoctl stop

      3. Install the nuxeo-web-ui and nuxeo-platform-3d addons:
      docker exec mynuxeo bin/nuxeoctl mp-install nuxeo-web-ui nuxeo-platform-3d

      4. List the installed marketplace packages:
      docker exec mynuxeo bin/nuxeoctl mp-list
      (should look something like this)

      Detected Tomcat server.
      Nuxeo home:          /opt/nuxeo/server
      Nuxeo configuration: /etc/nuxeo/nuxeo.conf
      Include template: /opt/nuxeo/server/templates/common-base
      Include template: /opt/nuxeo/server/templates/common
      Include template: /opt/nuxeo/server/templates/default
      Include template: /opt/nuxeo/server/templates/docker
      Local packages:
       addon     started	nuxeo-dam (id: nuxeo-dam-6.4.0)
       addon  downloaded	nuxeo-drive (id: nuxeo-drive-1.8.0)
       addon  downloaded	nuxeo-liveconnect (id: nuxeo-liveconnect-1.3.0)
       addon     started	nuxeo-platform-3d (id: nuxeo-platform-3d-1.2.0)
       addon  downloaded	nuxeo-showcase-content (id: nuxeo-showcase-content-1.3.0)
       addon  downloaded	nuxeo-spreadsheet (id: nuxeo-spreadsheet-1.4.0)
       addon  downloaded	nuxeo-template-rendering (id: nuxeo-template-rendering-6.8.0)
       addon  downloaded	nuxeo-template-rendering-samples (id: nuxeo-template-rendering-samples-6.8.0)
       addon  downloaded	nuxeo-vision (id: nuxeo-vision-1.3.0)
       addon     started	nuxeo-web-ui (id: nuxeo-web-ui-2.3.1)
      

      5. Start the Nuxeo server instance:
      docker exec mynuxeo bin/nuxeoctl console

      6. Head to http://localhost:8080/ and login with the default credentials, create a Workspace and drag and drop a supported 3D file inside to import it. The server won't be able to process it and the console logs the following error(s):

      2018-04-24 13:57:35,289 ERROR [AbstractWork] Exception during work: ThreeDBatchUpdateWork(89373ac6-71bd-49a8-837b-1a23433a6bef, , Progress(?%, ?/0), Batch conversion)
      org.nuxeo.ecm.core.convert.api.ConverterNotAvailable: Converter batchConversion is not available
      	at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:307)
      	at org.nuxeo.ecm.platform.threed.service.ThreeDServiceImpl.batchConvert(ThreeDServiceImpl.java:189)
      	at org.nuxeo.ecm.platform.threed.service.ThreeDBatchUpdateWork.work(ThreeDBatchUpdateWork.java:124)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:436)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:356)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      2018-04-24 13:57:35,308 ERROR [WorkManagerImpl] Uncaught error on thread: Nuxeo-Work-threeDConversion-1, current work might be lost, WorkManager metrics might be corrupted.
      org.nuxeo.ecm.core.api.NuxeoException: Work failed after 0 retries, class=class org.nuxeo.ecm.platform.threed.service.ThreeDBatchUpdateWork id=default:89373ac6-71bd-49a8-837b-1a23433a6bef:threedbatch: category=threeDConversion title=3D preview batch update
      	at org.nuxeo.ecm.core.work.AbstractWork.workFailed(AbstractWork.java:411)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:368)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.nuxeo.ecm.core.convert.api.ConverterNotAvailable: Converter batchConversion is not available
      	at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:307)
      	at org.nuxeo.ecm.platform.threed.service.ThreeDServiceImpl.batchConvert(ThreeDServiceImpl.java:189)
      	at org.nuxeo.ecm.platform.threed.service.ThreeDBatchUpdateWork.work(ThreeDBatchUpdateWork.java:124)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:436)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:356)
      	... 4 more
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 3 hours
                  3d 3h