Unknown pattern character'i

Hi All,

I have some issue with submitting the forms to ODK server or even locally.
How it happens?

When I switched my mobile lang to arabic and tested it, it showed me this
error each time I try to submit the form:

unknown pattern character'i

The form is valid and accepted by the server, not only one form, all of the
forms that we have, please help.

Regards,

-Hanan

The version of ODK is 1.4.6 (1051)

The version of Android is 4.4.4

Model: SM-T116

Ya, but we tried this on different mobiles, and same results. So not sure
what I have to adjust.

I looked at the date format of the device: it is MM/DD/YYYY now.

··· On Monday, August 31, 2015 at 1:56:27 PM UTC+3, Hanan Aqilan wrote: > > Hi All, > > I have some issue with submitting the forms to ODK server or even locally. > How it happens? > > When I switched my mobile lang to arabic and tested it, it showed me this > error each time I try to submit the form: > > unknown pattern character'i > > The form is valid and accepted by the server, not only one form, all of > the forms that we have, please help. > > > Regards, > > -Hanan >

How can I get a stack trace of this issue, I use excel format to design
ODKs in general, and xslform to convert it into XML.

··· On Monday, August 31, 2015 at 1:56:27 PM UTC+3, Hanan Aqilan wrote: > > Hi All, > > I have some issue with submitting the forms to ODK server or even locally. > How it happens? > > When I switched my mobile lang to arabic and tested it, it showed me this > error each time I try to submit the form: > > unknown pattern character'i > > The form is valid and accepted by the server, not only one form, all of > the forms that we have, please help. > > > Regards, > > -Hanan >

Thank You!

··· On Monday, August 31, 2015 at 1:56:27 PM UTC+3, Hanan Aqilan wrote: > > Hi All, > > I have some issue with submitting the forms to ODK server or even locally. > How it happens? > > When I switched my mobile lang to arabic and tested it, it showed me this > error each time I try to submit the form: > > unknown pattern character'i > > The form is valid and accepted by the server, not only one form, all of > the forms that we have, please help. > > > Regards, > > -Hanan >

Hanan,

Probably an issue with date formats. What would help track down the
issue is a one question test form that has the problem and information
about the device and version of Android you are using.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Mon, Aug 31, 2015 at 6:56 AM, Hanan Aqilan hjameelq@gmail.com wrote:

Hi All,

I have some issue with submitting the forms to ODK server or even locally.
How it happens?

When I switched my mobile lang to arabic and tested it, it showed me this
error each time I try to submit the form:

unknown pattern character'i

The form is valid and accepted by the server, not only one form, all of the
forms that we have, please help.

Regards,

-Hanan

--

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.

Thanks Mitch for your valuable reply.

We really face a major problem with all of our tabs, none of them is
working properly, so we urgently need to fix this issue as I don't have
that much time to set them up.

I looked at the link you passed on, what is the translated needed to fix
this issue, do you mean date and time patterns or the final results and how
it is interpreted.

Bests, Hanan

··· On Monday, August 31, 2015 at 1:56:27 PM UTC+3, Hanan Aqilan wrote: > > Hi All, > > I have some issue with submitting the forms to ODK server or even locally. > How it happens? > > When I switched my mobile lang to arabic and tested it, it showed me this > error each time I try to submit the form: > > unknown pattern character'i > > The form is valid and accepted by the server, not only one form, all of > the forms that we have, please help. > > > Regards, > > -Hanan >

Thanks Mitch for your help.

I just understood what you meant in your last emails.

I updated the translations for the dates, there were set in a wrong format.
I updated the following string names for Arabic.




Can we have a build and try please.

Thanks, -Hanan

I just tried it on my tab, and it worked properly. It's perfect :slight_smile:

Thank you Mitch for sending the corrected build.

Bests, Hanan

Are we going to have this build on google play soon to download from there.

Thanks :slight_smile:

Hi Sandra,

Mitch and Yaw sent us the build for Arabic build, this is the build if you
want to use it!

Regards, -Hanan

Thanks Hanan.

Any chance you could get a stack trace with adb and post it to dpaste.com?

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Mon, Aug 31, 2015 at 7:08 AM, Hanan Aqilan hjameelq@gmail.com wrote:

The version of ODK is 1.4.6 (1051)

The version of Android is 4.4.4

Model: SM-T116

Ya, but we tried this on different mobiles, and same results. So not sure
what I have to adjust.

I looked at the date format of the device: it is MM/DD/YYYY now.

On Monday, August 31, 2015 at 1:56:27 PM UTC+3, Hanan Aqilan wrote:

Hi All,

I have some issue with submitting the forms to ODK server or even locally.
How it happens?

When I switched my mobile lang to arabic and tested it, it showed me this
error each time I try to submit the form:

unknown pattern character'i

The form is valid and accepted by the server, not only one form, all of
the forms that we have, please help.

Regards,

-Hanan

--

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.

Hanan,

See https://github.com/opendatakit/opendatakit/wiki/Collect-Troubleshooting.
Follow the section on installing the Android SDK.

Thanks for helping us track down the issue!

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Mon, Aug 31, 2015 at 7:17 AM, Hanan Aqilan hjameelq@gmail.com wrote:

How can I get a stack trace of this issue, I use excel format to design ODKs
in general, and xslform to convert it into XML.

On Monday, August 31, 2015 at 1:56:27 PM UTC+3, Hanan Aqilan wrote:

Hi All,

I have some issue with submitting the forms to ODK server or even locally.
How it happens?

When I switched my mobile lang to arabic and tested it, it showed me this
error each time I try to submit the form:

unknown pattern character'i

The form is valid and accepted by the server, not only one form, all of
the forms that we have, please help.

Regards,

-Hanan

--

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.

Hi Hanan,

Perhaps you can contribute translations for arabic? And perhaps Urdu?

Join the ODK Collect translation group for arabic:

https://www.transifex.com/opendatakit/odk-collect/

Prior to the wide release of this version of ODK Collect, I sent several
e-mails to the group and to the people involved in the Arabic translations
to test and fix what I feared were problems with it.

With no response.

There are two issues that are likely causing the translation to not work
are:

(1) Since Arabic is written right-to-left, whenever a value substitution is
added to the text, I believe it needs to be bracketed by a Unicode LTR
(left-to-right) symbol and a RTL (right-to-left) symbol. In English, these
value substitutions are of the form %s, %2$s, etc. (
https://en.wikipedia.org/wiki/Left-to-right_mark )

(2) strings 188 - 192 -- these use single quotes around uninterpreted text
and special formatting directives for representing dates:

http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html

If you can update the translations, I can provide you with a custom build
of ODK Collect to test the corrections and make sure that they work.

··· ------- Mitch

On Mon, Aug 31, 2015 at 4:26 AM, Hanan Aqilan hjameelq@gmail.com wrote:

Thank You!

On Monday, August 31, 2015 at 1:56:27 PM UTC+3, Hanan Aqilan wrote:

Hi All,

I have some issue with submitting the forms to ODK server or even
locally. How it happens?

When I switched my mobile lang to arabic and tested it, it showed me this
error each time I try to submit the form:

unknown pattern character'i

The form is valid and accepted by the server, not only one form, all of
the forms that we have, please help.

Regards,

-Hanan

--

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

I know (2) is broken.

See the information on the provided link (
http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html )
for how the translations 188-192 should be formatted. Refer to the English
string values to understand the information on the link, then make the
necessary changes to Arabic and perhaps Urdu (if you can).

w.r.t. (1), I don't know whether this causes a problem or not. This would
affect the download progress and status text, and the # display on the main
menu buttons for edit saved forms and send forms. If you find that any of
these do not display properly, then all of these strings will need to be
changed to add the LTR...RTL marks around the substitution strings. Again,
the English string values will indicate what the substitution strings were
originally. If you need to re-arrange the ordering of the values, you can
do that by specifying an argument index. E.g.,
"Sending %s of %s form(s)"
(which, with values of "1" and "3", displays as "Sending 1 of 3 form(s)")
This can be written with argument indices as:
"Sending %1$s of %2$s form(s)"
Or in reverse order as:

  • "%2$s Form(s): Sending %1$s"*
    In the last example, if you didn't use argument indices ("%s Form(s):
    Sending %s"
    ), it would have displayed as "1 Form(s): Sending 3" (with the
    same values of 1 and 3 as used in the earlier example).

If you want, I can produce a trial version with just some of the changes
for (1) to confirm that you are on the right track. You might need to
adjust the argument indices to get the proper display and it might take a
few iterations.

The complete syntax for these format strings, excluding strings 188-192, is
described here:
http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax

··· On Sun, Sep 6, 2015 at 1:29 PM, Hanan Aqilan wrote:

Thanks Mitch for your valuable reply.

We really face a major problem with all of our tabs, none of them is
working properly, so we urgently need to fix this issue as I don't have
that much time to set them up.

I looked at the link you passed on, what is the translated needed to fix
this issue, do you mean date and time patterns or the final results and how
it is interpreted.

Bests, Hanan

On Monday, August 31, 2015 at 1:56:27 PM UTC+3, Hanan Aqilan wrote:

Hi All,

I have some issue with submitting the forms to ODK server or even
locally. How it happens?

When I switched my mobile lang to arabic and tested it, it showed me this
error each time I try to submit the form:

unknown pattern character'i

The form is valid and accepted by the server, not only one form, all of
the forms that we have, please help.

Regards,

-Hanan

--

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

An APK (v1.4.7 rev 1054) with these changes is available here:

··· On Thu, Sep 10, 2015 at 3:37 AM, Hanan Aqilan wrote:

Thanks Mitch for your help.

I just understood what you meant in your last emails.

I updated the translations for the dates, there were set in a wrong
format. I updated the following string names for Arabic.




Can we have a build and try please.

Thanks, -Hanan

--

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

An updated version of Collect will probably be posted to Google Play in a
couple of weeks.

Please continue to test the apk Mitch provided to see if there are any
other issues.

Waylon

··· On Thu, Sep 10, 2015 at 9:43 PM, Hanan Aqilan wrote:

Are we going to have this build on google play soon to download from there.

Thanks :slight_smile:

--

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.

The release of ODK Collect was held pending a series of fixes/enhancements
that Nafundi contributed in November and December (Google Drive
integration, a large widget labelling restructuring that was very tricky),
but that pushed the release timeframe into January; the core team has been
working non-stop on a new ODK 2.0 release that will happen shortly, which
has delayed the release of an ODK Collect update that incorporates all of
the latest fixes and enhancements.

And, complicating matters, I'll be on vacation for the next 2 1/2 weeks,
which will push the ODK 1.x tools update into late March.

··· On Thu, Feb 25, 2016 at 2:26 AM, Hanan Aqilan wrote:

Hi Sandra,

Mitch and Yaw sent us the build for Arabic build, this is the build if you
want to use it!

Regards, -Hanan

--

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

Hi there,

we just ran into the same issue and I realized that there has not been a
new version of ODK since September 2015, will there be a release soon?

Best
Sandra

··· On Friday, September 11, 2015 at 10:53:43 PM UTC+2, Waylon Brunette wrote: > > An updated version of Collect will probably be posted to Google Play in a > couple of weeks. > > Please continue to test the apk Mitch provided to see if there are any > other issues. > > Waylon > > On Thu, Sep 10, 2015 at 9:43 PM, Hanan Aqilan <hjam...@gmail.com > wrote: > >> Are we going to have this build on google play soon to download from >> there. >> >> Thanks :) >> >> -- >> -- >> 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. >> > >