Project

General

Profile

Bug #4948

Error while uploading and importing wells shape file

Added by Pavneet Kaur almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
-
Start date:
14/12/2017
Due date:
% Done:

0%

Spent time:
Close

Description

Recently you had added the depth field in the wells shape file and it was available in the basket. I had downloaded it to rectify the location of a well and tried to upload back. There was an error in uploading the rectified file.Regardless of that, the file was available in basket but while importing there was an error. I tried to upload the original file to understand the error, there was an error showing but regardless of that, the file was in basket. however, there was an error importing it, related to the field "depth".

Is this because the field "depth" is empty?

Screenshot (12).png View - error when importing file without the depth field (118 KB) Pavneet Kaur, 14/12/2017 15:10

Screenshot (13).png View - file gets uploaded regardless of error message when uploading (234 KB) Pavneet Kaur, 14/12/2017 15:10

Screenshot (14).png View - error when importing the original file in basket back again (112 KB) Pavneet Kaur, 14/12/2017 15:10

Screenshot (15).png View - error when importing rectified shape file (131 KB) Pavneet Kaur, 14/12/2017 15:10

Screenshot (16).png View - file gets uploaded regardless of error message when uploading (244 KB) Pavneet Kaur, 14/12/2017 15:10

Screenshot (18).png View (124 KB) Pavneet Kaur, 15/12/2017 09:48

Screenshot (19).png View (121 KB) Pavneet Kaur, 15/12/2017 13:55

3245
3246
3247
3248
3249
3250
3252

History

#1 Updated by Philippe May almost 4 years ago

  • Status changed from New to Rejected

The field is named "depth", not "Depth" (notice the character's lower case vs upper case).

In general, we agreed with Giulio that all fields are lower case.

#2 Updated by Philippe May almost 4 years ago

I put a new version online (v2017.27). You now get a clear error message:

Error importing: "No field called "Depth" for the table "well". Available attributes are: wellcode, casing top, id, easting, northing, elevation, type_id, status_id, infosrc_id, cf, depth, notes, obs, res_id, loc_id" 

#3 Updated by Pavneet Kaur almost 4 years ago

3250

I deleted the field "Depth" and then created a new field "depth"‚Äč in the shape file. Created the "depth" field with type- real number.

Still there is an error in importing:
Error importing: "Unknown format code 's' for object of type 'int'"

#4 Updated by Pavneet Kaur almost 4 years ago

Tried changing the "Depth" to "depth" , same problem still remains. Can't understand why...

#5 Updated by Philippe May almost 4 years ago

The file "wells_20170921Giulio.zip" is still the same, and has attribute "Depth", not "depth"

#6 Updated by Pavneet Kaur almost 4 years ago

I kept the original file in the end, after trials and not succeeding.

#7 Updated by Pavneet Kaur almost 4 years ago

3252

Added the shape file with "depth" as field instead of "Depth". could upload it successfully but can't import.
error as attached:

#8 Updated by Philippe May almost 4 years ago

  • Status changed from Rejected to Resolved

This time, there was really a bug. I corrected it, updated the software, and tried updating your file: OK.

But, i could not find any well depth: all values are "NULL". Is it right?

#9 Updated by Pavneet Kaur almost 4 years ago

Yes, the values are still empty in depth, in progress to give values to it. thanks! will check it.
there is still a problem with login into it. Is that also a bug?

#10 Updated by Philippe May almost 4 years ago

Pavneet, #4944 has been created for tracking eventual issues logging in.

#11 Updated by Philippe May almost 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF