On 22/04/14 14:24, Chris wrote:

I find that when importing 3 banking csv files consecutively with the
skip setup button checked, kmymoney crashes.

A loop is occuring which eventually exhausts resources.

initializePage() calls m_dlg->m_pageLinesDate->validatePage();
   which calls m_dlg->m_pageCompletion->slotimportclicked()
   ==>    which calls wizard()->next()
// which calls validatePage()
||which calls slotImportClicked()  = ||
\\=================================================//


This is the code where the loop occurs in LinesDatePage::validatePage()

     if ((m_dlg->m_pageIntro->ui->checkBoxSkipSetup->isChecked())) {
       if (m_dlg->m_importError) {
         wizard()->next();
       } else {
         m_dlg->m_pageCompletion->slotImportClicked(); <== loops
       }
     }

I have no idea why this occurs on the third import, it may just be
coincidental.

Chris

A test here, importing the same file into the same folder three times, worked for me, so I think we need a bit more information.

When you say it loops, presumably you are intervening to select the files? Or, did it all loop without intervention

I don't suppose you were re-importing the same file, but, for simplicity, could you try that? If it fails, can you give a step by step description of what you did and what happened at each stage. If it doesn't fail, is there anything different about the third file?

Allan


_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to