Profili Pro software needs mdb file?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
superbug20
Level 1
Level 1
Posts: 7
Joined: Sat Aug 06, 2011 1:26 pm

Profili Pro software needs mdb file?

Post by superbug20 »

Hi All,

Just started to try to get 1 windoz program to run in Ubuntu since I can't find a good alternative. Been running Ubuntu for 3 years but this is above my expertise. Profili is airplane wing profile software that will generate G-code for a CNC router. When I try to get it to run under WIne it gives me this error and quits... "Impossible to open database C:\windows\profiles\superbug\My Documents\Profilipro\Libraries\ProfiliProNoPolar.mdb."
The file is present at the location that it calls for but the program must need something else other than a file at that location. I searched the archives and tried the commands winetricks jet40 and winetricks mdac28 in a terminal window before running but still nogo. The archive lists a winetrick mdac25 but that just brings up an error when ran in the terminal.
Any ideas?
I also have the question...do you have to run the winetrick commands in a terminal every time before running the software or are they installed and good to go now?
TIA
perryh

Profili Pro software needs mdb file?

Post by perryh »

"superbug20" <[email protected]> wrote:
...do you have to run the winetrick commands in a terminal every
time before running the software or are they installed and good
to go now?
Once you have installed a particular winetrick into a particular
prefix, it is "permanently" installed in that prefix. (In most
cases, the only way to get rid of it would be to delete the whole
prefix.)

However, installing a winetrick into one prefix won't have any
effect on other prefixes.

Winetricks does maintain a cache of what it has downloaded, so any
given _download_ doesn't need to be repeated even if the distfile is
used needed more than one winetrick and/or installed into more than
one prefix. This cache is stored separately, not in any prefix.
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Re: Profili Pro software needs mdb file?

Post by jjmckenzie »

superbug20 wrote:Hi All,

Just started to try to get 1 windoz program to run in Ubuntu since I can't find a good alternative. Been running Ubuntu for 3 years but this is above my expertise. Profili is airplane wing profile software that will generate G-code for a CNC router. When I try to get it to run under WIne it gives me this error and quits... "Impossible to open database C:\windows\profiles\superbug\My Documents\Profilipro\Libraries\ProfiliProNoPolar.mdb."
The file is present at the location that it calls for but the program must need something else other than a file at that location. I searched the archives and tried the commands winetricks jet40 and winetricks mdac28 in a terminal window before running but still nogo. The archive lists a winetrick mdac25 but that just brings up an error when ran in the terminal.
Is the file located on your UNIX drive or did you link this back to a file on an NTFS partition in a 'real Windows' installation?
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Re: Profili Pro software needs mdb file?

Post by jjmckenzie »

superbug20 wrote:Hi All,

Just started to try to get 1 windoz program to run in Ubuntu since I can't find a good alternative. Been running Ubuntu for 3 years but this is above my expertise. Profili is airplane wing profile software that will generate G-code for a CNC router. When I try to get it to run under WIne it gives me this error and quits... "Impossible to open database C:\windows\profiles\superbug\My Documents\Profilipro\Libraries\ProfiliProNoPolar.mdb."
The file is present at the location that it calls for but the program must need something else other than a file at that location. I searched the archives and tried the commands winetricks jet40 and winetricks mdac28 in a terminal window before running but still nogo. The archive lists a winetrick mdac25 but that just brings up an error when ran in the terminal.
Is the file located on your UNIX drive or did you link this back to a file on an NTFS partition in a 'real Windows' installation?
superbug20
Level 1
Level 1
Posts: 7
Joined: Sat Aug 06, 2011 1:26 pm

Post by superbug20 »

I don't have a dual boot computer. It is Ubuntu only. The file is located "I'm guessing" in the fake windows path created by wine. I didn't install or copy the file to the location, I just looked to see if a file was where the error said it had the problem at. Hope this helps.
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Post by jjmckenzie »

superbug20 wrote:I don't have a dual boot computer. It is Ubuntu only. The file is located "I'm guessing" in the fake windows path created by wine. I didn't install or copy the file to the location, I just looked to see if a file was where the error said it had the problem at. Hope this helps.
Ok. What may have happened is the .mdb file may be corrupt or empty when it should not be. Can you do the following in a new/fresh Wineprefix:

Install mdac28 using winetricks
install jet40 using winetricks
install the airfoil profiling program

Then try to run the program?
I know this looks like a lot of work, but the files for winetricks are already downloaded and the process to set a new Wineprefix for the install is:

Code: Select all

export WINEPREFIX=<enter a directory path here>
sh winetricks mdac28
sh winetricks jet40
change directories to the airfoil profiling program's install directory
wine <install program name>
A few more steps is all that should be needed to see if installing the two functions eliminates the problem.

If you have done this already, my apologies.

James
superbug20
Level 1
Level 1
Posts: 7
Joined: Sat Aug 06, 2011 1:26 pm

Post by superbug20 »

Just did some more reading on the wine tricks and maybe I'm not using wine tricks correctly. Do I need to un-install the program profili and then re-install with a wine prefix to get the wine tricks to work with that app?
superbug20
Level 1
Level 1
Posts: 7
Joined: Sat Aug 06, 2011 1:26 pm

Post by superbug20 »

We must have posted at the same time as to the wine prefix question. I will try that and post back. Thanks.
superbug20
Level 1
Level 1
Posts: 7
Joined: Sat Aug 06, 2011 1:26 pm

Post by superbug20 »

OK...I deleted the program with the Wine GUI. I then opened a terminal and did a mkdir of /home/superbug/profilicam. I then executed the code suggested to create a fresh wine prefix and all of that went smoothly along with the new winetricks for that prefix. I had the profili.exe file in the folder I created and had wine do the install. After the fresh install the program gave me the same error but with a slightly different destination path "Impossible to open database C:\users\superbug\My Documents\ProfiliPro\Libraries\ProfiliProNoPolar.mdb". I did check to make sure the program did install in the new folder /home/superbug/profilicam which is the new prefix.
I did notice a note in the terminal after the jet40 winetricks command that the install was complete but the installed file /home/////dao360.dll not found. IDK if this is normal or not. Any other ideas? TIA.
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Profili Pro software needs mdb file?

Post by jjmckenzie »

On 8/6/11 10:25 PM, superbug20 wrote:
OK...I deleted the program with the Wine GUI. I then opened a terminal and did a mkdir of /home/superbug/profilicam. I then executed the code suggested to create a fresh wine prefix and all of that went smoothly along with the new winetricks for that prefix. I had the profili.exe file in the folder I created and had wine do the install. After the fresh install the program gave me the same error but with a slightly different destination path "Impossible to open database C:\users\superbug\My Documents\ProfiliPro\Libraries\ProfiliProNoPolar.mdb". I did check to make sure the program did install in the new folder /home/superbug/profilicam which is the new prefix.
I did notice a note in the terminal after the jet40 winetricks command that the install was complete but the installed file /home/////dao360.dll not found. IDK if this is normal or not.
This is normal and the file should have ended with .tlb not .dll.

I'll have to see what happens here in a fresh wineprefix when installing
jet40 from the most current winetricks.

James
superbug20
Level 1
Level 1
Posts: 7
Joined: Sat Aug 06, 2011 1:26 pm

Post by superbug20 »

I had a thought last night....If I do an install on a Windoz machine and grab the file that I'm having the error with would that be an option?
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Post by jjmckenzie »

superbug20 wrote:I had a thought last night....If I do an install on a Windoz machine and grab the file that I'm having the error with would that be an option?
You can try it. However, does this program make changes to the Windows Registry? You might want to look at the registry on a Windows machine and then compare it to what you see on Wine. DO NOT ATTEMPT to completely overlay Wine's registry with Windows. This will not work (doing this in case someone else decides to do so.)
James
Martin Gregorie

Profili Pro software needs mdb file?

Post by Martin Gregorie »

On Sat, 2011-08-06 at 13:43 -0500, superbug20 wrote:
Profili is airplane wing profile software that will generate G-code
for a CNC router.
I suppose you know that Profili is pretty much just a wing section
library and a Windows GUI wrapper for XFOIL and that XFOIL can be easily
downloaded and compiled as a native Linux application.

Would using that approach solve your problem?


Martin
superbug20
Level 1
Level 1
Posts: 7
Joined: Sat Aug 06, 2011 1:26 pm

Post by superbug20 »

Xfoil will work if it will give me the rib sections in a tapered wing and give me either the DXF or G-code for a CNC router.. I'll check out Xfoil and see if it will work.
Locked