#97 Program hangs on import error


On importing the attached large, complex flashcard file a large number of error alert messages appear, one over the other like a deck of cards and the program hangs. I was unable to get the program to respond and had to kill it from the Windows XP task manager.

This complex a file may not be supported by ZDT but should probably be handled from an error perspective. Entries are multi-word phrases, some of which are over 30 characters long. Besides the potential issue with the size of the phrases the issue might also be related to the fact that I had to convert pre-existing pinyin with tone marks to pinyin with tone numbers to comply with the zdt file format. The conversion ended up placing tone numbers just following the letter they belonged to, in the middle of the word rather than at the end of the word.

Here's some info about the crash and machine:
JVM terminated. Exit code=1073807364
Windows XP 5.1.2600 SP2
Java 1.5.0 (build 1.5.0_11-b03)


  • Tom

    Tom - 2007-02-26

    Flashcard file that causes this crash

  • Tom

    Tom - 2007-02-26

    Logged In: YES
    Originator: YES

    I re-converted the pinyin from tone marks to tone numbers using a different tool (new flashcard file attached). Importing this file does not crash the program as the previously attached file did, but when playing the sound for any multiple-syllable entry in the flashcard list the first syllable is always skipped (no sound). The same word when accessed from the dictionary rather than the flashcard list plays fine.
    File Added: CPod-Phrase-Dictionary-n2.txt

  • Tom

    Tom - 2007-02-26

    second flashcard file with re-converted tone numbers

  • Michael van den Berg

    Imported the first file into ZDT v1.0.2 on Windows 7

    The error messages do not crash the program. It creates a message windows titled 'Mulitple problems have occurred' with the following text "Index: 15, Size: 14" and then for each error: "An error has occurred. See error log for more details." While showing this message, the import continues. Once finished the message windows disappears automatically. So if the import is really fast, the user will even not know that some errors occurred. This could be a feature request.
    Although the error message could be more descriptive and only be closed on the users request, ZDT handles the errors well, shows a proper message window, does not overload the user with separate windows while the user can easily click OK or wait for the import to complete.

    Also tried the second file, with similar results.

    (used 'Import format:' 'zdt' and 'File encoding:' 'utf-8')

    As ZDT does not crash, handles the errors properly and continues to work properly, this bug has been fixed. Closed.

  • Michael van den Berg

    • status: open --> closed-fixed
    • Version: --> pre-v1
    • Milestone: --> any-next

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks