[Gnome-zeitgeist] [Bug 686540] [NEW] Cannot start GAJ: Unknown method name: GetHistogramData

2010-12-07 Thread Yaron Sheffer
Public bug reported:

Ubuntu 10.10, latest GAJ from package repository - 0.5.0.1-0ubuntu1


$ gnome-activity-journal 
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
  File /usr/bin/gnome-activity-journal, line 94, in module
from src.main import PortalWindow
  File /usr/share/gnome-activity-journal/src/main.py, line 30, in module
from activity_widgets import MultiViewContainer, TimelineViewContainer, 
ThumbViewContainer
  File /usr/share/gnome-activity-journal/src/activity_widgets.py, line 35, in 
module
from store import ContentStruct, CLIENT
  File /usr/share/gnome-activity-journal/src/store.py, line 504, in module
STORE = Store()
  File /usr/share/gnome-activity-journal/src/store.py, line 367, in __init__
days_population = ZeitgeistDBusInterface().get_extension(Log, 
journal/activity).GetHistogramData()
  File /usr/lib/pymodules/python2.6/zeitgeist/client.py, line 83, in 
__getattr__
raise TypeError(Unknown method name: %s % name)
TypeError: Unknown method name: GetHistogramData

** Affects: gnome-activity-journal
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of GNOME
Zeitgeist Team, which is the registrant for GNOME Activity Journal.
https://bugs.launchpad.net/bugs/686540

Title:
  Cannot start GAJ: Unknown method name: GetHistogramData

Status in GNOME Activity Journal:
  New

Bug description:
  Ubuntu 10.10, latest GAJ from package repository - 0.5.0.1-0ubuntu1


$ gnome-activity-journal 
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
  File /usr/bin/gnome-activity-journal, line 94, in module
from src.main import PortalWindow
  File /usr/share/gnome-activity-journal/src/main.py, line 30, in module
from activity_widgets import MultiViewContainer, TimelineViewContainer, 
ThumbViewContainer
  File /usr/share/gnome-activity-journal/src/activity_widgets.py, line 35, in 
module
from store import ContentStruct, CLIENT
  File /usr/share/gnome-activity-journal/src/store.py, line 504, in module
STORE = Store()
  File /usr/share/gnome-activity-journal/src/store.py, line 367, in __init__
days_population = ZeitgeistDBusInterface().get_extension(Log, 
journal/activity).GetHistogramData()
  File /usr/lib/pymodules/python2.6/zeitgeist/client.py, line 83, in 
__getattr__
raise TypeError(Unknown method name: %s % name)
TypeError: Unknown method name: GetHistogramData



___
Mailing list: https://launchpad.net/~gnome-zeitgeist
Post to : gnome-zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~gnome-zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Gnome-zeitgeist] [Bug 686540] Re: Cannot start GAJ: Unknown method name: GetHistogramData

2010-12-07 Thread Siegfried Gevatter
*** This bug is a duplicate of bug 638217 ***
https://bugs.launchpad.net/bugs/638217

Hi,

You need to restart Zeitgeist, run zeitgeist-daemon --quit in a
terminal and then GAJ should work.

** This bug has been marked a duplicate of bug 638217
   Zeitgeist doesn't restart after upgrade (Unknown method name: 
GetHistogramData)
 * You can subscribe to bug 638217 by following this link: 
https://bugs.launchpad.net/ubuntu/+source/gnome-activity-journal/+bug/638217/+subscribe

-- 
You received this bug notification because you are a member of GNOME
Zeitgeist Team, which is the registrant for GNOME Activity Journal.
https://bugs.launchpad.net/bugs/686540

Title:
  Cannot start GAJ: Unknown method name: GetHistogramData

Status in GNOME Activity Journal:
  New

Bug description:
  Ubuntu 10.10, latest GAJ from package repository - 0.5.0.1-0ubuntu1


$ gnome-activity-journal 
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
  File /usr/bin/gnome-activity-journal, line 94, in module
from src.main import PortalWindow
  File /usr/share/gnome-activity-journal/src/main.py, line 30, in module
from activity_widgets import MultiViewContainer, TimelineViewContainer, 
ThumbViewContainer
  File /usr/share/gnome-activity-journal/src/activity_widgets.py, line 35, in 
module
from store import ContentStruct, CLIENT
  File /usr/share/gnome-activity-journal/src/store.py, line 504, in module
STORE = Store()
  File /usr/share/gnome-activity-journal/src/store.py, line 367, in __init__
days_population = ZeitgeistDBusInterface().get_extension(Log, 
journal/activity).GetHistogramData()
  File /usr/lib/pymodules/python2.6/zeitgeist/client.py, line 83, in 
__getattr__
raise TypeError(Unknown method name: %s % name)
TypeError: Unknown method name: GetHistogramData



___
Mailing list: https://launchpad.net/~gnome-zeitgeist
Post to : gnome-zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~gnome-zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Merge] lp:~seif/zeitgeist/use-new-placeholders into lp:zeitgeist

2010-12-07 Thread Seif Lotfy
Seif Lotfy has proposed merging lp:~seif/zeitgeist/use-new-placeholders into 
lp:zeitgeist.

Requested reviews:
  Zeitgeist Framework Team (zeitgeist)


The SQLite docs say:
---
You shouldn’t assemble your query using Python’s string operations because 
doing so is insecure; it makes your program vulnerable to an SQL injection 
attack.

Instead, use the DB-API’s parameter substitution. Put ? as a placeholder 
wherever you want to use a value, and then provide a tuple of values as the 
second argument to the cursor’s execute() method.
---
This branch fixes it.
-- 
https://code.launchpad.net/~seif/zeitgeist/use-new-placeholders/+merge/42943
Your team Zeitgeist Framework Team is requested to review the proposed merge of 
lp:~seif/zeitgeist/use-new-placeholders into lp:zeitgeist.
=== modified file '_zeitgeist/engine/main.py'
--- _zeitgeist/engine/main.py	2010-11-29 09:09:13 +
+++ _zeitgeist/engine/main.py	2010-12-07 14:01:20 +
@@ -169,7 +169,7 @@
 		rows = self._cursor.execute(
 			SELECT * FROM event_view
 			WHERE id IN (%s)
-			 % ,.join(%d % id for id in ids)).fetchall()
+			 % ,.join('?'*len(ids)), ids).fetchall()
 		
 		id_hash = defaultdict(list)
 		for n, id in enumerate(ids):
@@ -448,7 +448,7 @@
 			rows = self._cursor.execute(
 SELECT id, timestamp, subj_uri FROM event_view
 WHERE id IN (%s)
- % ,.join(%d % id for id in pot)).fetchall()
+ % ,.join('?'*len(pot)), pot).fetchall()
 			
 			subject_uri_counter = defaultdict(int)
 			latest_uris = defaultdict(int)
@@ -600,7 +600,7 @@
 			SELECT MIN(timestamp), MAX(timestamp)
 			FROM event
 			WHERE id IN (%s)
-		 % ,.join(str(int(_id)) for _id in ids))
+		 % ,.join([?] * len(ids)), ids)
 		timestamps = self._cursor.fetchone()
 
 		# Make sure that we actually found some events with these ids...

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


Re: [Zeitgeist] [Merge] lp:~seif/zeitgeist/use-new-placeholders into lp:zeitgeist

2010-12-07 Thread Mikkel Kamstrup Erlandsen
I believe we use the current approach because the 'correct' one fails with
thousands of ids in the arguments
On Dec 7, 2010 3:01 PM, Seif Lotfy s...@lotfy.com wrote:
 Seif Lotfy has proposed merging lp:~seif/zeitgeist/use-new-placeholders
into lp:zeitgeist.

 Requested reviews:
 Zeitgeist Framework Team (zeitgeist)


 The SQLite docs say:
 ---
 You shouldn’t assemble your query using Python’s string operations because
doing so is insecure; it makes your program vulnerable to an SQL injection
attack.

 Instead, use the DB-API’s parameter substitution. Put ? as a placeholder
wherever you want to use a value, and then provide a tuple of values as the
second argument to the cursor’s execute() method.
 ---
 This branch fixes it.
 --

https://code.launchpad.net/~seif/zeitgeist/use-new-placeholders/+merge/42943
 Your team Zeitgeist Framework Team is requested to review the proposed
merge of lp:~seif/zeitgeist/use-new-placeholders into lp:zeitgeist.

-- 
https://code.launchpad.net/~seif/zeitgeist/use-new-placeholders/+merge/42943
Your team Zeitgeist Framework Team is requested to review the proposed merge of 
lp:~seif/zeitgeist/use-new-placeholders into lp:zeitgeist.

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 683847] Re: URI scheme for actors without a .desktop file

2010-12-07 Thread Seif Lotfy
** Changed in: zeitgeist
   Status: Triaged = Opinion

-- 
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/683847

Title:
  URI scheme for actors without a .desktop file

Status in Zeitgeist Framework:
  Opinion

Bug description:
  What should actors that don't have a .desktop file use as their actor URI? 
Currently we use application://$desktop_file_id which is very nice to wrok with 
because one can do g_desktop_app_info_new($desktop_file_id).

I propose we define a similar scheme in our API docs where services and daemons 
without .desktop files can use the basename of their DBus .service file instead 
and put that in a dbus:// URI scheme ala dbus://$dbus_service_id. 

Consider the example of the Ubuntu One syncdamon. The DBus service files are 
normally stored in /usr/share/dbus-1/services/ and it has indeed 
com.ubuntuone.SyncDaemon.service stored there. This daemon would then have 
actor URI dbus://com.ubuntuone.SyncDaemon.service.

This is useful because it allows me to obtain both the executable name of the 
daemon process as well as the DBus name it claims. Together with the service 
file this gives me 3 pieces of crucial metadata on the actor.



___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 397715] Re: I18N of zeitgeist

2010-12-07 Thread Seif Lotfy
** Changed in: zeitgeist
Milestone: 0.7.0 = None

-- 
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/397715

Title:
  I18N of zeitgeist

Status in Zeitgeist Framework:
  Confirmed

Bug description:
  zeitgeist is using gettext for I18N in various places, but its usage is 
inconsistent. A quick grep with `grep -R -E [^\_]\_{1}\( .` shows we are 
using gettext for:
 - some logging messages
 - the name and description of the FF DataProvider
 - display name of Content and Source objects in our datamodel (real gettext 
support is not implemented yet)

Thinking about this three items a bit I think none of them make sense at all. 
Logging is for debugging purposes, in the future we will ask our user to add a 
log file to a bugreport. If the logging messages are translated to a random 
language we will hardly understand the content. Translating the display name of 
Content and Source object also makes no sense, instead of this it should be 
done by the client. This way one database can be accessed with different 
language settings. And if we agree on the last two arguments, it also makes 
less sense for the last item.

But just in case I'm missing the point here, and we decide to have I18N support 
in zeitgeist we should decide which parts we would exactly like to translate, 
and dig trough the code to add language support to related elements 
consistently.

Markus



___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Merge] lp:~seif/zeitgeist/fix-gnome-autogen into lp:zeitgeist

2010-12-07 Thread Seif Lotfy
Seif Lotfy has proposed merging lp:~seif/zeitgeist/fix-gnome-autogen into 
lp:zeitgeist.

Requested reviews:
  Zeitgeist Framework Team (zeitgeist)
Related bugs:
  #683280 problem building from trunk in KDE
  https://bugs.launchpad.net/bugs/683280


This allows zeitgeist to be built and run on dekstops without gnome-common 
(gnome-autogen.sh)
Works on KDE (if .cache folder in home is present)
-- 
https://code.launchpad.net/~seif/zeitgeist/fix-gnome-autogen/+merge/42977
Your team Zeitgeist Framework Team is requested to review the proposed merge of 
lp:~seif/zeitgeist/fix-gnome-autogen into lp:zeitgeist.
=== modified file 'autogen.sh'
--- autogen.sh	2010-03-22 08:22:14 +
+++ autogen.sh	2010-12-07 17:37:41 +
@@ -12,19 +12,39 @@
 	exit 1
 }
 
-which gnome-autogen.sh || {
-	echo You need to install gnome-common from the GNOME Git Repository
-	exit 1
-}
-
 which rapper || {
 	echo You need to install raptor-utils
 	exit 1
 }
 
 export PKG_NAME
-REQUIRED_AUTOCONF_VERSION=2.57 \
-REQUIRED_AUTOMAKE_VERSION=1.9 \
-REQUIRED_INTLTOOL_VERSION=0.35.0 \
-REQUIRED_PKG_CONFIG_VERSION=0.16.0 \
-	USE_GNOME2_MACROS=1 . gnome-autogen.sh --enable-uninstalled-build $@
+
+if which gnome-autogen.sh ; then
+  REQUIRED_AUTOMAKE_VERSION=1.11
+  REQUIRED_AUTOCONF_VERSION=2.57 \
+  REQUIRED_AUTOMAKE_VERSION=1.9 \
+  REQUIRED_INTLTOOL_VERSION=0.35.0 \
+  REQUIRED_PKG_CONFIG_VERSION=0.16.0 \
+	USE_GNOME2_MACROS=1 . gnome-autogen.sh --enable-uninstalled-build $@
+else
+  if which intltoolize  which autoreconf ; then
+intltoolize --copy --force --automake || \
+  (echo There was an error in running intltoolize.  /dev/stderr;
+   exit 1)
+autoreconf --force --install || \
+  (echo There was an error in running autoreconf.  /dev/stderr;
+   exit 1)
+  else
+echo No build script available.  You have two choices:
+echo 1. You need to install the gnome-common module and make
+echosure the gnome-autogen.sh script is in your \$PATH.
+echo 2. You need to install the following scripts:
+echo* intltool
+echo* libtool
+echo* automake
+echo* autoconf
+echoAdditionally, you need to make
+echosure that they are in your \$PATH.
+exit 1
+  fi
+fi
\ No newline at end of file

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 683280] Re: problem building from trunk in KDE

2010-12-07 Thread Seif Lotfy
** Changed in: zeitgeist
 Assignee: (unassigned) = Seif Lotfy (seif)

** Changed in: zeitgeist
   Status: New = In Progress

** Changed in: zeitgeist
   Importance: Undecided = Wishlist

** Branch linked: lp:~seif/zeitgeist/fix-gnome-autogen

-- 
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/683280

Title:
  problem building from trunk in KDE

Status in Zeitgeist Framework:
  In Progress

Bug description:
  Building zeitgeist from trunk requires gnome-common since we use 
gnome-autogen.sh
While this makes our lives easy in GNOME, KDE people don't really want to 
install it. So there must be another way to build from trunk easily.
Building from a source package works. But again some devs want trunk. Lets make 
this easier for them.



___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


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

2010-12-07 Thread Manish Sinha
** Branch linked: lp:~manishsinha/zeitgeist/fix-686674-xdg-cache-dir-
missing

** Changed in: zeitgeist
   Status: Confirmed = In Progress

-- 
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:
  In Progress

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

s...@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



___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


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

2010-12-07 Thread Markus Korn
Ohh? Is KDE (or the distro you are using) not using xdg, or why is
~/.cache not there? 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.

-- 
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:
  In Progress

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

s...@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



___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 686732] [NEW] add cache to get events

2010-12-07 Thread Seif Lotfy
Public bug reported:

Sometimes the same events get requested by several different apps.
having a cache for the get_events cache can cut off some time, and
enhance performance.

** Affects: zeitgeist
 Importance: Low
 Assignee: Seif Lotfy (seif)
 Status: In Progress

** Branch linked: lp:~seif/zeitgeist/add_cache_for_get_events

** Changed in: zeitgeist
   Importance: Undecided = Low

** Changed in: zeitgeist
   Status: New = In Progress

** Changed in: zeitgeist
Milestone: None = 0.7.0

** Changed in: zeitgeist
 Assignee: (unassigned) = Seif Lotfy (seif)

-- 
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/686732

Title:
  add cache to get events

Status in Zeitgeist Framework:
  In Progress

Bug description:
  Sometimes the same events get requested by several different apps. having a 
cache for the get_events cache can cut off some time, and enhance performance.



___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


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

2010-12-07 Thread Seif Lotfy
seiflotfy ivan|home, u there
seiflotfy is there a cache directory for kde
seiflotfy ?
* urkud has quit (Read error: Connection reset by peer)
ivan|home seiflotfy: .kde/cache
seiflotfy ok cool
ivan|home cache-hostname - to be precis
ivan|home e
seiflotfy huh
seiflotfy so if we want cache for zeitgeist
seiflotfy how woudl it look like
seiflotfy .kde/cache-seif/zeitgeist
seiflotfy for me ?
ivan|home seiflotfy: yes

-- 
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:
  In Progress

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

s...@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



___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


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

2010-12-07 Thread Seif Lotfy
nope

On Tue, Dec 7, 2010 at 9:54 PM, Manish Sinha
686...@bugs.launchpad.netwrote:

 Wait. KDE doesn't follow xdg basedir?

 --
 You received this bug notification because you are a direct subscriber
 of the bug.
 https://bugs.launchpad.net/bugs/686674

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

 Status in Zeitgeist Framework:
   In Progress

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

 s...@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

 To unsubscribe from this bug, go to:
 https://bugs.launchpad.net/zeitgeist/+bug/686674/+subscribe



-- 
This is me doing some advertisement for my blog http://seilo.geekyogre.com

-- 
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:
  In Progress

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

s...@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



___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


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

2010-12-07 Thread Siegfried Gevatter
Fixed.

The code is using os.makedirs now, instead of os.mkdir.

** Changed in: zeitgeist
   Status: In Progress = Fix Released

-- 
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 Released

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

s...@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



___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


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

2010-12-07 Thread Siegfried Gevatter
2010/12/7 Markus Korn thek...@gmx.de:
 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

s...@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



___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


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

2010-12-07 Thread Seif Lotfy
** Changed in: zeitgeist
   Status: Fix Released = Fix Committed

-- 
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

s...@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



___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] Translation template import - zeitgeist in Zeitgeist Framework 0.1

2010-12-07 Thread rosetta
Hello Zeitgeist Framework Team,

On 2010-12-07 21:48z (30 minutes ago), you uploaded a translation
template for zeitgeist in Zeitgeist Framework 0.1 in Launchpad.

The template has now been imported successfully.


Thank you,

The Launchpad team

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp