You are not logged in.

#1 2011-01-20 15:17:04

mini
Member
Registered: 2006-12-18
Posts: 132

Startdict crashes after last upgrade

Startdict crashes after last upgrade

$ stardict
XDXF data parsing plug-in loaded.
HTML data parsing plug-in loaded.
Dict.cn plug-in loaded.
Man plug-in loaded.
PowerWord data parsing plug-in loaded.
WordNet data parsing plug-in loaded.
Spelling plugin loaded.
Wiki data parsing plug-in loaded.
QQWry plug-in loaded.
WordNet dict rendering plug-in loaded.
bookname: slovnyk_en-pl, wordcount 15424
bookname: slovnyk_pl-en, wordcount 20087
bookname: StarDict dictionary, wordcount 9
[warning] Binding '<Ctrl><Alt>x' failed! Already assigned.

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

Offline

#2 2011-01-20 16:00:44

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Startdict crashes after last upgrade

did stardict or any of its dependencies get updated?

If so, try downgrading and see if that works.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-01-20 19:28:32

mini
Member
Registered: 2006-12-18
Posts: 132

Re: Startdict crashes after last upgrade

Downgrading does not help. I am not sure what kind of dependencies I have to look after. Any hints?

Offline

#4 2011-01-22 14:13:35

polymetr
Member
Registered: 2009-12-04
Posts: 40

Re: Startdict crashes after last upgrade

I took  3.0.1 version of  stardict in packages repository  http://www.archlinux.org/packages/extra/i686/stardict/ and  compiled the package and all is working now. I had the stardict crash when I was pushing a key that was bind to the scanning of the selected text.

Offline

#5 2011-01-23 01:21:42

nemamradfazole
Member
Registered: 2010-03-18
Posts: 40
Website

Re: Startdict crashes after last upgrade

Maybe (because of occurrences of NetDictRequests) it is caused by internet modules which you don't have to need. I use just my local dictionaries and my ~/.stardict/stardict.cfg looks like:

[stardict-private]
version=1.0

[/apps/stardict/manage_dictionaries]
dict_order_list=/usr/share/stardict/dic/quick_italian-english.ifo/usr/share/stardict/dic/encz.ifo/usr/share/stardict/dic/czen.ifo/usr/share/stardict/dic/stardict-dict/stardict-dict.ifo
dict_config_xml=<dictgroup name="Default Group"><querydict><localdict enable="true" file="/usr/share/stardict/dic/quick_italian-english.ifo"/><localdict enable="true" file="/usr/share/stardict/dic/encz.ifo"/><localdict enable="true" file="/usr/share/stardict/dic/czen.ifo"/><localdict enable="true" file="/usr/share/stardict/dic/stardict-dict/stardict-dict.ifo"/></querydict><scandict><localdict enable="true" file="/usr/share/stardict/dic/quick_italian-english.ifo"/><localdict enable="true" file="/usr/share/stardict/dic/encz.ifo"/><localdict enable="true" file="/usr/share/stardict/dic/czen.ifo"/><localdict enable="true" file="/usr/share/stardict/dic/stardict-dict/stardict-dict.ifo"/></scandict></dictgroup>
dict_default_group=Default Group

[/apps/stardict/preferences/dictionary]
only_scan_while_modifier_key=true
use_scan_hotkey=false
enable_sound_event=false

[/apps/stardict/preferences/network]
enable_netdict=false

[/apps/stardict/preferences/main_window]
hide_on_startup=true
search_website_list=
window_width=680
window_height=359
hpaned_pos=114

(Well, there are some strange symbols after ".ifo"s on "dict_order_list=" line, they couldn't be pasted.)

Internet (mainly those Chinese) modules are really unusable for me, so the first thing I do when I install StarDict is I delete all occurrences of <virtualdict ... /> and <netdict ... /> in the configuration file. Maybe it will help you too if you keep just <localdict ... /> items.

There's other thing that bothers me now with StarDict - RealPeopleTTS works fine with the version 3.0.1-3 but hesitates to with the up-to-date version 3.0.2-2.

Last edited by nemamradfazole (2011-01-23 01:33:27)

Offline

#6 2011-02-06 17:56:27

pkkk
Member
Registered: 2011-02-06
Posts: 1

Re: Startdict crashes after last upgrade

Same crash appeared for me when tried to scan smth.
After deleting all dictionaries with "Word count" = 0 (dict.cn, man, ..)  in "Manage  Dict" tab of "Manage  Dictionaries" dialog Stardict works fine

Offline

#7 2011-04-26 22:55:42

IamLuke
Member
Registered: 2010-04-02
Posts: 6

Re: Startdict crashes after last upgrade

可能是辞典与stardict版本不兼容的问题, 我把stardict卸载掉, 辞典也都删除,  然后所有相关的配置文件, 例如.stardict等等都删除. 再重装后就能用了, 尽管从命令行启动的时候还有(Gdk) [critical] IA__gdk_window_set_cursor: assertion `GDK_IS_WINDOW (window)' failed这个问题, 但不影响使用. 安装上新的辞典使用也暂时没有问题.

Offline

Board footer

Powered by FluxBB