Dear list,

i can't get the fcrepo python package to work:

root@fedora:~/python# ./test.py
Traceback (most recent call last):
   File "./test.py", line 9, in <module>
     pid = client.getNextPID(u'foo')
   File 
"/usr/local/lib/python2.7/dist-packages/fcrepo-1.1-py2.7.egg/fcrepo/client.py", 
line 21, in getNextPID
     request = self.api.getNextPID()
AttributeError: 'API' object has no attribute 'getNextPID'

using fcrepo-1.1-py2.7.egg, fedora commons 3.6.2, oaiprovider-1.2.2, 
tomcat6, python-2.7

Is there any 'better' client package for python (or perl)? What i 
want/need to do is using the API-M REST interface (addRelationship and 
addDatastream functions) to publish objects via ProOAI oaiprovider...

thanks,
Kai


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to