knishaq
20th December 2009, 13:32
Hi,
I am doing following in the attached file 1.txt.
a) read a list
b) for each item in the list
c) run an external process save it in A file
d) read A file, save modification in B file
e) thatz it
and following error occurs.
ASSERT failure in QList<T>::operator[]: "index out of range", file /opt/qtsdk-2009.02/qt/include/QtCore/qlist.h, line 403
2.txt is one instance of file 1.txt ( no loop ) and it runs successfully.
How is it possible to have the loop run successfully modifying the file.
Please suggest with an example. That will help.
PS: you will need file queue_output.txt in tmp folder to run this code.
I am doing following in the attached file 1.txt.
a) read a list
b) for each item in the list
c) run an external process save it in A file
d) read A file, save modification in B file
e) thatz it
and following error occurs.
ASSERT failure in QList<T>::operator[]: "index out of range", file /opt/qtsdk-2009.02/qt/include/QtCore/qlist.h, line 403
2.txt is one instance of file 1.txt ( no loop ) and it runs successfully.
How is it possible to have the loop run successfully modifying the file.
Please suggest with an example. That will help.
PS: you will need file queue_output.txt in tmp folder to run this code.