Help save net neutrality! Learn more.
Close

#7 Continuing manifest - error with non-empty output directory

closed-fixed
None
5
2010-07-21
2010-07-19
No

Testing Branch v2.0.15 - Linux Ubuntu 10.04

I'm getting an error about the Output Directory not being empty if I continue to add to my manifest.

1. Create manifest, selecting the Media Arrangement so that the files are copied to the output directory.
2. At step 5, select Continue with New Media and click next.
3. Select Output Directory and click next

Result: "Manifest Maker cannot continue because the output directory is not empty. Please clear this directory or select a new output directory."

4. Click OK

Result: Step 5 is displayed.

Also, if I do the above without selecting the media arrangement option, I get to step 3 above and click next it looks like the manifest is being written but the manifest.tsv is not changed. Clicking Next will not let me progress.

Discussion

  • Allan Cunliffe

    Allan Cunliffe - 2010-07-19

    Step 3 above should be the Base Directory, not Output Directory.

    The console output for the second issue is:

    Traceback (most recent call last):
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 1120, in OnNext
    self.Process()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 984, in Process
    self.writer.writeManifestFile()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 288, in writeManifestFile
    checksum = self.getChecksum(fullFilePath)
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 321, in getChecksum
    f = open(filePath, 'rb', MD5_BUFFER_SIZE)
    IOError: [Errno 2] No such file or directory: u'/home/allan/testing/Doco samples/tampered/.directory'
    Traceback (most recent call last):
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 1120, in OnNext
    self.Process()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 984, in Process
    self.writer.writeManifestFile()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 288, in writeManifestFile
    checksum = self.getChecksum(fullFilePath)
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 321, in getChecksum
    f = open(filePath, 'rb', MD5_BUFFER_SIZE)
    IOError: [Errno 2] No such file or directory: u'/home/allan/testing/Doco samples/tampered/.directory'
    Traceback (most recent call last):
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 1120, in OnNext
    self.Process()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 984, in Process
    self.writer.writeManifestFile()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 288, in writeManifestFile
    checksum = self.getChecksum(fullFilePath)
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 321, in getChecksum
    f = open(filePath, 'rb', MD5_BUFFER_SIZE)
    IOError: [Errno 2] No such file or directory: u'/home/allan/testing/Doco samples/tampered/.directory'
    Traceback (most recent call last):
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 1120, in OnNext
    self.Process()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 984, in Process
    self.writer.writeManifestFile()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 288, in writeManifestFile
    checksum = self.getChecksum(fullFilePath)
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 321, in getChecksum
    f = open(filePath, 'rb', MD5_BUFFER_SIZE)
    IOError: [Errno 2] No such file or directory: u'/home/allan/testing/Doco samples/tampered/.directory'
    Traceback (most recent call last):
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 1120, in OnNext
    self.Process()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 984, in Process
    self.writer.writeManifestFile()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 288, in writeManifestFile
    checksum = self.getChecksum(fullFilePath)
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 321, in getChecksum
    f = open(filePath, 'rb', MD5_BUFFER_SIZE)
    IOError: [Errno 2] No such file or directory: u'/home/allan/testing/Doco samples/tampered/.directory'
    Traceback (most recent call last):
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 1120, in OnNext
    self.Process()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 984, in Process
    self.writer.writeManifestFile()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 288, in writeManifestFile
    checksum = self.getChecksum(fullFilePath)
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 321, in getChecksum
    f = open(filePath, 'rb', MD5_BUFFER_SIZE)
    IOError: [Errno 2] No such file or directory: u'/home/allan/testing/Doco samples/tampered/.directory'
    Traceback (most recent call last):
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 1120, in OnNext
    self.Process()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 984, in Process
    self.writer.writeManifestFile()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 288, in writeManifestFile
    checksum = self.getChecksum(fullFilePath)
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 321, in getChecksum
    f = open(filePath, 'rb', MD5_BUFFER_SIZE)
    IOError: [Errno 2] No such file or directory: u'/home/allan/testing/Doco samples/tampered/.directory'
    Traceback (most recent call last):
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 1120, in OnNext
    self.Process()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestMakerFrame.py", line 984, in Process
    self.writer.writeManifestFile()
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 288, in writeManifestFile
    checksum = self.getChecksum(fullFilePath)
    File "/home/allan/workspace/manifestmaker/src/manifest/ManifestWriter.py", line 321, in getChecksum
    f = open(filePath, 'rb', MD5_BUFFER_SIZE)
    IOError: [Errno 2] No such file or directory: u'/home/allan/testing/Doco samples/tampered/.directory'

     
  • Allan Cunliffe

    Allan Cunliffe - 2010-07-20

    I get a similar error at Step 4 when I try to create a manifest from a barcode list but I can't get past Step 4:

    IOError: [Errno 2] No such file or directory: u'/home/allan/Desktop/test22-1-10/records/ds/a1.txt'

     
  • Allan Cunliffe

    Allan Cunliffe - 2010-07-20

    The error with the barcode list only happens if you select to prepare data objects for media.

    If I don't select to prepare data objects for media, I get to Step 5 OK. However, the manifest created only has the headings and no content.

     
  • Matthew Oliver

    Matthew Oliver - 2010-07-20

    Fixed in version 2.0.17 on the testing tagged as bug-3031468

     
  • Matthew Oliver

    Matthew Oliver - 2010-07-20
    • assigned_to: matthewoliver --> acunliffe
    • status: open --> open-fixed
     
  • Allan Cunliffe

    Allan Cunliffe - 2010-07-21
    • status: open-fixed --> closed-fixed
     
  • Allan Cunliffe

    Allan Cunliffe - 2010-07-21

    Testing Branch v2.0.17 (tag bug-3031468) - Linux Ubuntu 10.04

    Re-tested. I can now add to my previous manifest OK and the digital objects are added to the media directory OK.
    If I do the above without selecting the media arrangement option, I can add to the manifest OK.

     

Log in to post a comment.