Bug 550604

Summary: [abrt] crash detected in TurboGears-1.0.9-1.fc12
Product: [Fedora] Fedora Reporter: Hiroshi <watabe>
Component: TurboGearsAssignee: Luke Macken <lmacken>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: a.badger, fschwarz, lmacken, pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:25402bec
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-27 18:52:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Hiroshi 2009-12-26 09:12:24 UTC
abrt 1.0.0 detected a crash.

How to reproduce: 1. Everytime if you want to create new sql table by tg-admin create sql

Comment
-----
It seems that base.py in /usr/lib/python2.6/site-packages/turbogears/command is wrong.
This file is not 1.0.9 branch's file.

backtrace
-----
Summary: TB25402bec base.py:134:run:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/bin/tg-admin", line 8, in <module>
    load_entry_point('TurboGears==1.0.9', 'console_scripts', 'tg-admin')()
  File "/usr/lib/python2.6/site-packages/turbogears/command/base.py", line 404, in main
    command.run()
  File "/usr/lib/python2.6/site-packages/turbogears/command/base.py", line 134, in run
    pkgversion = eggname.split('-')[-2]
IndexError: list index out of range

Local variables in innermost frame:
socommand: <module 'sqlobject.manager.command' from '/usr/lib/python2.6/site-packages/sqlobject/manager/command.pyc'>
command: create
self: <turbogears.command.base.SQL object at 0x340ec50>
pkgname: 
eggname: watabe

cmdline: /usr/bin/python /usr/bin/tg-admin sql create 
component: TurboGears
executable: /usr/bin/tg-admin
kernel: 2.6.31.6-166.fc12.x86_64
package: TurboGears-1.0.9-1.fc12
uuid: 25402bec

Comment 1 Hiroshi 2009-12-26 09:12:27 UTC
Created attachment 380409 [details]
File: backtrace

Comment 2 Toshio Ernie Kuratomi 2009-12-27 18:52:27 UTC
The fixed package should be in the testing repository right now.  Will push to stable as no further problems have been reported::
  https://admin.fedoraproject.org/updates/F12/FEDORA-2009-13427

*** This bug has been marked as a duplicate of bug 548594 ***