Re: [Archivesspace_Users_Group] Digital Object Edit Batch

2021-12-16 Thread Majewski, Steven Dennis (sdm7g)
How are the links encoded ? In file_version/file_uri ? If that is the case it should be easy to change in MySQL. ( Note that if you make changes to the database via MySQL rather than the API, you will need to trigger a full reindex, as going thru the backdoor doesn’t trigger an individual

Re: [Archivesspace_Users_Group] Override staff ead to pdf export XSL in Plugin?

2021-11-04 Thread Majewski, Steven Dennis (sdm7g)
Not sure exactly what you mean by “without patching the core code directly” . You can edit stylesheets/as-ead-pdf.xsl in place without having to go back to source and rebuild distribution, which is usually the case for objects that don’t get packed into the .war files and are extracted into

Re: [Archivesspace_Users_Group] Add a static web page to ArchivesSpace PUI?

2021-09-21 Thread Majewski, Steven Dennis (sdm7g)
In our plugins/local/public, I just put a static html file into local/plugin/assets/ and then add a link to it in local/public/views/layout_head.html.erb: $( 'section#navigation >nav.navbar ul.nav ').append( 'HELP’); > On Sep 21, 2021, at 11:19 AM, Peter Heiner wrote: > > Hi all, >

Re: [Archivesspace_Users_Group] Unpublished records and OAI

2021-08-05 Thread Majewski, Steven Dennis (sdm7g)
I’ve definitely seen deletions logged in my EAD OAI harvests, however, I haven’t tried to trace what actions are connected with those deletions or how it handles unpublishing portions or archival objects. I would suppose that it should update the EAD on the next harvest dropping the

Re: [Archivesspace_Users_Group] Unable to edit / delete accessions or resources after upgrade to MySQL database

2021-07-14 Thread Majewski, Steven Dennis (sdm7g)
If you switched to a new DB, but did not delete the solr indexes in data/solr_index/ or deleted the files in data/indexer_state/ and data/indexer_pui_state/ to trigger a reindex then the data in DB and SOLR will be out of sync. If this is the case, the PUI, which pulls data from SOLR rather

Re: [Archivesspace_Users_Group] Updating archivesspace and plugin results in two plugin buttons

2021-04-27 Thread Majewski, Steven Dennis (sdm7g)
Those later releases include the functionality of the excel plugin, and uses a newer version of the same Gems. You should remove the excel plugin from the archivesspace plug-ins directory and remove the entry in the config file and restart. Sent from my iPhone On Apr 27, 2021, at 11:56, Tam

Re: [Archivesspace_Users_Group] Should digital object file_uri field allow non URI data?

2021-04-19 Thread Majewski, Steven Dennis (sdm7g)
I would think ‘A’, but that’s based on that the field is labeled “File URI” so I expect something that looks like a URI, and the fact that some notes in ArchivesSpace are explicitly labeled as allowing mixed content, and that has made me assume that allowing mixed content is not the default.

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-04-01 Thread Majewski, Steven Dennis (sdm7g)
servica added content? > > Thanks, Steve. Time to dig into this deeper. > Some of my Preservica ones work fine. > > Ed Busch, MLIS > Interim Head of University Archives and Historical Collections > Electronic Records Archivist > Conrad Hall, 943 Conrad Road, Room 101 > East Lansing, MI

Re: [Archivesspace_Users_Group] Issues with MySQL v8

2021-03-31 Thread Majewski, Steven Dennis (sdm7g)
I’m running ArchivesSpace 2.8.1 under current MariaDB 10.5.9 and I’m not getting any errors on any of those reports. It’s our intention to support current versions of both MySQL and MariaDB, but not everything can be tested against every version, especially those reports. Wendy: are you getting

Re: [Archivesspace_Users_Group] Generate PDF Staff side failing - Preservica added content?

2021-03-31 Thread Majewski, Steven Dennis (sdm7g)
It definitely doesn’t like those Preservica URLs. The staff PDF production goes thru 3 steps, and you can do them separately and manually to debug. [1] export EAD XML [2] Run XSLT processor on EAD with /stylesheets/as-ead-pdf.xsl xsl-fo stylesheet $ saxon

Re: [Archivesspace_Users_Group] Resource Creation Statistics - Any ideas?

2020-12-09 Thread Majewski, Steven Dennis (sdm7g)
-1928""}]","[{""portion"":""Whole"",""container_summary"":""4 Hollinger boxes"",""physical_details"":null,""dimensions"":null,""extent""

Re: [Archivesspace_Users_Group] Resource Creation Statistics - Any ideas?

2020-12-09 Thread Majewski, Steven Dennis (sdm7g)
You can just add created_by and create_time ( and perhaps other fields like: last_modified_by, finding_aid_author ) to the resource_list_report.rb : diff --git a/reports/resources/resources_list_report/resources_list_report.rb b/reports/resources/resources_list_report/resources_list_report.rb

Re: [Archivesspace_Users_Group] Sub-subseries custom usage?

2020-10-20 Thread Majewski, Steven Dennis (sdm7g)
What Mark said. And in addition, I would say that when dealing with these levels in EAD, what you usually want or need is to distinguish is top-level, middle-levels and leaves, so in practice making everything in the middle “subseries” is OK, and if you need finer distinctions you export as

Re: [Archivesspace_Users_Group] Sub-subseries custom usage?

2020-10-20 Thread Majewski, Steven Dennis (sdm7g)
You could add “sub-subseries” to as an enumeration value Controlled Value List: Archival Record Level (archival_record_level), and it would show up in the dropdown menu, however as the current enumeration values are the allowed values for the EAD c/@level attribute, you would then export

Re: [Archivesspace_Users_Group] PDF export issue

2020-09-29 Thread Majewski, Steven Dennis (sdm7g)
Yes, a sample would be useful to try to reproduce the issue. It would also be interesting to know if both the staff PDF export and the PUI PDF show the same problems. — Steve M. > On Sep 29, 2020, at 11:42 AM, Custer, Mark wrote: > > Dear Hitomi Matsuyama, > > Which version of

Re: [Archivesspace_Users_Group] undefined method `show_identifier_column?'

2020-09-14 Thread Majewski, Steven Dennis (sdm7g)
Oops. I cut and pasted the wrong section. But the method is removed further down, if you look at the git log yourself. > On Sep 14, 2020, at 4:36 PM, Majewski, Steven Dennis (sdm7g) > wrote: > > Looks like the docs must have slipped behind the changes. > > git log -p fr

Re: [Archivesspace_Users_Group] undefined method `show_identifier_column?'

2020-09-14 Thread Majewski, Steven Dennis (sdm7g)
Looks like the docs must have slipped behind the changes. git log -p frontend/app/helpers/search_helper.rb Shows that function removed, I assume as part of the many search changes in v2.8.0 diff --git a/frontend/app/helpers/search_helper.rb b/frontend/app/helpers/search_helper.rb index

Re: [Archivesspace_Users_Group] Dates display problem.

2020-09-11 Thread Majewski, Steven Dennis (sdm7g)
Saving the record is triggering a reindex of that record, so what you want to do is a complete reindex which you can trigger by deleting the files in indexer_state and indexer_pui_state. Sent from my iPhone On Sep 11, 2020, at 2:57 PM, Carbone, Maura wrote:  Hi, So, I found if you go

Re: [Archivesspace_Users_Group] CSV file for subjects not generating

2020-08-25 Thread Majewski, Steven Dennis (sdm7g)
I believe this has been fixed — I can’t find the issue but this is the top entry in git log frontend/app/controllers/subjects_controller.rb commit f9035b7ef72c65ab854070022d55cbfa023e6429 Author: Lora Woodford Date: Thu Jun 11 17:33:21 2020 -0400 Make subjects subject and fix csv and

Re: [Archivesspace_Users_Group] PDF Export Logo Issue

2020-06-05 Thread Majewski, Steven Dennis (sdm7g)
That style sheet is only used in the staff PDF export. The PUI PDF is generated differently. Sent from my iPad On Jun 5, 2020, at 10:02 AM, Chris Mayo wrote:  Hi Bailey, My institution doesn't use the PUI, so I can't really speculate about why there's a difference between the staff and

Re: [Archivesspace_Users_Group] ArchivesSpace Background Job Failing

2020-05-07 Thread Majewski, Steven Dennis (sdm7g)
You might try downloading EAD directly from the backend API and verify that it is working: /repositories/${REPO}/resource_descriptions/${ID}.xml — Steve. > On May 7, 2020, at 8:29 AM, Boggio, Jerry wrote: > > Hello ArchivesSpace Users! > > Based on a suggestion from Steven Majewski

Re: [Archivesspace_Users_Group] Question Regarding the REST API batch_imports Operation

2020-05-07 Thread Majewski, Steven Dennis (sdm7g)
(In the backend:) EADConverter takes an EAD file (.xml) and produces a JSON file on resources: archival_objects, a parent resource record and possibly global subjects and agents. I’m not sure if there is a backend API call to do just this initial step, but you can run it from pry/irb with

Re: [Archivesspace_Users_Group] OAI harvesting issue

2020-04-22 Thread Majewski, Steven Dennis (sdm7g)
I believe that the ArchivesSpace OAI feed uses system-mtime for the OAI timestamps, but dates in the staff interface are usually user-mtimes. ( system-mtime used because they propagate thru record hierarchy: i.e. if you make changes to a child archival_object, but not to the parent, user_mtime

Re: [Archivesspace_Users_Group] EAD via API - character problem

2020-03-27 Thread Majewski, Steven Dennis (sdm7g)
And maybe send the resulting XML or at least diffs of the two. ( Guessing that there might be a mismatch of file encoding and xml encoding declaration. ) > On Mar 27, 2020, at 3:02 PM, Mayo, Dave wrote: > > Can you be more precise about what “directly from the archivesspace” means? >

Re: [Archivesspace_Users_Group] Search Across Repositories and Get EAD XML - ArchivesSpace API

2020-03-09 Thread Majewski, Steven Dennis (sdm7g)
I would also add that if you want the EAD, it may be simpler to access it from the OAI endpoint, but only if OAI is configured properly. Try downloading a resource using oai_ead metadata from the oai/sample page, to see if it’s configured properly and what the resource URLs will look like. —

Re: [Archivesspace_Users_Group] PDF Generation Error

2020-02-25 Thread Majewski, Steven Dennis (sdm7g)
> On Feb 25, 2020, at 12:50 PM, Kirill Batyuk wrote: > > Hello, > > I was trying to generate Export -> Print to PDF for one of our resources and > it fails with the following error: > > Generating PDF for Kenneth O. Emery papers > org.xml.sax.SAXParseException; lineNumber: 70;

Re: [Archivesspace_Users_Group] [ArchivesSpace Users Group] public version of finding aid not publishing version 2.2.1

2020-02-12 Thread Majewski, Steven Dennis (sdm7g)
The usual culprit for this sort of thing is that PUI indexing broke or is stuck or it didn’t see that resource was updated. 1) Look for indexer errors in the log file. 2) Trigger a reindex by deleting files in data/index_pui_state/ ( and watch the log file for errors ) — Steve M. > On Feb

Re: [Archivesspace_Users_Group] Need to add new value to Subject Term Type lookup table

2020-01-17 Thread Majewski, Steven Dennis (sdm7g)
gt; <https://www.loc.gov/standards/sourcelist/subject.html> > > Kate > > From: archivesspace_users_group-boun...@lyralists.lyrasis.org > On Behalf Of > Majewski, Steven Dennis (sdm7g) > Sent: Friday, January 17, 2020 4:27 PM > To: mcy...@jhu.edu; Archivesspace

Re: [Archivesspace_Users_Group] change to record limit for top container report

2020-01-17 Thread Majewski, Steven Dennis (sdm7g)
I believe you’re supposed to override this by setting a value in your config.rb file: AppConfig[:max_top_container_results] = 15000 You shouldn’t have to override the model if you’re not making any other changes. > On Jan 17, 2020, at 9:50 AM, Steele, Henry wrote: > > Thanks all for

Re: [Archivesspace_Users_Group] Error Generating PDF

2020-01-16 Thread Majewski, Steven Dennis (sdm7g)
with ID = > e399b9ecb1260e6afc1ed9b4b2a8c876), and just leave those two bioghist notes > below (which are repeats of the nested bioghist note), you should be good to > go. > > Mark > > > > From: archivesspace_users_group-boun...@lyralists.lyrasis.org > [m

Re: [Archivesspace_Users_Group] Error Generating PDF

2020-01-16 Thread Majewski, Steven Dennis (sdm7g)
You’re right. Maybe it’s a glitch in stylesheets/as-ead-pdf.xsl, which does the EAD to FOP transform, that is generating duplicate IDs. > (See position 363:37) I’m not seeing anything in the stylesheet at that location. I may have to try generating the intermediate file manually to see if

Re: [Archivesspace_Users_Group] Error Generating PDF

2020-01-16 Thread Majewski, Steven Dennis (sdm7g)
It’s saying you’ve got more than one EAD element with id=“d3e97” . I assume you’re generating PDF from the staff interface, which first serializes resource as EAD XML and then runs that thru the FOP processor ( which is where it’s catching and complaining about the error in the EAD (

Re: [Archivesspace_Users_Group] Finding Aid PDF Error

2020-01-09 Thread Majewski, Steven Dennis (sdm7g)
plugin. — Steve. > > From: archivesspace_users_group-boun...@lyralists.lyrasis.org > On Behalf Of > Majewski, Steven Dennis (sdm7g) > Sent: Thursday, January 9, 2020 3:09 PM > To: Archivesspace Users Group > > Subject: Re: [Archivesspace_Users_Group] Finding Aid PDF Error >

Re: [Archivesspace_Users_Group] need help customizing text in ArchivesSpace

2019-12-09 Thread Majewski, Steven Dennis (sdm7g)
to > ArchivesSpace"? > How can we add line breaks to the Welcome message? > Thanks. > > - Janet > > - > Janet Hack > Science and Online Technologies Librarian > Hoover Library | McDaniel College > 2 College Hill | Westminster, MD 21157-4390 > 41

Re: [Archivesspace_Users_Group] need help customizing text in ArchivesSpace

2019-12-09 Thread Majewski, Steven Dennis (sdm7g)
> 2 College Hill | Westminster, MD 21157-4390 > 410-857-2283 | jh...@mcdaniel.edu <mailto:jh...@mcdaniel.edu> > From: archivesspace_users_group-boun...@lyralists.lyrasis.org > on behalf of > Majewski, Steven Dennis (sdm7g) > Sent: Friday, November 22, 2019 3:02 PM

Re: [Archivesspace_Users_Group] OCLC Digital Collection Gateway

2019-12-03 Thread Majewski, Steven Dennis (sdm7g)
Not at all a solution to the original posters problem, but I was thinking of proposing that in a future release, we just get rid of the separate OAI server, and server OAI from public-url/oai . Some sites are already doing that — I assume thru apache or other proxy server. ( I think that’s

Re: [Archivesspace_Users_Group] OCLC Digital Collection Gateway

2019-12-03 Thread Majewski, Steven Dennis (sdm7g)
I can’t access that URL, although if I change it to port 8081, I can see the PUI welcome page. Is port 8082 behind a firewall ? I thing the error message is to be taken literally: URL is inaccessible. — Steve M. > On Dec 3, 2019, at 1:42 PM, Thomas San Filippo > wrote: > > Hi folks, >

Re: [Archivesspace_Users_Group] need help customizing text in ArchivesSpace

2019-11-22 Thread Majewski, Steven Dennis (sdm7g)
tomization/locales.md> > > Although, that doc has an error in the whitespace/indentation of the example. “brand:” should be less indented. — Steve. > > From: archivesspace_users_group-boun...@lyralists.lyrasis.org > on behalf of > Majewski, Steven Dennis (sdm7g)

Re: [Archivesspace_Users_Group] need help customizing text in ArchivesSpace

2019-11-22 Thread Majewski, Steven Dennis (sdm7g)
One thing to check: the spaces and indentation in .yml files are significant, and you can’t mix tabs(*) with spaces, so you should make sure that you haven’t accidentally inserted a tab when editing. You can edit the file in place for testing, but for normal production, I advise copying the

Re: [Archivesspace_Users_Group] importing EAD files

2019-11-22 Thread Majewski, Steven Dennis (sdm7g)
Marks diagnosis is correct. I would just add that additional information as to what is missing is in those error messages, although they are admittedly difficult to interpret: == veteran_city_guard.xml

Re: [Archivesspace_Users_Group] Finding Aid PDF Error

2019-11-05 Thread Majewski, Steven Dennis (sdm7g)
right now. There is a logo image > there and it is pretty large. > > June > > From: archivesspace_users_group-boun...@lyralists.lyrasis.org > <mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> > <mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>

Re: [Archivesspace_Users_Group] Finding Aid PDF Error

2019-11-05 Thread Majewski, Steven Dennis (sdm7g)
What version of ArchivesSpace are you running, and is this PDF produced from the Staff interface of the PUI ? Also: have you added a custom logo image ? ( I have seen some problems in the past if your custom logo is much larger that the default image. ) — Steve M. > On Nov 5, 2019, at

Re: [Archivesspace_Users_Group] Issue after updating to Aspace v2.7.0 -- "translation missing:"

2019-11-05 Thread Majewski, Steven Dennis (sdm7g)
The first obvious question is: does it work properly with the standard locales/en.yml instead of the custom one ? “Translation missing” points to a problem with one or more of the locales yml files. It’s usually better to add locales changes to local plugin than to edit the applications

Re: [Archivesspace_Users_Group] Add a static web page to ArchivesSpace PUI?

2019-11-01 Thread Majewski, Steven Dennis (sdm7g)
> On Nov 1, 2019, at 3:06 PM, Kara Hart wrote: > > Thank you James!! and Andrew! > I wasn't sure if I needed to run initialize-plugin.sh on this, so I did and > got this. > > Fetching: bundler-1.16.1.gem (100%) > Successfully installed bundler-1.16.1 > 1 gem installed > > [!] There was

Re: [Archivesspace_Users_Group] Error? - Stanford upgrade from 1.5.4 to 2.6.0

2019-10-16 Thread Majewski, Steven Dennis (sdm7g)
Error messages/images are too compressed or small to read. Just a blur. Can you resend or else transcribe ? — Steve M. > On Oct 16, 2019, at 2:52 PM, Michael G Olson wrote: > > Hi everyone, > > Here at Stanford Libraries we just ran an upgrade from 1.5.4 to version 2.6.0 > and noticed

[Archivesspace_Users_Group] Slow searches in Staff webapp.

2019-09-20 Thread Majewski, Steven Dennis (sdm7g)
We’ve had some issues with certain searches in the staff interface ( v2.6.0 ) and I wonder if anyone else has observed this. We were getting proxy errors on some searches from the Staff web app. We are adjusting the proxy timeouts in apache to get around this, however, finding that some

Re: [Archivesspace_Users_Group] Unable to view or edit resource record/tree

2019-09-16 Thread Majewski, Steven Dennis (sdm7g)
If it was just the PUI, I would guess it was an indexing problem, but that “Oops” error, to me, looks like it’s having a problem with retrieving resource tree information from the backend. Not too long ago, there was a thread on this mailing list with the subject: "Retrieving tree info via

Re: [Archivesspace_Users_Group] Archivesspace dropping https in Staff UI

2019-08-30 Thread Majewski, Steven Dennis (sdm7g)
> On Aug 30, 2019, at 10:55 AM, Kara Hart wrote: > > I've tried these three different settings. > > AppConfig[:frontend_proxy_url] = "https://archivesstaff.wellesley.edu > " > AppConfig[:public_proxy_url] = "https://archives.wellesley.edu >

[Archivesspace_Users_Group] Proc {} in config.rb. [was: Archivesspace dropping https in Staff UI]

2019-08-30 Thread Majewski, Steven Dennis (sdm7g)
No proc {} wrapper needed for a literal string. The proc is creating a code block or procedure that will be run to get the value, and it’s purpose is to defer assignment, Typically where the AppConfig assignment is based on another value from AppConfig. That way, if a variable is changed

Re: [Archivesspace_Users_Group] Querying OAI-PMH

2019-08-28 Thread Majewski, Steven Dennis (sdm7g)
; trying to figure out stanza for querying a specific set of records. I need to > pull a list of Files from a Sub-group. But, been struggling with it for a few > days. > > Kirill. > > From: archivesspace_users_group-boun...@lyralists.lyrasis.org > On Behalf Of &

Re: [Archivesspace_Users_Group] Querying OAI-PMH

2019-08-28 Thread Majewski, Steven Dennis (sdm7g)
Does requesting metadataPrefix=oai_ead give you what you want ? > On Aug 28, 2019, at 12:15 PM, Kirill Batyuk wrote: > > Hello, > > I’m trying to query OAI for the list of Files within the Sub-series. Does > anyone know a proper OAI stanza to return the results? > > Thank you, > >

Re: [Archivesspace_Users_Group] FW: Unable to create Accession Report in PDF

2019-07-26 Thread Majewski, Steven Dennis (sdm7g)
s://csus.zoom.us/my/bzhang>bzhang > <https://csus.zoom.us/my/bzhang> > > > > From: on behalf of > "Majewski, Steven Dennis (sdm7g)" > Reply-To: Archivesspace Group > > Date: Friday, July 26, 2019 at 10:14 AM > To: Archivesspace Group &g

[Archivesspace_Users_Group] Mariadb errors from reports: "portion"

2019-07-26 Thread Majewski, Steven Dennis (sdm7g)
Anyone else using MariaDB ? We’re running mysql on our production servers, but I’m running a current version of Maria-DB on my development laptop. While investigating the unescaped ampersand in reports issue, I discovered I’m getting errors running some reports. Resource List Report says:

Re: [Archivesspace_Users_Group] FW: Unable to create Accession Report in PDF

2019-07-26 Thread Majewski, Steven Dennis (sdm7g)
v2.6.0 added a fix for the dreaded unescaped ampersands in EAD export ( and PDF export from staff interface, which generates EAD and transforms to PDF, where malformed XML in the export stage is the usually problem when PDF export fails. ),

Re: [Archivesspace_Users_Group] proxy rewriting gone awry

2019-07-23 Thread Majewski, Steven Dennis (sdm7g)
You might also try accessing the public web app directly at port 8081, not going thru the proxy. You may have to temporarily change your firewall settings, if that port isn’t served to the outside. If the public webapp works properly on it’s own, the the problem is with proxying. — Steve.

Re: [Archivesspace_Users_Group] Retrieving tree info via API (what are "waypoints"?)

2019-07-23 Thread Majewski, Steven Dennis (sdm7g)
& 4 until you get to the end > I *think* this is close to right. > > Thanks again for your help! > > On Tue, Jul 23, 2019 at 12:51 PM Majewski, Steven Dennis (sdm7g) > mailto:sd...@virginia.edu>> wrote: > > I believe for the next level of archival_objects, you hav

Re: [Archivesspace_Users_Group] Retrieving tree info via API (what are "waypoints"?)

2019-07-23 Thread Majewski, Steven Dennis (sdm7g)
alObject) that has > >200 children, you would hit the ".../tree/waypoint" endpoint however many > times and include "parent_node" in the GET params with the ArchivalObject > URI, right? > > On Tue, Jul 23, 2019 at 11:57 AM Majewski, Steven Dennis (sdm7g)

Re: [Archivesspace_Users_Group] Retrieving tree info via API (what are "waypoints"?)

2019-07-23 Thread Majewski, Steven Dennis (sdm7g)
>"child_count":4780, >"waypoints":24, >"waypoint_size":200 > ... > > So the next question is how do you make the subsequent calls to retrieve the > next 200, etc.? > > On Tue, Jul 23, 2019 at 10:52 AM Majewski, Steven Dennis (

Re: [Archivesspace_Users_Group] Retrieving tree info via API (what are "waypoints"?)

2019-07-23 Thread Majewski, Steven Dennis (sdm7g)
I believe the rationale of the waypoints was that initially, it was expected that resource children/ archival objects would fall into a more balanced tree structure, but it turned out that there were many flat hierarchies with hundreds of top level children, and getting all of the children at

Re: [Archivesspace_Users_Group] OAI returns unpublished agent

2019-06-10 Thread Majewski, Steven Dennis (sdm7g)
Is this an issue with all OAI metadata payloads: DC,MARC, EAD ? Or with only one ? And does it produce something different in the OAI payload compared to exporting from the staff interface ? For example, oai_ead metadata payload vs EAD export with include unpublished FALSE. — Steve M.

Re: [Archivesspace_Users_Group] A more forgiving version of oai-harvest & public OAI feeds

2019-05-17 Thread Majewski, Steven Dennis (sdm7g)
sm.edu/oai https://archives.vmfa.museum/oai https://wcu.lyrasistechnology.org/oai https://archives.yale.edu/oai > On Apr 19, 2019, at 7:17 PM, Majewski, Steven Dennis (sdm7g) > wrote > > My current collection of feeds is: > > export VT=https://aspace.lib.vt.edu:8082/ <htt

Re: [Archivesspace_Users_Group] Issue after patching server

2019-04-26 Thread Majewski, Steven Dennis (sdm7g)
Any problems in the earliest part of the log file, when ArchivesSpace is staring up ? For the PUI problem, I would usually think deleting the files in archivesspace/data/indexer_pui_state/ to trigger a reindex might be what is needed, but if you’re locked out of Staff login, something else is

[Archivesspace_Users_Group] A more forgiving version of oai-harvest & public OAI feeds

2019-04-19 Thread Majewski, Steven Dennis (sdm7g)
I have a fork of python oai-harvest program that is more forgiving of XML parser errors which are typically coming from unescaped ampersands in ArchivesSpace notes text or in query strings embedded in URLs. It will also recover from other XML errors I’ve seen in the wild from ArchivesSpace

Re: [Archivesspace_Users_Group] Importing from AT to AS - File Versions left unpublished

2019-04-19 Thread Majewski, Steven Dennis (sdm7g)
> On Apr 19, 2019, at 11:37 AM, mmcde...@bowdoin.edu wrote: > > Greetings all > We are in the process of moving from Archivists Toolkit to ArchiveSpace. I’ve > been experimenting with using the AT migration plugin and everything seems to > be working fine, but… > When we export an EAD file

[Archivesspace_Users_Group] ArchivesSpace/OAI/EAD exports in the wild.

2019-04-15 Thread Majewski, Steven Dennis (sdm7g)
Forwarding the results of this test to the list, as it may be useful in determining where to devote attention to fixing EAD export errors. Test was harvesting 2500+ resources from 5 sites using their ArchivesSpace OAI feeds. ( As part of setting up automatic harvesting of records for Virginia

Re: [Archivesspace_Users_Group] FYI: Custom reports

2019-04-05 Thread Majewski, Steven Dennis (sdm7g)
one, Maura wrote: > > Oh, interesting, is that the ‘proof of concept’ UI thing we saw awhile back? > Where you could build a report in the UI? > > -Maura > > From: on behalf of > "Majewski, Steven Dennis (sdm7g)" > Reply-To: Archivesspace Users Group >

Re: [Archivesspace_Users_Group] FYI: Custom reports

2019-04-05 Thread Majewski, Steven Dennis (sdm7g)
d on the call. ) “ > > Sadly, I wasn’t able to make the call and I didn’t see this information in > the community notes. What were the resons? > > Thanks! > Maura > > From: on behalf of > "Majewski, Steven Dennis (sdm7g)" > Reply-To:

[Archivesspace_Users_Group] FYI: Custom reports

2019-04-03 Thread Majewski, Steven Dennis (sdm7g)
Followup to my comments on todays Reports call: https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/834994187/2019-04-03+UAC+Reports+Open+Call A number of custom sub reports are

Re: [Archivesspace_Users_Group] Error when creating PDF Finding Aid Export

2019-03-29 Thread Majewski, Steven Dennis (sdm7g)
Yes: that unescaped ampersand is the likely the problem. I don’t think they have to be escaped everywhere, but having the text wrapped in triggers it being parsed as mixed content rather than just text, so inside the tags, the serializer is expecting valid XML text() . When having

Re: [Archivesspace_Users_Group] Discontinuing use of "levels of description" labels?

2019-03-08 Thread Majewski, Steven Dennis (sdm7g)
In EAD, the hierarchy is fixed, but one of the advantages of linked data is that the elements are movable and reusable in other contexts. We’re not really taking advantage of that currently in ArchivesSpace, but for the future I think it makes sense to think about those use cases and whether

Re: [Archivesspace_Users_Group] Import Data Errors

2019-01-29 Thread Majewski, Steven Dennis (sdm7g)
I believe all of the dsc components must have either a unittitle or unitdate. > On Jan 29, 2019, at 12:16 PM, Ryan Flahive wrote: > > Morning Folks, > > I’m new to this group as my ArchiveSpace server was just set up a couple days > ago. > > Due to circumstances too lengthy to describe

Re: [Archivesspace_Users_Group] # of Collection Mgmt records not matching # of Accession records

2019-01-14 Thread Majewski, Steven Dennis (sdm7g)
I noticed, while researching this issue, that there is no .dat file in my archivesspace/data/inderer_state directly named container_management. Perhaps that info is kept in corresponding resource files, however, I see that there is a primary_type in Solr records for container_management.

Re: [Archivesspace_Users_Group] Anyone making use of Harvard's aspace-import-excel plugin?

2019-01-08 Thread Majewski, Steven Dennis (sdm7g)
We have been using the plugin routinely. We did recently have some problems when we tried it on a very large spreadsheet ( > 2000 rows ) It seemed to me that when the web app appeared to have finished importing the spreadsheet, it was really still processing in the background for a long

Re: [Archivesspace_Users_Group] ArchLight Documentation

2019-01-07 Thread Majewski, Steven Dennis (sdm7g)
ArcLight project on GitHub: https://github.com/sul-dlss/arclight ArcLight is a Ruby/Rails+Solr Gem for searching and displaying finding aids. The display is somewhat similar in style to ArchivesSpace Public User Interface, but ArcLight is only for

Re: [Archivesspace_Users_Group] PUI question: external indexing of container list tree link text

2019-01-04 Thread Majewski, Steven Dennis (sdm7g)
I would suggest crawling the OAI endpoint for indexing, but linking to the PUI record. oai_ead metadata just EAD in an OAI wrapper, and has the complete resource tree. The problem with that is that not everyone may have configured OAI or made it public. But yes: that’s a problem with

Re: [Archivesspace_Users_Group] Specifying Physical Location in Resource Records

2018-12-06 Thread Majewski, Steven Dennis (sdm7g)
Resources/Archival_objects/Accessions can have a container Instance, which will link to a top_container that can link to a Location. Look at: "Managing Containers…/Managing Top Containers/Creating a Top Container” in the online manual. It may be a bit confusing that the staff interface has

Re: [Archivesspace_Users_Group] 2.5 install issue

2018-11-12 Thread Majewski, Steven Dennis (sdm7g)
Oops. My error. 8082 is OAI port, not PUI. Not sure how far back OAI support was initially added. > On Nov 12, 2018, at 2:02 PM, Majewski, Steven Dennis (sdm7g) > wrote: > > > The default ports haven’t changed. > Blake transposed digits in his email to 8028, but the

Re: [Archivesspace_Users_Group] 2.5 install issue

2018-11-12 Thread Majewski, Steven Dennis (sdm7g)
The default ports haven’t changed. Blake transposed digits in his email to 8028, but the error message says 8082, which is the default port for public webapp. Default port numbers are in common/config/config-defaults.rb:

Re: [Archivesspace_Users_Group] Error when trying to add Event Type

2018-10-29 Thread Majewski, Steven Dennis (sdm7g)
You could also try adding an enum value from the backend API and see if you get a more specific error message directly from the backend. — Steve Majewski > On Oct 29, 2018, at 12:20 PM, Majewski, Steven Dennis (sdm7g) > wrote: > > >> On Oct 29, 2018, at 11:07 AM

Re: [Archivesspace_Users_Group] Error when trying to add Event Type

2018-10-29 Thread Majewski, Steven Dennis (sdm7g)
> On Oct 29, 2018, at 11:07 AM, Busch, Ed wrote: > > Hi- > > Nothing showing up in the log regarding the create event type error. System > info report says the log level is set to debug. Any other ideas? > > Not sure if this is related, but I noticed that when I am logged as me (with >

Re: [Archivesspace_Users_Group] External ID

2018-09-21 Thread Majewski, Steven Dennis (sdm7g)
tried it without also having that feature enabled. — Steve Majewski > On Sep 21, 2018, at 2:23 PM, Majewski, Steven Dennis (sdm7g) > wrote: > > > AppConfig[:show_external_ids] = true > > will allow you to view and edit existing external ids in staff interface, but &

Re: [Archivesspace_Users_Group] External ID

2018-09-21 Thread Majewski, Steven Dennis (sdm7g)
AppConfig[:show_external_ids] = true will allow you to view and edit existing external ids in staff interface, but it doesn’t allow you to create them. Ours are added either from EAD import or via backend API. I had once forked changes in an older version to allow creating them from the

Re: [Archivesspace_Users_Group] Publish All workflows

2018-09-13 Thread Majewski, Steven Dennis (sdm7g)
Yes: I think publish/publish-all was a design error that has caused much confusion for users. First, “publish” is a verb that’s being used as an attribute. It should have been “public” . And the “publish all” button, which is a verb, just made if more confusing. In most cases, for most

Re: [Archivesspace_Users_Group] Moving AS to another server?

2018-09-12 Thread Majewski, Steven Dennis (sdm7g)
You should check the logs/archivesspace.out log file when you start server to see if it starts up without error. Error message from startup may more clearly point to the problem — error message from failed GET is already another step removed from the original problem. You might also look

Re: [Archivesspace_Users_Group] Questions about user accounts & permissions

2018-08-03 Thread Majewski, Steven Dennis (sdm7g)
I agree: the best thing in to change password and remove permissions. Although, I think it would be safe to delete a user who was not an editor/creator of any resources. The last time I tested it, deleting the user unlinked the agent records that would identify who made edits or changes. ( And

[Archivesspace_Users_Group] Finding Air Filing Title sort [was: Yale Library ASpace PUI Usability Testing Final Report + Results]

2018-08-02 Thread Majewski, Steven Dennis (sdm7g)
I usually agree with the notion that you shouldn’t try modifying resources directly in MySQL unless you know what you’re doing. That’s because, when you’re dealing with linked resources, you need to define some complicated views using multiple JOINs in MySQL to follow those linkages so that

Re: [Archivesspace_Users_Group] Customization of PUI

2018-07-19 Thread Majewski, Steven Dennis (sdm7g)
Yes. See: https://github.com/archivesspace/archivesspace/tree/master/public#main-navigation-menu and:

Re: [Archivesspace_Users_Group] Resource Template Issue

2018-07-13 Thread Majewski, Steven Dennis (sdm7g)
I believe there is an issue with the three states of the option ( true | false | nil ) using a two state indicator to change and display the setting. Initially the settings are nil. If you have ever turned them on and then off again, the setting will be false. Nil and false display the same in

Re: [Archivesspace_Users_Group] version string

2018-06-25 Thread Majewski, Steven Dennis (sdm7g)
curl to the root of the backend server ( port 8089 by default ) ( No authentication necessary for “/“ , so you don’t need login credentials. ) curl http://localhost:8089/ { "databaseProductName": "MySQL", "databaseProductVersion": "5.1.73", "ruby_version":

Re: [Archivesspace_Users_Group] Does the API endpoint for PDFs work?

2018-05-16 Thread Majewski, Steven Dennis (sdm7g)
struct the exact elements that this occurred on! ) If you are trying to script PDF production using the API, it may be better to export EAD and and run the other steps ( validation, as-ead-pdf.xsl stylesheet, FOP processor ) in the script that is calling the ASpace API. — Steve. > On Tue, May 15,

Re: [Archivesspace_Users_Group] Does the API endpoint for PDFs work?

2018-05-15 Thread Majewski, Steven Dennis (sdm7g)
Try exporting the EAD and validating. There are still some cases where it exports malformed XML in some cases where these is mixed content in a note. The staff PDF export, first exports EAD which then goes to the as-ead-pdf.xsl stylesheet and then to the FOP processor. Feeding badly formed XML

Re: [Archivesspace_Users_Group] Test server / production server ArchivesSpace question.

2018-05-01 Thread Majewski, Steven Dennis (sdm7g)
The mysqldump is sufficient to restore ArchivesSpace state. It will rebuild the solr indexes. That will take a bit longer, but I prefer to do a complete clean reindex when cloning production to test. ( There are a number of glitches where the first bit of advice is usually to trigger a

Re: [Archivesspace_Users_Group] Component Unique Identifiers

2018-04-12 Thread Majewski, Steven Dennis (sdm7g)
If I understand what you want correctly: Copy public/app/views/shared/_idbadge.html.erb into plugins/local/public/views/shared/ ( assuming local plugins are enabled ) and add a line to display result.identifier, for example: $ diff -U 6 public/app/views/shared/_idbadge.html.erb

Re: [Archivesspace_Users_Group] Finding Aid pdf's are blank post AS software update

2018-04-11 Thread Majewski, Steven Dennis (sdm7g)
It’s working for me in v2.3.2, but I believe it was also working in 2.3.1 as well. However, PDF generation in the staff webapp is dependent on the resource producing valid EAD that gets piped to XSLT-FO stylesheet, so if you are having problems, it’s a good idea to export EAD first and try to

Re: [Archivesspace_Users_Group] Configuring barcode digits?

2018-03-16 Thread Majewski, Steven Dennis (sdm7g)
The generate_accession_identifiers plugin is an example of how to load javascript conditionally for a particular controller and action. For your case, you probably want to catch the top_containers controller for new and edit actions.

Re: [Archivesspace_Users_Group] customizing PDF output for PUI

2018-03-16 Thread Majewski, Steven Dennis (sdm7g)
You are correct: The PDF generation from the staff and the public interfaces are different and use two completely different toolchains. Staff: Resource -> EAD -> xsl -> fop -> PDF Public: Resource -> HTML + CSS -> iText -> PDF For public code look at:

Re: [Archivesspace_Users_Group] error on v2.2.0 PUI print PDF: InvalidAuthenticityToken

2018-03-16 Thread Majewski, Steven Dennis (sdm7g)
8, at 5:46 PM, Majewski, Steven Dennis (sdm7g) > <sd...@virginia.edu> wrote: > > > Also discovered that PDF print thru SSL proxy does work in Firefox after > googling “authenticity token proxy ssl” > and seeing title of this Rails issue: > > CSRF protection preve

Re: [Archivesspace_Users_Group] Rails help for font-awesome classes ?

2018-02-21 Thread Majewski, Steven Dennis (sdm7g)
[mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org] On Behalf Of > Majewski, Steven Dennis (sdm7g) > Sent: Wednesday, February 21, 2018 11:07 AM > To: Archivesspace Users Group > <archivesspace_users_group@lyralists.lyrasis.org> > Subject: Re: [Archivesspace_Users_

Re: [Archivesspace_Users_Group] Rails help for font-awesome classes ?

2018-02-21 Thread Majewski, Steven Dennis (sdm7g)
l. > > --Bobbi > > From: archivesspace_users_group-boun...@lyralists.lyrasis.org > [mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org] On Behalf Of > Majewski, Steven Dennis (sdm7g) > Sent: Tuesday, February 20, 2018 7:22 PM > To: Archivesspace Users

[Archivesspace_Users_Group] Rails help for font-awesome classes ?

2018-02-20 Thread Majewski, Steven Dennis (sdm7g)
I expect that this has something to do with how stylesheet assets are compiled in Rails, but can anyone explain it to me ? Running in development mode, testing changes to digital object views with IIIF plugin, I noticed I was not seeing the font-awesome icon for the 'fa-file-image-o’ class

  1   2   >