postcode setup help
OK followed all directions for windows 7 installation and all seems to be working. When I try the first step in the configuration to set up Australian towns and postcodes I get this screen;
C:\openvpms\openvpms-release-1.5.1\bin>dataload.bat ../import/data/postcodes.xml
Unexpected argument: ../import/data/postcodes.xml
Usage: java org.openvpms.tools.data.loader.StaxArchetypeDataLoader
[(-c|--context) <context>] [(-d|--dir) <dir>] [-s|--subdir] [(-f
|--file) file1,file2,...,fileN ] [-v|--verbose] [--validateOnly] [(-b|--batchSav
eSize) <batchSaveSize>]
[(-c|--context) <context>]
Application context for the data loader (default:
application-context.xml)
[(-d|--dir) <dir>]
Directory where data files reside.
[-s|--subdir]
Search the subdirectories as well.
[(-f|--file) file1,file2,...,fileN ]
Name of file containing data
[-v|--verbose]
Displays verbose info to the console.
[--validateOnly]
Only validate the data file. Do not process.
[(-b|--batchSaveSize) <batchSaveSize>]
The batch size for saving objects. (default: 0)
C:\openvpms\openvpms-release-1.5.1\bin>
Any suggestions??? Thanks Chris
Re: postcode setup help
Hi Chris,
Please use below command .
dataload.bat -f ../import/data/postcodes.xml
Regards,
Harinder
Re: postcode setup help
Hi Harinder. I've had the same problem as Chris with windows 7. I tried your solution but got this error message - any suggestions?
thanks
Dave
Re: postcode setup help
Dave can you first check the file exists, browse with explorer to
C:\openvpms\openvpms-release-1.5.1\import\data\
Check postcodes.xml is there. Im betting you actually have a file postcodesAU.xml
if so try
dataload -f ../import/data/postcodesAU.xml
Re: postcode setup help
Thanks Ben, confirmed that was indeed postcodesAU.xml
so entered this as you suggested
dataload -f ../import/data/postcodesAU.xml
and get a screen that is constantly scrolling through 100miles an hour with the following messages
Any thoughts
thanks
Dave
Re: postcode setup help
Its complaining about duplicate lookups.
You will get those messages if you have run the dataload previously.
-Tim
Re: postcode setup help
Thanks Tim, just checked and you are right the postcodes and suburbs have miraculously apeared in the program??
Obviously I just kept trying to run it over and over. What confused me was the fact that I didnt actually ever get a screen that resembled the one in the setup guide section on postcodes.
Thanks for your help
Dave