rescuetime v99 not installing in ubuntu 10.04

Asked by Mark Dwyer on 2010-08-16

From v99, I am running:

python setup.py build
sudo python setup.py install

but /usr/local/bin is empty.

python setup.py build returns:

/usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'entry_points'
warnings.warn(msg)
running build
running build_py

sudo python setup.py install returns:

/usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'entry_points'
warnings.warn(msg)
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /usr/local/lib/python2.6/dist-packages/RescueTimeUploader-unknown.egg-info
Writing /usr/local/lib/python2.6/dist-packages/RescueTimeUploader-unknown.egg-info

Note - this removing/writing might be because this was my second attempt to install. Both attempts followed exactly the same procedure, I just did not capture the output the first time.

I have "resuetime" files in
/usr/local/lib/python2.6/dist-packages, but not rescuetime_linux_uploader. Instead all the files here are .py and .pyc files.

WIthout the rescuetime_linux_uploader, I don't know how to start recording data.

Question information

Language:
English Edit question
Status:
Solved
For:
RescueTime Linux Uploader Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Dwyer
Solved:
2010-08-16
Last query:
2010-08-16
Last reply:
Mark Dwyer (mdwy62) said : #1

Following comments from briancgraham for question 109008 (https://answers.launchpad.net/rescuetime-linux-uploader/+question/109008)

  First, note that the .egg file in the v99 distribution is:

    setuptools-0.6c11-py2.6.egg

  which seems to be the right version.

  I noticed though that 0.6c11 is not listed in

    ez_setup.py

  so I followed the directions given by briancgraham in the answers page above and
  downloaded the version:

   http://peak.telecommunity.com/dist/ez_setup.py

  which does include an entry for the 0.6c11 version.

  I then ran the missing command (not included as far as I can tell in
  the README file with v99)

    sudo sh setuptools-0.6c11-py2.6.egg

  Next running first python command as root (different from README
  file):

  sudo python setup.py build

  This produced no warnings (in contrast to my previous attempt), just returned:

   running build
   running build_py

  Then ran install command:

   sudo python setup.py install

  which produced a great deal of output, including writes to
  /usr/local/bin:

   /usr/local/bin/easy_install
   /usr/local/bin/easy_install-2.6
   /usr/local/bin/rescuetime_linux_uploader
   /usr/local/bin/rescuetime_linux_uploader_gnome_panel_controller
   /usr/local/bin/rescuetime_linux_uploader_gnome_panel_notifier
   /usr/local/bin/rescuetime_linux_uploader_gnome_panel_window

  Thanks briancgraham!

  Q: what do the easy_install files do?

PGsm (pooja-gomes) said : #2

I understand you solved your problem but I am still having problems.

I followed your instruction but this is what I got (posting the Terminal's workout):

pooja@pooja-laptop:~$ cd /home/pooja/rescuetime-linux-uploader-99/
pooja@pooja-laptop:~/rescuetime-linux-uploader-99$ sudo sh setuptools-0.6c11-py2.6.egg[sudo] password for pooja:
Processing setuptools-0.6c11-py2.6.egg
Copying setuptools-0.6c11-py2.6.egg to /usr/local/lib/python2.6/dist-packages
Adding setuptools 0.6c11 to easy-install.pth file
Installing easy_install script to /usr/local/bin
Installing easy_install-2.6 script to /usr/local/bin

Installed /usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg
Processing dependencies for setuptools==0.6c11
Finished processing dependencies for setuptools==0.6c11
pooja@pooja-laptop:~/rescuetime-linux-uploader-99$ sudo python setup.py build
bzr: ERROR: Not a branch: "/home/pooja/rescuetime-linux-uploader-99/".
running build
running build_py
pooja@pooja-laptop:~/rescuetime-linux-uploader-99$ sudo python setup.py install
bzr: ERROR: Not a branch: "/home/pooja/rescuetime-linux-uploader-99/".
running install
Checking .pth file support in /usr/local/lib/python2.6/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.6/dist-packages/ appears to support .pth files
running bdist_egg
running egg_info
creating RescueTimeUploader.egg-info
writing RescueTimeUploader.egg-info/PKG-INFO
writing top-level names to RescueTimeUploader.egg-info/top_level.txt
writing dependency_links to RescueTimeUploader.egg-info/dependency_links.txt
writing entry points to RescueTimeUploader.egg-info/entry_points.txt
writing manifest file 'RescueTimeUploader.egg-info/SOURCES.txt'
reading manifest file 'RescueTimeUploader.egg-info/SOURCES.txt'
writing manifest file 'RescueTimeUploader.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
creating build/bdist.linux-i686
creating build/bdist.linux-i686/egg
creating build/bdist.linux-i686/egg/RescueTimeUploader
copying build/lib.linux-i686-2.6/RescueTimeUploader/__init__.py -> build/bdist.linux-i686/egg/RescueTimeUploader
copying build/lib.linux-i686-2.6/RescueTimeUploader/uploader.py -> build/bdist.linux-i686/egg/RescueTimeUploader
copying build/lib.linux-i686-2.6/RescueTimeUploader/gnomepanel.py -> build/bdist.linux-i686/egg/RescueTimeUploader
creating build/bdist.linux-i686/egg/RescueTimeUploader/images
copying build/lib.linux-i686-2.6/RescueTimeUploader/images/rescuetime_22.png -> build/bdist.linux-i686/egg/RescueTimeUploader/images
copying build/lib.linux-i686-2.6/RescueTimeUploader/images/rescuetime_disabled_22.png -> build/bdist.linux-i686/egg/RescueTimeUploader/images
copying build/lib.linux-i686-2.6/RescueTimeUploader/logindialog.py -> build/bdist.linux-i686/egg/RescueTimeUploader
copying build/lib.linux-i686-2.6/RescueTimeUploader/dirstructure.py -> build/bdist.linux-i686/egg/RescueTimeUploader
creating build/bdist.linux-i686/egg/RescueTimeUploader/extensions
creating build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Firefox-bin
copying build/lib.linux-i686-2.6/RescueTimeUploader/extensions/Firefox-bin/extended_info -> build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Firefox-bin
creating build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Epiphany-browser
copying build/lib.linux-i686-2.6/RescueTimeUploader/extensions/Epiphany-browser/extended_info -> build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Epiphany-browser
creating build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Gnome-terminal
copying build/lib.linux-i686-2.6/RescueTimeUploader/extensions/Gnome-terminal/app_name -> build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Gnome-terminal
creating build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Prism
copying build/lib.linux-i686-2.6/RescueTimeUploader/extensions/Prism/app_name -> build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Prism
creating build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Firefox
copying build/lib.linux-i686-2.6/RescueTimeUploader/extensions/Firefox/extended_info -> build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Firefox
creating build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Epiphany
copying build/lib.linux-i686-2.6/RescueTimeUploader/extensions/Epiphany/extended_info -> build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Epiphany
creating build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Konqueror
copying build/lib.linux-i686-2.6/RescueTimeUploader/extensions/Konqueror/extended_info -> build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Konqueror
creating build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Skype
copying build/lib.linux-i686-2.6/RescueTimeUploader/extensions/Skype/app_name -> build/bdist.linux-i686/egg/RescueTimeUploader/extensions/Skype
copying build/lib.linux-i686-2.6/RescueTimeUploader/entrypoints.py -> build/bdist.linux-i686/egg/RescueTimeUploader
copying build/lib.linux-i686-2.6/RescueTimeUploader/options.py -> build/bdist.linux-i686/egg/RescueTimeUploader
byte-compiling build/bdist.linux-i686/egg/RescueTimeUploader/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/RescueTimeUploader/uploader.py to uploader.pyc
byte-compiling build/bdist.linux-i686/egg/RescueTimeUploader/gnomepanel.py to gnomepanel.pyc
byte-compiling build/bdist.linux-i686/egg/RescueTimeUploader/logindialog.py to logindialog.pyc
byte-compiling build/bdist.linux-i686/egg/RescueTimeUploader/dirstructure.py to dirstructure.pyc
byte-compiling build/bdist.linux-i686/egg/RescueTimeUploader/entrypoints.py to entrypoints.pyc
byte-compiling build/bdist.linux-i686/egg/RescueTimeUploader/options.py to options.pyc
creating build/bdist.linux-i686/egg/EGG-INFO
copying RescueTimeUploader.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying RescueTimeUploader.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying RescueTimeUploader.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying RescueTimeUploader.egg-info/entry_points.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying RescueTimeUploader.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/RescueTimeUploader-0.0.0-py2.6.egg' and adding 'build/bdist.linux-i686/egg' to it
removing 'build/bdist.linux-i686/egg' (and everything under it)
Processing RescueTimeUploader-0.0.0-py2.6.egg
Copying RescueTimeUploader-0.0.0-py2.6.egg to /usr/local/lib/python2.6/dist-packages
Adding RescueTimeUploader 0.0.0 to easy-install.pth file
Installing rescuetime_linux_uploader script to /usr/local/bin
Installing rescuetime_linux_uploader_gnome_panel_notifier script to /usr/local/bin
Installing rescuetime_linux_uploader_gnome_panel_controller script to /usr/local/bin
Installing rescuetime_linux_uploader_gnome_panel_window script to /usr/local/bin

Installed /usr/local/lib/python2.6/dist-packages/RescueTimeUploader-0.0.0-py2.6.egg
Processing dependencies for RescueTimeUploader==0.0.0
Finished processing dependencies for RescueTimeUploader==0.0.0
pooja@pooja-laptop:~/rescuetime-linux-uploader-99$
------------------------------------------------------------------------------------------------------------------------------------

Can you please help me out?
I have downloaded the package to my /home/pooja folder and then started by following the README file. When I got stuck I turned to this page. I'm at loss, now. Please help.
Thank you.

PGsm (pooja-gomes) said : #3

Hi, again!
Can someone please help me install this software please?
I previously posted the details of the Terminal. I tried following Mark Dwyker's tweaks but to no avail.

dmahlow (d-mahlow-gmail) said : #4

Did you properly replace the file ez_setup.py from within the rescuetime-linux-uploader directory with the file Mark Dwyker provided (http://peak.telecommunity.com/dist/ez_setup.py)?