ePADD / epadd

ePADD is a software package developed by Stanford University's Special Collections & University Archives that supports archival processes around the appraisal, ingest, processing, discovery, and delivery of email archives.
https://www.epaddproject.org
111 stars 24 forks source link

Error importing accession into Processing module #447

Closed juliewetherill closed 5 months ago

juliewetherill commented 1 year ago

Describe the bug I can import an archive from the Accession module and export to Processing module. But when I attempt to import to Processing module, I get the error: Error importing accession. Code 2, Message: Unable to import accession: null. This happens with every archive I try to import.

To Reproduce Steps to reproduce the behavior:

  1. Import archive to Appraisal.
  2. Export from Appraisal to Processing.
  3. Try to import from Processing.
  4. See error

Expected behavior The import from Processing module should finish without error. When I open the collection, I should see metadata for the accession on front page of the collection.

Screenshots See this google doc for screenshots and error log info: https://docs.google.com/document/d/1TPdWeuUSJ8Un79giM7sjxbcWartIr0UXuJuK1idTAVs/edit?usp=sharing Go to Issue #2.

Desktop (please complete the following information):

Additional context I was analyzing a user-reported bug and needed to upgrade to v10.0.5 because that is what the user has. I was not having this issue in 10.0.3. The user's bug (#1 in the google doc I linked above) is similar but not identical (error is slightly different) and I'm not sure it's the same bug I'm seeing.

jfarwer commented 1 year ago

Thanks for reporting this. I am having a look into this.

peterchanws commented 6 months ago

I have the same problem.

Desktop (please complete the following information): macOS 14.3.1 Browser: Chrome 122.0.6261.69 ePADD Version 10.0.6

jfarwer commented 6 months ago

Do you have an existing archive in processing and you want to add an accession? Or is this an archive in appraisal you want to move to processing?

peterchanws commented 6 months ago

I am adding an archive to processing. I exported the archive in Appraisal to the folder "ePADD". The exported folder is named "ePADD archive of Peter Chan" by the system. I changed epadd.mode=apprisal in the properties files to processing. After that, I import the archive by pointing to the "ePADD archive of Peter Chan" folder. I started "Import Accession" and got the error message. However, I can see the archive after I click "Collection".

jfarwer commented 6 months ago

You can create a folder called epadd-processing in your home directory, move the archive exported from appraisal into there and start ePADD in processing mode. The archive should be picked up automatically without the need to import as an accession. Does that work?

peterchanws commented 6 months ago

Yes.

jfarwer commented 6 months ago

A new version of ePADD with a fix for importing an accession into an empty collection is going to be released this week.

We are working on a fix for importing an accession into a non-empty collection.


From: Peter Chan @.> Sent: Sunday, February 25, 2024 11:13:16 PM To: ePADD/epadd @.> Cc: Jochen Farwer @.>; Comment @.> Subject: Re: [ePADD/epadd] Error importing accession into Processing module (Issue #447)

Yes.

— Reply to this email directly, view it on GitHub [github.com]https://urldefense.com/v3/__https://github.com/ePADD/epadd/issues/447*issuecomment-1963095475__;Iw!!PDiH4ENfjr2_Jw!A0kvNsqlY3jsTzFIvi5fgkMXWlGhTr9rMTxPWs1w_NkrAJY9wpOGp_GiW3ijF1GHuowxnFHx9thQuPYi0qtttmphaJ7XBRrXDGc$, or unsubscribe [github.com]https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AHU5VOBFIYJJB7MEAXTTFNLYVPAQZAVCNFSM6AAAAAAZFFQRXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRTGA4TKNBXGU__;!!PDiH4ENfjr2_Jw!A0kvNsqlY3jsTzFIvi5fgkMXWlGhTr9rMTxPWs1w_NkrAJY9wpOGp_GiW3ijF1GHuowxnFHx9thQuPYi0qtttmphaJ7XiULwgaQ$. You are receiving this because you commented.Message ID: @.***>

peterchanws commented 6 months ago

Thanks for the update.

jfarwer commented 5 months ago

Importing an accession into an empty collection should work in ePADD v11.0.1 Alpha. I have created a new issue (#465) for importing an accession into a non-empty collection.