After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 329126 - Adding dictionary server fails
Adding dictionary server fails
Status: RESOLVED FIXED
Product: gnome-utils
Classification: Deprecated
Component: gdict
2.13.x
Other Linux
: Normal major
: ---
Assigned To: gnome-utils Maintainers
gnome-utils Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-29 21:23 UTC by Reinout van Schouwen
Modified: 2006-02-05 15:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Reinout van Schouwen 2006-01-29 21:23:58 UTC
Previously defined dictionary servers are forgotten in 2.13.5, so I needed to add localhost again.

1. Edit > Preferences
2. Add
3. Click on Transport combo (should be pre-initialized with Dictionary server, it is the only choice)
4. Enter localhost as hostname
5. Add

Expected result: localhost is addded as dictionary server.

Actual result: (translated back to english)
Could not save source file
Creating file '/home/reinout/.gnome2/gnome-dictionary/source-1138569949-6915.desktop.Z3E73S' failed: Not a directory
Comment 1 Emmanuele Bassi (:ebassi) 2006-01-29 22:06:57 UTC
cannot reproduce it with 2.13.5/HEAD.

the file name has some cruft at the end; also, the error states that .gnome2/gnome-dictionary is not a directory.

could you check if the $HOME/.gnome2/gnome-dictionary directory is indeed there?
Comment 2 Reinout van Schouwen 2006-01-29 22:14:50 UTC
There is no such directory, but there is a file named $HOME/.gnome2/gnome-dictionary. The contents are:

[Placement]
Dock=Menubar\\0,0,0,0
Comment 3 Emmanuele Bassi (:ebassi) 2006-01-29 22:19:27 UTC
I've never had this file, and I don't think that it was created by the old gdict; seems like something bonobo-related (GnomeApp or similar).

removing it should fix the bug, but I really don't know what application could have created, or could need such file.
Comment 4 Reinout van Schouwen 2006-02-03 21:42:35 UTC
Removing the file AND manually creating the directory with the same name fixes the problem.
Comment 5 Emmanuele Bassi (:ebassi) 2006-02-03 21:52:44 UTC
the directory should be automatically created upon launch of either the application or the applet, if it's not already there (EEXIST).  could you please check that?

I can add some other checks to alert the user of a file with the same name.
Comment 6 Reinout van Schouwen 2006-02-03 22:02:13 UTC
Yes, I exited the applet and removed the directory; after starting gnome-dictionary from the command line the directory was created and adding a dictionary went fine. 

It would be useful to check for such a file and maybe rename it to get it out of the way. If I had it then there surely are more people who have old GNOME cruft that caused this.
Comment 7 Emmanuele Bassi (:ebassi) 2006-02-05 15:19:59 UTC
the check is in HEAD, and it tells the user to move the file out of the way if it's found.