[index] [prev] [next] [options] [help]
See the Contact page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

[EP-tech] Re: Problem with generate_static

From: Tim Brody <tdb2 AT ecs.soton.ac.uk>
Date: Wed, 10 Mar 2010 16:52:21 +0000


Threading: [EP-tech] Problem with generate_static from a.holyer AT arts.ac.uk
      • This Message

On Mon, 2010-03-08 at 12:32 +0000, Andy Holyer wrote:
> We’ve seen some anomalies in the indixes etc. of our repository, which
> is now live.
> 
>  
> 
> So, I’ve gone onto the host and tried to run generate_static  (that’s
> the one which should make up the indexes etc, isn’t it?).

generate_static generates the files in the root of the server
(/index.html, .js, .css).

generate_views generates the /view/ pages.

> I did go through this with Tim a few months ago, and had thought it
> fixed, in fact I had thought it was set up to run in crontab as it is
> supposed to be. However, it seems I’m wrong.
> 
>  
> 
> After a little while the script dies with this:
> 
>  
> 
> Non existant subjectid: E in parents of E2V3
> 
> Can't call method "get_paths" on an undefined value
> at /opt/eprints3/perl_lib/EPrints/DataObj/Subject.pm line 603.
> 
>  
> 
> As I said, I thought Tim had fixed this. 

I never did fix that because I couldn't work out what 'E' should be (I
think there may be other top-level subjects that are broken too).

Perhaps we need to just add some dummy subjects to fix this ...

/Tim.


*** 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/


[index] [prev] [next] [options] [help]