Closed dpalomino closed 7 years ago
@dpalomino strange, I can upload the crop attribute. Here's the result:
Hi @dimasciput. Sorry for the delay, I'm traveling.
I can reproduce it, can you please check this video? https://screencast.com/t/5XlBzoNINm
I am using this project for testing: https://platform-staging.cadasta.org/organizations/david-org/projects/itc-f-cadaster-community-form/
As far as I see, there is nothing really special in those locations. I think it's failing because of the select_multiple field.
If you can let me know your username in staging I can grant you access to that project.
Also here the downloaded data from the project (you can use it for cloning the project): itc-f-cadaster-community-form.xlsx
@dimasciput, any update on this? Thanks!
I tried to reproduce this; it uploads as expected.
@dpalomino we need more detailed information on how you got to this error. Here's what I did:
locations.csv
to polygon.shp
(I had to change the values of type
in locations.csv
to one of the standard types because the plugin doesn't support custom location types)locations_type
for Location Type@dpalomino I also managed to upload the layer, maybe try the latest version?
@dimasciput @oliverroick
@dimasciput, sorry about the delay, I've been on holidays. I will be retesting this with the last version shortly. I will keep you posted.
I think this is related to #256. I am going to close this for the time being because we could not reproduce the issue. If it happens again we can re-open.
Steps to reproduce the error
So it seems that the error appears due to the "crop" attribute, which is a
select_multiple
field.Exception Type: KeyError at /api/v1/organizations/david-org/projects/import-testing-4/spatial/ Exception Value: 'crop' Request information: USER: dpalomino