Windows-Application can't handle .dbf- Files correctly

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
BTL
Level 1
Level 1
Posts: 5
Joined: Wed Apr 02, 2008 4:48 pm

Windows-Application can't handle .dbf- Files correctly

Post by BTL »

For several days, I try to run an Windows- Application on an Ubuntu 7.04 System through wine 0.9.58.
In detail, it's a tool for supporting a change of food and sports behavior.

The tool is freeware, named "Diät- Tagebuch" (diet diary or diet day book) and downloadable at: http://www.diet-daybook.de/DTBInstall2.exe
(unfortunately it's only in german)

The DTBInstall2.exe is an self- extracting archive containing some dBase- files and the exe. No installation is needed.

The application starts without problems and the GUI seems to be useable.
In the upper left corner you can manipulate the current date and in the upper right corner you can enter your daily weight.
Those data should be consolidated in the file DTB_DTB.dbf. But that seems to make problems with wine. (I tested the application with WinXP and it seems to work fine there.)

The current day- weight isn't written in the same row as the date, but it is written in a new one at the end of the file.

Obviously wine causes a problem adding Data into an predetermined dataset/table row.

Is there any idea how to run this tool probably in wine or fix the dBase- issue?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Windows-Application can't handle .dbf- Files correctly

Post by austin987 »

On 4/2/08, BTL <[email protected]> wrote:
For several days, I try to run an Windows- Application on an Ubuntu 7.04 System through wine 0.9.58.
In detail, it's a tool for supporting a change of food and sports behavior.

The tool is freeware, named "Diät- Tagebuch" (diet diary or diet day book) and downloadable at: http://www.diet-daybook.de/DTBInstall2.exe
(unfortunately it's only in german)

The DTBInstall2.exe is an self- extracting archive containing some dBase- files and the exe. No installation is needed.

The application starts without problems and the GUI seems to be useable.
In the upper left corner you can manipulate the current date and in the upper right corner you can enter your daily weight.
Those data should be consolidated in the file DTB_DTB.dbf. But that seems to make problems with wine. (I tested the application with WinXP and it seems to work fine there.)

The current day- weight isn't written in the same row as the date, but it is written in a new one at the end of the file.

Obviously wine causes a problem adding Data into an predetermined dataset/table row.

Is there any idea how to run this tool probably in wine or fix the dBase- issue?





Can you attach the terminal output?
BTL
Level 1
Level 1
Posts: 5
Joined: Wed Apr 02, 2008 4:48 pm

Post by BTL »

there is no output at all until I set the WINEDEBUG option. But If I do so, the log-file has been accumulated to 46MB to the point where the tool is loaded.
If the trace class of the heap channel is excluded, there again is no output.

Are there any other ways of reducing the output?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Windows-Application can't handle .dbf- Files correctly

Post by austin987 »

On 4/3/08, BTL <[email protected]> wrote:
there is no output at all until I set the WINEDEBUG option. But If I do so, the log-file has been accumulated to 46MB to the point where the tool is loaded.
If the trace class of the heap channel is excluded, there again is no output.

Are there any other ways of reducing the output?
Can you try WINEDEBUG=+relay yourapp.exe
BTL
Level 1
Level 1
Posts: 5
Joined: Wed Apr 02, 2008 4:48 pm

Windows-Application can't handle .dbf- Files correctly

Post by BTL »

Am Donnerstag, den 03.04.2008, 02:12 -0500 schrieb Austin English:
On 4/3/08, BTL <[email protected]> wrote:
there is no output at all until I set the WINEDEBUG option. But If I do so, the log-file has been accumulated to 46MB to the point where the tool is loaded.
If the trace class of the heap channel is excluded, there again is no output.

Are there any other ways of reducing the output?
Can you try WINEDEBUG=+relay yourapp.exe
The size of the file is nearly similar to the first one.
Dan Kegel

Windows-Application can't handle .dbf- Files correctly

Post by Dan Kegel »

On Wed, Apr 2, 2008 at 3:33 PM, BTL <[email protected]> wrote:
http://www.diet-daybook.de/DTBInstall2.exe
In the upper left corner you can manipulate the current date and in the upper right corner you can enter your daily weight.
Those data should be consolidated in the file DTB_DTB.dbf. But that seems to make problems with wine. (I tested the application with WinXP and it seems to work fine there.)

The current day- weight isn't written in the same row as the date, but it is written in a new one at the end of the file.
How are you displaying DTB_DTB.dbf? I can enter the date and my
current weight, but DTB_DTB.dbf
is a binary file, I can't see the rows you're talking about.

My favorite thing about the app so far is the third entry from the end
under "Activities - Other" :-)
- Dan
BTL
Level 1
Level 1
Posts: 5
Joined: Wed Apr 02, 2008 4:48 pm

Windows-Application can't handle .dbf- Files correctly

Post by BTL »

Am Donnerstag, den 03.04.2008, 08:43 -0700 schrieb Dan Kegel:
On Wed, Apr 2, 2008 at 3:33 PM, BTL <[email protected]> wrote:
http://www.diet-daybook.de/DTBInstall2.exe
In the upper left corner you can manipulate the current date and in the upper right corner you can enter your daily weight.
Those data should be consolidated in the file DTB_DTB.dbf. But that seems to make problems with wine. (I tested the application with WinXP and it seems to work fine there.)

The current day- weight isn't written in the same row as the date, but it is written in a new one at the end of the file.
How are you displaying DTB_DTB.dbf? I can enter the date and my
current weight, but DTB_DTB.dbf
is a binary file, I can't see the rows you're talking about.
I can open the file with the OO spreadsheet. OO recognise that the file
is a dBase- File and starts an dBase- inport, asking for the correct
font- set, but any ISO 8859-x seams to work.


My favorite thing about the app so far is the third entry from the end
under "Activities - Other" :-)
- Dan
Those "other" activities are real good fat- burner if you aren't a macho
at all ;)
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

Hi, i tried the app too, and this might actually be a regression. In wine-0.9.32 it seems to sort of work, but you'd have to check that yourself, as i'm not that familiar with the program. If it works using wine-0.9.32, please do a regression test to find out what patch broke it. In wine-0.9.37 the bad behaviour is already present

Regards
BTL
Level 1
Level 1
Posts: 5
Joined: Wed Apr 02, 2008 4:48 pm

Windows-Application can't handle .dbf- Files correctly

Post by BTL »

Am Donnerstag, den 03.04.2008, 13:56 -0500 schrieb qwertymn:
Hi, i tried the app too, and this might actually be a regression. In wine-0.9.32 it seems to sort of work, but you'd have to check that yourself, as i'm not that familiar with the program. If it works using wine-0.9.32, please do a regression test to find out what patch broke it. In wine-0.9.37 the bad behaviour is already present

Regards
I'm sorry but how can I install an older version of wine to tell the git
bisect a working version?
Dan Kegel

Windows-Application can't handle .dbf- Files correctly

Post by Dan Kegel »

On Mon, Apr 7, 2008 at 7:28 AM, D. Ciarrettino <[email protected]> wrote:
Hi, i tried the app too, and this might actually be a regression.
In wine-0.9.32 it seems to sort of work, but you'd have to check
that yourself, as i'm not that familiar with the program.
If it works using wine-0.9.32, please do a regression test to find out what patch broke it.
I'm sorry but how can I install an older version of wine to tell the git
bisect a working version?
Either just tell git to pull old source (you can do 'git pull
wine-0.9.32', I think),
or grab precompiled packages from
http://winehq.org/site/download
For instance, that links to old Ubuntu packages here:
http://wine.budgetdedicated.com/archive/index.html
Locked