Package Details: pytrainer 2.2.1-2

Git Clone URL: https://aur.archlinux.org/pytrainer.git (read-only, click to copy)
Package Base: pytrainer
Description: tool to log your sport activities.
Upstream URL: https://github.com/pytrainer/pytrainer/wiki
Licenses: GPL
Submitter: None
Maintainer: privong
Last Packager: privong
Votes: 20
Popularity: 0.000000
First Submitted: 2006-10-18 16:58 (UTC)
Last Updated: 2023-12-26 16:23 (UTC)

Dependencies (9)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 5 6 Next › Last »

hak commented on 2024-01-09 13:07 (UTC)

This workaround in pytrainer.sh is no longer needed:

# As explained on : https://github.com/pytrainer/pytrainer/issues/158#issuecomment-448475330
# The reason for the non working OSM in pytrainer is, that openlayers.org / cloudfare is sending:
#`Access denied | openlayers.org used Cloudflare to restrict access`
#when using the default user-agent of the python urllib. Changing user-agent to pytrainer solves it:
wget -q -O ${HOME}/.pytrainer/tmp/cache/OpenLayers.js http://www.openlayers.org/api/OpenLayers.js

It was fixed by https://github.com/pytrainer/pytrainer/pull/167 in version 2.0.0.

In fact, the shell script shouldn't be needed at all. I think removing the last three lines in the PKGBUILD would place the python executable in /usr/bin instead:

# install launcher
mv "${pkgdir}"/usr/{bin,share/${pkgname}}/${pkgname}
install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"

privong commented on 2023-12-26 16:24 (UTC) (edited on 2023-12-26 16:24 (UTC) by privong)

Thanks for the heads up. I've added python-sqlalchemy to the depends list and bumped the pkgrel counter.

SanskritFritz commented on 2023-12-24 23:05 (UTC)

Dependency python-sqlalchemy is missing:

ModuleNotFoundError: No module named 'sqlalchemy'

saschabaer commented on 2023-08-06 21:15 (UTC)

Sweet! that worked really well! Thx @arneko

arneko commented on 2023-08-06 12:04 (UTC)

Managed to install the current latest 2.2.1 using the following PKGBUILD

https://pastebin.com/n1zfCmWw

I think I simply updated the version and md5 and updated the dependencies slightly.

saschabaer commented on 2023-08-06 11:18 (UTC)

could you please update to the last version, i.e. 2.2.1

thank you so much!

privong commented on 2020-09-09 20:17 (UTC)

I've updated the package to 2.0.2. However, the package source still reports 2.0.1. There is an open issue about this upstream (https://github.com/pytrainer/pytrainer/issues/201).

hak commented on 2019-10-04 11:42 (UTC)

There is no need force python2 any longer like this package does, pytrainer works with python3 now.

zoe commented on 2019-09-21 20:16 (UTC) (edited on 2019-11-05 17:05 (UTC) by zoe)

Too much bugged ; I disown this package

Instead, you can have a look to gpxlab, which at least has same features. Built on qt5, not on python, and so, does not confuse version of python (2.7 or 3)

qmapshack [community] is also a good alternative, muche more features

hak commented on 2018-04-04 12:18 (UTC)

@zoe: The map bug was fixed in version 1.12.0 (latest version is 1.12.1): https://github.com/pytrainer/pytrainer/commit/fb0e135657faf269033d9fa03e61278d68437ccf