oaibackup script error and issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Document Library |
Fix Committed
|
Medium
|
Sylvain Viollon | ||
1.6 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
We're running the oaibackup script to see the output. We run it with the following:
/webs/documentl
This produces the following:
Traceback (most recent call last):
File "/webs/
oaibackup.
File "/webs/
from_dt, options.
File "/webs/
dt = _harvest(c, output_dir, prefix, from_dt, hooks)
File "/webs/
hook(
File "/webs/
f = urllib2.
File "/webs/
return _opener.open(url, data)
File "/webs/
response = meth(req, response)
File "/webs/
response = self.parent.error(
File "/webs/
return self._call_
File "/webs/
result = func(*args)
File "/webs/
raise HTTPError(
urllib2.HTTPError: HTTP Error 401: Unauthorized
There's an 'Unauthorized' error at the very end, but we do get a collection of files accompanied by corresponding .dl ascii text files (which contain 'xmlns' statements). These .dl files are the metadata for each document included in the backup, but it is missing the 'category' information! e.g. where a document resides within the library (e.g. Human Resources/Staff Site/policies). This is vital info!
So, in summary:
(1) Why do we get an Unauthorized error? This might have interrupted the backup. We have no way to tell if the backup complete dor not.
(2) Why is the category info missing from the .dl files that contain the metadata?
This needs investigation.