Cambridge English Pronouncing Dictionary runs only once

Questions about Wine on Linux
il_conformista
Level 1
Level 1
Posts: 6
Joined: Wed Jul 18, 2012 2:50 am

Cambridge English Pronouncing Dictionary runs only once

Post by il_conformista »

Hi everyone,

I am a conference interpreter and up to now the non-availability of dictionaries for anything besides Windows always put me off giving Linux a try. Now I have installed Ubuntu 12.04 and have tried some of my dictionaries with Wine.

One of them, the Cambridge English Pronouncing Dictionary started once w/o any problems right after installing. You know how many Windows setup procedures end with a dialogue box with a checkbox to start the installed program right away? I left that checkbox flagged and the program started and everything worked (including sound!).

However, every time I have tried to start it since, I get the error message "Can't find movie: .ILB" Apparently the program looks for a file which it doesn't look for when launched for the first time right after setup. Anybody know what to do?

I'm a newbie to Ubuntu and Wine, so excuses if this kind of thing has been covered a million times before. I will have more questions for other dictionaries, but let's start with this one.

Thanks!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cambridge English Pronouncing Dictionary runs only once

Post by dimesio »

il_conformista wrote: However, every time I have tried to start it since, I get the error message "Can't find movie: .ILB"
How are you trying to run it? http://wiki.winehq.org/FAQ#run_from_terminal
il_conformista
Level 1
Level 1
Posts: 6
Joined: Wed Jul 18, 2012 2:50 am

Post by il_conformista »

Great! That has solved my first problem. The program launches and works fine (again, this is a pronouncing dictionary and even the sound recordings play fine).

But: to start it, I have to "wine start" an .exe file from within a different sub-folder than the one that contains that .exe file. (Setup created two subfolders in the Program Files folder, one called TEXTware\Illuminator 2\ with the executable and another called Cambridge\EPD001CP\ with all the data.) Is there a way of packaging that into a shortcut? Here's a screenshot of what I mean:

Image

Also, I am trying to install another dictionary where I keep getting the error message that "_SETUP.DLL" is missing, even though that file is in the same folder I am wine-starting SETUP.EXE from:

Image

Do you have any idea what to do about this?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

The terminal output shows you have a 64 bit wineprefix. Try installing the app to a pure 32 bit wineprefix. Create one with

Code: Select all

WINEARCH=win32 WINEPREFIX=/path/to/wineprefix winecfg
then install the app to that. http://wiki.winehq.org/FAQ#head-faf9617 ... 522d490faf
il_conformista
Level 1
Level 1
Posts: 6
Joined: Wed Jul 18, 2012 2:50 am

Post by il_conformista »

Unfortunately, that has not worked...
There are threads in Windows forums saying that error message means the setup routine needs to install from CD-ROM. But it doesn't make any difference, I have tried both from CD-ROM and from HD. For some reason, it won't see/accept the dll file, even though it is clearly there.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

Why exactly do you need to do "wine start ..."? A simple "wine setup.exe" should work. I don't know, if this is an issue here, but it might not be a good idea to use folder names with german umlauts ("ä").

Regarding your issue with the subfolders ("EPD001CP"), you should just cd into the .exe directory and run from there, the app should be able to find the data. Maybe you need to configure your app or pass the location of the data as command line parameter.
il_conformista
Level 1
Level 1
Posts: 6
Joined: Wed Jul 18, 2012 2:50 am

Post by il_conformista »

Hey lahmbi,

Regarding the subfolders issue: that's exactly what the app won't do - if I launch the app from within its own subfolder, I get this window:

Image

Even if I manually navigate that dialogue box to the other subfolder (EPD001CD), it won't recognize it as containing the data. But if I launch the executable from within the data subfolder, the app comes up:

Image

The problem is, I haven't found out yet how to do that in a single click outside the terminal. I know how to create desktop shortcuts (or launchers or whatever you call them in Ubuntu), but unlike in Windows, there seems to be now way of specifying the executable to be run from within a different folder.

Thanks for the hint about German umlauts; I will try this out and let you know if that was the hitch.
il_conformista
Level 1
Level 1
Posts: 6
Joined: Wed Jul 18, 2012 2:50 am

Post by il_conformista »

You had the right idea with the umlauts - I renamed the folder to 'Schaefer' and it installed and runs fine! Thanks.

The only minor quibble is that whenever I launch that dictionary, all windows (including of non-Wine, native Linux apps) lose their title bars:

Image

^This behaviour persists even after terminating the Wine app. I have to restart to get back the title bars.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Cambridge English Pronouncing Dictionary runs only once

Post by lahmbi5678 »

Hi,

the issue with the subfolder is probably a bug in wine, please post the terminal output as text (your pics are not really helpful). I don't use Ubuntu, but in KDE's desktop shortcuts there is an option to provide a working directory, which would be the data folder in your case.

The issue with the lost title bars definitely sounds like a wine bug, please file one.
il_conformista
Level 1
Level 1
Posts: 6
Joined: Wed Jul 18, 2012 2:50 am

Re: Cambridge English Pronouncing Dictionary runs only once

Post by il_conformista »

The terminal output is this:

p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

The last part in German means "Cannot open Shared-Object-File: File or directory not found" but none of this^ seems to be the problem, because the output (including the line in German) is 100 per cent identical when I start the app from the data directory. Starting from the data folder, the output continues with this:

fixme:win:EnumDisplayDevicesW ((null),0,0x32f568,0x00000000), stub!
fixme:font:freetype_SelectFont Untranslated charset 6
fixme:font:freetype_SelectFont Untranslated charset 48
fixme:font:freetype_SelectFont Untranslated charset 48
fixme:font:freetype_SelectFont Untranslated charset 48
fixme:font:freetype_SelectFont Untranslated charset 48
fixme:d3d_surface:surface_cpu_blt Filter WINED3D_TEXF_LINEAR not supported in software blit.
fixme:d3d_surface:surface_cpu_blt Filter WINED3D_TEXF_LINEAR not supported in software blit.
fixme:d3d_surface:surface_cpu_blt Filter WINED3D_TEXF_LINEAR not supported in software blit.
fixme:d3d_surface:surface_cpu_blt Filter WINED3D_TEXF_LINEAR not supported in software blit.

etc etc, many times over.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Cambridge English Pronouncing Dictionary runs only once

Post by lahmbi5678 »

Hi,
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so:
you probably could get rid of that error message, if you installed the 32bit gnome-keyring package.

Yet the issue that your app doesn't recognize its data files (which ending?), is probably a bug in wine, so you should file a bug.
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Re: Cambridge English Pronouncing Dictionary runs only once

Post by etwineb »

I have the problem of scrambled output in the improve pronunciation record window. Installing winetricks directx9 solves the problem, but probably there is a more specific fix.
Did you solve?
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Cambridge English Pronouncing Dictionary runs only once

Post by DanKegel »

Can you post a screenshot of the "scrambled output in the improve pronunciation record window" problem?

(Hmm, wonder if you're running into
http://bugs.winehq.org/show_bug.cgi?id=28678
That bug also mentions WINED3D_TEXF_LINEAR.)

Many, many apps cause Ubuntu's window manager to die. That's
not a Wine bug, it seems more like a Unity bug. I don't see it yet in
https://bugs.launchpad.net/unity though. I've been meaning to
file one, but Unity has so many crash bugs against it I'm not
sure they'll pay attention...

The "can't run if installed in a directory containing an umlaut"
bug seems worth reporting. Please file a new wine bug for that.
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Re: Cambridge English Pronouncing Dictionary runs only once

Post by etwineb »

Enclosed. But I was wrong, directx9 does not help at all. It seems more a refresh problem as a single xrefresh calls fixes the window.
Attachments
screen.png.gz
I gzip-ed so it does not mess up the forum alignment.
(250.25 KiB) Downloaded 1018 times
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Re: Cambridge English Pronouncing Dictionary runs only once

Post by etwineb »

I get crashes while recording
Here is a log.

I tried using dsound override, but it does not help
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Cambridge English Pronouncing Dictionary runs only once

Post by DanKegel »

Does the kludge patch in http://bugs.winehq.org/show_bug.cgi?id=28678 help?
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Re: Cambridge English Pronouncing Dictionary runs only once

Post by etwineb »

I do not know, I binded Super4+r to xrefresh and it makes the program easily usable... alas it crashes.
krishkochi
Level 1
Level 1
Posts: 5
Joined: Sat Apr 20, 2013 5:06 pm

Re: Cambridge English Pronouncing Dictionary runs only once

Post by krishkochi »

I encountered the problem mentioned in the original post. Installed the Cambridge English Pronouncing Dictionary and it ran well once. After that it gives me the message "Can't find movie: .ILB". I tried to locate the .exe file and couldn't find in anywhere in the Program Files folder. I am an English teacher and required the dictionary for my classes. I would like to add that I am quite new to Linux (running Ubuntu 12.10), and hence am not familiar with all the commands and other stuff. Can someone please help me in solving the issue?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cambridge English Pronouncing Dictionary runs only once

Post by dimesio »

The original poster's second post describes where he found the exe file and how he ran it.
krishkochi
Level 1
Level 1
Posts: 5
Joined: Sat Apr 20, 2013 5:06 pm

Re: Cambridge English Pronouncing Dictionary runs only once

Post by krishkochi »

Thanks for the reply. I tried that but with no success. I cannot locate the .exe file for EPD. I tried to run the Quickfind Server (an .exe file installed in the folder Textware) but even that was not running from terminal. I keep getting the response as under:

krishsivagulabo@krishsivagulabo-VGN-CR363-B:~/.wine$ wine start 'C:\Program Files\Textware\QFServer.exe'
fixme:exec:SHELL_execute flags ignored: 0x00000100
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.

krishsivagulabo@krishsivagulabo-VGN-CR363-B:~/.wine$ wine start 'C:\Program Files\Textware\EPD001CP\EPD.exe'
fixme:exec:SHELL_execute flags ignored: 0x00000100
Application could not be started, or no application associated with the specified file.

ShellExecuteEx failed: Path not found.

I would like to repeat that I'm very new to Linux and my ability to work around the OS is very limited. Can anyone get me out of this problem? Please write in detail.

Thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cambridge English Pronouncing Dictionary runs only once

Post by dimesio »

You said it ran once for you. How did you run it then?
krishkochi
Level 1
Level 1
Posts: 5
Joined: Sat Apr 20, 2013 5:06 pm

Re: Cambridge English Pronouncing Dictionary runs only once

Post by krishkochi »

I have no idea how it ran. It ran soon after I installed it. After I closed it I couldn't run it anymore. I uninstalled it once and reinstalled to see if it was a problem with the installation. But the result was the same.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cambridge English Pronouncing Dictionary runs only once

Post by dimesio »

Do you mean the installer started it up for you? If not, how did you start it?
krishkochi
Level 1
Level 1
Posts: 5
Joined: Sat Apr 20, 2013 5:06 pm

Re: Cambridge English Pronouncing Dictionary runs only once

Post by krishkochi »

After finishing the installation there was this option "Start EPD now" which I checked and the program worked. After closing this, when I clicked the desktop icon created by WineHQ the program is not running.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Cambridge English Pronouncing Dictionary runs only once

Post by lahmbi5678 »

Hi krishkochi,

please try to 'cd' to the directory, where the .exe lies, and run wine from there.

The desktop link probably has some kind of "working directory" entry (right click on it, look for properties or similar), which should be set to the directory of the .exe (or alternatively to the directory, where the data files are).
Locked