migrate_favorites.py crashed with OSError in makedirs(): [Errno 13] Permission denied: '/home/aquarius/.local/share/unity'
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Unity |
Fix Released
|
Undecided
|
Didier Roche-Tolomelli | ||
| unity (Ubuntu) |
Fix Released
|
Low
|
Didier Roche-Tolomelli | ||
Bug Description
Binary package hint: unity
Restarting unity causes migrate_favorites to crash. I suspect that this is because I have custom XDG folders defined. However, all my other apps work (and use my custom folders: ~/Applications/Data instead of ~/.local/share, for example) so I don't understand why unity doesn't.
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: unity-common 3.4.4-0ubuntu2
ProcVersionSign
Uname: Linux 2.6.38-4-generic i686
Architecture: i386
CompizPlugins: [core,bailer,
Date: Wed Feb 23 11:13:49 2011
ExecutablePath: /usr/lib/
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/lib/
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: unity
Title: migrate_
UserGroups: adm admin cdrom couchdb dialout dip floppy fuse lpadmin plugdev video
Related branches
- Unity Team: Pending requested
-
Diff: 80 lines (+25/-11) 2 files modifiedapitools/migrate_favorites.py (+22/-11)
tools/unity.cmake (+3/-0)
- Dependencies.txt Edit (790 bytes, text/plain; charset="utf-8")
- GconfCompiz.txt Edit (47.3 KiB, text/plain; charset="utf-8")
- ProcMaps.txt Edit (9.5 KiB, text/plain; charset="utf-8")
- ProcStatus.txt Edit (793 bytes, text/plain; charset="utf-8")
- Traceback.txt Edit (384 bytes, text/plain; charset="utf-8")
The migration script uses the xdg library for custom xdg dirs, so I'm not really sure what went wrong here. This actually looks like the BaseDirectory.
Sadly, migrate_
after discussing with Stuart, xdg_cache_home to use. I'll as well in case of "fail to open dir" (seems like it's racy as BaseDirectory python module doesn't take the env var in .gnomerc). In that case, we can shout (a warning) and print the log to stderr so that it at least ended on .xsession-errors
This bug was fixed in the package unity - 3.6.2-0ubuntu1
---------------
unity (3.6.2-0ubuntu1) natty; urgency=low
* New upstream release:
- unity-window-
g_
- blinking screen at searching "gn" (LP: #674022)
- Top panel isn't multimonitor aware (LP: #675862)
- Leaving fullscreen causes the launcher to rapidly appear and then
disappear (LP: #718054)
- migrate_
directory name: "/desktop/
Shows.
(LP: #722403)
- does not display icons until hovered (LP: #726033)
- Unintuative Application Matching (LP: #726711)
- icons missing in the dash recent files and directory search returns
(LP: #727824)
- some result cache broke the dash search (LP: #728961)
- Protect against conflicts with unity super keys (LP: #729166)
- not installed apps sorting in global search (LP: #636996)
- No 'safely remove' option is present in the unity menu when a usb disk
is inserted (LP: #660010)
- Dash - Implement new Dash design! (LP: #683762)
- Expose or add missing nux functions for a11y support (LP: #701672)
- Launcher - A single finger 'hold' on a Launcher app icon should open the
quicklist (LP: #702486)
- No "Search" default entry (LP: #710794)
- Icon in Launcher should be home folder icon (LP: #721121)
- Launcher bindings require Super to be held down to work (LP: #727580)
- compiz crashed with SIGSEGV in nux::CairoGraph
(LP: #727636)
- Unity "Lens" do not scroll to bottom (LP: #719616)
- Double-click on panel to unmaximize only works in right half
(LP: #725529)
- clicking multiple time on the bfb makes the logo darker and darker
(LP: #727146)
- the launcher should go away if it has been open using the keyboard and
the mouse is not moved while the cursor is on it (LP: #727746)
- migrate_
Permission denied: '/home/
- No feedback when unmounting busy device in Unity (LP: #730638)
-- Didier Roche <email address hidden> 2011年3月07日 19:10:27 +0100