CP5>WP Conversion Issue

Skip to first unread message

David Spett

Apr 6, 2011, 7:54:08 PM4/6/11
to cop...@googlegroups.com
Hi all,

I've been conversing with Daniel about this but wanted to send it out to the whole group in case anyone has any ideas. If you'd like to see the stories.csv file associated with the CP5 transfer, let me know as it's too large for this listserv. The exact error message I'm getting is:

File "U:\orbis archives\CoPress-convert.py", line 950, in <module> main()
File "U:\orbis archives\CoPress-convert.py", line 922, in main version,stories,images = importStories(settings)
File "U:\orbis archives\CoPress-convert.py", line 680, in importStories if line[1] == "Priority":
IndexError: list index out of range

Thanks for any help anyone can offer!


From: Daniel Bachhuber [mailto:d...@danielbachhuber.com]
Sent: Wednesday, April 06, 2011 3:36 PM
To: David Spett
Subject: Re: Conversion script issue


Hey David,

Thanks for the note. Try downloading the "develop" branch and see if that works. I made some improvements last weekend:



Otherwise, I don't have time to look at it this week but I probably could this weekend. Sample data would be awesome


Thanks again,




On 06 Apr 2011, at 12:10 PM, David Spett wrote:

Hi Daniel,


Long time no talk -- I hope this finds you well.


I’ve been working with one of our student groups to convert their CP5 database into WP format, but I’m having the exact same issue described here, even with the latest version of the conversion script which I’m getting from this page. I’m hoping this is an easy fix and I’m just doing something wrong that’s very simple.


Thanks a ton for any help you can offer.




David Spett
Journalism Network Associate
Center for American Progress
1333 H St. NW, 1st Floor
Washington, DC  20005
Reply all
Reply to author
0 new messages