Images in forms not located

Hi

Sorry for the probably simple question, but I haven't been able to find the answer elsewhere.

I am using using XLSForms to create my survey for use with ODKcollect on a Nexus 7 tablet. I am trying to input images as one of my 'select one' options. I have placed the images into the folder 'sdcard/odk/forms/ceform150514-media', as per instruction, and am able to view them on the device. However when I reach that question I get:

'/storage/emulated/0/odk/forms/ceform150514-media/image.jpg is missing'

I understand that this is a different file path to the one in which my image is stored. Does anyone know how to either change this so that it is looking in the correct folder, or how to save my images into the folder in which it is looking? (or some other way of making my images appear!)

Thank you

These should refer to the same file. The /sdcard/ path is ordinarily a
shorter way to write /storage/emulated/0/ The program is trying to access
the file using the longer prefix because it is asking the Android OS for
the location of the external storage directory (sdcard), and the OS returns
this longer file path.

Did you recently upgrade the Android OS on the tablet? What OS version are
you running?

We have used Nexus 7 tablets (2012 vintage) extensively, and haven't yet
seen this issue, except when upgrading across operating system releases.

··· On Thu, May 14, 2015 at 2:10 AM, wrote:

Hi

Sorry for the probably simple question, but I haven't been able to find
the answer elsewhere.

I am using using XLSForms to create my survey for use with ODKcollect on a
Nexus 7 tablet. I am trying to input images as one of my 'select one'
options. I have placed the images into the folder
'sdcard/odk/forms/ceform150514-media', as per instruction, and am able to
view them on the device. However when I reach that question I get:

'/storage/emulated/0/odk/forms/ceform150514-media/image.jpg is missing'

I understand that this is a different file path to the one in which my
image is stored. Does anyone know how to either change this so that it is
looking in the correct folder, or how to save my images into the folder in
which it is looking? (or some other way of making my images appear!)

Thank you

--

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


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

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

They are running Android 5.1. I think they have just been updated (they belong to the department, I've only just inherited them)

··· On Thursday, 14 May 2015 18:54:24 UTC+1, Mitch Sundt wrote: > These should refer to the same file. The /sdcard/ path is ordinarily a shorter way to write /storage/emulated/0/ The program is trying to access the file using the longer prefix because it is asking the Android OS for the location of the external storage directory (sdcard), and the OS returns this longer file path. > > Did you recently upgrade the Android OS on the tablet? What OS version are you running? > > We have used Nexus 7 tablets (2012 vintage) extensively, and haven't yet seen this issue, except when upgrading across operating system releases. > > > > > > > > On Thu, May 14, 2015 at 2:10 AM, wrote: > Hi > > > > Sorry for the probably simple question, but I haven't been able to find the answer elsewhere. > > > > I am using using XLSForms to create my survey for use with ODKcollect on a Nexus 7 tablet. I am trying to input images as one of my 'select one' options. I have placed the images into the folder 'sdcard/odk/forms/ceform150514-media', as per instruction, and am able to view them on the device. However when I reach that question I get: > > > > '/storage/emulated/0/odk/forms/ceform150514-media/image.jpg is missing' > > > > I understand that this is a different file path to the one in which my image is stored. Does anyone know how to either change this so that it is looking in the correct folder, or how to save my images into the folder in which it is looking? (or some other way of making my images appear!) > > > > Thank you > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@googlegroups.com > > Options: http://groups.google.com/group/opendatakit?hl=en > > > > --- > > You received this message because you are subscribed to the Google Groups "ODK Community" group. > > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > > > > -- > > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com

I suspect there is a spelling difference between the filename specified in
your form, and the filename of the actual image. This might be a UTF-8
glyph difference; I.e., there are glyphs that look very similar, but have
different character values. The character values are what are used within
the program to match the filenames with the references in the XLS/XML file.

e.g.,

'g' ( http://www.fileformat.info/info/unicode/char/0067/index.htm ) and
http://www.fileformat.info/info/unicode/char/0261/index.htm

For one of the images that is not being found, try opening a file browser
to the file, selecting it, and copying its name, then pasting that name
into the XLS file.

··· On Fri, May 15, 2015 at 6:56 AM, wrote:

They are running Android 5.1. I think they have just been updated (they
belong to the department, I've only just inherited them)

On Thursday, 14 May 2015 18:54:24 UTC+1, Mitch Sundt wrote:

These should refer to the same file. The /sdcard/ path is ordinarily a
shorter way to write /storage/emulated/0/ The program is trying to access
the file using the longer prefix because it is asking the Android OS for
the location of the external storage directory (sdcard), and the OS returns
this longer file path.

Did you recently upgrade the Android OS on the tablet? What OS version
are you running?

We have used Nexus 7 tablets (2012 vintage) extensively, and haven't yet
seen this issue, except when upgrading across operating system releases.

On Thu, May 14, 2015 at 2:10 AM, mh...@st-andrews.ac.uk wrote:
Hi

Sorry for the probably simple question, but I haven't been able to find
the answer elsewhere.

I am using using XLSForms to create my survey for use with ODKcollect on
a Nexus 7 tablet. I am trying to input images as one of my 'select one'
options. I have placed the images into the folder
'sdcard/odk/forms/ceform150514-media', as per instruction, and am able to
view them on the device. However when I reach that question I get:

'/storage/emulated/0/odk/forms/ceform150514-media/image.jpg is missing'

I understand that this is a different file path to the one in which my
image is stored. Does anyone know how to either change this so that it is
looking in the correct folder, or how to save my images into the folder in
which it is looking? (or some other way of making my images appear!)

Thank you

--

--

Post: opend...@googlegroups.com

Unsubscribe: opendatakit...@googlegroups.com

Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.

To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--

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


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

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Yes, that has worked, thank you!

··· On Friday, 15 May 2015 17:43:37 UTC+1, Mitch Sundt wrote: > I suspect there is a spelling difference between the filename specified in your form, and the filename of the actual image. This might be a UTF-8 glyph difference; I.e., there are glyphs that look very similar, but have different character values. The character values are what are used within the program to match the filenames with the references in the XLS/XML file. > > > e.g., > > > 'g' ( http://www.fileformat.info/info/unicode/char/0067/index.htm ) and http://www.fileformat.info/info/unicode/char/0261/index.htm > > > > For one of the images that is not being found, try opening a file browser to the file, selecting it, and copying its name, then pasting that name into the XLS file. > > > > > > > On Fri, May 15, 2015 at 6:56 AM, wrote: > They are running Android 5.1. I think they have just been updated (they belong to the department, I've only just inherited them) > > > > On Thursday, 14 May 2015 18:54:24 UTC+1, Mitch Sundt wrote: > > > These should refer to the same file. The /sdcard/ path is ordinarily a shorter way to write /storage/emulated/0/ The program is trying to access the file using the longer prefix because it is asking the Android OS for the location of the external storage directory (sdcard), and the OS returns this longer file path. > > > > > > Did you recently upgrade the Android OS on the tablet? What OS version are you running? > > > > > > We have used Nexus 7 tablets (2012 vintage) extensively, and haven't yet seen this issue, except when upgrading across operating system releases. > > > > > > > > > > > > > > > > > > > > > > > > On Thu, May 14, 2015 at 2:10 AM, wrote: > > > Hi > > > > > > > > > > > > Sorry for the probably simple question, but I haven't been able to find the answer elsewhere. > > > > > > > > > > > > I am using using XLSForms to create my survey for use with ODKcollect on a Nexus 7 tablet. I am trying to input images as one of my 'select one' options. I have placed the images into the folder 'sdcard/odk/forms/ceform150514-media', as per instruction, and am able to view them on the device. However when I reach that question I get: > > > > > > > > > > > > '/storage/emulated/0/odk/forms/ceform150514-media/image.jpg is missing' > > > > > > > > > > > > I understand that this is a different file path to the one in which my image is stored. Does anyone know how to either change this so that it is looking in the correct folder, or how to save my images into the folder in which it is looking? (or some other way of making my images appear!) > > > > > > > > > > > > Thank you > > > > > > > > > > > > -- > > > > > > -- > > > > > > Post: opend...@googlegroups.com > > > > > > Unsubscribe: opendatakit...@googlegroups.com > > > > > > Options: http://groups.google.com/group/opendatakit?hl=en > > > > > > > > > > > > --- > > > > > > You received this message because you are subscribed to the Google Groups "ODK Community" group. > > > > > > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit...@googlegroups.com. > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > > > > -- > > > > > > Mitch Sundt > > > Software Engineer > > > University of Washington > > > mitche...@gmail.com > > > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@googlegroups.com > > Options: http://groups.google.com/group/opendatakit?hl=en > > > > --- > > You received this message because you are subscribed to the Google Groups "ODK Community" group. > > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > > > > -- > > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com