Can't open form on KoBo Collect

200 views
Skip to first unread message

Xavier Roy

unread,
Aug 24, 2014, 3:14:53 PM8/24/14
to kobo-...@googlegroups.com
Hi Kobo users!

I'm working with a research group on habits of classical music attendance based in Montreal, and I would love to use the KoBoToolBox to gather data. I've designed a KoBoForm and I've saved the .xml file to the SD Card of my Android device (Lenovo Yoga 10 tablet).

However, when I try to load the form on KoBoCollect, I get this message: "Protocol not found: /formListwhile accessing/formList. Could you help me with this... I feel it's the last step before being able to collect data on your amazing software!

Thanks a lot,
Xavier

Aloo Stephen

unread,
Aug 24, 2014, 3:23:41 PM8/24/14
to kobo-...@googlegroups.com

Hi Xavier
Please attach the form so that I can help you out

Aloo Stephen
Research and Data Specialist

--
You received this message because you are subscribed to the Google Groups "Kobo Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.
To post to this group, send email to kobo-...@googlegroups.com.
Visit this group at http://groups.google.com/group/kobo-users.
For more options, visit https://groups.google.com/d/optout.

Xavier Roy

unread,
Aug 24, 2014, 3:36:23 PM8/24/14
to kobo-...@googlegroups.com
Hi Aloo,

I receive an error message when I try to upload it... even to this email. Here it is: "The uploaded file DPMQ - TEST of type application/octet-stream is not allowed."

I saved my form in .xml file using Fraise and Serna, since I'm on Mac. I couldn't save it as a file from Kobo because I got an "Operation not permitted" message.

Thanks a lot,
Xavier

Aloo Stephen

unread,
Aug 24, 2014, 4:09:51 PM8/24/14
to kobo-...@googlegroups.com

Hi within the browser for design,  open the form text to and copy the text. You can paste the text within the mail.

Aloo Stephen
Research and Data Specialist

Xavier Roy

unread,
Aug 25, 2014, 6:09:34 PM8/25/14
to kobo-...@googlegroups.com
Here it is! Thanks Aloo.

<?xml version="1.0" encoding="UTF-8"?>
<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/2002/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:orx="http://openrosa.org/xforms/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <h:head>
    <h:title ref="jr:itext('DPMQ_-_TEST')">DPMQ - TEST</h:title>
    <model>
      <instance>
        <DPMQ_-_TEST id="DPMQ_-_TEST">
          <deviceid/>
          <start/>
          <end/>
          <A01/>
          <A02/>
          <A03/>
          <A04_MULTI_/>
        </DPMQ_-_TEST>
      </instance>
      <bind id="deviceid" nodeset="/DPMQ_-_TEST/deviceid" type="xsd:string" jr:preload="property" jr:preloadParams="deviceid" visible="false()"/>
      <bind id="start" nodeset="/DPMQ_-_TEST/start" type="xsd:time" jr:preload="timestamp" jr:preloadParams="start" visible="false()"/>
      <bind id="end" nodeset="/DPMQ_-_TEST/end" type="xsd:time" jr:preload="timestamp" jr:preloadParams="end" visible="false()"/>
      <bind id="A01" nodeset="/DPMQ_-_TEST/A01" type="xsd:string" required="true()"/>
      <bind id="A02" nodeset="/DPMQ_-_TEST/A02" type="xsd:string" required="true()"/>
      <bind id="A03" nodeset="/DPMQ_-_TEST/A03" type="xsd:string" required="true()"/>
      <bind id="A04_MULTI_" nodeset="/DPMQ_-_TEST/A04_MULTI_" type="xsd:string" required="true()"/>
      <itext>
        <translation lang="English">
          <text id="DPMQ_-_TEST">
            <value>DPMQ - TEST</value>
          </text>
          <text id="A01">
            <value>1. Depuis combien d’années assistez-vous aux concerts de cet organisme (incluant cette année) ?</value>
          </text>
          <text id="A01-hint">
            <value>Si la réponse est «une année» et que le répondant en est à sa toute première participation aux activités de l'organisme, aller directement à la question 3.</value>
          </text>
          <text id="A02">
            <value>2. Sur une échelle de 1 à 5 (1 étant faible, 5 étant élevé), veuillez donner une évaluation de la qualité musicale des concerts de cet organisme :</value>
          </text>
          <text id="A02_1">
            <value>1</value>
          </text>
          <text id="A02_2">
            <value>2</value>
          </text>
          <text id="A02_3">
            <value>3</value>
          </text>
          <text id="A02_4">
            <value>4</value>
          </text>
          <text id="A02_5">
            <value>5</value>
          </text>
          <text id="A03">
            <value>3. Pour un concert de ce niveau, jusqu’à quel prix êtes-vous prêt à débourser par billet ?</value>
          </text>
          <text id="A03_1">
            <value>1-24$</value>
          </text>
          <text id="A03_2">
            <value>25-49$</value>
          </text>
          <text id="A03_3">
            <value>50-99$</value>
          </text>
          <text id="A03_4">
            <value>100$ et plus</value>
          </text>
          <text id="A03_5">
            <value>Je ne souhaite pas débourser d'argent pour un concert</value>
          </text>
          <text id="A04_MULTI_">
            <value>4. Comment avez-vous entendu parler du concert auquel vous assistez aujourd’hui ? Plusieurs choix de réponse sont possibles.</value>
          </text>
          <text id="A04_MULTI__1">
            <value>Télévision</value>
          </text>
          <text id="A04_MULTI__2">
            <value>Radio</value>
          </text>
          <text id="A04_MULTI__3">
            <value>Journaux écrits</value>
          </text>
          <text id="A04_MULTI__4">
            <value>Médias sociaux</value>
          </text>
          <text id="A04_MULTI__5">
            <value>Contacts</value>
          </text>
          <text id="A04_MULTI__6">
            <value>Internet</value>
          </text>
          <text id="A04_MULTI__7">
            <value>Habitude</value>
          </text>
          <text id="A04_MULTI__8">
            <value>Autres</value>
          </text>
        </translation>
      </itext>
    </model>
  </h:head>
  <h:body>
    <input bind="A01">
      <label ref="jr:itext('A01')"/>
      <hint ref="jr:itext('A01-hint')"/>
    </input>
    <select1 bind="A02">
      <label ref="jr:itext('A02')"/>
      <item>
        <label ref="jr:itext('A02_1')"/>
        <value>1</value>
      </item>
      <item>
        <label ref="jr:itext('A02_2')"/>
        <value>2</value>
      </item>
      <item>
        <label ref="jr:itext('A02_3')"/>
        <value>3</value>
      </item>
      <item>
        <label ref="jr:itext('A02_4')"/>
        <value>4</value>
      </item>
      <item>
        <label ref="jr:itext('A02_5')"/>
        <value>5</value>
      </item>
    </select1>
    <select1 bind="A03">
      <label ref="jr:itext('A03')"/>
      <item>
        <label ref="jr:itext('A03_1')"/>
        <value>1</value>
      </item>
      <item>
        <label ref="jr:itext('A03_2')"/>
        <value>2</value>
      </item>
      <item>
        <label ref="jr:itext('A03_3')"/>
        <value>3</value>
      </item>
      <item>
        <label ref="jr:itext('A03_4')"/>
        <value>4</value>
      </item>
      <item>
        <label ref="jr:itext('A03_5')"/>
        <value>5</value>
      </item>
    </select1>
    <select bind="A04_MULTI_">
      <label ref="jr:itext('A04_MULTI_')"/>
      <item>
        <label ref="jr:itext('A04_MULTI__1')"/>
        <value>1</value>
      </item>
      <item>
        <label ref="jr:itext('A04_MULTI__2')"/>
        <value>2</value>
      </item>
      <item>
        <label ref="jr:itext('A04_MULTI__3')"/>
        <value>3</value>
      </item>
      <item>
        <label ref="jr:itext('A04_MULTI__4')"/>
        <value>4</value>
      </item>
      <item>
        <label ref="jr:itext('A04_MULTI__5')"/>
        <value>5</value>
      </item>
      <item>
        <label ref="jr:itext('A04_MULTI__6')"/>
        <value>6</value>
      </item>
      <item>
        <label ref="jr:itext('A04_MULTI__7')"/>
        <value>7</value>
      </item>
      <item>
        <label ref="jr:itext('A04_MULTI__8')"/>
        <value>8</value>
      </item>
    </select>
  </h:body>
</h:html>

Aloo Stephen

unread,
Aug 25, 2014, 10:38:24 PM8/25/14
to kobo-...@googlegroups.com

Salut Xavier
Me pardonnez s'il vous plait, je ne responses pas on temp parce que de la difference du temp. Donnez moi une heure e je vais vous'envoyer le produit fini.

Merci

Aloo Stephen
Research Specialist

Aloo Stephen

unread,
Aug 25, 2014, 11:43:12 PM8/25/14
to kobo-...@googlegroups.com
Salut Xavier
Please find attached the xml file. You need to save it within you ODK/forms folder of your phone to test it. 

The problem was that you needed to get the text like you did, then using notepad++ you would paste it, change language to xml, and save as desired
Regards
S.Aloo

Aloo Stephen Onuong'a
Public Health & Social Research Specialist
DPMQ_-_TEST.xml

Xavier Roy

unread,
Aug 27, 2014, 10:04:27 AM8/27/14
to kobo-...@googlegroups.com
Bonjour Aloo,

Thanks so much. I'm gonna try it tonight.

Have a great day,
Xavier
        <label ref="jr:itext('A03_5')&qu
...

Xavier Roy

unread,
Aug 27, 2014, 8:45:14 PM8/27/14
to kobo-...@googlegroups.com
Hi Aloo,

It seems like it doesn't work either. I think the problem is not the file itself, but the way I transfer it to the tablet. I've mounted the SD card of the tablet and I can easily transfer files via USB from my Mac to the tablet hard drive or the SD card.

I transferred the file in the odk/forms folder of my tablet, and still I get the same error message. Same thing when I transfer it to the odk folder that I copied on my SD card...

Thanks,
Xavier
        <label ref="jr:itext('A03_5')&qu
...

Aloo Stephen

unread,
Aug 27, 2014, 10:29:02 PM8/27/14
to kobo-...@googlegroups.com
Hi Xavier
Given the scenario, I would point it out to a hardware issue either with you phone or how your Mac copies it. Kindly indicate which brand of phone you using. In the meantime I would like to recommend the following for different tests.

Option 1:
1. Uninstall KOBO Collect from your phone.
2. Go to the folder manager in your phone and delete the entire folder of odk
3. Restart the phone
4. Install KOBO Collect afresh
5. Download the xml to your phone and ensure that you don't open it in an editor like work since this will change the extension of the form i.e. (.xml will be changed to something else). Simply download, then using your file manager on your phone, copy the xml to the odk/forms folder.

Earlier about 2 to 3 years ago I experienced similar problems where I edited in a word processor and it kept changing the extension; it is always recommended to use notepad++. We also had instances where an error message was cached to the phone and no matter how many times we tried loading a new form to the phone, it gave the same error; re-installation worked for me.

PS. The form works well on my side.

Best Regards

Aloo Stephen
Research a
nd Data Specialist


--
Reply all
Reply to author
Forward
0 new messages