Installation on Mageia2 (KDE)?

Asked by Ciccia on 2013-05-30

Hi there,
I'm stuck, I can't get it to work on Mageia2 which has a KDE desktop environment, not GNOME.
Here's what I did:
1. I downloaded rescuetime-linux-uploader-99.tar.bz2 from your download section to my $HOME/Downloads/ folder
2. On Konsole I typed: tar xvjf pkg.tar.bz2
3. Then: cd rescuetime-linux-uploader-99/
4. Read the README file
5. Had already installed Firefox plugin from RescueTime's webpage, therefore skipped the 1st step of the README
6. In Konsole I typed: python setup.py build
7. Got back this:
---BEGIN-CODE---------------------
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points'
  warnings.warn(msg)
running build
running build_py
warning: build_py: byte-compiling is disabled, skipping.
[aliquis@localhost rescuetime-linux-uploader-99]$
----END-CODE-----------------------

8. Changed to admin privileges (su --) & gave this command: python setup.py install
9. Got back the following lines:
----BEGIN-CODE---------------------------------------
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points'
  warnings.warn(msg)
running install
running build
running build_py
warning: build_py: byte-compiling is disabled, skipping.

running install_lib
warning: install_lib: byte-compiling is disabled, skipping.

running install_egg_info
Removing /usr/lib/python2.7/site-packages/RescueTimeUploader-unknown-py2.7.egg-info
Writing /usr/lib/python2.7/site-packages/RescueTimeUploader-unknown-py2.7.egg-info
[root@localhost rescuetime-linux-uploader-99]#
----END-CODE------------------------------------------

10. Nothing interesting happened, I expected a menu entry of RescueTime to appear on the Application menu, but nope.
11. No trace of the following folders mentioned in the README: (a) /usr/bin/rescuetime_linux_uploader/ (no script in it either) (b) $HOME/.rescuetime/preferences

Where am I going wrong?
Any help is appreciated.
Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
RescueTime Linux Uploader Edit question
Assignee:
No assignee Edit question
Last query:
2013-08-06
Last reply:
2013-08-11
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Dirk T (miriup) said : #2

Sorry for not answering any earlier.

This line is indicative of trouble:
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points'

An entry point a way to start the application. At the moment the only entry point that works is the one for the console, /usr/bin/rescuetime_linux_uploader. On Gentoo+KDE, I'm starting it by having put it into the Autostart (in the System Settings). There is no menu item that will appear in any menu currently.

Ciccia (present-ense) said : #3

Hi,
I thought this thread had been closed or something like that. Anyway, thank you for taking the time to read my problem. I didn't understand your suggestion. What is it that I should do? I'm not sure if I have a folder/directory called Autostart, in my system. Also, if no menu entry appears, then how do I launch the application?

Launchpad Janitor (janitor) said : #4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Dirk T (miriup) said : #5

Ciccia:
> I didn't understand your suggestion. What is it that I should do?

Actually, have you tried RescueTime's official Linux client lately? Use the RPM package. The last version works surprisingly well.

> I'm not sure if I have a folder/directory called Autostart, in my system.

KDE Settings:
https://www.dropbox.com/s/yjrbpxkfn1cc871/KDE%20settings%20for%20rescuetime%203.png

And there:
https://www.dropbox.com/s/c1cie5zy0vinmly/KDE%20settings%20for%20rescuetime%201.png
https://www.dropbox.com/s/m3d069pfxo20x6i/KDE%20settings%20for%20rescuetime%202.png

Use "Add Script" to add /usr/bin/rescuetime_linux_uploader.

> Also, if no menu entry appears, then how do I launch the application?

Using "Run Command..."

Ciccia (present-ense) said : #6

I've tried the RPM package from their official web page but when I double click on the package to start installing it, I get an error "due to unsatisfied qt-x11". Do you know what that means?

Dirk T (miriup) said : #7

It means, you need to install "qt-x11" as well.

If you're using KDE, you'll have QT already installed. In this case it could be that the name of the package in Mageia2 is different. I could not find it out using Google just now, unfortunately.

What desktop environment are you using?

If you're using KDE, could you please run in a terminal window ("Konsole", etc) the command below and paste/attach the output here. That will tell us the names of all installed packages that have the text "qt" in it.

rpm -qa|grep qt

Ciccia (present-ense) said : #8

here is the response:
---BEGIN-CODE---
[aliquis@localhost ~]$ rpm -qa|grep qt
libqtxmlpatterns4-4.8.4-1.1.mga2
python-qt4-webkit-4.9.1-1.1.mga2
libqtfeedback1-1.2.0-5.mga2
qtscriptbindings-0.1.0-10.mga2
libpolkit-qt-core-1_1-0.103.0-1.mga2
python-qt4-test-4.9.1-1.1.mga2
python-qt4-script-4.9.1-1.1.mga2
libqtversit1-1.2.0-5.mga2
openssh-askpass-qt4-1.0.1-4.mga1
python-qt4-svg-4.9.1-1.1.mga2
libqtsysteminfo1-1.2.0-5.mga2
libqtopengl4-4.8.4-1.1.mga2
qtwebkit-qmlplugin-2.2.2-1.1.mga2
python-qt4-designer-4.9.1-1.1.mga2
libpolkit-qt-agent-1_1-0.103.0-1.mga2
pinentry-qt4-0.8.1-3.mga2
python-qt4-multimedia-4.9.1-1.1.mga2
libqtcontacts1-1.2.0-5.mga2
libqtserviceframework1-1.2.0-5.mga2
libqtnetwork4-4.8.4-1.1.mga2
libqtgui4-4.8.4-1.1.mga2
python-qt4-gui-4.9.1-1.1.mga2
libqttest4-4.8.4-1.1.mga2
qt4-xmlpatterns-4.8.4-1.1.mga2
python-qt4-xmlpatterns-4.9.1-1.1.mga2
python-qt4-network-4.9.1-1.1.mga2
libqtdbus4-4.8.4-1.1.mga2
libntrack-qt41-016-2.mga2
libqtscript4-4.8.4-1.1.mga2
python-qt4-dbus-4.9.1-1.1.mga2
libqtconnectivity1-1.2.0-5.mga2
qt4-common-4.8.4-1.1.mga2
python-qt4-opengl-4.9.1-1.1.mga2
libstrigiqtdbusclient0-0.7.7-1.mga2
libqtmultimediakit1-1.2.0-5.mga2
libqtgallery1-1.2.0-5.mga2
libqtxml4-4.8.4-1.1.mga2
libqtlocation1-1.2.0-5.mga2
libpoppler-qt4-3-0.18.4-2.1.mga2
libqtwebkit2.2_4-2.2.2-1.1.mga2
python-qt4-core-4.9.1-1.1.mga2
qt3-common-3.3.8b-30.mga2
libmygpo-qt1-1.0.5-2.mga2
libqtpublishsubscribe1-1.2.0-5.mga2
libqtcore4-4.8.4-1.1.mga2
libqtmultimedia4-4.8.4-1.1.mga2
libqt3support4-4.8.4-1.1.mga2
python-qt4-xml-4.9.1-1.1.mga2
python-qt4-4.9.1-1.1.mga2
qt-mobility-1.2.0-5.mga2
libqtsvg4-4.8.4-1.1.mga2
libqtdeclarative4-4.8.4-1.1.mga2
qt4-database-plugin-sqlite-4.8.4-1.1.mga2
libqtdesigner4-4.8.4-1.1.mga2
libqt3-3.3.8b-30.mga2
python-qt4-sql-4.9.1-1.1.mga2
transmission-qt4-2.51-1.3.mga2
libdbusmenu-qt2-0.9.0-1.mga2
libqtversitorganizer1-1.2.0-5.mga2
qt4-qtdbus-4.8.4-1.1.mga2
libqtsql4-4.8.4-1.1.mga2
qt4-database-plugin-mysql-4.8.4-1.1.mga2
python-qt4-declarative-4.9.1-1.1.mga2
libqtorganizer1-1.2.0-5.mga2
libqtsensors1-1.2.0-5.mga2
[aliquis@localhost ~]$
---END-CODE---

Dirk T (miriup) said : #9

Ok, I ended up installing mageia2 over here. Here comes the (hopefully) ultimate solution:

Login as "root" and then type the following command:

rpm -i --nodeps /tmp/rescuetime_current_amd64.rpm

This will install rescuetime disregarding all dependencies, as QT for X11 is really already installed in your case. You may have to replace "amd64" by "i386", if you're on 32bit. Generally, typing /tmp/resc and then pressing TAB should do the trick.

Can you help with this problem?

Provide an answer of your own, or ask Ciccia for more information if necessary.

To post a message you must log in.