Bug 525 - Error: Could not initialize Workrave. Is Workrave already running?
Status:
RESOLVED INVALID
Component:
GUI
Version:
1.8.2
Hardware:
PC Linux
Importance:
P2 minor
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Apr 16 2006 21:39:15 UTC
by:
michael
Modified:
Apr 23 2006 00:27:57 UTC
WhoWhenWhatRemovedAdded
Rob CaelersApr 23 2006 00:27:57 UTCstatusNEWRESOLVED
resolutionINVALID
Description
michael  Apr 16 2006 21:39:15 UTC
I have compiled Workrave 1.8.2 for my Fedora Core 4 system, with KDE 3.4.2, KDELIBS 3.5.1.

KDE is set up to restart the programs of the last running session.  With 1.8.1, this had no issues:  Workrave started up normally.  With 1.8.2, it also starts up but pops up an error dialog box which says

"Could not initialize Workrave. Is Workrave already running?"

Despite the error, it is running fine.  The error is annoying however, because it must be closed on every restart of KDE.

If workrave is shut down before the KDE session is shut down, it is not started up, so KDE is not being told to start it up anywhere else but as part of the "restore last session" initialization.
Comment 1
Rob Caelers  Apr 23 2006 00:27:57 UTC
As far as I know, nothing has changed between 1.8.1 and 1.8.2 with respect to session management.

The error message you get is caused by the Gnome part of Workrave (it tries to register a bonobo component for communication with the applet). It is very likely that you get this message if bonobo is not running/installed when workrave starts.

Try recompiling workrave with gnome support (configure --disble-gnome)