EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #04063


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

[EP-tech] Re: import_subjects Error Opening file 1


Hi Adam

I have taken a snapshot of my server before applying the import and everything seems to work fine. I still have these warnings but the import and export in xml of the subject tree seems to work fine. The warnings are not very informative why the error occurs.

Thanks
Kostas Pgasinos



2015-03-12 12:16 GMT+02:00 Adam Field <af05v@ecs.soton.ac.uk>:
Hi Kostas

I would highly recommend replicating your live repository onto a dev server so that you can test issues like this without risking your live infrastructure.

--
Adam

On 9 Mar 2015, at 08:43, pgasinos pgs <pgasinos@gmail.com> wrote:

Thanks Adam, but I have that error no matter what subject file I use (even the default one that comes with Eprints). It is not the file, I am suspecting Indexer error. It is a production Institutional repository and I don't have the flexibility to try the file and perhaps leave the repository without subject tree.

Kostas Pgasinos
 

2015-03-06 16:56 GMT+02:00 Adam Field <af05v@ecs.soton.ac.uk>:
You should check your subjects file.  Alternatively, I believe you can specify explicitly which file to use:

        ./bin.import_subjects <archive_id> <filename>

--
Adam




On 6 Mar 2015, at 13:50, pgasinos pgs <pgasinos@gmail.com> wrote:

> When I am trying to import subject file I have a error:
>
> ./bin/import_subjects <archive_id>
> Error Opening file 1
> Error Opening file 1
> Error Opening file 1
> Are you sure you want to make bulk changes to the subject table in the <archive_id>
> repository [yes/no] ?
>
> The subject file is correct (checked in my test repository). Is there any options to check why this is happening?
>
> Kostas Pgasinos
> *** 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/
> *** EPrints developers Forum: http://forum.eprints.org/


*** 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/
*** EPrints developers Forum: http://forum.eprints.org/

*** 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/
*** EPrints developers Forum: http://forum.eprints.org/


*** 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/
*** EPrints developers Forum: http://forum.eprints.org/