Formplayer build error

Dear all,

I get this error when I run "./gradlew build" to build formplayer. I
receive these errors, kindly provide assistance/insight:

Log extract:

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':compileJava'.

Could not determine the dependencies of task ':compileJava'.

  • Exception is:
    org.gradle.api.GradleException: Could not determine the dependencies of
    task ':compileJava'..
    Caused by: org.gradle.api.GradleException: Could not determine the
    dependencies of task ':compileJava'.
    Caused by: org.gradle.api.artifacts.UnknownConfigurationException:
    Configuration with name 'translate' not found.

thanks ahead

Hi Eucalyptus,

I can't exactly tell what the error is from that mesage, but could you make
sure that the output of java -version is java version "1.7.0_79"

Thanks,
Ben

··· On Sun, Mar 26, 2017 at 7:45 PM, Eucalyptus D wrote:

Dear all,

I get this error when I run "./gradlew build" to build formplayer. I
receive these errors, kindly provide assistance/insight:

Log extract:

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':compileJava'.

Could not determine the dependencies of task ':compileJava'.

  • Exception is:
    org.gradle.api.GradleException: Could not determine the dependencies of
    task ':compileJava'..
    Caused by: org.gradle.api.GradleException: Could not determine the
    dependencies of task ':compileJava'.
    Caused by: org.gradle.api.artifacts.UnknownConfigurationException:
    Configuration with name 'translate' not found.

thanks ahead

--


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thanks Ben, I have done that and get this new error:

commcarehq@abvict11cc:~/commcare-hq/formplayer$ ./gradlew build --stacktrace
The plugin id 'spring-boot' is deprecated. Please use
'org.springframework.boot' instead.
Spring Boot plugin's support for Gradle 2.5 is deprecated. Please upgrade
to Gradle 2.9 or later.

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':test'.

Configuration with name 'translate' not found.

  • Try:
    Run with --info or --debug option to get more log output.

  • Exception is:
    org.gradle.api.GradleException: Could not determine the dependencies of
    task ':test'.

Please share leads, thanks.

E

··· On Monday, March 27, 2017 at 3:31:03 PM UTC+1, Ben Rudolph wrote: > > Hi Eucalyptus, > > I can't exactly tell what the error is from that mesage, but could you > make sure that the output of `java -version` is java version "1.7.0_79" > > Thanks, > Ben > > On Sun, Mar 26, 2017 at 7:45 PM, Eucalyptus D <eucal...@me.net.ng > wrote: > >> Dear all, >> >> I get this error when I run "./gradlew build" to build formplayer. I >> receive these errors, kindly provide assistance/insight: >> >> Log extract: >> >> FAILURE: Build failed with an exception. >> >> * What went wrong: >> Could not determine the dependencies of task ':compileJava'. >> >> > Could not determine the dependencies of task ':compileJava'. >> * Exception is: >> org.gradle.api.GradleException: Could not determine the dependencies of >> task ':compileJava'.. >> Caused by: org.gradle.api.GradleException: Could not determine the >> dependencies of task ':compileJava'. >> Caused by: org.gradle.api.artifacts.UnknownConfigurationException: >> Configuration with name 'translate' not found. >> >> thanks ahead >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "CommCare Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-developers+unsubscribe@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > >

Hey Eucalyptus,

Looks like this might be a gradle version problem. I've pull requested an
update here https://github.com/dimagi/formplayer/pull/336 - would you
mind checking out this branch and seeing if this resolves your issue?

Cheers,
Will

··· On Wed, Mar 29, 2017 at 6:58 PM, Eucalyptus D wrote:

Thanks Ben, I have done that and get this new error:

commcarehq@abvict11cc:~/commcare-hq/formplayer$ ./gradlew build
--stacktrace
The plugin id 'spring-boot' is deprecated. Please use
'org.springframework.boot' instead.
Spring Boot plugin's support for Gradle 2.5 is deprecated. Please upgrade
to Gradle 2.9 or later.

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':test'.

Configuration with name 'translate' not found.

  • Try:
    Run with --info or --debug option to get more log output.

  • Exception is:
    org.gradle.api.GradleException: Could not determine the dependencies of
    task ':test'.

Please share leads, thanks.

E

On Monday, March 27, 2017 at 3:31:03 PM UTC+1, Ben Rudolph wrote:

Hi Eucalyptus,

I can't exactly tell what the error is from that mesage, but could you
make sure that the output of java -version is java version "1.7.0_79"

Thanks,
Ben

On Sun, Mar 26, 2017 at 7:45 PM, Eucalyptus D eucal...@me.net.ng wrote:

Dear all,

I get this error when I run "./gradlew build" to build formplayer. I
receive these errors, kindly provide assistance/insight:

Log extract:

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':compileJava'.

Could not determine the dependencies of task ':compileJava'.

  • Exception is:
    org.gradle.api.GradleException: Could not determine the dependencies of
    task ':compileJava'..
    Caused by: org.gradle.api.GradleException: Could not determine the
    dependencies of task ':compileJava'.
    Caused by: org.gradle.api.artifacts.UnknownConfigurationException:
    Configuration with name 'translate' not found.

thanks ahead

--


You received this message because you are subscribed to the Google
Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eucalyptus,

I think you should be able to resolved this by running (from the formplayer
directory):

rm -r libs/commcare;
git submodule update --init --recursive;

Cheers,
Will

··· On Mon, Apr 3, 2017 at 12:01 PM, William Pride wrote:

Hey Eucalyptus,

Looks like this might be a gradle version problem. I've pull requested an
update here https://github.com/dimagi/formplayer/pull/336 - would you
mind checking out this branch and seeing if this resolves your issue?

Cheers,
Will

On Wed, Mar 29, 2017 at 6:58 PM, Eucalyptus D eucalyptus@me.net.ng wrote:

Thanks Ben, I have done that and get this new error:

commcarehq@abvict11cc:~/commcare-hq/formplayer$ ./gradlew build
--stacktrace
The plugin id 'spring-boot' is deprecated. Please use
'org.springframework.boot' instead.
Spring Boot plugin's support for Gradle 2.5 is deprecated. Please upgrade
to Gradle 2.9 or later.

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':test'.

Configuration with name 'translate' not found.

  • Try:
    Run with --info or --debug option to get more log output.

  • Exception is:
    org.gradle.api.GradleException: Could not determine the dependencies of
    task ':test'.

Please share leads, thanks.

E

On Monday, March 27, 2017 at 3:31:03 PM UTC+1, Ben Rudolph wrote:

Hi Eucalyptus,

I can't exactly tell what the error is from that mesage, but could you
make sure that the output of java -version is java version "1.7.0_79"

Thanks,
Ben

On Sun, Mar 26, 2017 at 7:45 PM, Eucalyptus D eucal...@me.net.ng wrote:

Dear all,

I get this error when I run "./gradlew build" to build formplayer. I
receive these errors, kindly provide assistance/insight:

Log extract:

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':compileJava'.

Could not determine the dependencies of task ':compileJava'.

  • Exception is:
    org.gradle.api.GradleException: Could not determine the dependencies
    of task ':compileJava'..
    Caused by: org.gradle.api.GradleException: Could not determine the
    dependencies of task ':compileJava'.
    Caused by: org.gradle.api.artifacts.UnknownConfigurationException:
    Configuration with name 'translate' not found.

thanks ahead

--


You received this message because you are subscribed to the Google
Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I deleted the entire formplayer subfolder, cloned, updated and it worked.
Almost all services are running, 2 to go:

commcare-kafka RUNNING pid 1283,
uptime 0:05:52
commcare-zookeeper RUNNING pid 1282,
uptime 0:05:52
commcarehq-prod-celery_async_restore_queue RUNNING pid 1284,
uptime 0:05:52
commcarehq-prod-celery_background_queue RUNNING pid 1333,
uptime 0:05:52
commcarehq-prod-celery_email_queue RUNNING pid 1285,
uptime 0:05:52
commcarehq-prod-celery_flower RUNNING pid 1415,
uptime 0:05:52
commcarehq-prod-celery_logistics_background_queue RUNNING pid 1292,
uptime 0:05:52
commcarehq-prod-celery_logistics_reminder_queue RUNNING pid 1299,
uptime 0:05:52
commcarehq-prod-celery_main RUNNING pid 1286,
uptime 0:05:52
commcarehq-prod-celery_periodic RUNNING pid 1287,
uptime 0:05:52
commcarehq-prod-celery_pillow_retry_queue RUNNING pid 1314,
uptime 0:05:52
commcarehq-prod-celery_reminder_case_update_queue RUNNING pid 1332,
uptime 0:05:52
commcarehq-prod-celery_reminder_queue RUNNING pid 1301,
uptime 0:05:52
commcarehq-prod-celery_reminder_rule_queue RUNNING pid 1298,
uptime 0:05:52
commcarehq-prod-celery_repeat_record_queue RUNNING pid 1290,
uptime 0:05:52
commcarehq-prod-celery_saved_exports_queue RUNNING pid 1296,
uptime 0:05:52
commcarehq-prod-celery_sms_queue RUNNING pid 1304,
uptime 0:05:52
commcarehq-prod-celery_ucr_indicator_queue RUNNING pid 1291,
uptime 0:05:52
commcarehq-prod-celery_ucr_queue RUNNING pid 1324,
uptime 0:05:52
commcarehq-prod-celerybeat RUNNING pid 1336,
uptime 0:05:52
commcarehq-prod-django RUNNING pid 1357,
uptime 0:05:52
commcarehq-prod-elasticsearch FATAL Exited too
quickly (process log may have details)
commcarehq-prod-errand-boy RUNNING pid 1338,
uptime 0:05:52
commcarehq-prod-form_feed RUNNING pid 7103,
uptime 0:00:04
commcarehq-prod-formsplayer FATAL Exited too
quickly (process log may have details)
commcarehq-prod-formsplayer-spring RUNNING pid 1419,
uptime 0:05:52
commcarehq-prod-pillow_retry_queue RUNNING pid 1430,
uptime 0:05:52
commcarehq-prod-pillowtop- RUNNING pid 1313,
uptime 0:05:52
commcarehq-prod-reminder_queue RUNNING pid 1334,
uptime 0:05:52
commcarehq-prod-sms_queue RUNNING pid 1414,
uptime 0:05:52
commcarehq-prod-websockets RUNNING pid 1374,
uptime 0:05:52

thanks

··· On Tuesday, April 4, 2017 at 3:37:18 PM UTC+1, William Pride wrote: > > Eucalyptus, > > I think you should be able to resolved this by running (from the > formplayer directory): > > rm -r libs/commcare; > git submodule update --init --recursive; > > Cheers, > Will > > On Mon, Apr 3, 2017 at 12:01 PM, William Pride <wpr...@dimagi.com > wrote: > >> Hey Eucalyptus, >> >> Looks like this might be a gradle version problem. I've pull requested an >> update here - would you >> mind checking out this branch and seeing if this resolves your issue? >> >> Cheers, >> Will >> >> On Wed, Mar 29, 2017 at 6:58 PM, Eucalyptus D <eucal...@me.net.ng > wrote: >> >>> Thanks Ben, I have done that and get this new error: >>> >>> commcarehq@abvict11cc:~/commcare-hq/formplayer$ ./gradlew build >>> --stacktrace >>> The plugin id 'spring-boot' is deprecated. Please use >>> 'org.springframework.boot' instead. >>> Spring Boot plugin's support for Gradle 2.5 is deprecated. Please >>> upgrade to Gradle 2.9 or later. >>> >>> FAILURE: Build failed with an exception. >>> >>> * What went wrong: >>> Could not determine the dependencies of task ':test'. >>> > Configuration with name 'translate' not found. >>> >>> * Try: >>> Run with --info or --debug option to get more log output. >>> >>> * Exception is: >>> org.gradle.api.GradleException: Could not determine the dependencies of >>> task ':test'. >>> >>> Please share leads, thanks. >>> >>> E >>> >>> On Monday, March 27, 2017 at 3:31:03 PM UTC+1, Ben Rudolph wrote: >>>> >>>> Hi Eucalyptus, >>>> >>>> I can't exactly tell what the error is from that mesage, but could you >>>> make sure that the output of `java -version` is java version "1.7.0_79" >>>> >>>> Thanks, >>>> Ben >>>> >>>> On Sun, Mar 26, 2017 at 7:45 PM, Eucalyptus D wrote: >>>> >>>>> Dear all, >>>>> >>>>> I get this error when I run "./gradlew build" to build formplayer. I >>>>> receive these errors, kindly provide assistance/insight: >>>>> >>>>> Log extract: >>>>> >>>>> FAILURE: Build failed with an exception. >>>>> >>>>> * What went wrong: >>>>> Could not determine the dependencies of task ':compileJava'. >>>>> >>>>> > Could not determine the dependencies of task ':compileJava'. >>>>> * Exception is: >>>>> org.gradle.api.GradleException: Could not determine the dependencies >>>>> of task ':compileJava'.. >>>>> Caused by: org.gradle.api.GradleException: Could not determine the >>>>> dependencies of task ':compileJava'. >>>>> Caused by: org.gradle.api.artifacts.UnknownConfigurationException: >>>>> Configuration with name 'translate' not found. >>>>> >>>>> thanks ahead >>>>> >>>>> -- >>>>> >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "CommCare Developers" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to commcare-developers+unsubscribe@googlegroups.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "CommCare Developers" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to commcare-developers+unsubscribe@googlegroups.com >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >