Bonsoir,

I am fighting to have local dictionaries available with dictd on fedora 40.

I have in my /etc/dictd.conf:

# Add database definitions here...
database mw {
        data /opt/share/stardict/dic/mw_dict/mwv031c.dict.dz
        index /opt/share/stardict/dic/mw_dict/mwv031c.index

        access{
                allow *
        }
}

When I start dictd.service, I can read:

août 13 19:34:00 dictd :I: "/opt/share/stardict/dic/mw_dict/mwv031c.index": fl> août 13 19:34:00 :I: "/opt/share/stardict/dic/mw_dict/mwv031c.index": fl> août 13 19:34:00 dictd: :I: "/opt/share/stardict/dic/mw_dict/mwv031c.index": fl>
août 13 19:34:03  dictd[1868]: :I:     .index <ok>
août 13 19:34:03 dictd[1868]: :I:   Opening data
août 13 19:34:03 dictd[1868]: :I: alphabet: pg4hyz5risjakbct8ul0md1ev n2o3
août 13 19:34:03 dictd[1868]: :I: 'mw' initialized
août 13 19:34:03 dictd[1868]: :I: Initializing '--exit--'
août 13 19:34:03 dictd[1868]: :I:     alphabet: (NULL)
août 13 19:34:04 dictd[1868]: :I: mw 555369 10149936 8769241 >

----> 'mw' initialized OK!

But if I want to ask this database:

dict -d mw atra

The answer is:

mw is not a valid database, use -D for a list
No definitions found for "atra"

I don't understand and need help.... if possible!

Thank you.

--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to