gnome3 breaks files and folders
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Do |
Undecided
|
Unassigned | ||
| Do Plugins |
High
|
Unassigned |
Bug Description
on ArchLinux x64 after upgrading to GNOME3 files and folders stopped working. I receive no results when searching for files. I uninstalled all plugins and receive the same error from "GNOME Special Locations"
from the terminal:
[code]
$ gnome-do --debug
[Info 15:45:21.647] [Services] Successfully located service of type IPreferencesSer
[Info 15:45:21.656] [Services] Successfully located service of type ILogService.
[Info 15:45:21.656] [Services] Successfully located service of type ISecurePreferen
[Info 15:45:21.664] [Services] Successfully located service of type INotificationsS
[Debug 15:45:21.668] [InterfaceManager] "Mini" interface was loaded
[Info 15:45:21.669] [Services] Successfully located service of type ILogService.
[Debug 15:45:21.669] [InterfaceManager] "Classic" interface was loaded
[Debug 15:45:21.669] [InterfaceManager] "Glass" interface was loaded
[Debug 15:45:21.670] [InterfaceManager] "Nouveau" interface was loaded
[Debug 15:45:21.673] [PluginManager] Loaded "ApplicationIte
[Debug 15:45:21.673] [PluginManager] Loaded "GNOMESpecialLo
[Info 15:45:21.675] [Services] Successfully located service of type AbstractApplica
[Debug 15:45:21.676] [PluginManager] Loaded "InternalItemSo
[Debug 15:45:21.676] [PluginManager] Loaded "ItemSourceItem
[Debug 15:45:21.677] [PluginManager] Loaded "EmailAction" from plugin.
[Debug 15:45:21.678] [PluginManager] Loaded "OpenAction" from plugin.
[Debug 15:45:21.681] [PluginManager] Loaded "OpenUrlAction" from plugin.
[Debug 15:45:21.681] [PluginManager] Loaded "OpenWithAction" from plugin.
[Debug 15:45:21.681] [PluginManager] Loaded "RevealAction" from plugin.
[Debug 15:45:21.682] [PluginManager] Loaded "RunAction" from plugin.
[Debug 15:45:21.682] [PluginManager] Loaded "CopyToClipboar
[Info 15:45:21.682] [Services] Successfully located service of type AbstractSystemS
[Debug 15:45:21.684] [SystemService] No other application instance detected. Continue startup.
[Info 15:45:21.692] [Services] Successfully located service of type IPreferencesSer
[Info 15:45:21.692] [Services] Successfully located service of type ISecurePreferen
[Debug 15:45:21.698] [Controller] Setting theme Classic
[Info 15:45:21.791] [Services] Successfully located service of type IKeyBindingService.
[Info 15:45:21.840] [Services] Successfully located service of type INetworkService.
[Info 15:45:21.844] [UniverseManager] Reloading universe...
[Debug 15:45:21.845] [UniverseManager] Reloading actions...
[Debug 15:45:21.849] [UniverseManager] Reloading item source "Applications"...
[Debug 15:45:21.973] [UniverseManager] Reloading item source "GNOME Special Locations"...
[Info 15:45:21.987] [Services] Successfully located service of type IUniverseFactor
[Info 15:45:21.993] [Services] Successfully located service of type IEnvironmentSer
Do.Universe.
Parameter name: path2
at System.
at Do.Platform.
at Do.Platform.
at Do.Universe.
--- End of inner exception stack trace ---
at Do.Platform.
at Do.Universe.
at Do.Universe.
at Do.Universe.
[Debug 15:45:22.001] [UniverseManager] Reloading item source "Internal GNOME Do Items"...
[Debug 15:45:22.002] [UniverseManager] Reloading item source "GNOME Do Item Sources"...
[Info 15:45:22.003] [UniverseManager] Universe contains 156 items.
[Debug 15:47:22.008] [UniverseManager] Reloading item source "Applications"...
[Debug 15:47:22.036] [UniverseManager] Reloading item source "GNOME Special Locations"...
Do.Universe.
Parameter name: path2
at System.
at Do.Platform.
at Do.Platform.
at Do.Universe.
--- End of inner exception stack trace ---
at Do.Platform.
at Do.Universe.
at Do.Universe.
at Do.Universe.
[/code]
Will Timpson (greybluemist) wrote : | #1 |
Frank Lockom (flockom) wrote : | #2 |
Thanks! this solved the problem.
Seems strange that files and folders should stop working without this file:
XDG_DESKTOP_
XDG_DOWNLOAD_
XDG_TEMPLATES_
XDG_PUBLICSHARE
XDG_DOCUMENTS_
XDG_MUSIC_
XDG_PICTURES_
XDG_VIDEOS_
what does it do besides allow for the custom icons on those folders?
Will Timpson (greybluemist) wrote : | #3 |
My understanding is that xdg-user-dirs is useful in that it provides a way for any application to find these folders on any system. I am basing this on a cursory reading of: http://
I actually just searched the source code (which I found here: http://
Then I figured that this line: userDirsPath = Path.Combine (configDir, "user-dirs.dirs"); contained the only Path.Combine that was likely to be throwing the error, since it contained an absolute reference (to user-dirs.dirs), while all the rest just referenced variables.
When I discovered that my filesystem did not contain any file named as such, I just searched the tubes for what that file was.
Et voila. (It actually took me an hour or two and I literally did a little dance when I figured it out.)
P.S. I'm no developer, but if there are developers reading this, it seems to me that there should be a better way of doing this. Does the Files and Folders plugin (or the code in Do that the plugin is using) need to read the user-dirs.dirs file to be useful? If not, there should be a way to code it so that it can be used if available, but the remaining functionality of Files and Folders is maintained in its absence. If it is necessary, then xdg-user-dirs should be a dependency of Do (or maybe the plugins?), so that user-dirs.dirs is available to Do when it is needed (I realize that in this case, it is more of a packaging problem). Any thoughts?
affects do-plugins
status triaged
importance high
milestone 0.8.5
We should indeed handle the case where the user-dirs file isn't
available better. Not crashing would be good :)
Chris Halse Rogers (raof) wrote : | #5 |
affects do-plugins
status triaged
importance high
We should indeed handle the case where the user-dirs file isn't
available better. Not crashing would be good :)
FanJun Kong - ( BH1SCW ) (fjkong) wrote : | #6 |
I also met this problem, so any news? or How to fix this bug?
This error is a result of the lack of the file user-dirs.dirs, which usually resides in ~/.config/. This file can be created manually, but it is automatically created by the program xdg-user- dirs-update which is included in the package xdg-user-dirs.
Refer to: www.unix. com/man- page/OpenSolari s/1/xdg- user-dirs- update/ /wiki.archlinux .org/index. php/GNOME_ Tips
http://
https:/