Syntax Error: quote in unquoted cell. Cannot parse text argument

Estoy viendo que he cometido el error de usar un archivo que contiene comas en sus datos.

Una pregunta:
En la fila 254 hay una "T" ¿Esas comillas dan problemas?

Also the comma in 266.

Please read the solution in this Stack Overflow thread:

Voy a intentarlo reemplazado las " " Por asteriscos * *

1 Like

Hola otra vez.

Aumenté el tamaño de la lista añadiendo más elementos desde otra tabla de excel y me encuentro con el mismo problema.
Supongo que hay alguna celda con algún caracter no válido.
¿Hay alguna manera de localizar esos signos problemáticos? Mi lista tiene una longitud de 7865 y es complicado revisarlos uno a uno.

Otra pregunta. Los paréntesis dentro de las casilla ¿Dan este problema?
Muchas gracias.

Por favor necesito solucionarlo!
La longitud de mi lista es 7865 ¿Cómo puedo comprobar qué dato es el que me está dando problemas?
He quitado las " ", ( ), las comas....y no sé cuál es el problema.

Cuando intento cargar la lista, se cierra la aplicación.

try the first 4000 items
if 4000 work, then try the first 6000 items
   if 6000 work, then try the first 7000 items
   else try the first 5000 items etc etc.
else try the first 2000 items etc etc

another option

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

Try first to replace or remove all the double quotes " from your Excel file with find and replace. First try replacing with a single quote.

sí, eso ya lo hice. Las " ", las ' sencillas, las ( ), los ñ, ...hasta un signo de marca registrada...pero sigue dando problemas :woozy_face:

Voy intentar cargar la lista de 1000 en 1000 para intentar ubicar el fallo en algún rango

I have done some testing with a google sheet using many of the special characters and punctuation i see in your screenshot of your excel file.

With all those in place, this comes down OK as a csv to App Inventor into a list.

image

image

Perhaps try uploading your excel to google drive then pulling it into App Inventor from there?

image

If you want, you can send me a copy of your excel sheet / csv by private message and i will have a look at it for you.

I created this "fake" csv file and it worked for me.

fake_csv.aia (2.7 KB)

Hopefully fixed it:
I found bad characters in the text file in 16 entries. Little square boxes with 0080 and 0081 in them
I removed those bad characters. However, the text file would still not load as a list.
I uploaded the text file to google drive and opened it with google sheets.
I removed two extra rows at the bottom, and three extra columns on the right.
I downloaded the file as a csv. This file opens and works correctly.

Estuve modificando algunas cosas y con una etiqueta funciona, un VisorDeLista también funciona. Pero si intento usar un Selecctor de lista NO funciona.
Es como si el ListPicker tuviera un límite de elementos a cargar. ¿Crees que este pueda ser el motivo?
Intentaré modificar la apariencia de la aplicación para poder usar un visor de lista

Hmm, the listpicker crashes the app after 7776 elements, nothing wrong with the data after that....
Not sure if 7776 is a magic number ? @ewpatton
Need to test with another dataset.

OK have tested with another dataset of 8000 items and no crashing, so it is not a magic number thing....

Eso qué significa :confounded::confounded:

https://community.appinventor.mit.edu/t/mi-lista/13889/4?u=vanesa_diaz

No sé qué le pasa a mi lista!!
https://docs.google.com/spreadsheets/d/1JfOL-aqk1A70dUWUTj2_6GgI2lCgVSI4f-ClHeaGnd0/export?format=csv

A list of nearly 8000 items is not very accessible in an app. Have you considered splitting the list up, perhaps by alphabet or by number ?

Lo he considerado y creo que lo haré así. La dividiré en dos y ver qué tal.
Revisé la tabla manualmente y encontré algunos personajes más, los eliminé pero sigo sin poder cargar la lista.
La prueba de 1000 en 1000 fue bien, así que intentaré de 4000 en 4000 :thinking:

I did give you a working list in your private messages, why not use that ?