Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
basc traceback [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
JuNix
Apprentice
Apprentice


Joined: 05 Mar 2003
Posts: 224
Location: Sheffield

PostPosted: Wed Jan 05, 2005 10:16 am    Post subject: basc traceback [SOLVED] Reply with quote

Hi, hope this is the right place for this :)
I am having a problem with the basc tool, which is throwing an exception when I run it, as follows....

Code:
shuttle log # basc -p

########################################################################
#                       Buildtime And Statistics                       #
#                             basc v1.5.3                              #
########################################################################
!!! Invalid token (not "=") !!!
Traceback (most recent call last):
  File "/usr/bin/basc", line 142, in ?
    myconfig=getconfig(CONFFILE)
  File "/usr/lib/portage/pym/portage_util.py", line 257, in getconfig
    raise e.__class__, str(e)+" in "+mycfg
Exception: ParseError: Invalid token (not '='): /etc/basc/basc.conf: line 5 in /etc/basc/basc.conf


/etc/basc/basc.conf

Code:
### Configfile for the Buildtime And Statistics Client (basc)
### http://www.gentoo-stats.org

### The GU of this system (average mergetime of gcc in seconds)
GU=ecount: 0 !!! Error: no merge found for gcc

### The UNIQUE_KEY of this system
UNIQUE_KEY="*************"

### Time of the last update
LASTUPDATE=1104840146


This machine is a stage1 installed Gentoo as follows

Code:
Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa arts artswrappersuid berkdb bitmap-fonts crypt cups ex f77 fam flac fortran gd gdbm gif gpm gtk icq imagemagick imlib ipv6 java jp2 jpeg kde lzw lzw-tiff mikmod motif multilib ncurses nls nptl oggvorbis opengl oss pam perl png python qt readline remote samba sdl slang ssl stats tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xine xml2 xmms xpm xrandr xv zlib"


Any pointers? Should I re-emerge gcc?


Last edited by JuNix on Wed Jan 05, 2005 11:55 am; edited 1 time in total
Back to top
View user's profile Send private message
dma147
n00b
n00b


Joined: 20 Jun 2004
Posts: 35
Location: Berlin

PostPosted: Wed Jan 05, 2005 11:36 am    Post subject: Reply with quote

hello JuNix,

1.5.4 should solve this.
_________________
Alexander Mieland

LiSt - Linux Statistics
My system overview
Registered User #249600
Back to top
View user's profile Send private message
JuNix
Apprentice
Apprentice


Joined: 05 Mar 2003
Posts: 224
Location: Sheffield

PostPosted: Wed Jan 05, 2005 11:55 am    Post subject: Reply with quote

Solved... I did a merge to upgrade basc as suggested above.
I then had to delete my system information from the www.gentoo-stats.org site, and delete my cookie,
I then had to delete my /etc/basc/basc.conf file,
re-emerge gcc
and copy my /var/log/emerge.log file into /etc/basc
and then re-run basc to create a new uniqie key and re-register with the site

!

Code:

emerge --sync
emerge -u basc
rm -fr /etc/basc
mkdir /etc/basc && chgrp stats /etc/basc && chmod g+w /etc/basc
emerge gcc
cp /var/log/emerge.log /etc/basc/emerge.log
chown root:stats /etc/basc/emerge.log


I hope this helps somebody ))
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum