Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238796 - sys-cluster/tentakel-2.2 - File "/usr/lib/python2.5/site-packages/lekatnet/tpg.py", line 986, in extract return self.lexer[start:stop] TypeError: object cannot be interpreted as an index
Summary: sys-cluster/tentakel-2.2 - File "/usr/lib/python2.5/site-packages/lekatnet/tp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-26 17:37 UTC by Carlos Moyano
Modified: 2011-02-10 11:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild to get the last svn version (tentakel-9999.ebuild,551 bytes, text/plain)
2008-10-07 03:23 UTC, Carlos Moyano
Details
the same old patch but updated. (tentakel-9999-manpath.patch,404 bytes, patch)
2008-10-07 03:25 UTC, Carlos Moyano
Details | Diff
py25-compat.patch (tentakel-2.2-py25-compat.patch,848 bytes, patch)
2009-01-08 18:03 UTC, Dustin J. Mitchell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Moyano 2008-09-26 17:37:43 UTC
After update Python from 2.4.* to 2.5.*
sys-cluster/tentakel-2.2  stop working.

i try with python-updater and dosen't work


Reproducible: Always

Steps to Reproduce:
1. emerge -u python
2. python-updater
3. tenakel date

Actual Results:  
~ # tentakel date
Traceback (most recent call last):
  File "/usr/bin/tentakel", line 101, in <module>
    conf.load(f)
  File "/usr/lib/python2.5/site-packages/lekatnet/config.py", line 181, in load
    self.parse("".join(file.readlines()))
  File "/usr/lib/python2.5/site-packages/lekatnet/config.py", line 175, in parse
    self.update(tp(txt))
  File "/usr/lib/python2.5/site-packages/lekatnet/tpg.py", line 921, in __call__
    return self.parse('START', input, *args, **kws)
  File "/usr/lib/python2.5/site-packages/lekatnet/tpg.py", line 934, in parse
    value = getattr(self, axiom)(*args, **kws)
  File "<string>", line 8, in START
  File "<string>", line 5, in SETTING
  File "<string>", line 15, in PARAM
  File "/usr/lib/python2.5/site-packages/lekatnet/tpg.py", line 986, in extract
    return self.lexer[start:stop]
TypeError: object cannot be interpreted as an index




emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Timestamp of tree: Thu, 25 Sep 2008 12:37:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_CL"
LC_ALL="es_CL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_CL en en_US"
MAKEOPTS="-j20"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi apache2 bash-completion berkdb cdr cli cracklib crypt ctype curl dbus dmx dri dvd dvdr emacs fam fbcon fortran ftp gdbm gpm hal icc imap ipv6 java java5 java6 jpeg libwww mmx mpi mudflap mysql ncurses netboot nls nptl ntplonly opengl openmp pam pcre perl php png python readline ruby snmp sockets spell ssl subversion syslog tcpd threads truetype unicode usb vim-syntax x86 xinetd xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy log_forensic" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_CL en en_US" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga sis"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-29 13:39:23 UTC
Did you run python-updater after the dev-lang/python update?
Comment 2 Carlos Moyano 2008-09-29 21:38:38 UTC
yes i do,


look at the step to reproduce.

any idea?
Comment 3 Pavel Kalian 2008-10-01 15:10:56 UTC
According to http://cblfs.cross-lfs.org/index.php/Tentakel Tentakel 2.2 doesn't work with python 2.5 - Should be fixed in CVS
Comment 4 Carlos Moyano 2008-10-07 03:23:24 UTC
Created attachment 167509 [details]
ebuild to get the last svn version

I make this ebuild to get the svn version of tentakel  

work fine with Python 2.5

works for me,  test it  and if you can...


bye
Comment 5 Carlos Moyano 2008-10-07 03:25:18 UTC
Created attachment 167510 [details, diff]
the same old patch but updated.

the same old patch but updated.
Comment 6 Dustin J. Mitchell 2009-01-08 18:03:29 UTC
Created attachment 177786 [details, diff]
py25-compat.patch

Here's a patch which makes tentakel at least vaguely work with py2.5.  It seems that tentakel is now basically unmaintained, so this may be a good option for the portage tree until a new maintainer comes along.
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2011-02-10 11:39:05 UTC
Removed from main tree.