Uploaded image for project: 'Opencast'
  1. MH-8950

Youtube distribution service does not work anymore

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 1.4.0
    • Fix versions: 1.4.0
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Non Functioning
    • Steps to reproduce:
      Hide
      Steps to reproduce:
      1. Configure the distribution service correctly.
      2. Start a new workflow with a distribution to youtube
       
       Actual Results:

      The following exception is raised:

      09:15:06 WARN (YoutubeDistributionService:418) - Error distributing http://localhost:8080/files/mediapackage/e0509477-56fa-4709-bff5-c9bf254029a6/ca2e3ae3-fd6f-4ad8-a419-6c0fe8f2b75c/test.avi
      javax.activation.UnsupportedDataTypeException: application/atom+xml
      at javax.activation.DataHandler.writeTo(DataHandler.java:75)
      at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1403)
      at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:874)
      at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:444)
      at com.google.gdata.wireformats.output.media.MediaMultipartGenerator.generate(MediaMultipartGenerator.java:58)
      at com.google.gdata.wireformats.output.media.MediaMultipartGenerator.generate(MediaMultipartGenerator.java:37)
      at com.google.gdata.client.Service.writeRequestData(Service.java:2071)
      at com.google.gdata.client.media.MediaService.insert(MediaService.java:398)
      at org.opencastproject.distribution.youtube.YoutubeDistributionService.distribute(YoutubeDistributionService.java:344)
      at org.opencastproject.distribution.youtube.YoutubeDistributionService.process(YoutubeDistributionService.java:503)
      at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:192)
      at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:157)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:680)

       
       
       Expected Results:
       
      Video distribute to youtube.
       
       Workaround (if any):
       





      Show
      Steps to reproduce: 1. Configure the distribution service correctly. 2. Start a new workflow with a distribution to youtube    Actual Results: The following exception is raised: 09:15:06 WARN (YoutubeDistributionService:418) - Error distributing http://localhost:8080/files/mediapackage/e0509477-56fa-4709-bff5-c9bf254029a6/ca2e3ae3-fd6f-4ad8-a419-6c0fe8f2b75c/test.avi javax.activation.UnsupportedDataTypeException: application/atom+xml at javax.activation.DataHandler.writeTo(DataHandler.java:75) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1403) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:874) at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:444) at com.google.gdata.wireformats.output.media.MediaMultipartGenerator.generate(MediaMultipartGenerator.java:58) at com.google.gdata.wireformats.output.media.MediaMultipartGenerator.generate(MediaMultipartGenerator.java:37) at com.google.gdata.client.Service.writeRequestData(Service.java:2071) at com.google.gdata.client.media.MediaService.insert(MediaService.java:398) at org.opencastproject.distribution.youtube.YoutubeDistributionService.distribute(YoutubeDistributionService.java:344) at org.opencastproject.distribution.youtube.YoutubeDistributionService.process(YoutubeDistributionService.java:503) at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:192) at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:157) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680)      Expected Results:   Video distribute to youtube.    Workaround (if any):  

      TestRail: Results

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                johnk John King
                Reporter:
                xavier.butty Xavier Butty
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  TestRail: Cases