Check this out: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Asset_Import_and_Export
There should be a space after the "-e" option I think.

On 08/10/2010 18:11, Marvin Weaver wrote:

I had written a batch import program for 1.5.2.  Now when I try to use it in 
1.6.2 I get an error:

/dspace/bin/import -a [email protected]  -c 123456789/62 -s
/dspace/import/cit_100-1065 -m /dspace/mapfiles/cit_100-1065
Exception: No such column EPERSON_ID
java.lang.IllegalArgumentException: No such column EPERSON_ID
          at org.dspace.storage.rdbms.TableRow.setColumn(TableRow.java:509)
          at 
org.dspace.storage.rdbms.DatabaseManager.process(DatabaseManager.java:1182)
          at 
org.dspace.storage.rdbms.TableRowIterator.next(TableRowIterator.java:151)
          at 
org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseManager.java:410)
          at 
org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager.java:550)
          at org.dspace.eperson.EPerson.findByEmail(EPerson.java:161)
          at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:381)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212)

I created an administer group for each collection and added 
[email protected]
   as a member to each.
I went to Administer Authorization Policies and granted add to every 
administrator group,
anonymous, and administrator.

Is there some other permissions I need to add somewhere?
Marvin





------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2&  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Hilton Gibson
Systems Administrator
JS Gericke Library
Room 1053
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

"Simplicity is the ultimate sophistication"
        Leonardo da Vinci

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to