harvard-library / aspace-import-excel

Import resources, archival objects, etc. into ArchivesSpace using Excel spreadsheet files
Apache License 2.0
43 stars 10 forks source link

please help with install issue #46

Closed gdfarr closed 5 years ago

gdfarr commented 5 years ago

Hi Bobbi,

I attempted to install your aspace-import-excel plugin on a windows platform, using version 2.1.1 ... I am operating with 2.5 version of ASpace. Unfortunately, after what I thought was a success in running the initialize-plugin.bat script and getting confirmation that 4 gems were installed, there still seems to be an obstacle in getting ASpace back online. The server message I received was:

Bundler could not find compatible versions for gem "bundler": In Gemfile: rails (= 5.0.1) java was resolved to 5.0.1, which depends on bundler (< 2.0, >= 1.3.0) java Current Bundler version: bundler (2.0.1) This Gemfile requires a different version of Bundler. Perhaps you need to update Bundler by running gem install bundler? Could not find gem 'bundler (< 2.0, >= 1.3.0)', which is required by gem 'rails (= 5.0.1)', in any of the sources. from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/resolver.rb:56:in start' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/resolver.rb:22:inresolve' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:258:in resolve' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:170:inspecs' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:237:in specs_for' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:226:inrequested_specs' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/runtime.rb:108:in block in requested_specs' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/runtime.rb:20:insetup' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler.rb:107:in setup' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/setup.rb:20:in

' from org/jruby/RubyKernel.java:961:in require' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1:in(root)' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernelrequire.rb:133:in <main>' from org/jruby/RubyKernel.java:961:inrequire' from C:/archivesspace/data/tmp/jetty-0.0.0.0-8080-frontend.war--any-/webapp/WEB-INF/config/boot.rb:10:in (root)' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1:in(root)' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in require' from uri:classloader:/jruby/rack/rails/environment3.rb:23:in
' from C:\archivesspace\launcher\launcher.rb:92:in start_server' from C:\archivesspace\launcher\launcher.rb:168:inmain' from C:\archivesspace\launcher\launcher.rb:261:in `
'

You're seeing this error because you use JRuby::Rack::ErrorApp::ShowStatus

Could you possibly help me get this issue resolved?

Many thanks in advance, Greg

Gregory D. Farr

Archivist

Episcopal Church in Connecticut

The Commons

290 Pratt Street | Box 52 | Meriden CT 06450 p 203-639-3501 x135

f 203-235-1008 gfarr@episcopalct.org

bobbi-SMR commented 5 years ago

Hi, Greg,

I'm a little hampered by the fact that I don't have a Windows version of Aspace to experiment with.

We're looking into the possibility that the fact that the Bundler team has released a new version of Bundler (https://bundler.io/blog/2019/01/03/announcing-bundler-2.html) may be causing a problem, and we're trying to figure out a way to resolve this.

Stay tuned! I'm sorry about the delay.

pobocks commented 5 years ago

Hi Greg,

Would you try installing this version of the plugin: https://github.com/harvard-library/aspace-import-excel/archive/issue_46.zip

And letting me know if you have the same problem?

gdfarr commented 5 years ago

Thank you! Am on the road today but will try it out later today. Much appreciated! Best regards, Greg

Get Outlook for iOShttps://aka.ms/o0ukef


From: pobocks notifications@github.com Sent: Wednesday, January 9, 2019 12:27 PM To: harvard-library/aspace-import-excel Cc: Gregory D. Farr; Author Subject: Re: [harvard-library/aspace-import-excel] please help with install issue (#46)

Hi Greg,

Would you try installing this version of the plugin: https://github.com/harvard-library/aspace-import-excel/archive/issue_46.ziphttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Farchive%2Fissue_46.zip&data=02%7C01%7C%7C6b5bcdfeedaf407b26a808d67657bde0%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636826516557064406&sdata=TVoA%2BOUmNqPl0vuRnNAj3aYoj77dzcc77SrFWbRx0gk%3D&reserved=0

And letting me know if you have the same problem?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F46%23issuecomment-452775504&data=02%7C01%7C%7C6b5bcdfeedaf407b26a808d67657bde0%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636826516557074420&sdata=a5EWoCs9ikmhw%2BSIG6lkSOuPmytHF3tV5pqcRWpd7oE%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAsWYMj6IPoF8N8kTFEg1ibHsWcA2DYAeks5vBiaEgaJpZM4Z2X3v&data=02%7C01%7C%7C6b5bcdfeedaf407b26a808d67657bde0%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636826516557074420&sdata=j1V8exvEAJTeBGHZCvFfGzgE3qKFTLGtsR%2FO0CZ1g%2FA%3D&reserved=0.

gdfarr commented 5 years ago

Good morning,

Thanks again for responding to my posted issue. I did try installing the plugin version that you provided. I seem to be successfully initializing the plugin, but apparently the gem bundler package that I am receiving is not compatible?

Here again is the browser error message (500) that returns:

Bundler could not find compatible versions for gem "bundler": In Gemfile: rails (= 5.0.1) java was resolved to 5.0.1, which depends on bundler (< 2.0, >= 1.3.0) java Current Bundler version: bundler (2.0.1) This Gemfile requires a different version of Bundler. Perhaps you need to update Bundler by running gem install bundler? Could not find gem 'bundler (< 2.0, >= 1.3.0)', which is required by gem 'rails (= 5.0.1)', in any of the sources. from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/resolver.rb:56:in start' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/resolver.rb:22:inresolve' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:258:in resolve' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:170:inspecs' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:237:in specs_for' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:226:inrequested_specs' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/runtime.rb:108:in block in requested_specs' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/runtime.rb:20:insetup' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler.rb:107:in setup' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/setup.rb:20:in

' from org/jruby/RubyKernel.java:961:in require' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1:in(root)' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernelrequire.rb:133:in <main>' from org/jruby/RubyKernel.java:961:inrequire' from C:/archivesspace/data/tmp/jetty-0.0.0.0-8080-frontend.war--any-/webapp/WEB-INF/config/boot.rb:10:in (root)' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1:in(root)' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in require' from uri:classloader:/jruby/rack/rails/environment3.rb:23:in
' from C:\archivesspace\launcher\launcher.rb:92:in start_server' from C:\archivesspace\launcher\launcher.rb:168:inmain' from C:\archivesspace\launcher\launcher.rb:261:in `
' You're seeing this error because you use JRuby::Rack::ErrorApp::ShowStatus.

I still am at a loss and looking forward to somehow resolve this issue. I have used Bobbi’s import plugin in the past with earlier versions, and saved much time and effort in my workflow … thanks for this of course, and I would be appreciative of any other possible solutions to get my ASpace up and running with this feature included.

Best regards, Greg

Gregory D. Farr Archivist

[signature_458563074]Episcopal Church in Connecticut The Commons 290 Pratt Street | Box 52 | Meriden CT 06450 p 203-639-3501 x135 f 203-235-1008 gfarr@episcopalct.org www.epicscopalct.orghttp://www.epicscopalct.org

CONFIDENTIALITY NOTICE: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.

From: pobocks notifications@github.com Reply-To: harvard-library/aspace-import-excel reply@reply.github.com Date: Wednesday, January 9, 2019 at 12:27 PM To: harvard-library/aspace-import-excel aspace-import-excel@noreply.github.com Cc: "Gregory D. Farr" gfarr@episcopalct.org, Author author@noreply.github.com Subject: Re: [harvard-library/aspace-import-excel] please help with install issue (#46)

Hi Greg,

Would you try installing this version of the plugin: https://github.com/harvard-library/aspace-import-excel/archive/issue_46.ziphttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Farchive%2Fissue_46.zip&data=02%7C01%7C%7C6b5bcdfeedaf407b26a808d67657bde0%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636826516557064406&sdata=TVoA%2BOUmNqPl0vuRnNAj3aYoj77dzcc77SrFWbRx0gk%3D&reserved=0

And letting me know if you have the same problem?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F46%23issuecomment-452775504&data=02%7C01%7C%7C6b5bcdfeedaf407b26a808d67657bde0%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636826516557074420&sdata=a5EWoCs9ikmhw%2BSIG6lkSOuPmytHF3tV5pqcRWpd7oE%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAsWYMj6IPoF8N8kTFEg1ibHsWcA2DYAeks5vBiaEgaJpZM4Z2X3v&data=02%7C01%7C%7C6b5bcdfeedaf407b26a808d67657bde0%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636826516557074420&sdata=j1V8exvEAJTeBGHZCvFfGzgE3qKFTLGtsR%2FO0CZ1g%2FA%3D&reserved=0.

bobbi-SMR commented 5 years ago

Hi, Greg,

Would you attach the Gemfile.lock file that should be directly under the \aspace-import-excel\ folder? Thanks

gdfarr commented 5 years ago

Hi Bobbi,

I’m attaching both gemfiles … hoping at least one is correct 😊

Gregory D. Farr Archivist

[signature_1874363614]Episcopal Church in Connecticut The Commons 290 Pratt Street | Box 52 | Meriden CT 06450 p 203-639-3501 x135 f 203-235-1008 gfarr@episcopalct.org www.epicscopalct.orghttp://www.epicscopalct.org

CONFIDENTIALITY NOTICE: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.

From: "Bobbi Fox, Secret Master of Repurposing" notifications@github.com Reply-To: harvard-library/aspace-import-excel reply@reply.github.com Date: Thursday, January 10, 2019 at 9:35 AM To: harvard-library/aspace-import-excel aspace-import-excel@noreply.github.com Cc: "Gregory D. Farr" gfarr@episcopalct.org, Author author@noreply.github.com Subject: Re: [harvard-library/aspace-import-excel] please help with install issue (#46)

Hi, Greg,

Would you attach the Gemfile.lock file that should be directly under the \aspace-import-excel\ folder? Thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F46%23issuecomment-453116478&data=02%7C01%7C%7Cf9967ab47a8644ab31e708d67708d791%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636827277206769620&sdata=h%2BUr83w3EamLvESM7QFuiqFn0MGDVJgb3yJHddKNvZ0%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAsWYMtxSAYzOVI-F9ONmvrn2Huj_s5oqks5vB0-lgaJpZM4Z2X3v&data=02%7C01%7C%7Cf9967ab47a8644ab31e708d67708d791%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636827277206779625&sdata=H%2Fi452Si4VCNk%2FHn4vdtjk4Vx%2BPjOU6YfbMWIOym7dE%3D&reserved=0.

bobbi-SMR commented 5 years ago

Hi, Greg,

I looked at the Gemfile.lock file you sent me, and it doesn't look like the one we expected to see. Please confirm that you performed (or re-perform) the following steps:

  1. Delete the plugins\aspace-import-excel folder
  2. Download the zip file at https://github.com/harvard-library/aspace-import-excel/archive/issue_46.zip
  3. Extract the zip file into \plugins, then rename the folder from aspace-import-excel-issue_46 to aspace-import-excel
  4. run the initialize-plugins script.

After that, we would expect the Gemfile.lock to look exactly like https://github.com/harvard-library/aspace-import-excel/blob/issue_46/Gemfile.lock , which isn't what you sent me.

I'm going to be off-line for a few hours, but my colleague @pobocks will be monitoring the situation.

Sorry this is such a hassle.

gdfarr commented 5 years ago

Hi Bobbi,

Here is the gemfile.lock output that I have after re-install along the outlined steps below.

Thanks! Greg

Gregory D. Farr Archivist

[signature_1819214048]Episcopal Church in Connecticut The Commons 290 Pratt Street | Box 52 | Meriden CT 06450 p 203-639-3501 x135 f 203-235-1008 gfarr@episcopalct.org www.epicscopalct.orghttp://www.epicscopalct.org

CONFIDENTIALITY NOTICE: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.

From: "Bobbi Fox, Secret Master of Repurposing" notifications@github.com Reply-To: harvard-library/aspace-import-excel reply@reply.github.com Date: Thursday, January 10, 2019 at 10:26 AM To: harvard-library/aspace-import-excel aspace-import-excel@noreply.github.com Cc: "Gregory D. Farr" gfarr@episcopalct.org, Author author@noreply.github.com Subject: Re: [harvard-library/aspace-import-excel] please help with install issue (#46)

Hi, Greg,

I looked at the Gemfile.lock file you sent me, and it doesn't look like the one we expected to see. Please confirm that you performed (or re-perform) the following steps:

  1. Delete the plugins\aspace-import-excel folder
  2. Download the zip file at https://github.com/harvard-library/aspace-import-excel/archive/issue_46.ziphttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Farchive%2Fissue_46.zip&data=02%7C01%7C%7Cb07980c7917e497a2f6d08d6770ff1b1%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636827307716418436&sdata=VGZFBf%2BEBDYhrGeS632GnxdQEdkC2QNyBC17AYuRYhM%3D&reserved=0
  3. Extract the zip file into \plugins, then rename the folder from aspace-import-excel-issue_46 to aspace-import-excel
  4. run the initialize-plugins script.

After that, we would expect the Gemfile.lock to look exactly like https://github.com/harvard-library/aspace-import-excel/blob/issue_46/Gemfile.lockhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fblob%2Fissue_46%2FGemfile.lock&data=02%7C01%7C%7Cb07980c7917e497a2f6d08d6770ff1b1%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636827307716428441&sdata=xDpF45yL55KzKbQPw0enYesZ3dzx4zmMMLu6y5BMLIA%3D&reserved=0 , which isn't what you sent me.

I'm going to be off-line for a few hours, but my colleague @pobockshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpobocks&data=02%7C01%7C%7Cb07980c7917e497a2f6d08d6770ff1b1%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636827307716428441&sdata=Hgxf9yE40M3ZtXcwzggftvh6eJR6DvV%2BDsP2YL9LBWg%3D&reserved=0 will be monitoring the situation.

Sorry this is such a hassle.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F46%23issuecomment-453135036&data=02%7C01%7C%7Cb07980c7917e497a2f6d08d6770ff1b1%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636827307716438445&sdata=wb9vGwcNGLJh0ETZynG6o%2BzRN1C52KdG8MkPeywi0Io%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAsWYMo-eXN0GqR1Gr_LmHYQ9eK9bVAejks5vB1uMgaJpZM4Z2X3v&data=02%7C01%7C%7Cb07980c7917e497a2f6d08d6770ff1b1%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636827307716438445&sdata=sq%2FPmNwm08MUPaMVSW0hft66RQdaXRLFMCzY1pwsLEk%3D&reserved=0.

bobbi-SMR commented 5 years ago

Hi, Greg,

You'll have to email it to my address, since it seems attachments don't come through when you send email through GitHub. Or go to this issue in GitHub, and attach or copy/paste there.

pobocks commented 5 years ago

Hey, could you try deleting the plugin entirely and using the one from the zip-file, one more time, verifying:

GEM
  remote: http://rubygems.org/
  specs:
    mini_portile2 (2.4.0)
    nokogiri (1.10.0)
      mini_portile2 (~> 2.4.0)
    rubyXL (3.3.29)
      nokogiri (>= 1.4.4)
      rubyzip (>= 1.1.6)
    rubyzip (1.2.2)

PLATFORMS
  ruby

DEPENDENCIES
  rubyXL (= 3.3.29)

BUNDLED WITH
   1.17.1
gdfarr commented 5 years ago

Yes, that is what it looks like BEFORE the install. Do you want me to try to run install again?

Gregory D. Farr Archivist

[signature_1749231538]Episcopal Church in Connecticut The Commons 290 Pratt Street | Box 52 | Meriden CT 06450 p 203-639-3501 x135 f 203-235-1008 gfarr@episcopalct.org www.epicscopalct.orghttp://www.epicscopalct.org

CONFIDENTIALITY NOTICE: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.

From: pobocks notifications@github.com Reply-To: harvard-library/aspace-import-excel reply@reply.github.com Date: Monday, January 14, 2019 at 1:08 PM To: harvard-library/aspace-import-excel aspace-import-excel@noreply.github.com Cc: "Gregory D. Farr" gfarr@episcopalct.org, Author author@noreply.github.com Subject: Re: [harvard-library/aspace-import-excel] please help with install issue (#46)

Hey, could you try deleting the plugin entirely and using the one from the zip-file, one more time, verifying:

GEM

remote: http://rubygems.org/

specs:

mini_portile2 (2.4.0)

nokogiri (1.10.0)

  mini_portile2 (~> 2.4.0)

rubyXL (3.3.29)

  nokogiri (>= 1.4.4)

  rubyzip (>= 1.1.6)

rubyzip (1.2.2)

PLATFORMS

ruby

DEPENDENCIES

rubyXL (= 3.3.29)

BUNDLED WITH

1.17.1

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F46%23issuecomment-454103658&data=02%7C01%7C%7C6366b72a064d451dc70b08d67a4b50ee%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636830861255800520&sdata=et3XzoLuYYl6KncZpCH6Kwh%2FcJV9GH1j6Mohe652JD8%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAsWYMtqm_m1TY8WKgfy65B0hCooI3KU5ks5vDMepgaJpZM4Z2X3v&data=02%7C01%7C%7C6366b72a064d451dc70b08d67a4b50ee%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636830861255800520&sdata=mUXDNDOo2LDFcTjkV7gL9ph2U4KFWe%2FjgZDG5mwEBno%3D&reserved=0.

pobocks commented 5 years ago

Yes please.

gdfarr commented 5 years ago

This is what the gemfile lock file looks after running script initial-plugin.bat aspace-import-excel :

GEM remote: http://rubygems.org/ specs: mini_portile2 (2.4.0) nokogiri (1.10.0) mini_portile2 (~> 2.4.0) nokogiri (1.10.0-java) rubyXL (3.3.29) nokogiri (>= 1.4.4) rubyzip (>= 1.1.6) rubyzip (1.2.2)

PLATFORMS java ruby

DEPENDENCIES rubyXL (= 3.3.29)

BUNDLED WITH 2.0.1

After re-starting service upon changing config file to recognize plugin directory ‘aspace-import-excel’ the following message appears n browser for staff-interface side (PUI remains unchanged and is operating as it should):

Internal Server Error (500) Request Method:

GET

Request URL:

http://ecct6:8080/

Bundler could not find compatible versions for gem "bundler": In Gemfile: rails (= 5.0.1) java was resolved to 5.0.1, which depends on bundler (< 2.0, >= 1.3.0) java Current Bundler version: bundler (2.0.1) This Gemfile requires a different version of Bundler. Perhaps you need to update Bundler by running gem install bundler? Could not find gem 'bundler (< 2.0, >= 1.3.0)', which is required by gem 'rails (= 5.0.1)', in any of the sources. from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/resolver.rb:56:in start' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/resolver.rb:22:inresolve' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:258:in resolve' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:170:inspecs' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:237:in specs_for' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/definition.rb:226:inrequested_specs' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/runtime.rb:108:in block in requested_specs' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/runtime.rb:20:insetup' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler.rb:107:in setup' from C:/archivesspace/plugins/aspace-import-excel/gems/gems/bundler-2.0.1/lib/bundler/setup.rb:20:in

' from org/jruby/RubyKernel.java:961:in require' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1:in(root)' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernelrequire.rb:133:in <main>' from org/jruby/RubyKernel.java:961:inrequire' from C:/archivesspace/data/tmp/jetty-0.0.0.0-8080-frontend.war--any-/webapp/WEB-INF/config/boot.rb:10:in (root)' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1:in(root)' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in require' from uri:classloader:/jruby/rack/rails/environment3.rb:23:in
' from C:\archivesspace\launcher\launcher.rb:92:in start_server' from C:\archivesspace\launcher\launcher.rb:168:inmain' from C:\archivesspace\launcher\launcher.rb:261:in `
' You're seeing this error because you use JRuby::Rack::ErrorApp::ShowStatus.

Gregory D. Farr Archivist

[signature_2122779005]Episcopal Church in Connecticut The Commons 290 Pratt Street | Box 52 | Meriden CT 06450 p 203-639-3501 x135 f 203-235-1008 gfarr@episcopalct.org www.epicscopalct.orghttp://www.epicscopalct.org

CONFIDENTIALITY NOTICE: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.

From: pobocks notifications@github.com Reply-To: harvard-library/aspace-import-excel reply@reply.github.com Date: Monday, January 14, 2019 at 1:22 PM To: harvard-library/aspace-import-excel aspace-import-excel@noreply.github.com Cc: "Gregory D. Farr" gfarr@episcopalct.org, Author author@noreply.github.com Subject: Re: [harvard-library/aspace-import-excel] please help with install issue (#46)

Yes please.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F46%23issuecomment-454107791&data=02%7C01%7C%7C922654f25dc148668afe08d67a4d46d9%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636830869659336162&sdata=lg3pBWgNMrpErCniRbGecYIafSMEtoHxcuvK1KTSDi0%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAsWYMqfcNe9zn7HxR35TYzVjvIwsDc8wks5vDMrVgaJpZM4Z2X3v&data=02%7C01%7C%7C922654f25dc148668afe08d67a4d46d9%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636830869659336162&sdata=3NtCpMEM%2FJP%2BM4pXPdr9PbSmZdBhYaNFRgTge7XktiU%3D&reserved=0.

bobbi-SMR commented 5 years ago

Hi,

If you're on the archivesspace-users mailing list, you will already have seen that we don't know (yet) how to fix this problem; I'm sorry for the delay. It seems that the new Bundler release isn't Playing Well With Others, despite their original assurances. We're in touch with lyrasis about this, as a fix may need to "come from the top" (we suspect that initializing any plugin with a Gemfile will have this problem! :-(

pobocks commented 5 years ago

See also #47

bobbi-SMR commented 5 years ago

Hi, Greg,

I may have a solution to installing aspace-import-excel on Windows. Would you be willing to spend a little experimenting with me?

If so, I have a script to confirm what your bundler version (in the core ArchivesSpace), then, if it looks good, a modified initialize-plugin script, which I, at least, have been able to use to successfully install it on my local Windows repo.

gdfarr commented 5 years ago

Yes, sure … I will try 😊

Gregory D. Farr Archivist

[signature_408208633]Episcopal Church in Connecticut The Commons 290 Pratt Street | Box 52 | Meriden CT 06450 p 203-639-3501 x135 f 203-235-1008 gfarr@episcopalct.org www.epicscopalct.orghttp://www.epicscopalct.org

CONFIDENTIALITY NOTICE: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.

From: "Bobbi Fox, Secret Master of Repurposing" notifications@github.com Reply-To: harvard-library/aspace-import-excel reply@reply.github.com Date: Tuesday, January 15, 2019 at 1:24 PM To: harvard-library/aspace-import-excel aspace-import-excel@noreply.github.com Cc: "Gregory D. Farr" gfarr@episcopalct.org, Author author@noreply.github.com Subject: Re: [harvard-library/aspace-import-excel] please help with install issue (#46)

Hi, Greg,

I may have a solution to installing aspace-import-excel on Windows. Would you be willing to spend a little experimenting with me?

If so, I have a script to confirm what your bundler version (in the core ArchivesSpace), then, if it looks good, a modified initialize-plugin script, which I, at least, have been able to use to successfully install it on my local Windows repo.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fharvard-library%2Faspace-import-excel%2Fissues%2F46%23issuecomment-454497918&data=02%7C01%7C%7C2c1d892e3b0f4c4118d908d67b16b786%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636831734841777426&sdata=LnakPmayEnbcXYwd7yxxePUtEt4qGXfmdqdEnM6ngy8%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAsWYMiRkv_njsc1w-FyFquJku0vaPrYTks5vDhzpgaJpZM4Z2X3v&data=02%7C01%7C%7C2c1d892e3b0f4c4118d908d67b16b786%7C9d4bfc60ada744c2bfbf8c80817d5cbc%7C0%7C0%7C636831734841777426&sdata=tz8bGF3rcs%2BLFpi3QRPRPKHhbH3MrmP%2Bh0wbNRQ%2B00c%3D&reserved=0.

bobbi-SMR commented 5 years ago

I'm emailing the two scripts to you.

bobbi-SMR commented 5 years ago

Ok,
We solved Greg's problem by a combination of the issue_46 branch, which will be incorporated into a new release, and by using a modified \scripts\initialize-plugin.bat that replicates the bundler version detection that is found in scripts/initialize-plugin.sh

I had Greg delete the aspace-import-excel folder, and then unzip the _issue46 branch zip file.

After that, he ran the following script, which he had placed in the scripts folder. @lorawoodford, I'm not sure how to get this into the distribution; I'm thinking that I should add an etc/ directory to my repo with extensive directions on its use until it gets absorbed into the core base.

Here's modified_initialize-plugin.bat

@echo off 

SETLOCAL ENABLEDELAYEDEXPANSION

cd /d %~dp0..\plugins\%1

for /d %%a in (..\..\gems\gems\bundler-*) do set bnm=%%a
for /f "tokens=1* delims=-" %%a in ("%bnm%") do set vers=%%b
echo %vers%

set JRUBY=
FOR /D %%c IN (..\..\gems\gems\jruby-*) DO (
  set JRUBY=!JRUBY!;%%c\lib\*
)

set GEM_HOME=gems
java %JAVA_OPTS% -cp "..\..\lib\*!JRUBY!" org.jruby.Main -S gem install bundler -v "%vers%"
java %JAVA_OPTS% -cp "..\..\lib\*!JRUBY!" org.jruby.Main -S ..\..\gems\bin\bundle install --gemfile=Gemfile
bobbi-SMR commented 5 years ago

Addressed in Release v2.1.18.

In addition, a Pull Request was made against core ArchivesSpace code to fix the problem at the source.