Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.56 KB | None | 0 0
  1. info] Loading project definition from /Users/aindurkhya/alp/webapp/project
  2. [info] Set current project to webapp (in build file:/Users/aindurkhya/alp/webapp/)
  3. [info] Compiling 9 Scala sources to /Users/aindurkhya/alp/webapp/target/scala-2.11/classes...
  4. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:42: not found: type BaseService
  5. [error] trait CaptioningService extends BaseService {
  6. [error] ^
  7. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:45: not found: type JsValue
  8. [error] def addCaptionToMedia(mediaId: String, job: CaptioningJob, postData: JsValue = JsString("")): Future[Media]
  9. [error] ^
  10. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:63: not found: type BaseService
  11. [error] ) extends BaseService with CaptioningService {
  12. [error] ^
  13. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:45: not found: value JsString
  14. [error] def addCaptionToMedia(mediaId: String, job: CaptioningJob, postData: JsValue = JsString("")): Future[Media]
  15. [error] ^
  16. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:49: type mismatch;
  17. [error] found : scala.concurrent.Future.type
  18. [error] required: scala.concurrent.Future[Unit]
  19. [error] def indexCaptions(media: Media): Future[Unit] = Future
  20. [error] ^
  21. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:55: not found: type AwsS3
  22. [error] val awsS3: AwsS3,
  23. [error] ^
  24. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:59: not found: type SimpleContextSearch
  25. [error] val simpleContextSearch: SimpleContextSearch,
  26. [error] ^
  27. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:68: type mismatch;
  28. [error] found : captioning.ast.ASTClient
  29. [error] required: captioning.CaptioningClient
  30. [error] Future.successful(astClient)
  31. [error] ^
  32. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:70: type mismatch;
  33. [error] found : captioning.cielo24.CieloClient
  34. [error] required: captioning.CaptioningClient
  35. [error] Future.successful(cieloClient)
  36. [error] ^
  37. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:72: type mismatch;
  38. [error] found : captioning.threePlay.ThreePlayClient
  39. [error] required: captioning.CaptioningClient
  40. [error] Future.successful(threePlayClient)
  41. [error] ^
  42. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:74: not found: type ServiceException
  43. [error] Future.failed(new ServiceException(UnsupportedCaptioningProvider(profile.provider.toString)))
  44. [error] ^
  45. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:79: value fetchById is not a member of services.MediaService
  46. [error] media <- mediaService.fetchById(mediaId)
  47. [error] ^
  48. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:80: value findOrCreateByInstitutionId is not a member of services.CaptioningProfileService
  49. [error] captioningProfile <- captioningProfileService.findOrCreateByInstitutionId(media.institutionId)
  50. [error] ^
  51. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:82: value updateCaptionStatus is not a member of services.MediaService
  52. [error] _ <- mediaService.updateCaptionStatus(media, CaptionsProcessing(Instant.now()))
  53. [error] ^
  54. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:87: value fetchById is not a member of services.MediaService
  55. [error] media <- mediaService.fetchById(mediaId)
  56. [error] ^
  57. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:92: not found: value logRecover
  58. [error] captionS3UrlOpt <- logRecover(uploadToS3(webVTTCaption, media))
  59. [error] ^
  60. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:92: type mismatch;
  61. [error] found : Any
  62. [error] required: captioning.CaptionString
  63. [error] captionS3UrlOpt <- logRecover(uploadToS3(webVTTCaption, media))
  64. [error] ^
  65. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:92: type mismatch;
  66. [error] found : Any
  67. [error] required: models.Media
  68. [error] captionS3UrlOpt <- logRecover(uploadToS3(webVTTCaption, media))
  69. [error] ^
  70. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:94: value updateMediaWithCaptionUrl is not a member of services.MediaService
  71. [error] updatedMedia <- mediaService.updateMediaWithCaptionUrl(media, captionS3Url)
  72. [error] ^
  73. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:96: not found: value logRecover
  74. [error] logRecover(indexCaptions(updatedMedia, webVTTCaption.content))
  75. [error] ^
  76. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:96: value content is not a member of Any
  77. [error] logRecover(indexCaptions(updatedMedia, webVTTCaption.content))
  78. [error] ^
  79. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:100: value fetchById is not a member of services.MediaService
  80. [error] mediaService.fetchById(mediaId).map { media =>
  81. [error] ^
  82. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:101: value updateCaptionStatus is not a member of services.MediaService
  83. [error] mediaService.updateCaptionStatus(media, CaptionError(e.getMessage))
  84. [error] ^
  85. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:106: not found: type JsValue
  86. [error] def addCaptionToMedia(mediaId: String, job: CaptioningJob, postData: JsValue = JsString("")): Future[Media] =
  87. [error] ^
  88. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:106: not found: value JsString
  89. [error] def addCaptionToMedia(mediaId: String, job: CaptioningJob, postData: JsValue = JsString("")): Future[Media] =
  90. [error] ^
  91. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:108: value fetchById is not a member of services.MediaService
  92. [error] media <- mediaService.fetchById(mediaId)
  93. [error] ^
  94. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:109: value findOrCreateByInstitutionId is not a member of services.CaptioningProfileService
  95. [error] defaultProfile <- captioningProfileService.findOrCreateByInstitutionId(media.institutionId)
  96. [error] ^
  97. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:111: not found: value Akka
  98. [error] caption <- util.FutureHelpers.retry(client.getCaptions(defaultProfile, job), Seq(5.seconds, 1.minutes, 5.minutes, 10.minutes, 30.minutes), 5)(Akka.system.scheduler)
  99. [error] ^
  100. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:116: not found: type ThreePlayError
  101. [error] case e: ThreePlayError => {
  102. [error] ^
  103. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:117: not found: type ThreePlayError
  104. [error] val error = new ThreePlayError(s"Error ${e.toString} posting callback url ${routes.Captioning.jobCompleteThreePlay(appConfig.CaptioningThreePlay.callbackToken, mediaId, job.id).url} with data ${postData}")
  105. [error] ^
  106. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:117: not found: value appConfig
  107. [error] val error = new ThreePlayError(s"Error ${e.toString} posting callback url ${routes.Captioning.jobCompleteThreePlay(appConfig.CaptioningThreePlay.callbackToken, mediaId, job.id).url} with data ${postData}")
  108. [error] ^
  109. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:137: value fetchById is not a member of services.MediaService
  110. [error] mediaService.fetchById(mediaId) flatMap { media =>
  111. [error] ^
  112. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:140: value captions is not a member of Any
  113. [error] video.captions match {
  114. [error] ^
  115. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:142: value updateCaptionStatus is not a member of services.MediaService
  116. [error] case _ => mediaService.updateCaptionStatus(media, CaptionError(errorMsg)).map(_ => ())
  117. [error] ^
  118. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:145: not found: value Logger
  119. [error] Logger.warn(s"A Non-video Media was sent to CaptioningService.recordCaptioningError: $mediaId")
  120. [error] ^
  121. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:167: not found: value Logger
  122. [error] Logger.info(s"[CaptioningService] [${media.getIdOrFail}] indexing captions")
  123. [error] ^
  124. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:175: not found: value Logger
  125. [error] Logger.info(s"[CaptioningService] [${media.getIdOrFail}] downloading captions from ${uri.toString}")
  126. [error] ^
  127. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:183: not found: value ServiceException
  128. [error] case ServiceException(InvalidS3Uri) =>
  129. [error] ^
  130. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:183: not found: value InvalidS3Uri
  131. [error] case ServiceException(InvalidS3Uri) =>
  132. [error] ^
  133. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:184: not found: value Logger
  134. [error] Logger.error(s"[CaptioningService] [${media.getIdOrFail}] error downloading captions from ${uri.toString}")
  135. [error] ^
  136. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:187: not found: value Logger
  137. [error] Logger.warn(s"[CaptioningService] [${media.getIdOrFail}] media has empty captions url")
  138. [error] ^
  139. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:192: not found: value Logger
  140. [error] Logger.info(s"[CaptioningService] [${media.getIdOrFail}] parsing captions")
  141. [error] ^
  142. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:195: not found: value Logger
  143. [error] Logger.info(s"[CaptioningService] [${media.getIdOrFail}] indexing captions")
  144. [error] ^
  145. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:197: not found: value simpleContentSearch
  146. [error] _ <- simpleContentSearch.updateForVideo(media, cues)
  147. [error] ^
  148. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:216: not found: value appConfig
  149. [error] val mediaFolder = media.mediaFolder(appConfig.AwsContentUploadBucket)
  150. [error] ^
  151. [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:218: not found: value Logger
  152. [error] Logger.info(s"[CaptioningService] [${media.getIdOrFail}] uploading captions to S3: ${mediaFile.toString}")
  153. [error] ^
  154. [error] /Users/aindurkhya/alp/webapp/app/services/MediaService.scala:148: too many arguments for method indexCaptions: (media: models.Media)scala.concurrent.Future[Unit]
  155. [error] logRecover(captioningService.indexCaptions(pubMedia, captions))
  156. [error] ^
  157. [error] /Users/aindurkhya/alp/webapp/app/services/MediaUploadService.scala:312: too many arguments for method indexCaptions: (media: models.Media)scala.concurrent.Future[Unit]
  158. [error] logRecover(captioningService.indexCaptions(newMedia, captions))
  159. [error] ^
  160. [error] 48 errors found
  161. [error] (compile:compileIncremental) Compilation failed
  162. [error] Total time: 12 s, completed Jan 19, 2017 5:52:02 PM
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement