Closed mbnoimi closed 5 years ago
sudo mv /usr/lib/python2.7/dist-packages/hamster /usr/lib/python3.6/site-packages
Ugly work-around: as sudo edit /usr/bin/hamster and change first line to
#!/usr/bin/env python3.6
The destination folder has to match the installed one (dist-packages
in this case):
sudo mv /usr/lib/python2.7/dist-packages/hamster /usr/lib/python3.6/dist-packages/
Thanks guys, It works now.
Thanks for the confirmation.
The installation process should be improved; this is discussed in #399.
@mbnoimi Does xfce4-hamster-plugin work for you? I successfully built and installed it. /usr/bin/xfce4-popup-hamstermenu -h|-v gives me feedback okay, but with -p or without flags nothing visible happens. (xubuntu 18.04 and now 19.04).
@mbnoimi Does xfce4-hamster-plugin work for you? I successfully built and installed it. /usr/bin/xfce4-popup-hamstermenu -h|-v gives me feedback okay, but with -p or without flags nothing visible happens. (xubuntu 18.04 and now 19.04).
I succefully built it since 7 days go using the following commands:
./autogen.sh && ./configure --prefix=/usr && sudo make install
Thanks! That's exactly how I did it but it does'nt work for me. Oh well.
I'm stil geting this error:
Traceback (most recent call last):
File "/usr/bin/hamster", line 30, in <module>
from hamster import client, reports
ModuleNotFoundError: No module named 'hamster'
Fixed by:
sudo mv /usr/lib/python2.7/dist-packages/hamster /usr/lib/python3.6/dist-packages/
and editing '/usr/bin/hamster' first line from python3
topython3.6
.
@antonio-petricca thanks for summarizing the correct steps to install on your system. This issue is closed because improvements to the installation process are tracked in #399.
I just checked out the latest version from master via git clone git@github.com:ederag/hamster.git hamster
, followed the installation instructions and ran into the same issue (see above)
$ hamster
Traceback (most recent call last):
File "/usr/local/bin/hamster", line 30, in <module>
from hamster import client, reports
ModuleNotFoundError: No module named 'hamster'
I had to move the hamster files as follows to make it work:
$ sudo mv /usr/local/lib/python2.7/dist-packages/hamster /usr/local/lib/python3.6/dist-packages/
About my setup:
@WBTMagnum You should use the master branch from https://github.com/hamsterproject/hamster because ederag's private master branch is quite out of date.
Indeed, please use the main project branch
git clone git@github.com:projecthamster/hamster.git hamster
as this is the "tested" dev branch (we strive to keep it safe, but remember to backup first). I almost never bother to move my main master, always work on branches with meaningful names (at least to me).
Thanks for the swift reply. I was following the instructions found in the wiki and this comment from #421 and therefore got misled.
I now cleaned up the installation via sudo ./waf uninstall
and gave it another try with the official repo. There I stumbled in the following dependency problem which was easily solved:
# initial build failed
$ ./waf configure build
Setting top to : ~/Documents/GIT/hamster
Setting out to : ~/Documents/GIT/hamster/build
Checking for program 'python' : /usr/bin/python3
The distutils module is unusable: install "python-devel"?
(complete log in ~/Documents/GIT/hamster/build/config.log)
# had to install python3-dev (on Ubuntu 18.04)
$ apt install python3-dev
After logoff/logon (and also reboot) hamster fails with the following error message:
$ hamster
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 175, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
's', (bus_name,), **keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.gnome.Hamster.WindowServer': no such name
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/hamster", line 415, in <module>
getattr(hamster_client, command)(*args.action_args)
File "/usr/bin/hamster", line 157, in overview
self._launch_window("overview")
File "/usr/bin/hamster", line 147, in _launch_window
"/org/gnome/Hamster/WindowServer")
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.gnome.Hamster.WindowServer: No such file or directory
I cleaned up again and did another install into '/usr'
$ sudo ./waf uninstall
...
$ ./waf configure && ./waf clean && ./waf distclean
Setting top to : ~/Documents/GIT/hamster
Setting out to : ~/Documents/GIT/hamster/build
Checking for program 'python' : /usr/bin/python3
Checking for python version >= 3.4.0 : 3.6.8
Checking for program 'msgfmt' : /usr/bin/msgfmt
Checking for program 'perl' : /usr/bin/perl
Checking for program 'intltool-merge' : /usr/bin/intltool-merge
Checking for program 'xml2po' : /usr/bin/xml2po
'configure' finished successfully (0.175s)
'clean' finished successfully (0.039s)
'distclean' finished successfully (0.002s)
$ ./waf configure build --prefix=/usr
Setting top to : ~/Documents/GIT/hamster
Setting out to : ~/Documents/GIT/hamster/build
Checking for program 'python' : /usr/bin/python3
Checking for python version >= 3.4.0 : 3.6.8
Checking for program 'msgfmt' : /usr/bin/msgfmt
Checking for program 'perl' : /usr/bin/perl
Checking for program 'intltool-merge' : /usr/bin/intltool-merge
Checking for program 'xml2po' : /usr/bin/xml2po
'configure' finished successfully (0.151s)
Waf: Entering directory `~/Documents/GIT/hamster/build'
...
Waf: Leaving directory `~/Documents/GIT/hamster/build'
'build' finished successfully (3.334s)
$ ( umask 0022 && sudo ./waf install; )
...
Successfully installed gconf schemas
Successfully updated GTK icon cache
'install' finished successfully (0.526s)
Unfortunately this did not change the situation:
$ /usr/bin/hamster
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 175, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
's', (bus_name,), **keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.gnome.Hamster.WindowServer': no such name
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/hamster", line 415, in <module>
getattr(hamster_client, command)(*args.action_args)
File "/usr/bin/hamster", line 157, in overview
self._launch_window("overview")
File "/usr/bin/hamster", line 147, in _launch_window
"/org/gnome/Hamster/WindowServer")
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.gnome.Hamster.WindowServer: No such file or directory
/usr/bin/hamster --help
does work. Therefore seems like a DBus problem to me.
Any ideas what / where I got wrong this time?
PS: Sorry for reusing this issue. If helpful, I can start a new one.
PS: Sorry for reusing this issue. If helpful, I can start a new one.
Yes, please open a new one, while I look into your report (thanks !).
PS: Sorry for reusing this issue. If helpful, I can start a new one.
Yes, please open a new one, while I look into your report (thanks !).
I think that's not necessary anymore. I gave it another spin on a vanilla system and it worked as expected.
Therefore I had another look at my system and uninstalled hamster once more.
$ ./waf configure
Setting top to : ~/Documents/GIT/hamster
Setting out to : ~/Documents/GIT/hamster/build
Checking for program 'python' : /usr/bin/python3
Checking for python version >= 3.4.0 : 3.6.8
Checking for program 'msgfmt' : /usr/bin/msgfmt
Checking for program 'perl' : /usr/bin/perl
Checking for program 'intltool-merge' : /usr/bin/intltool-merge
Checking for program 'xml2po' : /usr/bin/xml2po
'configure' finished successfully (0.197s)
$ sudo ./waf uninstall
Waf: Entering directory `~/Documents/GIT/hamster/build'
Successfully uninstalled gconf schemas
- remove /usr/lib/hamster-time-tracker/hamster-service
- remove /usr/bin/hamster
- remove /usr/share/bash-completion/completion/hamster.bash
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/client.cpython-36.pyo
- remove /usr/lib/hamster-time-tracker/hamster-windows-service
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/configuration.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/overview.py
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/charting.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/__init__.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/preferences.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/overview.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/desktop.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/desktop.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/storage/__pycache__/storage.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/__init__.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/lib/charting.py
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/stuff.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/preferences.py
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/layout.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/stuff.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/__init__.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/lib/__init__.py
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/__init__.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/client.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/__init__.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/lib/stuff.py
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/timeinput.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/lib/pytweener.py
- remove /usr/lib/python3/dist-packages/hamster/widgets/timeinput.py
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/pytweener.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/reportchooserdialog.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/client.py
- remove /usr/lib/python3/dist-packages/hamster/widgets/tags.py
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/tags.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/tags.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/pytweener.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/timeinput.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/layout.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/widgets/reportchooserdialog.py
- remove /usr/lib/python3/dist-packages/hamster/lib/layout.py
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/reportchooserdialog.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/idle.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/widgets/facttree.py
- remove /usr/lib/python3/dist-packages/hamster/idle.py
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/dates.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/facttree.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/storage/__pycache__/storage.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/widgets/dayline.py
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/idle.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/lib/i18n.py
- remove /usr/lib/python3/dist-packages/hamster/__init__.py
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/dayline.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/widgets/dates.py
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/dayline.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/i18n.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/about.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/i18n.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/dates.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/widgets/activityentry.py
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/external.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/lib/graphics.py
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/activityentry.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/graphics.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/widgets/__init__.py
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/activityentry.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/__init__.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/graphics.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/external.py
- remove /usr/lib/python3/dist-packages/hamster/storage/storage.py
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/about.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/lib/configuration.py
- remove /usr/lib/python3/dist-packages/hamster/about.py
- remove /usr/lib/python3/dist-packages/hamster/storage/__init__.py
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/edit_activity.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/external.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/reports.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/storage/__pycache__/db.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/storage/__pycache__/__init__.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/reports.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/charting.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/widgets/__pycache__/facttree.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/storage/__pycache__/db.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/overview.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/edit_activity.py
- remove /usr/lib/python3/dist-packages/hamster/lib/desktop.py
- remove /usr/lib/python3/dist-packages/hamster/storage/db.py
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/edit_activity.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/__pycache__/preferences.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/lib/__pycache__/configuration.cpython-36.pyc
- remove /usr/lib/python3/dist-packages/hamster/reports.py
- remove /usr/lib/python3/dist-packages/hamster/storage/__pycache__/__init__.cpython-36.pyo
- remove /usr/lib/python3/dist-packages/hamster/defs.py
- remove /usr/share/dbus-1/services/org.gnome.hamster.service
- remove /usr/share/dbus-1/services/org.gnome.hamster.Windows.service
- remove /usr/share/locale/ca/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/hu/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/he/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/gu/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/si/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/vi/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/fi/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/eo/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/tr/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/as/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/et/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/bn/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/eu/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/ro/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/ca@valencia/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/pl/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/ug/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/el/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/hi/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/uk/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/de/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/af/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/mr/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/th/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/bn_IN/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/sr/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/nl/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/pa/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/da/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/pt/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/mk/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/be/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/ko/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/nb/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/lv/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/lt/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/zh_TW/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/es/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/sr@latin/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/te/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/ar/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/ja/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/pt_BR/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/it/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/cs/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/fr/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/en_GB/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/mai/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/zh_HK/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/zh_CN/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/ru/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/kn/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/id/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/sv/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/bg/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/en_CA/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/en@shaw/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/gl/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/ku/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/ta/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/or/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/ml/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/sq/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/locale/sl/LC_MESSAGES/hamster-time-tracker.mo
- remove /usr/share/hamster-time-tracker/date_range.ui
- remove /usr/share/hamster-time-tracker/hamster.db
- remove /usr/share/hamster-time-tracker/art/hamster-time-tracker.png
- remove /usr/share/hamster-time-tracker/report_template.html
- remove /usr/share/icons/hicolor/16x16/apps/hamster-time-tracker.png
- remove /usr/share/icons/hicolor/22x22/apps/hamster-time-tracker.png
- remove /usr/share/hamster-time-tracker/edit_activity.ui
- remove /usr/share/hamster-time-tracker/art/stock_calendar-view-day.png
- remove /usr/share/icons/hicolor/32x32/apps/hamster-time-tracker.png
- remove /usr/share/icons/hicolor/48x48/apps/hamster-time-tracker.png
- remove /usr/share/icons/hicolor/scalable/apps/hamster-time-tracker.svg
- remove /usr/share/hamster-time-tracker/preferences.ui
- remove /usr/share/hamster-time-tracker/art/stock_calendar-view-month.png
- remove /usr/share/hamster-time-tracker/stats.ui
- remove /usr/share/hamster-time-tracker/art/stock_calendar-view-week.png
- remove /etc/gconf/schemas/hamster-time-tracker.schemas
- remove /usr/share/applications/hamster-time-tracker.desktop
- remove /usr/share/applications/hamster-time-tracker-overview.desktop
- remove /usr/share/applications/hamster-windows-service.desktop
- remove /usr/share/help/cs/hamster-time-tracker/backup.page
- remove /usr/share/help/cs/hamster-time-tracker/index.page
- remove /usr/share/help/cs/hamster-time-tracker/input.page
- remove /usr/share/help/cs/hamster-time-tracker/merge.page
- remove /usr/share/help/cs/hamster-time-tracker/reports.page
- remove /usr/share/help/cs/hamster-time-tracker/statistics.page
- remove /usr/share/help/cs/hamster-time-tracker/tracking.page
- remove /usr/share/help/da/hamster-time-tracker/backup.page
- remove /usr/share/help/da/hamster-time-tracker/index.page
- remove /usr/share/help/da/hamster-time-tracker/input.page
- remove /usr/share/help/da/hamster-time-tracker/merge.page
- remove /usr/share/help/da/hamster-time-tracker/reports.page
- remove /usr/share/help/da/hamster-time-tracker/statistics.page
- remove /usr/share/help/da/hamster-time-tracker/tracking.page
- remove /usr/share/help/de/hamster-time-tracker/backup.page
- remove /usr/share/help/de/hamster-time-tracker/index.page
- remove /usr/share/help/de/hamster-time-tracker/input.page
- remove /usr/share/help/de/hamster-time-tracker/merge.page
- remove /usr/share/help/de/hamster-time-tracker/reports.page
- remove /usr/share/help/de/hamster-time-tracker/statistics.page
- remove /usr/share/help/de/hamster-time-tracker/tracking.page
- remove /usr/share/help/el/hamster-time-tracker/backup.page
- remove /usr/share/help/el/hamster-time-tracker/index.page
- remove /usr/share/help/el/hamster-time-tracker/input.page
- remove /usr/share/help/el/hamster-time-tracker/merge.page
- remove /usr/share/help/el/hamster-time-tracker/reports.page
- remove /usr/share/help/el/hamster-time-tracker/statistics.page
- remove /usr/share/help/el/hamster-time-tracker/tracking.page
- remove /usr/share/help/es/hamster-time-tracker/backup.page
- remove /usr/share/help/es/hamster-time-tracker/index.page
- remove /usr/share/help/es/hamster-time-tracker/input.page
- remove /usr/share/help/es/hamster-time-tracker/merge.page
- remove /usr/share/help/es/hamster-time-tracker/reports.page
- remove /usr/share/help/es/hamster-time-tracker/statistics.page
- remove /usr/share/help/es/hamster-time-tracker/tracking.page
- remove /usr/share/help/fa/hamster-time-tracker/backup.page
- remove /usr/share/help/fa/hamster-time-tracker/index.page
- remove /usr/share/help/fa/hamster-time-tracker/input.page
- remove /usr/share/help/fa/hamster-time-tracker/merge.page
- remove /usr/share/help/fa/hamster-time-tracker/reports.page
- remove /usr/share/help/fa/hamster-time-tracker/statistics.page
- remove /usr/share/help/fa/hamster-time-tracker/tracking.page
- remove /usr/share/help/fr/hamster-time-tracker/backup.page
- remove /usr/share/help/fr/hamster-time-tracker/index.page
- remove /usr/share/help/fr/hamster-time-tracker/input.page
- remove /usr/share/help/fr/hamster-time-tracker/merge.page
- remove /usr/share/help/fr/hamster-time-tracker/reports.page
- remove /usr/share/help/fr/hamster-time-tracker/statistics.page
- remove /usr/share/help/fr/hamster-time-tracker/tracking.page
- remove /usr/share/help/gl/hamster-time-tracker/backup.page
- remove /usr/share/help/gl/hamster-time-tracker/index.page
- remove /usr/share/help/gl/hamster-time-tracker/input.page
- remove /usr/share/help/gl/hamster-time-tracker/merge.page
- remove /usr/share/help/gl/hamster-time-tracker/reports.page
- remove /usr/share/help/gl/hamster-time-tracker/statistics.page
- remove /usr/share/help/gl/hamster-time-tracker/tracking.page
- remove /usr/share/help/hu/hamster-time-tracker/backup.page
- remove /usr/share/help/hu/hamster-time-tracker/index.page
- remove /usr/share/help/hu/hamster-time-tracker/input.page
- remove /usr/share/help/hu/hamster-time-tracker/merge.page
- remove /usr/share/help/hu/hamster-time-tracker/reports.page
- remove /usr/share/help/hu/hamster-time-tracker/statistics.page
- remove /usr/share/help/hu/hamster-time-tracker/tracking.page
- remove /usr/share/help/pl/hamster-time-tracker/backup.page
- remove /usr/share/help/pl/hamster-time-tracker/index.page
- remove /usr/share/help/pl/hamster-time-tracker/input.page
- remove /usr/share/help/pl/hamster-time-tracker/merge.page
- remove /usr/share/help/pl/hamster-time-tracker/reports.page
- remove /usr/share/help/pl/hamster-time-tracker/statistics.page
- remove /usr/share/help/pl/hamster-time-tracker/tracking.page
- remove /usr/share/help/pt_BR/hamster-time-tracker/backup.page
- remove /usr/share/help/pt_BR/hamster-time-tracker/index.page
- remove /usr/share/help/pt_BR/hamster-time-tracker/input.page
- remove /usr/share/help/pt_BR/hamster-time-tracker/merge.page
- remove /usr/share/help/pt_BR/hamster-time-tracker/reports.page
- remove /usr/share/help/pt_BR/hamster-time-tracker/statistics.page
- remove /usr/share/help/pt_BR/hamster-time-tracker/tracking.page
- remove /usr/share/help/ro/hamster-time-tracker/backup.page
- remove /usr/share/help/ro/hamster-time-tracker/index.page
- remove /usr/share/help/ro/hamster-time-tracker/input.page
- remove /usr/share/help/ro/hamster-time-tracker/merge.page
- remove /usr/share/help/ro/hamster-time-tracker/reports.page
- remove /usr/share/help/ro/hamster-time-tracker/statistics.page
- remove /usr/share/help/ro/hamster-time-tracker/tracking.page
- remove /usr/share/help/ru/hamster-time-tracker/backup.page
- remove /usr/share/help/ru/hamster-time-tracker/index.page
- remove /usr/share/help/ru/hamster-time-tracker/input.page
- remove /usr/share/help/ru/hamster-time-tracker/merge.page
- remove /usr/share/help/ru/hamster-time-tracker/reports.page
- remove /usr/share/help/ru/hamster-time-tracker/statistics.page
- remove /usr/share/help/ru/hamster-time-tracker/tracking.page
- remove /usr/share/help/sl/hamster-time-tracker/backup.page
- remove /usr/share/help/sl/hamster-time-tracker/index.page
- remove /usr/share/help/sl/hamster-time-tracker/tracking.page
- remove /usr/share/help/sl/hamster-time-tracker/merge.page
- remove /usr/share/help/sl/hamster-time-tracker/reports.page
- remove /usr/share/help/sl/hamster-time-tracker/statistics.page
- remove /usr/share/help/te/hamster-time-tracker/backup.page
- remove /usr/share/help/te/hamster-time-tracker/index.page
- remove /usr/share/help/te/hamster-time-tracker/input.page
- remove /usr/share/help/te/hamster-time-tracker/merge.page
- remove /usr/share/help/sl/hamster-time-tracker/input.page
- remove /usr/share/help/te/hamster-time-tracker/reports.page
- remove /usr/share/help/te/hamster-time-tracker/statistics.page
- remove /usr/share/help/te/hamster-time-tracker/tracking.page
- remove /usr/share/help/zh_CN/hamster-time-tracker/backup.page
- remove /usr/share/help/zh_CN/hamster-time-tracker/index.page
- remove /usr/share/help/zh_CN/hamster-time-tracker/input.page
- remove /usr/share/help/zh_CN/hamster-time-tracker/merge.page
- remove /usr/share/help/zh_CN/hamster-time-tracker/reports.page
- remove /usr/share/help/zh_CN/hamster-time-tracker/statistics.page
- remove /usr/share/help/zh_CN/hamster-time-tracker/tracking.page
- remove /usr/share/help/zh_HK/hamster-time-tracker/backup.page
- remove /usr/share/help/zh_HK/hamster-time-tracker/index.page
- remove /usr/share/help/zh_HK/hamster-time-tracker/input.page
- remove /usr/share/help/zh_HK/hamster-time-tracker/merge.page
- remove /usr/share/help/zh_HK/hamster-time-tracker/reports.page
- remove /usr/share/help/zh_HK/hamster-time-tracker/statistics.page
- remove /usr/share/help/zh_HK/hamster-time-tracker/tracking.page
- remove /usr/share/help/zh_TW/hamster-time-tracker/backup.page
- remove /usr/share/help/zh_TW/hamster-time-tracker/index.page
- remove /usr/share/help/zh_TW/hamster-time-tracker/input.page
- remove /usr/share/help/zh_TW/hamster-time-tracker/merge.page
- remove /usr/share/help/zh_TW/hamster-time-tracker/reports.page
- remove /usr/share/help/zh_TW/hamster-time-tracker/statistics.page
- remove /usr/share/help/zh_TW/hamster-time-tracker/tracking.page
- remove /usr/share/help/C/hamster-time-tracker/backup.page
- remove /usr/share/help/C/hamster-time-tracker/index.page
- remove /usr/share/help/C/hamster-time-tracker/input.page
- remove /usr/share/help/C/hamster-time-tracker/merge.page
- remove /usr/share/help/C/hamster-time-tracker/reports.page
- remove /usr/share/help/C/hamster-time-tracker/statistics.page
- remove /usr/share/help/C/hamster-time-tracker/tracking.page
Waf: Leaving directory `~/Documents/GIT/hamster/build'
'uninstall' finished successfully (0.277s)
This time I had a thorough look and it turned out, that there have been some residues from the first install attempt:
$ find /usr -name "*hamster*"
/usr/local/etc/gconf/schemas/hamster-time-tracker.schemas
/usr/local/share/applications/hamster-time-tracker.desktop
/usr/local/share/applications/hamster-time-tracker-overview.desktop
/usr/local/share/applications/hamster-windows-service.desktop
/usr/local/share/dbus-1/services/org.gnome.hamster.Windows.service
/usr/local/share/dbus-1/services/org.gnome.hamster.service
/usr/local/share/locale/ro/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/mai/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/it/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/nb/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/kn/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/en_GB/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/uk/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/ug/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/bg/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/zh_TW/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/mk/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/sq/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/pl/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/eo/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/or/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/id/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/et/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/ko/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/mr/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/pa/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/lt/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/si/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/tr/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/sl/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/zh_HK/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/ku/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/gu/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/el/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/as/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/cs/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/sr@latin/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/te/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/pt_BR/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/fr/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/lv/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/ru/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/ta/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/gl/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/da/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/pt/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/es/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/ml/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/he/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/vi/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/ar/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/en@shaw/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/hu/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/ja/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/en_CA/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/ca/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/fi/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/th/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/af/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/sv/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/sr/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/hi/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/zh_CN/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/de/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/be/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/eu/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/ca@valencia/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/bn/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/nl/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/locale/bn_IN/LC_MESSAGES/hamster-time-tracker.mo
/usr/local/share/gnome/help/hamster-time-tracker
$ sudo find /usr -name "*hamster*" -exec rm -rf {} \;
find: ‘/usr/local/share/gnome/help/hamster-time-tracker’: No such file or directory
After removing these files, I installed hamster once more via waf and this time it started flawlessly \o/.
Wiki updated.
It might indeed be tricky to uninstall correctly if the configure options changed a lot
(e.g. prefix to /usr/local
).
You would have to
git checkout <previous version>
`./waf configure build <previous options>`,
sudo ./waf uninstall
for each set of version/option installed in the past. Looks like your solution is much faster... Thanks for reporting back !
Edit, 2020-02-18: There is a new uninstall section in the README, with a link to a more detailed section in the wiki.
Hi,
I tried to use Hamster under xfce4 so I built
xfce4-hamster-plugin
successfully but I couldn't buildhamster
itself.May I get some help?
Log (Linux Mint 19.1 xfce x64):