Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- info] Loading project definition from /Users/aindurkhya/alp/webapp/project
- [info] Set current project to webapp (in build file:/Users/aindurkhya/alp/webapp/)
- [info] Compiling 9 Scala sources to /Users/aindurkhya/alp/webapp/target/scala-2.11/classes...
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:42: not found: type BaseService
- [error] trait CaptioningService extends BaseService {
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:45: not found: type JsValue
- [error] def addCaptionToMedia(mediaId: String, job: CaptioningJob, postData: JsValue = JsString("")): Future[Media]
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:63: not found: type BaseService
- [error] ) extends BaseService with CaptioningService {
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:45: not found: value JsString
- [error] def addCaptionToMedia(mediaId: String, job: CaptioningJob, postData: JsValue = JsString("")): Future[Media]
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:49: type mismatch;
- [error] found : scala.concurrent.Future.type
- [error] required: scala.concurrent.Future[Unit]
- [error] def indexCaptions(media: Media): Future[Unit] = Future
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:55: not found: type AwsS3
- [error] val awsS3: AwsS3,
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:59: not found: type SimpleContextSearch
- [error] val simpleContextSearch: SimpleContextSearch,
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:68: type mismatch;
- [error] found : captioning.ast.ASTClient
- [error] required: captioning.CaptioningClient
- [error] Future.successful(astClient)
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:70: type mismatch;
- [error] found : captioning.cielo24.CieloClient
- [error] required: captioning.CaptioningClient
- [error] Future.successful(cieloClient)
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:72: type mismatch;
- [error] found : captioning.threePlay.ThreePlayClient
- [error] required: captioning.CaptioningClient
- [error] Future.successful(threePlayClient)
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:74: not found: type ServiceException
- [error] Future.failed(new ServiceException(UnsupportedCaptioningProvider(profile.provider.toString)))
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:79: value fetchById is not a member of services.MediaService
- [error] media <- mediaService.fetchById(mediaId)
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:80: value findOrCreateByInstitutionId is not a member of services.CaptioningProfileService
- [error] captioningProfile <- captioningProfileService.findOrCreateByInstitutionId(media.institutionId)
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:82: value updateCaptionStatus is not a member of services.MediaService
- [error] _ <- mediaService.updateCaptionStatus(media, CaptionsProcessing(Instant.now()))
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:87: value fetchById is not a member of services.MediaService
- [error] media <- mediaService.fetchById(mediaId)
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:92: not found: value logRecover
- [error] captionS3UrlOpt <- logRecover(uploadToS3(webVTTCaption, media))
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:92: type mismatch;
- [error] found : Any
- [error] required: captioning.CaptionString
- [error] captionS3UrlOpt <- logRecover(uploadToS3(webVTTCaption, media))
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:92: type mismatch;
- [error] found : Any
- [error] required: models.Media
- [error] captionS3UrlOpt <- logRecover(uploadToS3(webVTTCaption, media))
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:94: value updateMediaWithCaptionUrl is not a member of services.MediaService
- [error] updatedMedia <- mediaService.updateMediaWithCaptionUrl(media, captionS3Url)
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:96: not found: value logRecover
- [error] logRecover(indexCaptions(updatedMedia, webVTTCaption.content))
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:96: value content is not a member of Any
- [error] logRecover(indexCaptions(updatedMedia, webVTTCaption.content))
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:100: value fetchById is not a member of services.MediaService
- [error] mediaService.fetchById(mediaId).map { media =>
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:101: value updateCaptionStatus is not a member of services.MediaService
- [error] mediaService.updateCaptionStatus(media, CaptionError(e.getMessage))
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:106: not found: type JsValue
- [error] def addCaptionToMedia(mediaId: String, job: CaptioningJob, postData: JsValue = JsString("")): Future[Media] =
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:106: not found: value JsString
- [error] def addCaptionToMedia(mediaId: String, job: CaptioningJob, postData: JsValue = JsString("")): Future[Media] =
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:108: value fetchById is not a member of services.MediaService
- [error] media <- mediaService.fetchById(mediaId)
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:109: value findOrCreateByInstitutionId is not a member of services.CaptioningProfileService
- [error] defaultProfile <- captioningProfileService.findOrCreateByInstitutionId(media.institutionId)
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:111: not found: value Akka
- [error] caption <- util.FutureHelpers.retry(client.getCaptions(defaultProfile, job), Seq(5.seconds, 1.minutes, 5.minutes, 10.minutes, 30.minutes), 5)(Akka.system.scheduler)
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:116: not found: type ThreePlayError
- [error] case e: ThreePlayError => {
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:117: not found: type ThreePlayError
- [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}")
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:117: not found: value appConfig
- [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}")
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:137: value fetchById is not a member of services.MediaService
- [error] mediaService.fetchById(mediaId) flatMap { media =>
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:140: value captions is not a member of Any
- [error] video.captions match {
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:142: value updateCaptionStatus is not a member of services.MediaService
- [error] case _ => mediaService.updateCaptionStatus(media, CaptionError(errorMsg)).map(_ => ())
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:145: not found: value Logger
- [error] Logger.warn(s"A Non-video Media was sent to CaptioningService.recordCaptioningError: $mediaId")
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:167: not found: value Logger
- [error] Logger.info(s"[CaptioningService] [${media.getIdOrFail}] indexing captions")
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:175: not found: value Logger
- [error] Logger.info(s"[CaptioningService] [${media.getIdOrFail}] downloading captions from ${uri.toString}")
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:183: not found: value ServiceException
- [error] case ServiceException(InvalidS3Uri) =>
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:183: not found: value InvalidS3Uri
- [error] case ServiceException(InvalidS3Uri) =>
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:184: not found: value Logger
- [error] Logger.error(s"[CaptioningService] [${media.getIdOrFail}] error downloading captions from ${uri.toString}")
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:187: not found: value Logger
- [error] Logger.warn(s"[CaptioningService] [${media.getIdOrFail}] media has empty captions url")
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:192: not found: value Logger
- [error] Logger.info(s"[CaptioningService] [${media.getIdOrFail}] parsing captions")
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:195: not found: value Logger
- [error] Logger.info(s"[CaptioningService] [${media.getIdOrFail}] indexing captions")
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:197: not found: value simpleContentSearch
- [error] _ <- simpleContentSearch.updateForVideo(media, cues)
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:216: not found: value appConfig
- [error] val mediaFolder = media.mediaFolder(appConfig.AwsContentUploadBucket)
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/CaptioningService.scala:218: not found: value Logger
- [error] Logger.info(s"[CaptioningService] [${media.getIdOrFail}] uploading captions to S3: ${mediaFile.toString}")
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/MediaService.scala:148: too many arguments for method indexCaptions: (media: models.Media)scala.concurrent.Future[Unit]
- [error] logRecover(captioningService.indexCaptions(pubMedia, captions))
- [error] ^
- [error] /Users/aindurkhya/alp/webapp/app/services/MediaUploadService.scala:312: too many arguments for method indexCaptions: (media: models.Media)scala.concurrent.Future[Unit]
- [error] logRecover(captioningService.indexCaptions(newMedia, captions))
- [error] ^
- [error] 48 errors found
- [error] (compile:compileIncremental) Compilation failed
- [error] Total time: 12 s, completed Jan 19, 2017 5:52:02 PM
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement