GNOME Bugzilla – Bug 329126
Adding dictionary server fails
Last modified: 2006-02-05 15:19:59 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
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?
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
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.
Removing the file AND manually creating the directory with the same name fixes the problem.
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.
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.
the check is in HEAD, and it tells the user to move the file out of the way if it's found.