projecthamster / hamster

GNOME time tracker
http://projecthamster.org
GNU General Public License v3.0
1.08k stars 249 forks source link

Unable to build #402

Closed mbnoimi closed 5 years ago

mbnoimi commented 5 years ago

Hi,

I tried to use Hamster under xfce4 so I built xfce4-hamster-plugin successfully but I couldn't build hamster itself.

May I get some help?

Log (Linux Mint 19.1 xfce x64):

evander@evander-laptop ~/.hamster $ ./waf configure build --prefix=/usr && sudo ./waf install
Checking for program python              : /usr/bin/python2 
Checking for Python version >= 2.4.2     : ok 2.7.15 
Checking for program glib-genmarshal     : /usr/bin/glib-genmarshal 
Checking for program glib-mkenums        : /usr/bin/glib-mkenums 
Checking for program dbus-binding-tool   : /usr/bin/dbus-binding-tool 
Checking for program docbook2man         : not found 
Checking for program xml2po              : not found 
Checking for program xsltproc            : not found 
Checking for program msgfmt              : /usr/bin/msgfmt 
Checking for program intltool-merge      : /usr/bin/intltool-merge 
Checking for program xml2po              : not found 
'configure' finished successfully (0.041s)
Waf: Entering directory `/home/evander/.hamster/build'
[ 1/74] copy: src/hamster/defs.py.in -> build/default/src/hamster/defs.py
[ 2/74] copy: org.gnome.hamster.service.in -> build/default/org.gnome.hamster.service
[ 3/74] copy: org.gnome.hamster.Windows.service.in -> build/default/org.gnome.hamster.Windows.service
[ 4/74] copy: data/hamster-time-tracker.desktop.in.in -> build/default/data/hamster-time-tracker.desktop.in
[ 5/74] copy: data/hamster-time-tracker-overview.desktop.in.in -> build/default/data/hamster-time-tracker-overview.desktop.in
[ 6/74] copy: data/hamster-windows-service.desktop.in.in -> build/default/data/hamster-windows-service.desktop.in
[ 7/74] po: po/af.po -> build/default/po/af.mo
[ 8/74] po: po/ar.po -> build/default/po/ar.mo
[ 9/74] po: po/as.po -> build/default/po/as.mo
[10/74] po: po/be.po -> build/default/po/be.mo
[11/74] po: po/bg.po -> build/default/po/bg.mo
[12/74] po: po/bn.po -> build/default/po/bn.mo
[13/74] po: po/bn_IN.po -> build/default/po/bn_IN.mo
[14/74] po: po/ca.po -> build/default/po/ca.mo
[15/74] po: po/ca@valencia.po -> build/default/po/ca@valencia.mo
[16/74] po: po/cs.po -> build/default/po/cs.mo
[17/74] po: po/da.po -> build/default/po/da.mo
[18/74] po: po/de.po -> build/default/po/de.mo
[19/74] po: po/el.po -> build/default/po/el.mo
[20/74] po: po/en_CA.po -> build/default/po/en_CA.mo
[21/74] po: po/en_GB.po -> build/default/po/en_GB.mo
[22/74] po: po/en@shaw.po -> build/default/po/en@shaw.mo
[23/74] po: po/eo.po -> build/default/po/eo.mo
[24/74] po: po/es.po -> build/default/po/es.mo
[25/74] po: po/et.po -> build/default/po/et.mo
[26/74] po: po/eu.po -> build/default/po/eu.mo
[27/74] po: po/fi.po -> build/default/po/fi.mo
[28/74] po: po/fr.po -> build/default/po/fr.mo
[29/74] po: po/gl.po -> build/default/po/gl.mo
[30/74] po: po/gu.po -> build/default/po/gu.mo
[31/74] po: po/he.po -> build/default/po/he.mo
[32/74] po: po/hi.po -> build/default/po/hi.mo
[33/74] po: po/hu.po -> build/default/po/hu.mo
[34/74] po: po/id.po -> build/default/po/id.mo
[35/74] po: po/it.po -> build/default/po/it.mo
[36/74] po: po/ja.po -> build/default/po/ja.mo
[37/74] po: po/kn.po -> build/default/po/kn.mo
[38/74] po: po/ko.po -> build/default/po/ko.mo
[39/74] po: po/ku.po -> build/default/po/ku.mo
[40/74] po: po/lt.po -> build/default/po/lt.mo
[41/74] po: po/lv.po -> build/default/po/lv.mo
[42/74] po: po/mai.po -> build/default/po/mai.mo
[43/74] po: po/mk.po -> build/default/po/mk.mo
[44/74] po: po/ml.po -> build/default/po/ml.mo
[45/74] po: po/mr.po -> build/default/po/mr.mo
[46/74] po: po/nb.po -> build/default/po/nb.mo
[47/74] po: po/nl.po -> build/default/po/nl.mo
[48/74] po: po/or.po -> build/default/po/or.mo
[49/74] po: po/pa.po -> build/default/po/pa.mo
[50/74] po: po/pl.po -> build/default/po/pl.mo
[51/74] po: po/pt.po -> build/default/po/pt.mo
[52/74] po: po/pt_BR.po -> build/default/po/pt_BR.mo
[53/74] po: po/ro.po -> build/default/po/ro.mo
[54/74] po: po/ru.po -> build/default/po/ru.mo
[55/74] po: po/si.po -> build/default/po/si.mo
[56/74] po: po/sl.po -> build/default/po/sl.mo
[57/74] po: po/sq.po -> build/default/po/sq.mo
[58/74] po: po/sr.po -> build/default/po/sr.mo
[59/74] po: po/sr@latin.po -> build/default/po/sr@latin.mo
[60/74] po: po/sv.po -> build/default/po/sv.mo
[61/74] po: po/ta.po -> build/default/po/ta.mo
[62/74] po: po/te.po -> build/default/po/te.mo
[63/74] po: po/th.po -> build/default/po/th.mo
[64/74] po: po/tr.po -> build/default/po/tr.mo
[65/74] po: po/ug.po -> build/default/po/ug.mo
[66/74] po: po/uk.po -> build/default/po/uk.mo
[67/74] po: po/vi.po -> build/default/po/vi.mo
[68/74] po: po/zh_CN.po -> build/default/po/zh_CN.mo
[69/74] po: po/zh_HK.po -> build/default/po/zh_HK.mo
[70/74] po: po/zh_TW.po -> build/default/po/zh_TW.mo
[71/74] intltool: data/hamster-time-tracker.schemas.in -> build/default/data/hamster-time-tracker.schemas
[72/74] intltool: build/default/data/hamster-time-tracker-overview.desktop.in -> build/default/data/hamster-time-tracker-overview.desktop
[73/74] intltool: build/default/data/hamster-time-tracker.desktop.in -> build/default/data/hamster-time-tracker.desktop
[74/74] intltool: build/default/data/hamster-windows-service.desktop.in -> build/default/data/hamster-windows-service.desktop
Generating and caching the translation database
Merging translations into default/data/hamster-time-tracker.schemas.
Waf: Leaving directory `/home/evander/.hamster/build'
'build' finished successfully (1.976s)
Waf: Entering directory `/home/evander/.hamster/build'
* installing src/hamster-service as /usr/lib/hamster-time-tracker/hamster-service
* installing src/hamster-windows-service as /usr/lib/hamster-time-tracker/hamster-windows-service
* installing src/hamster-cli as /usr/bin/hamster
* installing src/hamster.bash as /etc/bash_completion.d/hamster.bash
* installing src/hamster/overview.py as /usr/lib/python2.7/dist-packages/hamster/overview.py
* installing src/hamster/reports.py as /usr/lib/python2.7/dist-packages/hamster/reports.py
* installing src/hamster/edit_activity.py as /usr/lib/python2.7/dist-packages/hamster/edit_activity.py
* installing src/hamster/idle.py as /usr/lib/python2.7/dist-packages/hamster/idle.py
* installing src/hamster/preferences.py as /usr/lib/python2.7/dist-packages/hamster/preferences.py
* installing src/hamster/about.py as /usr/lib/python2.7/dist-packages/hamster/about.py
* installing src/hamster/client.py as /usr/lib/python2.7/dist-packages/hamster/client.py
* installing src/hamster/__init__.py as /usr/lib/python2.7/dist-packages/hamster/__init__.py
* installing src/hamster/external.py as /usr/lib/python2.7/dist-packages/hamster/external.py
* installing src/hamster/lib/desktop.py as /usr/lib/python2.7/dist-packages/hamster/lib/desktop.py
* installing src/hamster/lib/trophies.py as /usr/lib/python2.7/dist-packages/hamster/lib/trophies.py
* installing src/hamster/lib/stuff.py as /usr/lib/python2.7/dist-packages/hamster/lib/stuff.py
* installing src/hamster/lib/pytweener.py as /usr/lib/python2.7/dist-packages/hamster/lib/pytweener.py
* installing src/hamster/lib/graphics.py as /usr/lib/python2.7/dist-packages/hamster/lib/graphics.py
* installing src/hamster/lib/__init__.py as /usr/lib/python2.7/dist-packages/hamster/lib/__init__.py
* installing src/hamster/lib/charting.py as /usr/lib/python2.7/dist-packages/hamster/lib/charting.py
* installing src/hamster/lib/configuration.py as /usr/lib/python2.7/dist-packages/hamster/lib/configuration.py
* installing src/hamster/lib/i18n.py as /usr/lib/python2.7/dist-packages/hamster/lib/i18n.py
* installing src/hamster/lib/layout.py as /usr/lib/python2.7/dist-packages/hamster/lib/layout.py
* installing src/hamster/storage/__init__.py as /usr/lib/python2.7/dist-packages/hamster/storage/__init__.py
* installing src/hamster/storage/storage.py as /usr/lib/python2.7/dist-packages/hamster/storage/storage.py
* installing src/hamster/storage/db.py as /usr/lib/python2.7/dist-packages/hamster/storage/db.py
* installing src/hamster/widgets/activityentry.py as /usr/lib/python2.7/dist-packages/hamster/widgets/activityentry.py
* installing src/hamster/widgets/facttree.py as /usr/lib/python2.7/dist-packages/hamster/widgets/facttree.py
* installing src/hamster/widgets/dates.py as /usr/lib/python2.7/dist-packages/hamster/widgets/dates.py
* installing src/hamster/widgets/tags.py as /usr/lib/python2.7/dist-packages/hamster/widgets/tags.py
* installing src/hamster/widgets/dayline.py as /usr/lib/python2.7/dist-packages/hamster/widgets/dayline.py
* installing src/hamster/widgets/__init__.py as /usr/lib/python2.7/dist-packages/hamster/widgets/__init__.py
* installing src/hamster/widgets/reportchooserdialog.py as /usr/lib/python2.7/dist-packages/hamster/widgets/reportchooserdialog.py
* installing src/hamster/widgets/timeinput.py as /usr/lib/python2.7/dist-packages/hamster/widgets/timeinput.py
* installing data/edit_activity.ui as /usr/share/hamster-time-tracker/edit_activity.ui
* installing data/stats.ui as /usr/share/hamster-time-tracker/stats.ui
* installing data/preferences.ui as /usr/share/hamster-time-tracker/preferences.ui
* installing data/date_range.ui as /usr/share/hamster-time-tracker/date_range.ui
* installing data/hamster.db as /usr/share/hamster-time-tracker/hamster.db
* installing data/art/stock_calendar-view-week.png as /usr/share/hamster-time-tracker/art/stock_calendar-view-week.png
* installing data/art/stock_calendar-view-day.png as /usr/share/hamster-time-tracker/art/stock_calendar-view-day.png
* installing data/art/stock_calendar-view-month.png as /usr/share/hamster-time-tracker/art/stock_calendar-view-month.png
* installing data/art/hamster-time-tracker.png as /usr/share/hamster-time-tracker/art/hamster-time-tracker.png
* installing data/report_template.html as /usr/share/hamster-time-tracker/report_template.html
* installing data/art/16x16/hamster-time-tracker.png as /usr/share/icons/hicolor/16x16/apps/hamster-time-tracker.png
* installing data/art/22x22/hamster-time-tracker.png as /usr/share/icons/hicolor/22x22/apps/hamster-time-tracker.png
* installing data/art/32x32/hamster-time-tracker.png as /usr/share/icons/hicolor/32x32/apps/hamster-time-tracker.png
* installing data/art/scalable/hamster-time-tracker.png as /usr/share/icons/hicolor/48x48/apps/hamster-time-tracker.png
* installing data/art/scalable/hamster-time-tracker.svg as /usr/share/icons/hicolor/scalable/apps/hamster-time-tracker.svg
* installing build/default/src/hamster/defs.py as /usr/lib/python2.7/dist-packages/hamster/defs.py
* installing build/default/org.gnome.hamster.service as /usr/share/dbus-1/services/org.gnome.hamster.service
* installing build/default/org.gnome.hamster.Windows.service as /usr/share/dbus-1/services/org.gnome.hamster.Windows.service
* installing build/default/po/af.mo as /usr/share/locale/af/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/ar.mo as /usr/share/locale/ar/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/as.mo as /usr/share/locale/as/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/be.mo as /usr/share/locale/be/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/bg.mo as /usr/share/locale/bg/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/bn.mo as /usr/share/locale/bn/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/bn_IN.mo as /usr/share/locale/bn_IN/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/ca.mo as /usr/share/locale/ca/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/ca@valencia.mo as /usr/share/locale/ca@valencia/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/cs.mo as /usr/share/locale/cs/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/da.mo as /usr/share/locale/da/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/de.mo as /usr/share/locale/de/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/el.mo as /usr/share/locale/el/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/en_CA.mo as /usr/share/locale/en_CA/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/en_GB.mo as /usr/share/locale/en_GB/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/en@shaw.mo as /usr/share/locale/en@shaw/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/eo.mo as /usr/share/locale/eo/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/es.mo as /usr/share/locale/es/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/et.mo as /usr/share/locale/et/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/eu.mo as /usr/share/locale/eu/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/fi.mo as /usr/share/locale/fi/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/fr.mo as /usr/share/locale/fr/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/gl.mo as /usr/share/locale/gl/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/gu.mo as /usr/share/locale/gu/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/he.mo as /usr/share/locale/he/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/hi.mo as /usr/share/locale/hi/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/hu.mo as /usr/share/locale/hu/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/id.mo as /usr/share/locale/id/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/it.mo as /usr/share/locale/it/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/ja.mo as /usr/share/locale/ja/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/kn.mo as /usr/share/locale/kn/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/ko.mo as /usr/share/locale/ko/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/ku.mo as /usr/share/locale/ku/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/lt.mo as /usr/share/locale/lt/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/lv.mo as /usr/share/locale/lv/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/mai.mo as /usr/share/locale/mai/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/mk.mo as /usr/share/locale/mk/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/ml.mo as /usr/share/locale/ml/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/mr.mo as /usr/share/locale/mr/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/nb.mo as /usr/share/locale/nb/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/nl.mo as /usr/share/locale/nl/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/or.mo as /usr/share/locale/or/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/pa.mo as /usr/share/locale/pa/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/pl.mo as /usr/share/locale/pl/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/pt.mo as /usr/share/locale/pt/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/pt_BR.mo as /usr/share/locale/pt_BR/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/ro.mo as /usr/share/locale/ro/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/ru.mo as /usr/share/locale/ru/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/si.mo as /usr/share/locale/si/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/sl.mo as /usr/share/locale/sl/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/sq.mo as /usr/share/locale/sq/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/sr.mo as /usr/share/locale/sr/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/sr@latin.mo as /usr/share/locale/sr@latin/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/sv.mo as /usr/share/locale/sv/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/ta.mo as /usr/share/locale/ta/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/te.mo as /usr/share/locale/te/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/th.mo as /usr/share/locale/th/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/tr.mo as /usr/share/locale/tr/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/ug.mo as /usr/share/locale/ug/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/uk.mo as /usr/share/locale/uk/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/vi.mo as /usr/share/locale/vi/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/zh_CN.mo as /usr/share/locale/zh_CN/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/zh_HK.mo as /usr/share/locale/zh_HK/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/po/zh_TW.mo as /usr/share/locale/zh_TW/LC_MESSAGES/hamster-time-tracker.mo
* installing build/default/data/hamster-time-tracker.schemas as /etc/gconf/schemas/hamster-time-tracker.schemas
* installing build/default/data/hamster-time-tracker-overview.desktop as /usr/share/applications/hamster-time-tracker-overview.desktop
* installing build/default/data/hamster-time-tracker.desktop as /usr/share/applications/hamster-time-tracker.desktop
* installing build/default/data/hamster-windows-service.desktop as /usr/share/applications/hamster-windows-service.desktop
Waf: Leaving directory `/home/evander/.hamster/build'
Installing GConf schema 
Updating Gtk icon cache. 
'install' finished successfully (1.749s)
evander@evander-laptop ~/.hamster $ sudo rm -rf /usr/lib/python3.6/site-packages/hamster
evander@evander-laptop ~/.hamster $ sudo mv /usr/lib/python2.7/site-packages/hamster /usr/lib/python3.6/site-packages/
mv: cannot stat '/usr/lib/python2.7/site-packages/hamster': No such file or directory
evander@evander-laptop ~/.hamster $ ls /usr/lib/python2.7/site-packages/hamster
ls: cannot access '/usr/lib/python2.7/site-packages/hamster': No such file or directory
evander@evander-laptop ~/.hamster $ python --version
Python 2.7.15rc1
evander@evander-laptop ~/.hamster $ 
GeraldJansen commented 5 years ago

sudo mv /usr/lib/python2.7/dist-packages/hamster /usr/lib/python3.6/site-packages

GeraldJansen commented 5 years ago

Ugly work-around: as sudo edit /usr/bin/hamster and change first line to #!/usr/bin/env python3.6

ederag commented 5 years ago

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/
mbnoimi commented 5 years ago

Thanks guys, It works now.

ederag commented 5 years ago

Thanks for the confirmation.

The installation process should be improved; this is discussed in #399.

GeraldJansen commented 5 years ago

@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 commented 5 years ago

@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
mbnoimi commented 5 years ago

image

GeraldJansen commented 5 years ago

Thanks! That's exactly how I did it but it does'nt work for me. Oh well.

antonio-petricca commented 5 years ago

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.

ederag commented 5 years ago

@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.

WBTMagnum commented 5 years ago

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:

GeraldJansen commented 5 years ago

@WBTMagnum You should use the master branch from https://github.com/hamsterproject/hamster because ederag's private master branch is quite out of date.

ederag commented 5 years ago

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).

WBTMagnum commented 5 years ago

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.

ederag commented 5 years ago

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 !).

WBTMagnum commented 5 years ago

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/.

ederag commented 5 years ago

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.