Error when importing attachment mapping file
When I try to import attachment mapping files, regardless of file type, I get this error
I tried using a csv file with one column, each value separated by a comma like the error mentions but still get the same error
Usually when this error is displayed, it is actually because none of the lines in the file matched a record in the db, or an attachment file, depending on the mapping type. If some lines match something, Specify will display of the non-matches, but if there are zero matches, this error gets displayed.
I used existing catalog numbers and accession numbers in the csv files, separated by commas and still got the error
It works for me. What db, what files, and what types of mappings aren't working?
I tested it on a copy of vims and in a demodatabase. I've tried mapping accession and collection object. When import it directly by changing the attachment name to the accession number or catalog number, it works fine
What ids, what names?
entries like this work for me in a CO mapping file :
1,att1.png 2,att2.png 3,att3.png 4,att4.png 5,att5.png
I was doing the same thing and it doesn't work for me. @maxpatiiuk can you take a look at this too?
@yvonneekanim ok, It worked for me a few months ago, tho I will test it again to make sure
Works well Tested in an empty database on macOS with the latest Specify 6.8.00 build
Works well in Windows 10 with a clean database
By clean database you mean a database with catalog numbers that match what is in the csv file right?
Yes
I created a new database Added 5 COs Imported a mapping file Success
Great, thanks. Still doesn't work for me for whatever reason
FYI the incorrect display of "...must be separated by..." msg only occurs when none of the files are found - the catnums or whatever don't matter. If that helps?
Also, maybe your windows account or specify does not have permission to access the image files?
That doesn't seem to be the problem. Will the log files help?
They might. They're our last hope.
I've attached the log file. Also my attachment file path isn't the default path. I don't know if that has anything to do with why it doesn't work but I can add attachments, just not through the import mapping tool Log files 5_22_20.docx
Nothing in the log. Can you attach a csv mapping file that isn't working please?
Github won't let me attach a csv. I'll put it in your folder on the shared drive