EPrints Technical Mailing List Archive

Message: #08907


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Eprints Bazaar and "Unknown dataset: epm"


Hi David,

You may have a file called epm.pl in your archive's cfg/cfg.d/ that may be overriding the one in ingredients/bazaar/cfg.d/.  It is unlikely you have changed epm.pl but probably worth checking for differences before deleting epm.pl in your archive and relying on loading the one from the bazaar ingredient.

Regards

David Newman

On 23/03/2022 1:47 pm, David Kane wrote:
CAUTION: This e-mail originated outside the University of Southampton.

Thanks David,

 

This didn’t work unfortunately, as it already seemed to be configured correctly.  I did create another ‘test’ eprint repository in the same tenancy and the Bazaar worked just fine.  Whatever the cause is, it is likely to be me taking something from the old config but not sure what.  I’m looking to see the differences now.

 

Best,

 

David.

 

From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of David R Newman via Eprints-tech <eprints-tech@ecs.soton.ac.uk>
Date: Tuesday, 22 March 2022 at 17:27
To: David Kane via Eprints-tech <eprints-tech@ecs.soton.ac.uk>
Subject: Re: [EP-tech] Eprints Bazaar and "Unknown dataset: epm"

Hi David,

This is due to the code where the EPM data object is defined not being included.  You may need to edit the file:

EPRINTS_PATH/flavours/pub_lib/inc

and add the line:

ingredients/bazaar

That said, I have checked backed and both EPrints 3.4 original release (i.e. 3.4.0) and 3.4.3 both have this line.  Although the way the inc file is defined in 3.4.0 is semi-colon rather than new line separated for different paths in this inc file.  If you do have an inc file that looks like:

flavours/pub_lib;site_lib;ingredients/bazaar;

It may be worth changing this to:

flavours/pub_lib
site_lib
ingredients/bazaar

 

In fact, if you do not have an EPRINTS_PATH/site_lib/ directory, I would remove that line altogether.  I am pretty sure using the semi-colon separated syntax still works but it is worth eliminating all possible differences.  I assume you have a  non-empty directory at EPRINTS_PATH/ingredients/bazaar/?  Also if you have mlocate install on your operating system it is worth checking that the following file exists and where it is located, (it should be at EPRINTS_PATH/ingredients/bazaar/plugins/EPrints/DataObj/EPM.pm):

 

locate DataObj/EPM.pm

 

I have also written some instructions for upgrading between versions of 3.4 at:

 

 

This may provide some assistance, although it does not make any reference to the specific issue you reported.

 

Regards

 

David Newman

 

On 22/03/2022 17:05, David Kane via Eprints-tech wrote:

CAUTION: This e-mail originated outside the University of Southampton.

Hello Folks,

 

I have just upgraded from Eprints 3.4 to 3.4.3 and the Eprints Bazaar admin page gives an internal server error.  The apache log displays “Unknown dataset: epm”.  I have no idea why this is happening.  Can anyone help point me in the right direction.  I have spent far to long trying to figure out this alone.

 

Thanks,

 

David.

 

 


This email is subject to the following disclaimer(s) available at WIT Disclaimer.
Tá an ríomhphost seo faoi réir an tséanta/na séanta seo leanas atá le fáil ag WIT Séanad

Waterford Institute of Technology

WIT 50



*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/