Robby Stephenson | 13 Jun 16:05

Re: Update from arXiv

On Thursday 12 June 2008, Norbert Nemec wrote:
> Robby Stephenson wrote:
> > On Thursday 12 June 2008, Norbert Nemec wrote:
> >> First thing that I would definitely view as bug: When updating from
> >> arXiv with an unversioned ID in the entry, tellico retrieves the
> >> versioned ID, finds both strings inequivalent and does nothing. in
> >> this case, tellico should definitely accept both entries as equivalent
> >> and update the entry.
> >
> > I just tried this, and it was working. An entry with an unversioned ID
> > was updating correctly. Can you give me a more specific example and
> > steps that show the problem for you?
>
> For me, it only updates correctly, if there is a title as well. In that
> case, it tries the ID, fails and uses the title instead. If there is no
> title, it silently fails to update from unversioned IDs but works for
> versioned IDs.

There's no fallback in there. We're talking about the arxiv.org data source, 
right? If there's an id, it tries that. If not, it uses the title.

I just searched for an id, added it to the collection, edited it to remove 
the title and author, and it updated cleanly. We've got a bit of a 
disconnect somehow.

Robby
Norbert Nemec | 13 Jun 17:11

Re: Update from arXiv

If I understand you correctly, you imported the entry via "Internet Search"? In that case, tellico
actually puts a *versioned* id (like cond-mat/0607096v3) into the arXiv field. In that case, the update
works. Drop the "v3" at the end to get the unversioned ID. Now, the update will not work any more.

It seems like the arxiv.org data source does not only check, whether there is an arXiv-ID, but also whether
it has the correct format, expecting the "v?" version string at the end.

Here is what I did:

* create a new entry
* filled in *only* an unversioned arXiv-ID (e.g. "cond-mat/0607096")
* update from arXiv
=> status line says "Updating...", then "Ready.", but entry is unchanged
* add *latest* version to arXiv-ID (in this case: "cond-mat/0607096v3")
=> update runs correctly and fills in all the data

(Notice that it does not even work if you put in an older version. Maybe, the scraping code chokes on the
warning notice on the web page in that case)

Greetings,
Norbert

-------- Original-Nachricht --------
> Datum: Fri, 13 Jun 2008 07:05:27 -0700
> Von: Robby Stephenson <robby@...>
> An: tellico-users@...
> Betreff: Re: Update from arXiv

> On Thursday 12 June 2008, Norbert Nemec wrote:
> > Robby Stephenson wrote:
(Continue reading)

Robby Stephenson | 14 Jun 17:50

Re: Update from arXiv

On Friday 13 June 2008, Norbert Nemec wrote:
> If I understand you correctly, you imported the entry via "Internet
> Search"? In that case, tellico actually puts a *versioned* id (like
> cond-mat/0607096v3) into the arXiv field. In that case, the update works.
> Drop the "v3" at the end to get the unversioned ID. Now, the update will
> not work any more.

Thanks, that explains all of it. Previously, the additional comparison with 
the title was enough to match, even if the arxiv version ID was there.

Just fixed it.

Robby

Gmane