Hi Richard, from looking at the code in arches\app\utils\data_management\resources\formats\shpfile.py, it seems that the error you see would actually be set off if there was a problem with reading the JSON in your config file. (You're right in that the the file is correctly named and Arches is finding it). Try going over your config file with a fine-toothed comb, to make sure that you have the JSON syntax correct. Seems like that error message could be improved...
In my own experience with using the shapefile upload utility, I was unable to group attributes correctly. What I ended up doing was writing them all to a single .arches/.relations fileset, the best solution was to write them into a single .arches file and then use the .arches upload utility in Arches. If you happen to be using ArcGIS, you can use the ArcGIS toolbox that I created for this task: www.github.com/mradamcox/arc2arches. On Thursday, September 17, 2015 at 1:02:13 PM UTC-5, Richard Jennings wrote: > > Hi all, > > I have a quick query which I would be very grateful for some assistance. I > am trying to upload a shapefile and I am met with this error message: > > "config file is missing or improperly named. Make sure you have config > name with same base name as your shapefile and the extension .config." > > I have doubled checked and the config file does have the same base name > and has the .config extension as the shapefile. > > This is not a path issue as I have successfully loaded .arches files from > the same location as my shapefile. Also, when I leave out the .config file > altogether it reports a different error message, that it cannot find the > .config file, meaning when I add it, it is clearly detecting it but it has > a problem with it. > > I am wondering if it i to do with how I have coded the .config file, but > would not errors within the config file be reported in the log rather than > at this stage? In my tests I am using just one field (Name.E41) and have > ensured that the strings are set in the shapefile. I created the .config > ending in text editor and the code is UTF 8. > > Any thoughts welcome as I am a bit baffled! > > Many thanks, > > Richard > > > > > > > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
