GnuCash
Contact   Instructions
Bug 797164 - QFX import dialog creates Floppy Drive Not Ready error on a computer with no floppy drive
Summary: QFX import dialog creates Floppy Drive Not Ready error on a computer with no ...
Status: NEW
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Import - OFX (show other bugs)
Version: 3.4
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: import
QA Contact: import
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-31 12:11 EDT by Matt Marsh
Modified: 2019-03-31 12:11 EDT (History)
3 users (show)

See Also:


Attachments

Description Matt Marsh 2019-03-31 12:11:04 EDT
After upgrading from GnuCash 2.6.18-3 to GnuCash 3.4, the QFX import tool throws a Drive Not Ready error for a nonexistent floppy drive A:

Build 3.4+ (2018-12-30) Stable
Win7 Enterprise x64 SP1 build 7601

Steps to reproduce (on this computer):
- Start with an existing stable installation of 2.6.18 on Win7, and existing accounts files on a network drive mapped to a Windows drive letter (Z: in this case)
- Run gnucash-3.4.setup.exe
- Accept all defaults during installation, including removal of v2.6.18
- Start GnuCash, ensure accounts are still correct, close GnuCash
- Start GnuCash. Click File - Import - OFX/QFX. GnuCash displays the "Select an OFX/QFX file to process" dialog. On the left sidebar, it lists file locations: Recent, Home, Desktop, etc., then mapped network drivers, then local drives, and at the bottom, Floppy Disk Drive (A:). (The computer does not have a floppy disk drive, but I believe Windows includes a drive mapping for A: by default on any computer that's physically capable of supporting one.)

After about 6 seconds, an error dialog appears:

gnucash.exe - Drive Not Ready
The drive is not ready for use; its door may be open. Please check drive A: and make sure that a disk is inserted and that the drive door is closed.
Cancel / Try Again / Continue

Cancel and Continue both make the dialog appear again after 6 seconds. Try Again makes the dialog reappear after either 4 seconds (if the "Select an OFX/QFX file" window is still open) or an indeterminate, much longer, time (if the file open dialog has completed).

The program is still semi-usable while this dialog is open, but the Drive Not Ready error remains on top, obscuring whatever window is behind it. A spinning-wheel cursor may appear, but UI objects are still clickable as if it were a standard cursor.

Once triggered, the Drive Not Ready dialog cannot be dismissed permanently; when dismissed, it reappears every 6 seconds until you close GnuCash completely.

If I roll back to 2.6.18, I cannot reproduce this error. However, it is now unusable on the dataset that was touched by 3.4, due to a "This dataset contains features not supported by this version of GnuCash" error.

If I then reinstall 3.4, the Drive Not Ready error is back.

I've rolled our production install back to 2.6.21, which appears to be stable so far.

Note You need to log in before you can comment on or make changes to this bug.