tag:jbilling.tenderapp.com,2012-10-15:/discussions/problems/139-jbilling-310-prepare-test-script-errorjBilling: Discussion 2016-08-12T04:01:55Ztag:jbilling.tenderapp.com,2012-10-15:Comment/285186602013-08-30T08:09:57Z2013-08-30T08:09:57ZJBilling 3.1.0. Prepare test script Error<div><p>Solved. I changed the permissions to file liquibase in the
folder liquidbase2.0.5. The prepare - test finished.</p></div>standobandotag:jbilling.tenderapp.com,2012-10-15:Comment/285186602013-08-30T11:43:20Z2013-08-30T11:43:20ZJBilling 3.1.0. Prepare test script Error<div><p>The preparation of the database via Grails prepare-test ended
succesfully BUT when I wanted to run-app.sh I got error message :
bad interpreter. See attached screen shot.</p>
<p>Can anyboby help please?</p></div>standobandotag:jbilling.tenderapp.com,2012-10-15:Comment/285186602013-08-30T12:19:06Z2013-08-30T12:19:06ZJBilling 3.1.0. Prepare test script Error<div><p>Please ensure that file run-app.sh exist into the jbilling
project root location. Error occurs on linux when the file does not
exist.</p></div>Technical Supporttag:jbilling.tenderapp.com,2012-10-15:Comment/285186602013-08-30T12:32:33Z2013-08-30T12:32:33ZJBilling 3.1.0. Prepare test script Error<div><p>Please, where is the the jbilling project root location? The
file run-app.sh is existing in the Jbilling-community-3.1.0 src
directory</p></div>standobandotag:jbilling.tenderapp.com,2012-10-15:Comment/285186602013-08-30T12:38:27Z2013-08-30T12:38:27ZJBilling 3.1.0. Prepare test script Error<div><p>I put the .run-app.sh file into<br>
pc@pc-Inspiron-5423:~/.grails/1.3.4/projects/jbilling-community-3.1.0$
./run-app.sh</p>
<p>but the same error occurs when I start ./run-app.sh</p></div>standobandotag:jbilling.tenderapp.com,2012-10-15:Comment/285186602013-09-04T14:18:17Z2013-09-04T14:18:17ZJBilling 3.1.0. Prepare test script Error<div><p>Dear Standobando<br>
Please send me the URL of documentation(Jbilling-community-3.1.0)
that you are following, so that we can resolve the matter.</p>
<p>Thanks</p></div>Technical Supporttag:jbilling.tenderapp.com,2012-10-15:Comment/285186602013-09-04T14:21:08Z2013-09-04T14:21:08ZJBilling 3.1.0. Prepare test script Error<div><p>there is only documentation for 3.0.2</p>
<p><a href=
"http://www.jbilling.com/documentation/developers/building-from-source">
http://www.jbilling.com/documentation/developers/building-from-source</a></p>
<p>Stanislav Pavlovic<br>
+421 903 771109</p>
<p>On 4.9.2013, at 16:18, "Technical Support" <a href=
"mailto:tender2+d0a5b5a8ef6abfb94931e81a4692a42dd13d05fd4@tenderapp.com">
tender2+d0a5b5a8ef6abfb94931e81a4692a42dd13d05fd4@tenderapp.com</a>
wrote:</p></div>standobandotag:jbilling.tenderapp.com,2012-10-15:Comment/285186602013-10-16T13:28:20Z2013-10-16T13:28:20ZJBilling 3.1.0. Prepare test script Error<div><p>Hello Standobando<br>
Please use startup.sh under Jbilling-community-3.1.0/bin inplace of
run-app.sh.</p>
<p>Thanks<br>
Technical Support Team</p></div>Technical Supporttag:jbilling.tenderapp.com,2012-10-15:Comment/285186602014-02-25T05:55:20Z2014-02-25T05:55:21ZJBilling 3.1.0. Prepare test script Error<div><p>Hi,</p>
<p>I have a similar issue.<br>
OS: WIndows 7<br>
DB: Postgres<br>
1. grails clean -- OK<br>
2. grails compile -- OK<br>
3. grails prepare-test NOT OK Error executing script PrepareTest: :
Execute failed: java.io.IOException: Cannot run program "dropdb":
CreateProcess error=2, The system cannot find the file
specified</p></div>pyratag:jbilling.tenderapp.com,2012-10-15:Comment/285186602014-03-06T08:55:26Z2014-03-06T08:55:27ZJBilling 3.1.0. Prepare test script Error<div><p>Hi Pyra,</p>
<p>I had the same problem and I overcame it by adding the whole
path of the PostgreSQL bin folder into the script
PrepareTestDb.groovy. Now the code looks like this:</p>
<p>def psqlpath = "C:/Program Files/PostgreSQL/9.3/bin"</p>
<p>println "Dropping a database: ${database}..." // call postgresl
to drop database exec(executable: "${psqlpath}/dropdb",
failonerror: false) { arg(line: "-U ${username} -e ${database}") }
println "Done."</p>
<p>println "Creating a database: ${database}..."<br>
// call postgresl to create database exec(executable:
"${psqlpath}/createdb", failonerror: true) {<br>
arg(line: "-U ${username} -O ${username} -E UTF-8 -e ${database}")
} println "Done."</p>
<p>It works for now. I'm not sure this is the best way to solve
this issue since this is the hardcoded path, depending on location
of the PostgreSQL installation, so if anyone knows better solution,
please share it. Thank you!</p>
<p>Kindest regards,<br>
Mirta</p></div>Mirta Ivatag:jbilling.tenderapp.com,2012-10-15:Comment/285186602015-01-20T09:49:07Z2015-01-20T09:49:07ZJBilling 3.1.0. Prepare test script Error<div><p>Hello All,</p>
<p>Please let us know, If have still this problem.</p>
<p>Thank you,<br>
Technical Support Team</p></div>Technical Supporttag:jbilling.tenderapp.com,2012-10-15:Comment/285186602015-02-16T12:48:02Z2015-02-16T12:48:05ZJBilling 3.1.0. Prepare test script Error<div><p>hi,<br>
I have this error when I execute prepare-test script.<br>
Script 'PrepareTest' not found, did you mean:<br>
1) CreateUnitTest 2) RefreshDependencies 3) CreateIntegrationTest
4) TestApp 5) RemoveProxy_</p>
<blockquote>
<p>Please make a selection or enter Q to quit:</p>
</blockquote></div>Hamzatag:jbilling.tenderapp.com,2012-10-15:Comment/285186602015-03-20T04:07:02Z2015-03-20T04:07:02ZJBilling 3.1.0. Prepare test script Error<div><p>We would like to know the the steps you are following tho
install jbilling.<br>
Please provide it. So that we can get clear idea about it.</p>
<p>Thank you,<br>
Technical Support Team.</p></div>Technical Support