Tech List

[index] [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.

[EP-tech] Browse by People

From: "Henok Mikre" <henokmikre AT gmail.com>
Date: Tue, 24 Jun 2008 19:06:45 -0400


Threading:      • This Message
             Re: [EP-tech] Browse by People from henokmikre AT gmail.com
             Re: [EP-tech] Browse by People from tdb01r AT ecs.soton.ac.uk
             Re: [EP-tech] Browse by People from henokmikre AT gmail.com
             RE: [EP-tech] Browse by People from anthony.worrall AT reading.ac.uk

Hi all,

I put the following in views.pl
{
  id => "people",
  fields => "creators_name/editors_name",
  order => "title",
},

and when running "generate_views repo_id" I get the following error 
"Invalid
path value 'last_name:first_name' in menu: people/lastname:firstname ' for
as many creators in database.

I would appreciate your help.

Thanks

ATTACHMENT: message.html!


Re: [EP-tech] Browse by People

From: "Henok Mikre" <henokmikre AT gmail.com>
Date: Wed, 25 Jun 2008 10:08:33 -0400


Threading: [EP-tech] Browse by People from henokmikre AT gmail.com
      • This Message

Okay, so I learned that there is a general issue with browsing by fields
that have spaces in them. So if I want to browse by "funders" and the 
funder
is University of Southampton, it throws an exception. I know some people
have found a work around to this so please help if you know how?

Thanks

On Tue, Jun 24, 2008 at 7:06 PM, Henok Mikre <henokmikre AT gmail.com> 
wrote:

> Hi all,
>
> I put the following in views.pl
> {
>   id => "people",
>   fields => "creators_name/editors_name",
>   order => "title",
> },
>
> and when running "generate_views repo_id" I get the following 
error
> "Invalid path value 'last_name:first_name' in menu:
> people/lastname:firstname ' for as many creators in database.
>
> I would appreciate your help.
>
> Thanks
>

ATTACHMENT: message.html!


Re: [EP-tech] Browse by People

From: Tim Brody <tdb01r AT ecs.soton.ac.uk>
Date: Thu, 03 Jul 2008 15:26:24 +0100


Threading: [EP-tech] Browse by People from henokmikre AT gmail.com
      • This Message

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

Hi Henok,

I think these problems are fixed in 3.1 rc 2. Certainly should be fixed 
by the 3.1 release.

Cheers,
Tim.

Henok Mikre wrote:
> Okay, so I learned that there is a general issue with browsing by 
> fields that have spaces in them. So if I want to browse by 
"funders" 
> and the funder is University of Southampton, it throws an exception. I 
> know some people have found a work around to this so please help if 
> you know how?
>
> Thanks
>
> On Tue, Jun 24, 2008 at 7:06 PM, Henok Mikre <henokmikre AT gmail.com 
> <mailto:henokmikre AT gmail.com>> wrote:
>
>     Hi all,
>
>     I put the following in views.pl
>     {
>       id => "people",
>       fields => "creators_name/editors_name",
>       order => "title",
>     },
>
>     and when running "generate_views repo_id" I get the 
following
>     error "Invalid path value 'last_name:first_name' in menu:
>     people/lastname:firstname ' for as many creators in database.
>
>     I would appreciate your help.
>
>     Thanks
>
>


Re: [EP-tech] Browse by People

From: "Henok Mikre" <henokmikre AT gmail.com>
Date: Thu, 3 Jul 2008 10:35:42 -0400


Threading: [EP-tech] Browse by People from henokmikre AT gmail.com
      • This Message

Hi Tim,

Thanks for the reply. I discovered that it was fixed in rc2 yesterday too! I
am very happy about it. Congrats to the EPrints developers!


On Thu, Jul 3, 2008 at 10:26 AM, Tim Brody <tdb01r AT ecs.soton.ac.uk> 
wrote:

> ***
> 
http://www.eprints.org/tech.php/id/%3C486CE190.1070203%40ecs.soton.ac.uk%3E
> *** EPrints community wiki - http://wiki.eprints.org/
>
> Hi Henok,
>
> I think these problems are fixed in 3.1 rc 2. Certainly should be fixed by
> the 3.1 release.
>
> Cheers,
> Tim.
>
> Henok Mikre wrote:
>
>> Okay, so I learned that there is a general issue with browsing by 
fields
>> that have spaces in them. So if I want to browse by 
"funders" and the funder
>> is University of Southampton, it throws an exception. I know some 
people
>> have found a work around to this so please help if you know how?
>>
>> Thanks
>>
>> On Tue, Jun 24, 2008 at 7:06 PM, Henok Mikre <henokmikre AT 
gmail.com<mailto:
>> henokmikre AT gmail.com>> wrote:
>>
>>    Hi all,
>>
>>    I put the following in views.pl
>>    {
>>      id => "people",
>>      fields => "creators_name/editors_name",
>>      order => "title",
>>    },
>>
>>    and when running "generate_views repo_id" I get the 
following
>>    error "Invalid path value 'last_name:first_name' in menu:
>>    people/lastname:firstname ' for as many creators in database.
>>
>>    I would appreciate your help.
>>
>>    Thanks
>>
>>
>>
>

ATTACHMENT: message.html!


RE: [EP-tech] Browse by People

From: "Anthony Worrall" <anthony.worrall AT reading.ac.uk>
Date: Fri, 4 Jul 2008 09:25:42 +0100


Threading: [EP-tech] Browse by People from henokmikre AT gmail.com
      • This Message

This is a multi-part message in MIME format.

I am migrating to 3.1 rc 2 and I am seeing a similar problem.

 

We have subject and division ids that contain . and _  it looks like the
. and _ are replaced with =2E and =5F respectively

 

Use of uninitialized value in string eq at
/usr/share/eprints3/perl_lib/EPrints/MetaField/Date.pm line 427.

Use of uninitialized value in substitution (s///) at
/usr/share/eprints3/perl_lib/EPrints/Search/Field.pm line 721.

Use of uninitialized value in join or string at
/usr/share/eprints3/perl_lib/EPrints/Search/Field.pm line 724.

Use of uninitialized value in substitution (s///) at
/usr/share/eprints3/perl_lib/EPrints/MetaField/Date.pm line 376.

Use of uninitialized value in substitution (s///) at
/usr/share/eprints3/perl_lib/EPrints/MetaField/Date.pm line 380.

Argument "NULL" isn't numeric in numeric eq (==) at
/usr/share/eprints3/perl_lib/EPrints/Time.pm line 112.

Argument "NULL" isn't numeric in numeric eq (==) at
/usr/share/eprints3/perl_lib/EPrints/Time.pm line 112.

Invalid value id in get_filters 'met=5FC' in menu: subjects/met=5FC/

Invalid value id in get_filters 'met=5FC' in menu: subjects/met=5FC/

 

Use of uninitialized value in string eq at
/usr/share/eprints3/perl_lib/EPrints/MetaField/Date.pm line 427.

Use of uninitialized value in substitution (s///) at
/usr/share/eprints3/perl_lib/EPrints/Search/Field.pm line 721.

Use of uninitialized value in join or string at
/usr/share/eprints3/perl_lib/EPrints/Search/Field.pm line 724.

Use of uninitialized value in substitution (s///) at
/usr/share/eprints3/perl_lib/EPrints/MetaField/Date.pm line 376.

Use of uninitialized value in substitution (s///) at
/usr/share/eprints3/perl_lib/EPrints/MetaField/Date.pm line 380.

Argument "NULL" isn't numeric in numeric eq (==) at
/usr/share/eprints3/perl_lib/EPrints/Time.pm line 112.

Argument "NULL" isn't numeric in numeric eq (==) at
/usr/share/eprints3/perl_lib/EPrints/Time.pm line 112.

Invalid value id in get_filters 'I=2E4=2E8' in menu: subjects/I=2E4=2E8/

Invalid value id in get_filters 'I=2E4=2E8' in menu: subjects/I=2E4=2E8/


 

Use of uninitialized value in string eq at
/usr/share/eprints3/perl_lib/EPrints/MetaField/Date.pm line 427.

Use of uninitialized value in substitution (s///) at
/usr/share/eprints3/perl_lib/EPrints/Search/Field.pm line 721.

Use of uninitialized value in join or string at
/usr/share/eprints3/perl_lib/EPrints/Search/Field.pm line 724.

Use of uninitialized value in substitution (s///) at
/usr/share/eprints3/perl_lib/EPrints/MetaField/Date.pm line 376.

Use of uninitialized value in substitution (s///) at
/usr/share/eprints3/perl_lib/EPrints/MetaField/Date.pm line 380.

Argument "NULL" isn't numeric in numeric eq (==) at
/usr/share/eprints3/perl_lib/EPrints/Time.pm line 112.

Argument "NULL" isn't numeric in numeric eq (==) at
/usr/share/eprints3/perl_lib/EPrints/Time.pm line 112.

Argument "NULL" isn't numeric in numeric eq (==) at
/usr/share/eprints3/perl_lib/EPrints/Time.pm line 112.

Invalid value id in get_filters 'dept=5Fmet' in menu:
divisions/dept=5Fmet/

Invalid value id in get_filters 'dept=5Fmet' in menu:
divisions/dept=5Fmet/

 

 

 

The urls in the generated browse pages use =2E and =5F but the generated
files use . and _

 

So the browse by subject page would have the link
http://server.reading.ac.uk/view/subjects/I=2E4=2E8/ but the url that
works is  is http://server.reading.ac.uk/view/subjects/I.4.8/

similarly the browse by division page would have a link
http://server.reading.ac.uk/view/divisions/dept=5Fmet/ but the url that
works is http://server.reading.ac.uk/view/divisions/dept_met/

 

The urls by year inside the above pages are correct e.g.

 

http://server.reading.ac.uk/view/subjects/I.4.8/1996.html

http://server.reading.ac.uk/view/divisions/dept_met/2008.html

 

Any ideas what is causing this?

 

 

 

 

 

________________________________

From: owner-eprints-tech AT ecs.soton.ac.uk
[mailto:owner-eprints-tech AT ecs.soton.ac.uk] On Behalf Of Henok Mikre
Sent: 03 July 2008 15:36
To: EPrints.org Technical List
Subject: Re: [EP-tech] Browse by People

 

Hi Tim, 

Thanks for the reply. I discovered that it was fixed in rc2 yesterday
too! I am very happy about it. Congrats to the EPrints developers!



On Thu, Jul 3, 2008 at 10:26 AM, Tim Brody <tdb01r AT ecs.soton.ac.uk>
wrote:

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

Hi Henok,

I think these problems are fixed in 3.1 rc 2. Certainly should be fixed
by the 3.1 release.

Cheers,
Tim.

Henok Mikre wrote:

Okay, so I learned that there is a general issue with browsing by fields
that have spaces in them. So if I want to browse by "funders" and the
funder is University of Southampton, it throws an exception. I know some
people have found a work around to this so please help if you know how?

Thanks

On Tue, Jun 24, 2008 at 7:06 PM, Henok Mikre <henokmikre AT gmail.com
<mailto:henokmikre AT gmail.com>> wrote:

   Hi all,

   I put the following in views.pl
   {
     id => "people",
     fields => "creators_name/editors_name",
     order => "title",
   },

   and when running "generate_views repo_id" I get the following
   error "Invalid path value 'last_name:first_name' in menu:
   people/lastname:firstname ' for as many creators in database.

   I would appreciate your help.

   Thanks



 

 


ATTACHMENT: message.html!


[index] [options] [help]