← Back to team overview

zeitgeist team mailing list archive

Re: [Bug 686674] Re: zeitgeist crashes in case of non existing .cache folder (KDE)

 

2010/12/7 Markus Korn <thekorn@xxxxxx>:
> Ohh? Is KDE (or the distro you are using) not using xdg, or why is
> ~/.cache not there?

«KDE supports the base directory specification and the various
environment variables it prescribes in addition to the KDE filesystem
hierarchy.»
http://techbase.kde.org/KDE_System_Administration/XDG_Filesystem_Hierarchy

> And if KDE uses something else for such kind of
> `local log files` we should use this location instead of creating
> XDG_CACHE with a big hammer.

Disagree, the location of stuff shouldn't change depending on with
which session you're logged in (or what directories already exist).

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/686674

Title:
  zeitgeist crashes in case of non existing .cache folder (KDE)

Status in Zeitgeist Framework:
  Fix Committed

Bug description:
  When trying to run trunk on a fresh KDE install I get

seif@Wumbo-VM:~$ zeitgeist-daemon --replace
Traceback (most recent call last):
  File "/usr/local/bin/zeitgeist-daemon", line 158, in <module>
    setup_logger(_config.options.log_level)
  File "/usr/local/bin/zeitgeist-daemon", line 142, in setup_logger
    os.mkdir(os.path.dirname(log_file))
OSError: [Errno 2] No such file or directory: '/home/seif/.cache/zeitgeist'

This is due to our latest change for logging outputs





References