| Summary: | ktimetracker doesn't work | ||
|---|---|---|---|
| Product: | [Applications] ktimetracker | Reporter: | humufr |
| Component: | general | Assignee: | Thorsten Staerk <dev> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | 6yearold, diogo, info, rdieter, regi.hops, rothkamm, smartins, zwokkqxpozgc+xqrohtf |
| Priority: | NOR | ||
| Version First Reported In: | 4.8.x | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/kdepim/bb773366167af50fc99025473dc20ab5ab41e1cc | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
humufr
2012-01-11 12:17:36 UTC
Same result. KTimeTracker: 4.8.0-325.8 Distribution: openSUSE 12.1 (x86_64) KDE: 4.8.00 (4.8.0 "release 2") The mentioned directory in the error message ".kde/share/apps/kabc/lock/" is empty. The iCal file resides in ".local/share/calendar/" and is writable by me (0644). Cheers Regi Also confirmed
$ uname -a
Linux ... 3.0.0-16-generic #29-Ubuntu SMP Tue Feb 14 12:48:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ ktimetracker -version
Qt: 4.7.4
KDE Development Platform: 4.7.4 (4.7.4)
KTimeTracker: 4.7.2
When I try to start it:
$ ktimetracker
Object::connect: No such slot ktimetrackerpart::keyBindings()
Object::connect: (sender name: 'options_configure_keybinding')
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x840001e
Dialog box appears: "Could not create the KTimeTracker part."; When I click OK on the dialog, an empty window appears; it's window class is "ktimetracker". Its title is "ktimetracker". The window role is "mainwindow#1". The size is 216x132 (rather small).
Reinstalling the app does not help, but here's some possibly useful output:
$ apt-get --reinstall install ktimetracker
...
Preparing to replace ktimetracker 4:4.7.4+git111222-0ubuntu0.1 (using .../ktimetracker_4%3a4.7.4+git111222-0ubuntu0.1_amd64.deb) ...
...
And, taking a shotgun approach to providing information, here is the ldd output:
$ ldd =ktimetracker
linux-vdso.so.1 => (0x00007fffb1ff7000)
libkcmutils.so.4 => /usr/lib/libkcmutils.so.4 (0x00007fbb23d16000)
libkparts.so.4 => /usr/lib/libkparts.so.4 (0x00007fbb23ac4000)
libkcal.so.4 => /usr/lib/libkcal.so.4 (0x00007fbb237aa000)
libkdepim.so.4 => /usr/lib/libkdepim.so.4 (0x00007fbb23506000)
libkcal_resourceremote.so.4 => /usr/lib/libkcal_resourceremote.so.4 (0x00007fbb232f9000)
.... (removed a bunch of libraries that are, hopefully, less important) ....
Confirmed for Chakra Linux 4.8.3, same error messages here. I don't have an iCal ressource, though (don't know whether this is related). Confirmed on FreeBSD 9 (KDE 4.8.4). Confirmed on Fedora 17 - KDE 4.9 Git commit bb773366167af50fc99025473dc20ab5ab41e1cc by Sergio Martins. Committed on 15/08/2012 at 14:01. Pushed by smartins into branch 'KDE/4.9'. Make KTimeTracker start. By using a dynamic_cast<> instead of a qobject_cast<>. A proper fix would be fixing the CMakeLists.txt file: ktimetrackerpart.cpp is defined twice, one in the ktimetracker binary, and one in the plugin, this will make qobject_cast fail somewhere in KPluginLoaded/KPluginFactory code. I tried fixing CMakeLists.txt but it's not trivial, there's a interdependency between stuff and couldn't get it to work with the little time I have for it. Related: bug 283479, bug 285434 M +1 -1 ktimetracker/mainwindow.cpp http://commits.kde.org/kdepim/bb773366167af50fc99025473dc20ab5ab41e1cc *** Bug 302410 has been marked as a duplicate of this bug. *** |