Tech List

[index] [prev] [next] [options] [help]
See the Mailing Lists 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.

Re: [EP-tech] generated_views 3.1

From: Tim Brody <tdb01r AT ecs.soton.ac.uk>
Date: Mon, 23 Jun 2008 10:15:31 +0100


Threading: [EP-tech] generated_views 3.1 from C.J.Keene AT sussex.ac.uk
      • This Message

*** http://www.eprints.org/tech.php/id/%3C485F69B3.6070000%40ecs.soton.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

Hi Chris,

Try deleting the journal view pages (to force them to regenerate):
rm -rf archives/[repoid]/html/en/view/[viewid]

All the best,
Tim.

Chris Keene wrote:
> *** 
> 
http://www.eprints.org/tech.php/id/%3CEMEW-k5M9bm84bbf7357b2be49b1a50efd0e82c6b8c-485F60D4.8010805%40sussex.ac.uk%3E 
>
> *** EPrints community wiki - http://wiki.eprints.org/
>
> sorry to nag, but just don't want a potential bug to slip through.
>
> summary, using 3.1rc2, still having probs with a view of journals, 
> looking at a page for a journal with a space in its name produces a 
> 404. see below...
>
> Cheers
> Chris
>
> Chris Keene wrote:
>> *** 
>> 
http://www.eprints.org/tech.php/id/%3CEMEW-k5GDB33795b60b0294bc1101d99f9eed135244-4857A9B7.70307%40sussex.ac.uk%3E 
>>
>> *** EPrints community wiki - http://wiki.eprints.org/
>>
>> Hi
>>
>> I'm still having problems with generated views, underscores and 3.1rc 
>> even though I have upgraded to 3.1rc2.
>>
>> When looking at a journal with spaces in its name (which are 
>> converted to underscores) I get a 404 message. The 404 message 
>> mentions 'generate_views', if this script really is redundant with 
>> 3.1 then this message perhaps should be considered as a low priority 
>> bug.
>>
>>
>> Extract from error log
>> [Tue Jun 17 13:02:22 2008] [error] [client 139.184.66.123] File does 
>> not exist: 
>> 
/opt/eprints3/archives/ep3m/html/en/view/journals/Advances_in_Space_Research, 
>> referer: http://ep3m.lib.sussex.ac.uk:8082/view/journals/
>> The browse views section is missing. The site admin needs to run 
>> generate_views. This should be automated with cron. See the 
>> documentation for more details.
>> Invalid value id in get_filters 'Advances_in_Space_Research' in menu: 
>> journals/Advances_in_Space_Research/
>> [Tue Jun 17 13:02:24 2008] [error] [client 139.184.66.123] File does 
>> not exist: 
>> 
/opt/eprints3/archives/ep3m/html/en/view/journals/Advances_in_Space_Research, 
>> referer: http://ep3m.lib.sussex.ac.uk:8082/view/journals/
>> The browse views section is missing. The site admin needs to run 
>> generate_views. This should be automated with cron. See the 
>> documentation for more details.
>>
>>
>> [again, generate_views mentioned, should this error message be 
updated?]
>>
>>
>> I upgraded to rc2 yesterday, and the upgrade seems to have gone ok 
>> (e.g. admin page shows correct version).
>>
>>
>> I've tried running generate_views, which I know should not be needed 
>> but though I would try, it produced (lots of) the following messages:
>>
>> Use of uninitialized value in hash element at 
>> /opt/eprints3/perl_lib/EPrints/Database.pm line 2944.
>> Use of uninitialized value in hash element at 
>> /opt/eprints3/perl_lib/EPrints/Database.pm line 2944.
>> Invalid value id in get_filters 
>> 'Proceedings_of_the_National_Academy_of_Sciences' in menu: 
>> journals/Proceedings_of_the_National_Academy_of_Sciences/
>>
>>
>> Anything I should try?
>>
>> Thanks
>> Chris
>>
>> PS clarification over generate_views would be appreciated, is it 
>> still useful for when your having problems, or does it do nothing 
>> more than the 'regenerate views' button in the admin section, and 
>> hence not worth trying as another option when trying to troubleshoot.
>>
>


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