I have attached a CSV file from which I’m trying to import a small sample 
dataset from the thousands we need to migrate. It has a ResourceID field 
populated with UUIDs but when I run the import_business_data command, I get 
the message:

ERROR: No column 'ResourceID' found in business data file.
Please add a 'ResourceID' column with a unique resource identifier.

I’m at a loss to see what I've done wrong though quite prepared to believe 
I've missed something obvious. I've also attached the mappings file.

The full command I’m using is:

python manage.py packages -o import_business_data -s 'imports/Coastal 
Heritage Site.csv' -ow overwrite

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/ad55a6d7-a293-4df1-8f3a-610a82a804cf%40googlegroups.com.

Attachment: Coastal Heritage Site.mapping
Description: Binary data

ResourceID,reportid,nmrsno,status,sitename,sitetype,mapno,east,north,period,cond,rec,desc,repname,repdate,smrno,nmrsdesc,threat,finalpriority,originalpriority,action1,action2,action3,user,edited,date,lat,long,pending,published,private,location
1,NS 89 SW 14,47246,None,MANOR NEUK,earthwork,1,282710,694900,Indefinite,Unknown,Not Recorded,records exist of what may have been a small square earthwork in the vicinity of Manor Castle. There was no evidence of an earthwork in this vicinity in 1973 (OS) and this survey could not locate it.,Coastal Assessment Survey: The Firth of Forth,1996,,None,None,6,,None,None,None,None,1,2012-01-27,56.13235844,-3.888730545,0,1,0,POINT(-3.88873054505 56.1323584374)
2,NS 89 SW 2,47252,None,MANOR NEUK,house,1,282710,694900,16th century,Fair,Monitor,"The remains of the house is located c 70 yards north of the level crossing, east of Manor Neuk Farm. Turf and rubble are all that is visible. The general measurements of the area are: 22m east/west and 12m north/south. Foundation lines are still visible through the turf. A section of wall which may be associated with the site, is visible in the bank of a burn which flows next to the site. This section of wall measures 5m by 2m. There is no sign of NS 89 SW 14 (an earthwork) which was supposedly located nearby.",Coastal Assessment Survey: The Firth of Forth,1996,,None,None,6,,None,None,None,None,0,2012-01-27,56.13235844,-3.888730545,0,1,0,POINT(-3.88873054505 56.1323584374)
3,NS 816 945,,None,BROOM,rig,1,281600,694500,Not recorded,Unknown,Not Recorded,Rig field system can be seen on the 1946 aerial photographs. B72 3352-3 15/5/46.,Coastal Assessment Survey: The Firth of Forth,1996,,None,None,6,,None,None,None,None,0,2012-01-27,56.12849239,-3.906401093,0,1,0,POINT(-3.90640109256 56.1284923886)
4,NS 89 SW 5,47272,None,"RIVER FORTH, CAMBUSKENNETH",rampart (possible),1,281150,693930,Not recorded,Unknown,Not Recorded,The rampart supposedly spanned the Forth to the east of Cambuskenneth Abbey. The 1st ed OS map indicates the location of the Abbey Ford just south of this location which utilises a mid-stream bank of gravel. There is nothing visible in the banks on either side of river at this point.,Coastal Assessment Survey: The Firth of Forth,1996,,None,None,6,,None,None,None,None,0,2012-01-27,56.12326219,-3.913381913,0,1,0,POINT(-3.91338191327 56.1232621864)
5,NS 89 SW 4,47271,None,CAMBUSKENNETH ABBEY,Abbey,1,280890,693940,Not recorded,Good,Monitor,"The Abbey is located at the southern end of Cambuskenneth village. The site is in the care of Historic Scotland. There are no changes to the NMR description. A 'Ruin' and structural remains, marked on the 1st ed OS map, lie outside the Abbey. The remains of the eastern and northern walls of an orchard, also seen on the 1865 map, are still visible immediately to the south of the Abbey.",Coastal Assessment Survey: The Firth of Forth,1996,,None,None,6,,None,None,None,None,0,2012-01-27,56.12328715,-3.917566053,0,1,0,POINT(-3.91756605299 56.1232871472)
6,NS 8070 9370,,None,CAMBUSKENNETH,crop mark,1,280700,693700,Not recorded,Unknown,Not Recorded,"A dark three sided rectangular crop mark encloses an area of about 70m square. It is seen on 1946 aerial photographs, centred on this grid reference. The feature appears to be open to the east, but this is obscured by a field boundary, and probably extends into the adjoining field. The southern edge of the feature respects the north bank of the Forth The width of the crop mark is too great for a ploughed-out field boundary, and may be a deep ditch. It may be contemporary with Cambuskenneth Abbey, but it may also be earlier. This feature was also seen on 1988 aerial photographs beneath ploughed land. The OS map of 1865 shows no field boundaries at this location and the present boundaries are modern. OS 6"" 1st edition County Series, Stirlingshire sheet 18 1865. B72 3354-5 15/5/46; C274 075-079 14/6/88.",Coastal Assessment Survey: The Firth of Forth,1996,,None,None,6,,None,None,None,None,0,2012-01-27,56.12108461,-3.920513002,0,1,0,POINT(-3.92051300202 56.121084612)
7,NS 8061 9386,,None,CAMBUSKENNETH,ford (possible) or pier),1,280610,693860,Not recorded,Poor,Monitor,"A mound of large stones are visible in the river bank and on the river bed immediately west of Hood Farm buildings, c 200m south of Cambuskenneth Bridge. This feature extends c 2m into the river and c 4m along the river bank. Nothing is visible in the bank on the other side of the river.",Coastal Assessment Survey: The Firth of Forth,1996,,None,None,6,,None,None,None,None,0,2012-01-27,56.12249881,-3.922031392,0,1,0,POINT(-3.92203139206 56.1224988129)
8,NS 89 SW 3,47263,None,CAMBUSKENNETH,whetstone),1,280700,694200,Not recorded,Unknown,Not Recorded,"A whetstone was found at the Ferry Orchard, Cambuskenneth, reported in 1914. There is no further information",Coastal Assessment Survey: The Firth of Forth,1996,,None,None,6,,None,None,None,None,0,2012-01-27,56.12557433,-3.920736814,0,1,0,POINT(-3.92073681416 56.1255743342)
9,NS 89 SW 8,47275,None,CAMBUSKENNETH,bronze sword,1,280680,694120,Late Bronze Age,Unknown,Not Recorded,The sword was found in 1832 or 1833 when lowering the floor of an old weaving shop at Cambuskenneth. The sword is now lost. There is no further information.,Coastal Assessment Survey: The Firth of Forth,1996,,None,None,6,,None,None,None,None,0,2012-01-27,56.12485098,-3.921022526,0,1,0,POINT(-3.92102252557 56.1248509776)
10,NS 89 SW 29,47262,None,CAMBUSKENNETH,gold ring,1,280000,694000,Not recorded,Unknown,Not Recorded,The medieval ring was found at Cambuskenneth and donated to RMS in 1970. There is no further information.,Coastal Assessment Survey: The Firth of Forth,1996,,None,None,6,,None,None,None,None,0,2012-01-27,56.12360291,-3.931900304,0,1,0,POINT(-3.93190030433 56.1236029086)
11,NS 8089 9506,,None,CAMBUSKENNETH,pier,1,280890,695060,Not recorded,Poor,Monitor,This pier is marked on the 1st editions OS maps at Ladyneuk. Three courses of stone wall are visible above low tide level. The pier measures 6m by 3m. It is now disused and in a ruinous and overgrown condition.,Coastal Assessment Survey: The Firth of Forth,1996,,None,None,3,3,Undertake DBA - map regression,Visit - assess condition of the site,None,None,0,2012-01-27,56.13334413,-3.918066753,0,1,0,POINT(-3.91806675347 56.1333441333)
12,NS 8079 9519,,None,CAMBUSKENNETH,pier,1,280790,695190,Not recorded,Poor,Monitor,This pier is marked on the 1st edition OS maps by a lime kiln. Four courses of stone wall are visible above low tide level. It measures 4m by 3m and is disused. It is in a ruinous and overgrown condition.,Coastal Assessment Survey: The Firth of Forth,1996,,None,None,3,3,Undertake DBA - map regression,Visit - assess condition of the site,Survey site - topographic and photographic survey,None,0,2012-01-27,56.13448648,-3.919732924,0,1,0,POINT(-3.91973292374 56.1344864765)
13,NS 89 NW 27,47131,None,CAUSEWAYHEAD,antler implement,1,280000,695000,Not recorded,Unknown,Not Recorded,The implement was donated to the Smith Institute. There is no further information,Coastal Assessment Survey: The Firth of Forth,1996,,None,None,6,,None,None,None,None,0,2012-01-27,56.13258229,-3.932350688,0,1,0,POINT(-3.93235068837 56.1325822854)
14,NS 89 SW 1,47241,None,STIRLING,battle site,1,280000,694600,Not recorded,Unknown,Not Recorded,"The Battle of Stirling Bridge, 1297. The area has been developed and is now Causewayhead Playing fields. There is no further information.",Coastal Assessment Survey: The Firth of Forth,1996,,None,None,6,,None,None,None,None,0,2012-01-27,56.12899054,-3.932170504,0,1,0,POINT(-3.93217050389 56.1289905365)
15,NS 79 SE 4,46222,None,STIRLING ST MARROKIS CHAPEL,chapel,1,279550,694540,Not recorded,Destroyed,Nil,The chapel was situated to the south-west of Old Stirling Bridge. The area is now the site of a modern housing estate. No remains of the chapel have survived.,Coastal Assessment Survey: The Firth of Forth,1996,,None,None,6,,None,None,None,None,0,2012-01-27,56.12833837,-3.939378408,0,1,0,POINT(-3.93937840836 56.1283383669)

Reply via email to