stardict problem

i installed stardict last night in openSUSE 12.1.
it has a problem, when i click to start using it, it’s window appear for about 1 second and then disappear and the program terminate.
how can i solve this problem?

> how can i solve this problem?

open a terminal, type in and enter stardict

i guess there will be output by the program, complaints of something not
working or what ever…copy paste those back to this thread using the
instructions here: http://goo.gl/i3wnr


DD http://tinyurl.com/DD-Caveat

i did that and here is the resault:

:~> stardict
Man plug-in loaded.
QQWry plug-in loaded.
WordNet data parsing plug-in loaded.
Spelling plugin loaded.
WordNet dict rendering plug-in loaded.
HTML data parsing plug-in loaded.
XDXF data parsing plug-in loaded.
PowerWord data parsing plug-in loaded.
Espeak plug-in loaded.
Wiki data parsing plug-in loaded.
Dict.cn plug-in loaded.
bookname: StarDict dictionary, wordcount 9
bookname: Англо-русский словарь Мюллера, 7-я ред., wordcount 46195
bookname: Современный свободный словарь компьютерных терминов., wordcount 2389
[warning] Binding ‘<Ctrl><Alt>x’ failed! Already assigned.

(Gdk) [critical] IA__gdk_window_set_cursor: assertion `GDK_IS_WINDOW (window)’ failed
**
ERROR:compositelookup.cpp:53:void CompositeLookup::send_net_dict_request(const string&, const string&): assertion failed: (NetDictRequests.end() == std::find(NetDictRequests.begin(), NetDictRequests.end(), request))
Aborted

On 11/22/2011 10:46 AM, ilAli wrote:
>
> i installed stardict last night in openSUSE 12.1.
> it has a problem, when i click to start using it, it’s window appear
> for about 1 second and then disappear and the program terminate.
> how can i solve this problem?
>
>

I’ve just installed “stardict”, which I used sometime ago.

(1) Clicking on its menu entry brought up the dictionary GUI. I entered
“fool” in the search box. All sorts of uncomplimentary (I’m sure) things
came up, in Russian and Chinese (neither of which I understand).

(2) Launching the application from a terminal gave me the following
messages (before the dictionary GUI came up):
$ stardict
WordNet dict rendering plug-in loaded.
Dict.cn plug-in loaded.
XDXF data parsing plug-in loaded.
QQWry plug-in loaded.
PowerWord data parsing plug-in loaded.
Wiki data parsing plug-in loaded.
Espeak plug-in loaded.
WordNet data parsing plug-in loaded.
HTML data parsing plug-in loaded.
Spelling plugin loaded.
Man plug-in loaded.
bookname: Современный свободный словарь компьютерных терминов.,
wordcount 2389
bookname: StarDict dictionary, wordcount 9
bookname: Англо-русский словарь Мюллера, 7-я ред., wordcount 46195
[warning] Binding ‘<Ctrl><Alt>x’ failed! Already assigned.

[warning] Binding ‘<Ctrl><Alt>z’ failed! Already assigned.

{Here the window pops up.}

My platform is “Openbox” window manager under the brand-new openSUSE
12.1, updated to the latest. This does not help you right away. But it
indicates that something is amiss with your set-up: you’ve got the GDK
error message. What it means I have no idea.

Same error messages,
Remove these packages from oss,
And install stardict from Education project (you can use one-click install)
Now works fine.

I found a patch from StarDict 星际译王 • 查看主题 - Ubuntu 11.04 compile
test build in my obs home repo, seems OK now.
You can try it from Index of /repositories/home:/swyear/openSUSE_12.1
I’ve commit the change to Education project(not yet accepted)