Re: [Archivesspace_Users_Group] EAD import error - indicator mismatch

2017-01-24 Thread Majewski, Steven Dennis (sdm7g)
I was getting that error on 1.5.2 migration ( see other email thread ) and that one turned out to be due to an erroneous duplicate barcode assigned to different containers with different indicators. In the other cases, where there were trailing spaces in one of the barcodes, the message was

Re: [Archivesspace_Users_Group] ArchivesSpace v1.5.3 released

2017-02-22 Thread Majewski, Steven Dennis (sdm7g)
VERY happy to see the slow EAD import problem in 1.5.1 has been fixed somewhere along the way to 1.5.3. It managed our largest 18MB finding aid with no problem. — Steve. On Feb 15, 2017, at 12:19 PM, Christine Di Bella >

Re: [Archivesspace_Users_Group] Redundant date expression issue

2017-02-09 Thread Majewski, Steven Dennis (sdm7g)
Try editing archivesspace/stylesheets/as-ead-pdf.xsl It looks like this template at the end is appending comma “,” and unitdate to the unit title in the first block, and then calling the unitdate template a second time in the next block. If you edit one of those out, it should produce what

Re: [Archivesspace_Users_Group] Enumerations Findings

2017-02-15 Thread Majewski, Steven Dennis (sdm7g)
90 Phone: 717-787-5953<tel:(717)%20787-5953> http://www.phmc.pa.gov<http://www.phmc.pa.gov/> sustasi...@pa.gov<mailto:sustasi...@pa.gov> From: archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> [mailto:archivesspa

Re: [Archivesspace_Users_Group] Enumerations Findings

2017-02-15 Thread Majewski, Steven Dennis (sdm7g)
sis.org] On Behalf Of Majewski, Steven Dennis (sdm7g) Sent: Wednesday, February 15, 2017 3:50 PM To: Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>> Subject: Re: [Archivesspace_Users_Group] Enumerations F

Re: [Archivesspace_Users_Group] Enumerations Findings

2017-02-15 Thread Majewski, Steven Dennis (sdm7g)
ug on January 17. On Wed, Feb 15, 2017 at 3:04 PM, Majewski, Steven Dennis (sdm7g) <sd...@eservices.virginia.edu<mailto:sd...@eservices.virginia.edu>> wrote: Yes, and the previous cases I’ve seen ( which have since been fixed ) have been where the document was origina

Re: [Archivesspace_Users_Group] XLink value question for DO Instance File Version

2017-02-15 Thread Majewski, Steven Dennis (sdm7g)
hivesspace_users_group-boun...@lyralists.lyrasis.org] On Behalf Of Majewski, Steven Dennis (sdm7g) Sent: Wednesday, February 15, 2017 4:01 PM To: Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>> Subject: Re: [Archives

Re: [Archivesspace_Users_Group] XLink value question for DO Instance File Version

2017-02-15 Thread Majewski, Steven Dennis (sdm7g)
Are they full http:|https: URLs ? ( I know there’s some code that, if there is no scheme in the URLs, assumes they are file: URLs and prepends that scheme. That, and some Windows specific backslash hacks should probably be redone. ) Can you give example of the URLs and maybe a screen shot ? —

[Archivesspace_Users_Group] JIRA issues cleanup ? [was: Enumerations Findings]

2017-02-15 Thread Majewski, Steven Dennis (sdm7g)
t;utf-8;> — Steve. On Feb 15, 2017, at 4:04 PM, Majewski, Steven Dennis (sdm7g) <sd...@eservices.virginia.edu<mailto:sd...@eservices.virginia.edu>> wrote: Yes, and the previous cases I’ve seen ( which have since been fixed ) have been where the document was originally pars

Re: [Archivesspace_Users_Group] Archivesspace bug fix AR-1421

2016-08-05 Thread Majewski, Steven Dennis (sdm7g)
If you click on that link to the pull request at the bottom of that JIRA report, and then click on ‘Files Changed’, you’ll get more context. The patch is to: backend/app/converters/lib/xml_sax.rb

Re: [Archivesspace_Users_Group] Archivesspace bug fix AR-1421

2016-08-05 Thread Majewski, Steven Dennis (sdm7g)
> On Aug 5, 2016, at 11:24 AM, Majewski, Steven (sdm7g) > wrote: > > > > If you click on that link to the pull request at the bottom of that JIRA > report, and then click on ‘Files Changed’, you’ll get more context. The patch > is to:

Re: [Archivesspace_Users_Group] authentication_sources -- LDAP/Active Directory (failure log)

2016-09-02 Thread Majewski, Steven Dennis (sdm7g)
We use LDAP/Active Directory for user information but not for user authentication. With ArchivesSpace LDAP Authentication configured, the initial (anonymous) bind to get user information works, but it fails on the 2nd authentication binding. The first request is either doing anonymous

Re: [Archivesspace_Users_Group] importing Finding Aids with DO links

2016-09-26 Thread Majewski, Steven Dennis (sdm7g)
, 2016, at 4:23 PM, Majewski, Steven Dennis (sdm7g) <sd...@eservices.virginia.edu<mailto:sd...@eservices.virginia.edu>> wrote: We’ve normalized and reprocessed to pull out text transcription into separate ’s and leave page images in a as this imports into ArchivesSpace as two sepa

[Archivesspace_Users_Group] duplicate 's in EAD export

2016-09-29 Thread Majewski, Steven Dennis (sdm7g)
I noticed that importing EAD with this accessrestrict element: http://www.w3.org/1999/xlink; xmlns:xtf="http://cdlib.org/xtf;>Access Restrictions The collection is without restrictions. Produces this in ArchivesSpace (1.5.1): * Conditions Governing Access

Re: [Archivesspace_Users_Group] unpublished ancestor message

2016-09-16 Thread Majewski, Steven Dennis (sdm7g)
Is the ancestor’s ancestors also publish: True ? Can you post the JSON from backend API /repositories/$REPO/resources/$ID/tree ? As to linking to the digital object in the finding aid, does it work better if you use a complete URL (scheme=http:) instead of just a filename ? — Steve

Re: [Archivesspace_Users_Group] duplicate 's in EAD export

2016-09-29 Thread Majewski, Steven Dennis (sdm7g)
edu<mailto:l...@umn.edu>> wrote: We definitely had lots of duplicate s appear when we imported our EADs here at the University of Minnesota Libraries. The pattern seemed to be that it only happened if there was any attributes inside the tag. On Thu, Sep 29, 2016 at 4:20 PM, Maje

Re: [Archivesspace_Users_Group] Alternative Way to Delete a Resource

2016-10-21 Thread Majewski, Steven Dennis (sdm7g)
After import, it may take a while for the new resources to be indexed and show up in resource browse — especially for importing a large batch. In the status page for the batch import job, on completion, it will show links at the bottom of the page for newly created resources so you can check

[Archivesspace_Users_Group] splitting containers encoded as box:folder

2016-11-16 Thread Majewski, Steven Dennis (sdm7g)
We have thousands of archival_objects where container type_1 is encoded as “box:folder” ( with some variation of case and punctuation ) and with the value encoded in a similar manner ( i.e. “1:1” ) This was our normal encoding practice in EAD. I have since added code to our pre-import

Re: [Archivesspace_Users_Group] In Search Of - XSLT to transform EAD export from ArchivesSpace into an HTML document

2016-11-01 Thread Majewski, Steven Dennis (sdm7g)
[1] There was a recent pull request that changes the default for :include_unpublished for print_to_pdf : https://github.com/archivesspace/archivesspace/pull/537 https://github.com/archivesspace/archivesspace/pull/537/commits/61ec4b06e2d6446d9a184d956d1d0983d6976458 [2] Look in

Re: [Archivesspace_Users_Group] public interface mods

2016-12-12 Thread Majewski, Steven Dennis (sdm7g)
[1] See the instructions at: https://github.com/archivesspace/archivesspace/blob/master/CUSTOMIZING_THEMING.md http://archivesspace.github.io/archivesspace/user/archivesspace-plug-ins-readme/ specifically the part about adding branding to the local plugins directory. The example in the first

Re: [Archivesspace_Users_Group] Indexer erroring in 1.5.2

2017-01-11 Thread Majewski, Steven Dennis (sdm7g)
After seeing this message, I tried 1.5.2 on my Mac (10.11.6) laptop and I’m also seeing the same undefined method `related_records' for nil:NilClass error, whether or not I do an intervening ( and successful, BTW ) update to 1.5.1. Reindexing never seems to progress and so browse resources

[Archivesspace_Users_Group] AS-102 : PDF export not only inclusive dates and include “Approximate,” “Inferred,” and “Questionable" labels

2016-12-01 Thread Majewski, Steven Dennis (sdm7g)
For some reason I appear to unable to add a comment to AS-102 in Jira, so posting it here: PDF export not only inclusive dates and include “Approximate,” “Inferred,” and “Questionable" labels https://archivesspace.atlassian.net/browse/AS-102 Although DACS model and ArchivesSpace

Re: [Archivesspace_Users_Group] LCNAF import plugin

2016-12-01 Thread Majewski, Steven Dennis (sdm7g)
LCNAFConverter is just overriding and extending MARCXMLConverter. https://github.com/archivesspace/archivesspace/blob/5e1ca66f1f04f142f2695024efb7200825046325/plugins/lcnaf/backend/model/lcnaf_converter.rb There is very little MARC mapping in that code module — it’s mostly in the base class, so

Re: [Archivesspace_Users_Group] Failure in periodic indexer worker thread

2017-03-29 Thread Majewski, Steven Dennis (sdm7g)
background sufficiently. ) — Steve. On Thu, Mar 16, 2017 at 1:10 PM, Majewski, Steven Dennis (sdm7g) <sd...@eservices.virginia.edu<mailto:sd...@eservices.virginia.edu>> wrote: I interpret that error message as saying that you are trying to assign the same barcode ( "Miami Unive

Re: [Archivesspace_Users_Group] Failure in periodic indexer worker thread

2017-03-29 Thread Majewski, Steven Dennis (sdm7g)
ease-webinar/ If you haven’t already, you should check it out, as it’s the easiest intro the what’s involved in the migration. ( I don’t think the upgrading docs in the distribution explain the terminology and background sufficiently. ) — Steve. On Thu, Mar 16, 2017 at 1:10 PM, Majewski, Steven D

[Archivesspace_Users_Group] public or public-new in 2.0 [was: ArchivesSpace Update - March 2017]

2017-03-24 Thread Majewski, Steven Dennis (sdm7g)
In the current code base, choosing to run public or public-new interface is a build option. Is the plan for the release to bundle both for side-by-side testing and evaluation, and allow turning one off in the config file, or will this still be a custom build option ? ( I’m suggesting the

Re: [Archivesspace_Users_Group] Failure in periodic indexer worker thread

2017-03-14 Thread Majewski, Steven Dennis (sdm7g)
Check for errors in the container conversion batch job log files. Does the indexer appear to keep trying to reindex the same records over and over ? See previous thread: http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/2017-January/004370.html — Steve Majewski On Mar 14,

Re: [Archivesspace_Users_Group] applying config.rb settings with Apache reverse proxy

2017-03-15 Thread Majewski, Steven Dennis (sdm7g)
Although there are instructions for running ArchivesSpace with a prefix, I don’t believe it’s fully supported or tested. I did try to configure this at one time, but abandoned it after running into problems with the asset pipeline URLs. If you do want to see this feature working, please vote

Re: [Archivesspace_Users_Group] batch update of container_profile assignments

2017-03-02 Thread Majewski, Steven Dennis (sdm7g)
I haven’t used that API endpoint, but for all of the ones that can take an array of values, for example accessing resources with id_set[] param, the URL syntax is something like: /repositories/3/resources?id_set[]=230_set[]=223_set[]=222 so for that endpoint, you probably want to append

Re: [Archivesspace_Users_Group] Former users and data loss

2017-03-08 Thread Majewski, Steven Dennis (sdm7g)
It appears to be a misfeature that deleting a user also deletes the agent record for that user, which is what the backend model for user does. I believe removing those last three lines would fix the problem:

Re: [Archivesspace_Users_Group] Report to count number of container types in a collection

2017-03-08 Thread Majewski, Steven Dennis (sdm7g)
Does ‘Download Container Labels' from the Export menu get the info you want ? — Steve. On Mar 8, 2017, at 2:13 PM, Kayla Skillin > wrote: Hello, At the City of Boston Archives, we recently accessioned a large record group that

Re: [Archivesspace_Users_Group] Limiting RAM usage by Java and AS

2017-03-07 Thread Majewski, Steven Dennis (sdm7g)
I haven’t had the need to change settings, but I believe you can set any of the java options in the archivesspace.{sh,bat} scripts. And it looks like you can also change the values with unix shell environment variables: if [ "$ASPACE_JAVA_XMX" = "" ]; then ASPACE_JAVA_XMX="-Xmx1024m" fi

Re: [Archivesspace_Users_Group] Processors ability to delete?

2017-03-07 Thread Majewski, Steven Dennis (sdm7g)
We’ve also run into this where people can create a resource, but can’t delete it if they make a mistake and want to start over, or just want to create a test object when learning. But in general, I think it’s a good idea to make deleting a record more privileged. Maybe a useful feature would

Re: [Archivesspace_Users_Group] Top containers as box-folder

2017-03-06 Thread Majewski, Steven Dennis (sdm7g)
We had this problem as well. See previous thread in mailing list: http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/2016-November/004238.html I believe it’s a lot easier to fix the problem in 1.4.2 before migration, where it can be done in MySQL, than to try to fix it

Re: [Archivesspace_Users_Group] Digital Object csv import: multiple file versions

2017-04-24 Thread Majewski, Steven Dennis (sdm7g)
I don’t believe you can do it with the CSV import. EAD import will treat multiple within as multiple file versions to one digital object. ( If you already have the resource those digital objects should be bound to in ArchivesSpace, there may be some cases where the easiest(*) thing to do is

[Archivesspace_Users_Group] RFC: EAD import/export: mapping multiple unitid's and external-id's

2017-04-24 Thread Majewski, Steven Dennis (sdm7g)
Request for comments: I’m testing a patch relating to these JIRA tickets: [AS-99] As an archivist, I would like to associate multiple identifiers with resources/objects and export it in EAD - JIRA [AR-1542] As an archivist, I would like to

Re: [Archivesspace_Users_Group] Python ArchivesSpace scripting library

2017-08-03 Thread Majewski, Steven Dennis (sdm7g)
+1 : I can contribute as well. -- Steve Majewski / UVA Alderman Library From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Seth Shaw Sent: Thursday, August

Re: [Archivesspace_Users_Group] overriding javascript via plugin

2017-04-25 Thread Majewski, Steven Dennis (sdm7g)
Your screenshot was dropped from your email, so I don’t know exactly what you want, but you can monkey patch ResourceRenderer methods and change or decorate output with something like this in your plugins/local/frontend/views/layout_head_html.erb: var controller = $('html head

Re: [Archivesspace_Users_Group] Subject Heading Plugin not working properly 1.4.2

2017-06-15 Thread Majewski, Steven Dennis (sdm7g)
It appears to be no longer working in any version. I believe loc has changed the API for the service slightly. Need to investigate further. But trying to reverse engineer the parameters from inspecting the difference in the params used in the web page search vs. what’s embedded in LCNAF

[Archivesspace_Users_Group] invalid EAD exported

2017-06-15 Thread Majewski, Steven Dennis (sdm7g)
FYI: I’ve been finding a number of cases of ArchivesSpace ( 2.x ) producing invalid EAD on export. In these cases, and element with a but no other content is produced. In a couple of cases, the cause was that a note was marked as published, but someone missed clicking publish on the sub

Re: [Archivesspace_Users_Group] Subject Heading Plugin not working properly 1.4.2

2017-06-16 Thread Majewski, Steven Dennis (sdm7g)
ams = default_params.merge('q' => [query.to_s, 'cs:' + @scheme], Sorry for the quick & wrong first answer! — Steve. On Jun 16, 2017, at 4:03 PM, Majewski, Steven Dennis (sdm7g) <sd...@eservices.virginia.edu<mailto:sd...@eservices.virginia.edu>> wrote: Although those changes seem to

Re: [Archivesspace_Users_Group] Subject Heading Plugin not working properly 1.4.2

2017-06-16 Thread Majewski, Steven Dennis (sdm7g)
Although those changes seem to fix the search, when I actually try importing either subject or agent records, I get an internal server error. This need more investigation. On Jun 16, 2017, at 3:12 PM, Majewski, Steven Dennis (sdm7g) <sd...@eservices.virginia.edu<mai

Re: [Archivesspace_Users_Group] Subject Heading Plugin not working properly 1.4.2

2017-06-16 Thread Majewski, Steven Dennis (sdm7g)
chivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>> on behalf of "Majewski, Steven Dennis (sdm7g)" <sd...@eservices.virginia.edu<mailto:sd...@eservices.virginia.edu>> Reply-To: Archivesspace Users

Re: [Archivesspace_Users_Group] Legacy Migration Question

2017-05-08 Thread Majewski, Steven Dennis (sdm7g)
( Please include version of ArchivesSpace you’re using: the export/import mappings have been getting quite a few revisions lately. ) Extent/container_summary does get exported as the text to EAD element. ( At least in latest version I tested. ) It appears that calendar and era are both

Re: [Archivesspace_Users_Group] Advice on Custom Theming

2017-09-21 Thread Majewski, Steven Dennis (sdm7g)
I believe you are running into Rails defaults before the ASpace plugins come into play. As I test, I added the line 'layout "custom"' to frontend/app/controllers/application_controller.rb. It will then use layouts/custom.html.erb, and that layout appears to work if that file is in either

Re: [Archivesspace_Users_Group] Customizing the Public Interface PDF

2017-08-30 Thread Majewski, Steven Dennis (sdm7g)
The public interface PDF generation appears to be a completely different method from the FOP/xsl based PDF generator in the staff interface. Staff PDF generation: EAD.xml + FOP.xsl -> FOP.xml + [fop-processor] -> PDF The public interface PDF generator is using Java libraries

Re: [Archivesspace_Users_Group] error message when trying to connect to the api

2017-09-07 Thread Majewski, Steven Dennis (sdm7g)
Errors in the log on startup ? -- Steve Majewski / UVA Alderman Library From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Eric Loehr Sent: Thursday, September

Re: [Archivesspace_Users_Group] error message when trying to connect to the api

2017-09-07 Thread Majewski, Steven Dennis (sdm7g)
It looks like that's the message you get if you curl to an unrouted path or misspell the backend path: curl_as_osx http://archives-test.$LIB:8089/xyzzy {"error":"Sinatra::NotFound"} -- Steve Majewski / UVA Alderman Library From:

Re: [Archivesspace_Users_Group] Staff EDIT links from PUI resources?

2017-09-07 Thread Majewski, Steven Dennis (sdm7g)
oun...@lyralists.lyrasis.org> on behalf of Majewski, Steven Dennis (sdm7g) <sd...@virginia.edu> Sent: Wednesday, September 6, 2017 12:19:03 PM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] Staff EDIT links from PUI resources? Are staff EDIT links from PUI resou

Re: [Archivesspace_Users_Group] Help with Upgrades

2017-09-07 Thread Majewski, Steven Dennis (sdm7g)
As a rule, I usually pick the last point release in a series as expected to be the least buggy. In this case, that would be 1.5.4and 2.1.2 . You can also look at the release notes for the point releases and see if any of the bug fixes seem significant or necessary. But when in doubt, I'ld

[Archivesspace_Users_Group] Staff EDIT links from PUI resources?

2017-09-06 Thread Majewski, Steven Dennis (sdm7g)
Are staff EDIT links from PUI resources working for anyone ( in 2.x ) ? They don't appear for me, and browser console shows javascript errors. >From this issue, it looks like there was a patch accepted, but issue not >resolved. https://archivesspace.atlassian.net/browse/AR-1785 -- Steve

Re: [Archivesspace_Users_Group] Looping indexer of death

2017-09-28 Thread Majewski, Steven Dennis (sdm7g)
Since the error is coming from the indexer calling JSONModel_client, which fetches data from the backend API, you should be able to identify which record is causing the fail by accessing from the backend API with scripts/curl_as I'm guessing that the archival_objects logged in that first line

Re: [Archivesspace_Users_Group] Running the (development) PUI on a separate server?

2017-09-29 Thread Majewski, Steven Dennis (sdm7g)
<archivesspace_users_group-boun...@lyralists.lyrasis.org> on behalf of Majewski, Steven Dennis (sdm7g) <sd...@virginia.edu> Sent: Friday, September 29, 2017 4:09:56 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Running the (development) PUI on a separate server? Oops: Sor

Re: [Archivesspace_Users_Group] Running the (development) PUI on a separate server?

2017-09-29 Thread Majewski, Steven Dennis (sdm7g)
I haven't tried it (yet) but I'm guessing that you just have to set AppConfig[:enable_*] for all but :enable_public to false, and redirect all of the "http://localhost:port; default settings for AppConfig[:*_url] to point to the remote counterparts. You might also need to set

Re: [Archivesspace_Users_Group] help requested with an error message - missing attribute

2017-08-21 Thread Majewski, Steven Dennis (sdm7g)
Also do a validation of the EAD in oxygen. ASpace will sometimes produce invalid EAD, often caused by glitches handling mixed content / markup in notes, or by mixed published/unpublished content producing empty or missing elements. Most of the errors exporting PDF that I've seen are caused by

Re: [Archivesspace_Users_Group] New version of aspace-import-excel, a plugin to support bulk loading of Archival Objects

2017-12-15 Thread Majewski, Steven Dennis (sdm7g)
Great news! Thanks. I just tried upgrading to 2.2.2 on our test server the other day, and server wouldn’t start until I edited the rubyzip version in the Gemfile. Will upgrade to the current version of the plugin — will make it easier to deploy. — Steve. > On Dec 15, 2017, at 11:01 AM,

Re: [Archivesspace_Users_Group] Splitting off one repository into a new database

2017-12-13 Thread Majewski, Steven Dennis (sdm7g)
I’ve never tried it, but I expect it would not be simple. If I had to do it, I would probably attempt to clone the existing database to a new instance, and then delete the other repositories and attached resources from the new instance staff interface. Alternatively, you could migrate to a

[Archivesspace_Users_Group] reports

2017-12-19 Thread Majewski, Steven Dennis (sdm7g)
Most of the reports in 2.x appear to be global. Is this intentional ? A lot of them, certainly for repository based resources like accessions, would be more useful for us if they were repository based. Agree/disagree ? — Steve Majewski smime.p7s Description: S/MIME cryptographic

Re: [Archivesspace_Users_Group] reports

2017-12-19 Thread Majewski, Steven Dennis (sdm7g)
customized? > > Thanks, > > Christie > > On Tue, Dec 19, 2017 at 2:01 PM Majewski, Steven Dennis (sdm7g) > <sd...@virginia.edu <mailto:sd...@virginia.edu>> wrote: > > Most of the reports in 2.x appear to be global. > Is this intentional ? > A lot of the

Re: [Archivesspace_Users_Group] Remove option from drop-down menu in PUI search bar

2017-11-20 Thread Majewski, Steven Dennis (sdm7g)
I don’t believe that is something that can be configured with a :pui_hide option. That form control is generated by this partial: https://github.com/archivesspace/archivesspace/blob/master/public/app/views/shared/_search.html.erb#L24-L28 <% if i == 0 %> <%=

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

2017-11-07 Thread Majewski, Steven Dennis (sdm7g)
I’m getting errors from the PUI in v2.2.0 when I try to print PDF on our production server. I’m not getting these errors from a slightly more recent build from master on our test server. Test server is running backend, frontend and production on the same hostname with different ports,

Re: [Archivesspace_Users_Group] Error when adding container type to controlled value list

2017-11-08 Thread Majewski, Steven Dennis (sdm7g)
Any MySQL errors in the log file when this occurred ? That message would appear to have come from this line: https://github.com/archivesspace/archivesspace/blob/master/frontend/app/controllers/enumerations_controller.rb#L136 so my guess is some error on the save. Logs should have more

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] 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] 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] LCNAF mapping -- AuthorityID & Sort Name

2018-01-09 Thread Majewski, Steven Dennis (sdm7g)
I don’t think the URI should be stored as a separate field in the DB ( in names_* tables ). Presumably, the resolver URL part of the string is linked to the source, so it should probably be linked to the source and concatenated with UUID to make a URI for display. If the resolver for a source

Re: [Archivesspace_Users_Group] ArchivesSpace spreadsheet import plugin

2018-01-16 Thread Majewski, Steven Dennis (sdm7g)
Using it with v2.2.2 with CentOS 6.9. But I had to manually fix the Gemfile dependency issue by removing the version number for ‘pry’ : https://github.com/harvard-library/aspace-import-excel/issues/18 But if GEM

Re: [Archivesspace_Users_Group] ArchivesSpace spreadsheet import plugin

2018-01-16 Thread Majewski, Steven Dennis (sdm7g)
release fixed that. > > We aren’t using CentOS, so I can’t speak to Jessika’s problems. > > Feel free to reach out to me directly to pursue either of these issues. > > Cheers, > Bobbi > > From: archivesspace_users_group-boun...@lyralists.lyrasis.org > [mailto:ar

Re: [Archivesspace_Users_Group] Overriding/Extending the new public interface in 2.2.0

2018-01-29 Thread Majewski, Steven Dennis (sdm7g)
sers_group-boun...@lyralists.lyrasis.org > <archivesspace_users_group-boun...@lyralists.lyrasis.org> on behalf of > Majewski, Steven Dennis (sdm7g) <sd...@virginia.edu> > Sent: Thursday, December 21, 2017 4:40:29 PM > To: Archivesspace Users Group > Subject: Re: [Ar

Re: [Archivesspace_Users_Group] API queries for library discovery interface question

2018-02-14 Thread Majewski, Steven Dennis (sdm7g)
It looks like your example got a little mangled along the way: I assume what’s between the “<…>” doesn’t belong. But the ‘-H’ switch sends “q:java” as a HTTP header, not as a search param, so with a null query string, you are asking for everything. Try maybe:

[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

[Archivesspace_Users_Group] http://public.archivesspace.org public sandbox appears to be down

2018-02-20 Thread Majewski, Steven Dennis (sdm7g)
The public sandbox at http://public.archivesspace.org appears to be down or non-responsive. smime.p7s Description: S/MIME cryptographic signature ___ Archivesspace_Users_Group mailing list

[Archivesspace_Users_Group] are user_defined fields indexed ?

2018-02-20 Thread Majewski, Steven Dennis (sdm7g)
Are user_defined fields indexed ? I added a boolean value as a test, and I don’t see any fields in the solr query console that might represent that value. user_defined values are stuffed into the response.docs[].json in the search docs, but how would one search for resources by user_defined

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

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_

[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] 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

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] error on v2.2.0 PUI print PDF: InvalidAuthenticityToken

2018-01-23 Thread Majewski, Steven Dennis (sdm7g)
ng all of the headers thru proxy. https://github.com/rails/rails/issues/22965 <https://github.com/rails/rails/issues/22965> — Steve M. > On Jan 23, 2018, at 5:15 PM, Majewski, Steven Dennis (sdm7g) > <sd...@virginia.edu> wrote: > > > Thanks. Yes: I’m still se

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

2018-01-23 Thread Majewski, Steven Dennis (sdm7g)
Thanks. Yes: I’m still seeing the problem. No: no solution so far. The fact that I was only seeing it on production limited my ability to debug. Now that you’ve found it’s linked to SSL proxy, I will try to set up test machines to reproduce the problem. — Steve. > On Jan 23, 2018, at

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] 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] 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] 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] 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 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] 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] 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] 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] 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] 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] # 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] 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] 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] 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] 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

  1   2   >