You are not logged in.

#1 2010-06-04 20:50:41

whacath
Member
Registered: 2009-05-26
Posts: 283

Trying to get geotoad to work

The geotoad package in aur is out of date so i downloaded the pkgbuild and changed the version to the latest and installed it. But when i run geotoad everything looks ok at first until i press s for creating the .gpx file. Then i get an error message:

/usr/share/geotoad/lib/auth.rb:56:in `checkLoginScreen': undefined method `each' for #<String:0x97f8a74> (NoMethodError)
from /usr/share/geotoad/lib/auth.rb:12:in `login'
from /usr/share/geotoad/geotoad.rb:462:in `get_login_cookie'
from /usr/share/geotoad/geotoad.rb:406:in `fetchGeocaches'
from /usr/share/geotoad/geotoad.rb:617:in `<main>'

Here is the pkgbuild:

pkgname=geotoad
pkgver=3.11.0
pkgrel=1
pkgdesc="A tool to simplify geocaching."
arch=('i686')
url="http://geotoad.googlecode.com"
license=('Custom')
depends=('ruby')
source=(http://geotoad.googlecode.com/files/${pkgname}-${pkgver}.zip)
md5sums=('862bda9188016043888c711764c444cc')

build() {
cd ${srcdir}/${pkgname}-${pkgver}
mkdir -p ${pkgdir}/usr/{bin,share/${pkgname},share/licenses/${pkgname}}
cp -R * ${pkgdir}/usr/share/${pkgname}
cp COPYRIGHT.txt ${pkgdir}/usr/share/licenses/${pkgname}
echo -e "#!/bin/bash\n\n/usr/share/${pkgname}/geotoad.rb" >${pkgdir}/usr/bin/${pkgname}
chmod 755 ${pkgdir}/usr/bin/${pkgname}

}

link to aur: http://aur.archlinux.org/packages.php?ID=16987
link to geotoad bugtracker: http://code.google.com/p/geotoad/issues/detail?id=115

Someone know whats wrong and how to fix this?

Last edited by whacath (2010-06-04 20:51:53)

Offline

Board footer

Powered by FluxBB