EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #04777
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: enable-web-imports
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: enable-web-imports
- From: George Mamalakis <mamalos@eng.auth.gr>
- Date: Fri, 25 Sep 2015 08:20:00 +0300
Hi Stof,And since you've shown us your sample XML file, mind that the <files> section should be enclosed within a <documents><document></document></documents> section in order for your files to be shown within each eprint. Otherwise they won't (if I'm not mistaken).
The minimum XML syntax required is shown in this list's emai: http://www.eprints.org/tech.php/20718.html that was -ironically- sent one day before your last email (on the 23rd of Sept) :):).
Of course, don't forget --enable-file-imports when running your import command, as Adam suggested (and as your error implied).
For more import options, run: $ perldoc ./bin/import within EPrints' home directory. Good luck with your migration! On 24/9/2015 6:48 μμ, Field A.N. wrote:
You need to use the --enable-file-import flag on the import script. -- Adam Field Business Relationship Manager and Community Lead EPrints Services +44 (0)23 8059 8814 On 24 Sep 2015, at 16:24, Edwin Gamez wrote:Hi..! I have the same problem, when i try import XML show this: Starting EPrints Repository. Connecting to DB ... done. Failed to retrieve Test.pdf: 403 Access denied by configuration: file imports disabled Failed to create subdataobj on document.files at eprints/bin/../perl_lib/EPrints/DataSet.pm line 1009 Failed to create subdataobj on archive.documents at eprints/bin/../perl_lib/EPrints/DataSet.pm line 1009 Ending EPrints Repository. this is my file: <file> <datasetid>document</datasetid> <filename>Test.pdf</filename> <url>Test.pdf</url> </file> <file> How can we enable import file? Thanks 2015-09-24 11:16 GMT-04:00 cmdt-news@cmdt.ch <cmdt-news@cmdt.ch>: sorry, local import should be looking: <files> <file> <filename>CSA_02efl.pdf</filename> <mime_type>application/pdf</mime_type> <url>/tmp/21352.pdf</url> </file> </files> thanks *** 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/
-- George Mamalakis IT and Security Officer Electrical and Computer Engineer (Aristotle Un. of Thessaloniki), PhD (Aristotle Un. of Thessaloniki), MSc (Imperial College of London) Department of Electrical and Computer Engineering Faculty of Engineering Aristotle University of Thessaloniki phone number : +30 (2310) 994379
- References:
- [EP-tech] enable-web-imports
- From: "cmdt-news@cmdt.ch" <cmdt-news@cmdt.ch>
- [EP-tech] Re: enable-web-imports
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: enable-web-imports
- From: "cmdt-news@cmdt.ch" <cmdt-news@cmdt.ch>
- [EP-tech] Re: enable-web-imports
- From: "cmdt-news@cmdt.ch" <cmdt-news@cmdt.ch>
- [EP-tech] Re: enable-web-imports
- From: Edwin Gamez <edwingamez19@gmail.com>
- [EP-tech] Re: enable-web-imports
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] enable-web-imports
- Prev by Date: [EP-tech] Re: enable-web-imports
- Next by Date: [EP-tech] Re: enable-web-imports
- Previous by thread: [EP-tech] Re: enable-web-imports
- Next by thread: [EP-tech] Re: enable-web-imports
- Index(es):