OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



NativeImportExportPlugin fails

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

NativeImportExportPlugin fails

Postby johmue » Sat May 04, 2013 8:18 am

Hi,

I am trying to import the archive to my journal using NativeImportExportPlugin from the command line (tools/importExport.php).
After a while I get:

DB Error: Duplicate entry '139-6' for key 'custom_section_orders_pkey

This is somehow section related, but I wasn't yet able to investigate it longer.
Any ideas?

Thanks

Johannes
johmue
 
Posts: 24
Joined: Sun Mar 11, 2012 2:32 am

Re: NativeImportExportPlugin fails

Postby asmecher » Tue May 07, 2013 2:50 pm

Hi Johannes,

Do you have multiple <section> nodes identifying the same section? If so, those might cause errors.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: NativeImportExportPlugin fails

Postby johmue » Fri May 31, 2013 9:07 am

Thanks for the reply and sorry about the long silence.

In the meantime I've upgraded from 2.3.8 to 2.4.2 hoping that the problem would vanish. It didn't. I get exactly the same error message.

What exactly do you mean by "multiple <section> nodes identifying the same section"?

I put the xml-file to the following url, so that you can check it. (1.2M)

http://johannes-mueller.org/arkivo.xml

Thanks
johmue
 
Posts: 24
Joined: Sun Mar 11, 2012 2:32 am

Re: NativeImportExportPlugin fails

Postby asmecher » Fri May 31, 2013 10:15 am

Hi Johannes,

You have several cases where the same section is specified twice within the same issue; see e.g. Vol 59, No 1 (2008), where the section "Scienca eĥo" appears twice in a row.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: NativeImportExportPlugin fails

Postby johmue » Fri May 31, 2013 12:30 pm

Got it. Worked.

Thank you for your support.
johmue
 
Posts: 24
Joined: Sun Mar 11, 2012 2:32 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests