Issue 68738 - Cannot open dBaseIV (.dbf) files
Summary: Cannot open dBaseIV (.dbf) files
Status: CLOSED DUPLICATE of issue 68249
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: 680m180
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: christoph.lukasiak
QA Contact: issues@dba
URL:
Keywords: oooqa, regression
: 68989 (view as issue list)
Depends on:
Blocks:
 
Reported: 2006-08-18 02:59 UTC by jjmckenzie
Modified: 2013-08-07 15:45 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Data file from Maricopa County Prosecutors' Office. (2.89 MB, application/dBaseIV)
2006-08-18 03:01 UTC, jjmckenzie
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jjmckenzie 2006-08-18 02:59:10 UTC
See thread on BASE problem with database downloaded from website in
users@openoffic.org mailing list.  Affected file is a dBase IV file (confirmed
with Office 4 Mac) and will not open with the dBase wizard when tried on the Mac
OS X PPC or Intel platforms.  I do not have access to other platforms to test if
this affects all.

James M.
Comment 1 jjmckenzie 2006-08-18 03:01:36 UTC
Created attachment 38614 [details]
Data file from Maricopa County Prosecutors' Office.
Comment 2 aziem 2006-08-18 06:11:05 UTC
Confirmed.
OOo 2.0.3 Linux: Can see large document: 9248 rows x column AD
OOo m178 Linux: "General Error: General input/output error."
Comment 3 aziem 2006-08-18 06:12:22 UTC
According to Fedora's "file" command, it's DBase 3 (not 4):
$ file /tmp/DATA8000.DBF
/tmp/DATA8000.DBF: DBase 3 data file (9247 records)
Comment 4 christoph.lukasiak 2006-08-22 14:34:16 UTC
clu->jjmckenzie: may you add a step by step description to explain the bug (what
you mean with 'dBase wizard'?) 

p.s. discussions in any threads are invalid in bug descriptions because of many
reasons (one of them is, that not everybody can follow you or read all threads -
everybody has to search for, what you mean -> cost time - in several
weeks/months nobody can remember/find this thread anymore etc.)

thx
Comment 5 jjmckenzie 2006-08-22 17:38:47 UTC
@clu

Will comply with your request later today.

James M.
Comment 6 jjmckenzie 2006-08-27 06:26:10 UTC
@clu:

I decided to dust off my old Windows machine and try to duplicate this. It
worked as it is supposed to.  I am reassigning this to the Mac OS X lead as a
Mac only bug.

Steps to reproduce if you want to try:

Put the attached file in a known directory (Mine is on the Desktop)

Open OpenOffice.org m180 (or 2.0.3 it is also affected).
Select File -> New -> Database
When the dialog opens, select connect to existing database type and select dBASE
from the list.
In the next screen which will ask where the files are located, click on Browse
and then select the directory where the file is at.
Click on save (I want to use the file as input to the Mail Merge functionality)
When the database screen opens, click in Tables. There are no entries in this
area and there should be at least the DATA8000 table from the conversion from
dBASE to HBSQL data format.

James M.
Comment 7 jjmckenzie 2006-08-27 06:27:39 UTC
@ericb:

This appears to be a Mac OS X only issue as I can load the file into Base under
WindowsXP.

Can you please reassign to the Mac OS X porting team?

James M.
Comment 8 jjmckenzie 2006-08-27 06:29:01 UTC
*** Issue 68989 has been marked as a duplicate of this issue. ***
Comment 9 jjmckenzie 2006-08-30 22:02:22 UTC
Resetting to Mac OS X.  Can open file in WindowsXP SP2.

James M.
Comment 10 alex.thurgood 2006-09-03 10:45:34 UTC
hi all,

Just tested this on FreeBSD (PC-BSD 1.2), OOom180. It doesn't work. No tables
are visible once the new ODB document linking to the dbf file has been created.

More info : you can't even open the file in Calc, OOo gives a "General I/O
Error" message.

Re-setting to All platforms, since we can't select two different OSes or more
from the list individually, and the problem is not present simply on the Mac.


Alex
Alex
Comment 11 alex.thurgood 2006-09-03 10:48:12 UTC
@all : since the file can not even be opened in Calc, is this still a Base
module problem, or is it more of a filter problem ?

Alex
Comment 12 jjmckenzie 2006-09-03 15:50:55 UTC
@all

This does work with WindowsXP SP2. Anyone have Linux available to test?

James M.
Comment 13 alex.thurgood 2006-09-03 16:42:04 UTC
@james : I have (it is what I use for my daily work), but I won't have access to
it until tomorrow.


Alex
Comment 14 jjmckenzie 2006-09-03 20:59:05 UTC
@wurzel

Thanks.  We can wait for your results.  My thought is that dBaseIV files can be
opened only on Windows systems unless this file is actually a MS Access file
with a .dbf extension.

Anyone still have a copy of dBase IV available somewhere to crate a file or
verify this one?

James M.
Comment 15 dhlocker 2006-09-03 23:25:23 UTC
Opened fine on Sun Ultra-30, Solaris 8, OOo 2.0.3.  I chose the default
character set that OOo presented (Western Europe (DOS/OS2-850/International) and
let it grind for 1min50sec (did I say the U-30 is a bit old?) and up popped the
spreadsheet-form of the database.
HTH (BTW: 9248 records.)
Comment 16 Frank Schönheit 2006-09-04 07:51:18 UTC
Since the attached file has an upper-case extension, is it possible that you ran
into issue 68249 (case sensivity of file extensions) here?
Comment 17 alex.thurgood 2006-09-04 13:05:39 UTC
@fs : 

first thing I did Frank ;-) Still, didn't work, even as all lowercase, including
file extension. Tried various combinations - nada, still no import. The file
opens fine with the dbf command line interface program.

Alex
Comment 18 Frank Schönheit 2006-09-04 13:22:13 UTC
Well, I wondered, because I was first fooled by this :) I tried opening the file
on some SuSe box, and it didn't work. After correcting the extension, it did ...
So, that's not a general Linux problem with this particular file ...
Comment 19 jjmckenzie 2006-09-04 15:11:38 UTC
@all

Frank, you got it.  I changed the case of the file from upper to lower and I
found the file.  I had one other file that is all upper case and the file was
not recognized.

Looks like we have fix for now and the issue is now a duplicate.  Closing.

James M.


*** This issue has been marked as a duplicate of 68249 ***
Comment 20 christoph.lukasiak 2006-09-04 15:20:26 UTC
=> close duplicate
Comment 21 lgaterarin 2010-11-10 21:13:10 UTC
Created attachment 73632