Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-2485

Verification tool stops processing on FileNotFoundError

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: f4-import-export
    • Labels:

      Description

      It seems like that the import-export-verify process stop on error "FileNotFoundError: [Errno 2] No such file or directory". Should it continue?

      Traceback (most recent call last):
        File "/Library/Frameworks/Python.framework/Versions/3.6/bin/fcrepo-verify", line 11, in <module>
          load_entry_point('fcrepo-verify===0.2.0-SNAPSHOT', 'console_scripts', 'fcrepo-verify')()
        File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 722, in __call__
          return self.main(*args, **kwargs)
        File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 697, in main
          rv = self.invoke(ctx)
        File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 895, in invoke
          return ctx.invoke(self.callback, **ctx.params)
        File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 535, in invoke
          return callback(*args, **kwargs)
        File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/fcrepo_verify-0.2.0_SNAPSHOT-py3.6.egg/fcrepo_verify/cli.py", line 58, in main
          verifier.execute()
        File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/fcrepo_verify-0.2.0_SNAPSHOT-py3.6.egg/fcrepo_verify/verifier.py", line 106, in execute
          loggers.file_only)
        File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/fcrepo_verify-0.2.0_SNAPSHOT-py3.6.egg/fcrepo_verify/resources.py", line 115, in __init__
          location=self.origpath, format=config.lang
        File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rdflib/graph.py", line 1033, in parse
          data=data, format=format)
        File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rdflib/parser.py", line 169, in create_input_source
          file = open(filename, "rb")
      FileNotFoundError: [Errno 2] No such file or directory: '/Users/lsitu/Documents/Fedora_Import_Export/data_1_/fcrepo/rest/audit/24/9d/d4/62/249dd462-ff64-41ed-ab00-192cd28b234d.ttl'

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dbernstein Danny Bernstein
                Reporter:
                lsitu Longshou Situ
                Reviewer:
                Joshua Westgard
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: