Problem Loading Data to http://my-app-id.appspot.com

Hi,

I've set up my own http://my-app-id.appspot.com using the instructions
below (copied from http://opendatakit.org/use/aggregate/).

I've set up my Android device's ODK Collect's Server Preferences to
point to http://my-app-id.appspot.com (the Username and Password
options are greyed out).

However when I try to upload form data it fails and I get the
following message in the appengine log

Uncaught exception from servlet
java.io.IOException:
org.odk.aggregate.exception.ODKFormNotFoundException:
org.datanucleus.exceptions.NucleusObjectNotFoundException: Could not
retrieve entity of kind
Form with key Form("build_xxxx_Survey_123456789")

Does this mean I have to have a copy of the form description on the
server?

If so how do I put it there?

I've apparently been successful in uploading the data to
http://opendatakit.appspot.com - but my data is not visible - how do I
access it?

Many thanks for any pointers.

Kirby

··· ---------------------------------------------------------------

Installing an App Engine Instance

  1. You’ll need to setup a App Engine account. These accounts are
    free (under these terms). You will need to be able to receive a text
    message from Google to verify your account.
  2. Once you’re logged into your App Engine account, click on the
    “Create Application” button, choose an application identifier (e.g.,
    my-app-id) and application title, and click on “Save.” The identifier
    determines your url and can never be changed.
  3. Download ODK Aggregate vN.N and unzip it.
  4. If you are using Windows, run “uploadAggregateToAppEngine.cmd”
    if you are using Windows. Mac users should run
    “uploadAggregateToAppEngine.app” and Linux users should run
    “uploadAggregateToAppEngine.sh”.
  5. The script will ask for the application ID, your email and
    password. Enter those to proceed.
  6. An App Engine instance of ODK Aggregate is now available. Go to
    http://my-app-id.appspot.com in your web browser.

Hi Kirby,

Yes, you need to upload the form into Aggregate first, then you will be able
to submit data from Collect.

To upload a form, click on "Upload Form" just to the right of the "List
Forms" link at the top of the page.

This link is absent from the http://opendatakit.appspot.com site because we
want to restrict who can add forms to the site.

Mitch

··· On Mon, Jan 31, 2011 at 10:30 AM, KirbyJames wrote:

Hi,

I've set up my own http://my-app-id.appspot.com using the instructions
below (copied from http://opendatakit.org/use/aggregate/).

I've set up my Android device's ODK Collect's Server Preferences to
point to http://my-app-id.appspot.com (the Username and Password
options are greyed out).

However when I try to upload form data it fails and I get the
following message in the appengine log

Uncaught exception from servlet
java.io.IOException:
org.odk.aggregate.exception.ODKFormNotFoundException:
org.datanucleus.exceptions.NucleusObjectNotFoundException: Could not
retrieve entity of kind
Form with key Form("build_xxxx_Survey_123456789")

Does this mean I have to have a copy of the form description on the
server?

If so how do I put it there?

I've apparently been successful in uploading the data to
http://opendatakit.appspot.com - but my data is not visible - how do I
access it?

Many thanks for any pointers.

Kirby


Installing an App Engine Instance

  1. You’ll need to setup a App Engine account. These accounts are
    free (under these terms). You will need to be able to receive a text
    message from Google to verify your account.
  2. Once you’re logged into your App Engine account, click on the
    “Create Application” button, choose an application identifier (e.g.,
    my-app-id) and application title, and click on “Save.” The identifier
    determines your url and can never be changed.
  3. Download ODK Aggregate vN.N and unzip it.
  4. If you are using Windows, run “uploadAggregateToAppEngine.cmd”
    if you are using Windows. Mac users should run
    “uploadAggregateToAppEngine.app” and Linux users should run
    “uploadAggregateToAppEngine.sh”.
  5. The script will ask for the application ID, your email and
    password. Enter those to proceed.
  6. An App Engine instance of ODK Aggregate is now available. Go to
    http://my-app-id.appspot.com in your web browser.

--
Mitch Sundt
Software Engineer

University of Washington
mitchellsundt@gmail.com

Mitch,

Brilliant - I must be dumb!

I was expecting to discover my data under the https://appengine.google.com/logs?&app_id=xxxx
.... interface ..

.. but as you correctly point out I shoulkd have been looking under
http://xxxxxx.appspot.com/....

dooh!

Many thanks

Kirby

··· On Jan 31, 6:44 pm, Mitch Sundt wrote: > Hi Kirby, > > Yes, you need to upload the form into Aggregate first, then you will be able > to submit data from Collect. > > To upload a form, click on "Upload Form" just to the right of the "List > Forms" link at the top of the page. > > This link is absent from thehttp://opendatakit.appspot.comsite because we > want to restrict who can add forms to the site. > > Mitch > > > > On Mon, Jan 31, 2011 at 10:30 AM, KirbyJames wrote: > > Hi, > > > I've set up my ownhttp://my-app-id.appspot.comusing the instructions > > below (copied fromhttp://opendatakit.org/use/aggregate/). > > > I've set up my Android device's ODK Collect's Server Preferences to > > point tohttp://my-app-id.appspot.com(the Username and Password > > options are greyed out). > > > However when I try to upload form data it fails and I get the > > following message in the appengine log > > > Uncaught exception from servlet > > java.io.IOException: > > org.odk.aggregate.exception.ODKFormNotFoundException: > > org.datanucleus.exceptions.NucleusObjectNotFoundException: Could not > > retrieve entity of kind > > Form with key Form("build_xxxx_Survey_123456789") > > > Does this mean I have to have a copy of the form description on the > > server? > > > If so how do I put it there? > > > I've apparently been successful in uploading the data to > >http://opendatakit.appspot.com- but my data is not visible - how do I > > access it? > > > Many thanks for any pointers. > > > Kirby > > > --------------------------------------------------------------- > > > Installing an App Engine Instance > > > 1. You’ll need to setup a App Engine account. These accounts are > > free (under these terms). You will need to be able to receive a text > > message from Google to verify your account. > > 2. Once you’re logged into your App Engine account, click on the > > “Create Application” button, choose an application identifier (e.g., > > my-app-id) and application title, and click on “Save.” The identifier > > determines your url and can never be changed. > > 3. Download ODK Aggregate vN.N and unzip it. > > 4. If you are using Windows, run “uploadAggregateToAppEngine.cmd” > > if you are using Windows. Mac users should run > > “uploadAggregateToAppEngine.app” and Linux users should run > > “uploadAggregateToAppEngine.sh”. > > 5. The script will ask for the application ID, your email and > > password. Enter those to proceed. > > 6. An App Engine instance of ODK Aggregate is now available. Go to > >http://my-app-id.appspot.comin your web browser. > > -- > Mitch Sundt > Software Engineerhttp://www.OpenDataKit.org > University of Washington > mitchellsu...@gmail.com