You are not logged in.

#1 2008-06-09 12:50:05

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 768

Can't start obextool

I installed obextool (via pacman) in an attempt to make it easy for me to ftp stuff to/from my phone via bluetooth.  Every time I try and start it I get the following error:

Error in startup script: can't find package tablelist
    while executing             
"package require tablelist"     
    (file "/usr/share/obextool-0.33/obextool.tk" line 35)

Tablelist is installed - but is obviously not being found - any ideas on how I can fix that?

Offline

#2 2008-06-25 10:16:54

kesara
Member
From: Colombo, Sri Lanka
Registered: 2006-10-08
Posts: 6
Website

Re: Can't start obextool

I get the same error. :-(
Any fix?

Offline

#3 2008-06-26 18:10:51

sm4tik
Member
From: Finland, Jyväskylä
Registered: 2006-11-05
Posts: 248
Website

Re: Can't start obextool

From http://www.tech-edv.co.at/programmierun … ouble.html, ObexTool: Trouble shooting

# If the obexftp program works, and you get error messages regarding unsatisfied packages - like:

    Error in startup script: can't find package tablelist
    while executing
    "package require tablelist"
    (file "./obextool.tk" line 452)

Ensure that all TCL/TK packages are installed correctly - see INSTALL for information, where to install the BWidget and Tablelist package.

Try also loading the Tablelist and BWidget package manually:

    wish
    % package require Tablelist
    2.3
    % package require BWidget
    1.3.1
    % exit

If you get a message like:

    can't find package Tablelist

read INSTALL where to copy the files.

You may also modify the source file obextool.tk to configure another autoload path for some special installed packages.

E.g. if your Tablelist is installed in

    /usr/local/lib/tablelist2.3

insert into the source file obextool.tk the following statement:

    lappend auto_path /usr/local/lib/tablelist2.3

Note: this must be done before the statement:

    package require tablelist

Last edited by sm4tik (2008-06-26 18:11:21)

Offline

#4 2008-06-26 18:46:31

sm4tik
Member
From: Finland, Jyväskylä
Registered: 2006-11-05
Posts: 248
Website

Re: Can't start obextool

The package in community has been built against tcl8.4, current is 8.5, and also there's a newer version of tablelist available. I flagged the package out of date, but here's a PKGBUILD untill it's updated. I built it and tested it and obextool was started without errors.

pkgname=tablelist
pkgver=4.9
pkgrel=1
pkgdesc="A library for Tcl/Tk 8.0 or higher"
arch=('i686' 'x86_64')
url="http://www.nemethi.de"
license=("custom")
depends=('bash' 'tcl')
source=(http://www.nemethi.de/tablelist/$pkgname$pkgver.tar.gz \
        http://www.nemethi.de/tablelist/COPYRIGHT.txt )
md5sums=('ed778bc5df65260520fe9aeecdf23c25'
         '605ee0f1bcb5f976a717cdf29f9796c1')

build() {
  mkdir -p $startdir/pkg/usr/lib/tcl8.5
  cp -a $startdir/src/$pkgname$pkgver $startdir/pkg/usr/lib/tcl8.5/
  install -D COPYRIGHT.txt $startdir/pkg/usr/share/licenses/$pkgname/COPYING
}

Offline

Board footer

Powered by FluxBB