Hi Mike,
I notice that your mapping file doesn’t have a ResourceID node. In the snip 
below I’d expect it to be between Report ID and SCHARP description.

This may not be the issue but if you’re importing UUIDs in you will need a node 
to store the value. Also in the spreadsheet you attached the ResourceID appears 
to just be a plain integer rather than a GUID

[cid:image003.png@01D61C93.7BCA3CF0]




Phil Carlisle
Knowledge Organization Specialist
Information Analysis
Policy and Evidence Group
Historic England
Direct Dial: +44 (0)1793 414824

Many Historic England staff are working remotely at the moment and we are doing 
what we can to maintain our level of response but please bear with us as this 
may be slower than usual.

http://www.heritagedata.org/blog/

From: archesproject@googlegroups.com <archesproject@googlegroups.com> On Behalf 
Of Mike Arrowsmith
Sent: 26 April 2020 19:42
To: Arches Project <archesproject@googlegroups.com>
Subject: [Arches] Importing resources problem


THIS IS AN EXTERNAL EMAIL:  do not click any links or open any attachments 
unless you trust the sender and were expecting the content to be sent to you
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<mailto:archesproject@googlegroups.com>. To 
unsubscribe, send email to 
archesproject+unsubscr...@googlegroups.com<mailto: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<mailto: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<https://groups.google.com/d/msgid/archesproject/ad55a6d7-a293-4df1-8f3a-610a82a804cf%40googlegroups.com?utm_medium=email&utm_source=footer>.

[Historic England Logo]<http://www.historicengland.org.uk/>


We are the public body that helps people care for, enjoy and celebrate 
England's spectacular historic environment, from beaches and battlefields to 
parks and pie shops.
Follow us:  Facebook<https://www.facebook.com/HistoricEngland>  |  
Twitter<https://twitter.com/HistoricEngland>  |  
Instagram<https://www.instagram.com/historicengland/>     Sign up to our 
newsletter<http://webmail.historicenglandservices.org.uk/k/Historic-England/historic_england_preference_centre>


This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of Historic England unless specifically stated. 
If you have received it in error, please delete it from your system and notify 
the sender immediately. Do not use, copy or disclose the information in any way 
nor act in reliance on it. Any information sent to Historic England may become 
publicly available. We respect your privacy and the use of your information. 
Please read our full privacy 
policy<https://www.historicengland.org.uk/terms/privacy-cookies/> for more 
information.

-- 
-- 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/8dc100c239c7472383fb49ced1b084cc%40SVMEX03.english-heritage.org.uk.

Reply via email to