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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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: 8860
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: 8860
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: Google [Bot], imedpub, Yahoo [Bot] and 3 guests