omeka-s-modules / DspaceConnector

Connect to / import from a Dspace repo into Omeka S
GNU General Public License v3.0
1 stars 3 forks source link

Give DspaceConnector an initial run-through #8

Closed patrickmj closed 9 years ago

patrickmj commented 9 years ago

DspaceConnector could get some more eyes on it.

Should be able to just clone this repo into the modules directory. Then install from the Modules page.

Mars http://mars.gmu.edu should work as a good Dspace site URL to play around with.

mebrett commented 9 years ago

Didn't work on a local install (never got beyond starting the job) but ran very smoothly on an install on dev.omeka

patrickmj commented 9 years ago

thanks ... it's possible that's a result of some changes since yesterday to both omeka s core and the module that I put in today, but something still smells fishy. It's sometimes hard to dig up errors that happen in jobs.

zerocrates commented 9 years ago

The most common problems at the "starting" stage for jobs are us just not being able to "guess" the PHP path (or the PHP CLI simply not being installed, but that's fairly unlikely here since you need it to run Composer)

mebrett commented 9 years ago

I can try it again if you like - I was using the zip of core in both cases, but in one the latest instance of the connector on dev (this morning, vs. yesterday with the local)

patrickmj commented 9 years ago

So, we'll have to back up a bit. 1) the zip doesn't reflect the changes I mentioned, so the current module is now out of sync with it. 2) the shared testing environment doesn't look like it is on PHP 5.5 yet. 3) it looks like, in the shared environment, there are changes to the ant build script, so I'm hesitant to try running it again.

Upshot -- to test the current module, we'll have to get everything synced back up again, and do what John says of figuring out the path if it is in another environment.

mebrett commented 9 years ago

I will hold off any further testing until Monday in that case.

patrickmj commented 9 years ago

if it worked in one environment, feedback on the process from there might still be useful

patrickmj commented 9 years ago

Just noting -- some changes to core will call for some changes to the module. So if we keep everything in sync I'll have to update this before it should be expected to work at all.

patrickmj commented 9 years ago

@mebrett pushed up changes based on core changes, so can probably look at the original questions again. Thanks!

mebrett commented 9 years ago

And it's still stuck on "starting"

patrickmj commented 9 years ago

This is on the shared installation on dev?

mebrett commented 9 years ago

Yes. Job ID 5

patrickmj commented 9 years ago

Looks like we're probably stuck until https://github.com/omeka/omeka-s/issues/327 is resolved.

UI and UX thoughts on import page will still be possible and helpful even before that's resolved, if you have any.

patrickmj commented 9 years ago

Huzzah!!! :beers: Looks like we're in business to try this again now that the site is properly configured!

In addition to the original bullet list of things to look at, it'll be helpful to

mebrett commented 9 years ago

Found more DSpace repos here: http://registry.duraspace.org/registry/dspace but about half the time I'd try to get communities/collections, the module threw an error. Are there parameters for what settings/features a DSpace repo must have to be compatible with the module?

mebrett commented 9 years ago

An additional thought, unrelated to any testing request - if one enters a repo url and then hits Return on the keyboard, the module seems to start running an empty job. It doesn't import anything or delete the url from the DSpace field, but it does create a job (and since we can't delete jobs from the list, this adds to visual clutter).