On 01-05-10 05:02, mark ardiente wrote:
Chris,
http://trac-hacks.org/svn/tracmergescript/
I'm getting this error after running the modified example.py script
Traceback (most recent call last):
File "usap_merge.py", line 95, in <module>
main()
File "usap_merge.py", line 92, in main
merge.merge()
File "/usr/local/src/trac_scripts/tracmergescript/tracmerge.py", line
106, in merge
self.mergeWiki()
File "/usr/local/src/trac_scripts/tracmergescript/tracmerge.py", line
152, in mergeWiki
newText = self._updateText(sTrac['name'], pageData[-1]['text'], pageDest)
IndexError: list index out of range
I came a liitle futher but i do not use sqlite but postgress. So all
res.fetchall() statements fail. They have to be replace by:
{{{
res = cursor.execute(ticketsQuery)
- ticketsRes = res.fetchall()
- tickets = [x[0] for x in ticketsRes]
+ tickets = [x[0] for x in cursor.fetchall()]
}}}
--
********************************************************************
* Bas van der Vlies e-mail: [email protected] *
* SARA - Academic Computing Services Amsterdam, The Netherlands *
********************************************************************
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.