Missing folders

ODeeKers,

I just updated to the newest version of ODK from trunk. This is the first
time I have updated in a while, since Mercurial was implemented, but I think
I did it correctly and am running the latest ODK.

I see an issue when running ODK on a new emulator or a device that has not
had ODK installed on it before, specifically where the SDCARD does not have
the folder file structure in place.

On install, the '/sdcard/odk/forms' and '/sdcard/odk/instances' folders are
NOT created. The result is that ODK will crash when it is run.

I am creating these folders manually, and that solves the problem, ODK will
run fine after that.

··· -- ☞§※⌘✈☂ ~Neil

Code Fix:

In FileUtils.java, added a couple lines after line 51:

    if (!dir.exists())
     dir.mkdir();
··· On Mon, Aug 30, 2010 at 12:14 PM, Neil Hendrick wrote:

ODeeKers,

I just updated to the newest version of ODK from trunk. This is the first
time I have updated in a while, since Mercurial was implemented, but I think
I did it correctly and am running the latest ODK.

I see an issue when running ODK on a new emulator or a device that has not
had ODK installed on it before, specifically where the SDCARD does not have
the folder file structure in place.

On install, the '/sdcard/odk/forms' and '/sdcard/odk/instances' folders are
NOT created. The result is that ODK will crash when it is run.

I am creating these folders manually, and that solves the problem, ODK will
run fine after that.

--
☞§※⌘:airplane::open_umbrella:
~Neil

--
☞§※⌘:airplane::open_umbrella:
~Neil

Hi Neil,

Thanks! I checked in a change late on Friday that fixed this.

Mitch

··· On Mon, Aug 30, 2010 at 9:31 AM, Neil Hendrick wrote:

Code Fix:

In FileUtils.java, added a couple lines after line 51:

    if (!dir.exists())
     dir.mkdir();

On Mon, Aug 30, 2010 at 12:14 PM, Neil Hendrick mojotexas@gmail.comwrote:

ODeeKers,

I just updated to the newest version of ODK from trunk. This is the first
time I have updated in a while, since Mercurial was implemented, but I think
I did it correctly and am running the latest ODK.

I see an issue when running ODK on a new emulator or a device that has not
had ODK installed on it before, specifically where the SDCARD does not have
the folder file structure in place.

On install, the '/sdcard/odk/forms' and '/sdcard/odk/instances' folders
are NOT created. The result is that ODK will crash when it is run.

I am creating these folders manually, and that solves the problem, ODK
will run fine after that.

--
☞§※⌘:airplane::open_umbrella:
~Neil

--
☞§※⌘:airplane::open_umbrella:
~Neil

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.comopendatakit%2Bunsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer
http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com