Error when uploading xls form on kobo! Import Failed! Name: pub NameError: name ‘writable’

Hi,

I am trying to upload an xls form via url on kobo and I keep getting this error
Import Failed! Name: pub NameError: name ‘writable’

Could someone please assist with what this means and how I can rectify the error? I am a first time user so please simple explanations without jargon will be much appreciated.

Thanks

Hi @Elyjoy and welcome to the community!

It’s a good practice to upload your form in the validator first: ODK - XLSForm Online v2.x and see if there are any syntax problems.

When you upload and do the validation you can share the screenshot in this topic, so the community can help you.

1 Like

Hi this is the screen shot of the validation, I did try using the validator but it did not assist


Thanks

@Elyjoy, it seems like your XLSForm is not compatible as outlined in this site. Would you mind checking to see where you have missed it?

Thanks

I have checked however I cannot tell what is wrong. Here is a link to the form created: https://docs.google.com/spreadsheets/d/e/2PACX-1vTANE_f0iZkj0VBdIYLOrPbxMSa7bYIT26zy_hby_JTEYPUA3cHY-7irmPy3_T3SVzIfxOTS0jtGD56/pub?output=xlsx

Hello Elyjoy,

Please get the attached to the corrected excel file. I had made some changes that are highlighted for your reference.

There were some type errors and had some space in excel.
Service Tally Sheet_Sample.xlsx (10.9 KB)

I checked the file and its working on my end. Hope it works for you.

Regards,
Dinesh Dongol

1 Like

Thank you so much Dinesh

I tried to load it from my end which worked but it would like me deploy

Please see the error message

Hi Elyjoy,

Could you check which excel form you deployed again? The excel file I uploaded does not have any name with service_childcare.

I uploaded and deployed the form and it’s working.

OR you can share the excel file that you were trying to deployed in here so that I can check again,

Regards,
Dinesh Dongol

1 Like

Hi Dinesh

This is the form: https://docs.google.com/spreadsheets/d/e/2PACX-1vR_NCw3lD4TFIazorWPAbZsBonHjO9HN1oCs7slu5sMLzdc322sMYdSxcNAnqjoaQ/pub?output=xlsx

I published the sample you gave me and it worked however not in the appearance I need, I need it to be in grid

Thanks

Elyjoy

HI Elyjoy,

I quickly check the excel sheet and there were again typo mistakes with name service and missing end_group. I corrected it and attached the excel file and even highlighted it.
Service Tally Sheet_1_edited.xlsx (94.0 KB)

And for the Grid style theme, please follow this support article

https://support.kobotoolbox.org/alternative_enketo.html

Regards,
Dinesh Dongol

1 Like

Thank you so much Dinesh for all your help. I managed to load the form, now I need to find a way to minimize the font of the labels.

1 Like