Bug 202368 - IndexError: string index out of range
Summary: IndexError: string index out of range
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-13 18:17 UTC by Jasper O. Hartline
Modified: 2018-10-03 19:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-15 17:40:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jasper O. Hartline 2006-08-13 18:17:05 UTC
Description of problem:
While running Anaconda with Kadischi I get a traceback. The traceback snippet is
below:
----------------------------
Probing for video card:   Cirrus Logic GD 5430/40 [Alpine]
Traceback (most recent call last):
  File "/usr/sbin/anaconda", line 843, in ?
    anaconda.setMethod()
  File "/usr/sbin/anaconda", line 554, in setMethod
    self.method =  UrlInstallMethod(self.methodstr, self.rootPath, self.intf)
  File "/usr/lib/anaconda/urlinstall.py", line 170, in __init__
    if path[1] == '/' and scheme == 'ftp':
IndexError: string index out of range
-----------------------------

This is while running Anaconda under Kadischi.
 

Version-Release number of selected component (if applicable):
anaconda-11.1.0.80-1

How reproducible:
Run Anaconda under Kadischi on a FC6T2 host with development Anaconda installed.

Steps to Reproduce:
1. kadischi --text http://192.168.2.2/ -f /tmp/fc6t2.iso
2.
3.
  
Actual results:
Anaconda tracebacks.

Expected results:
A LiveCD is built as FC6T2.ISO

Additional info:
There is no additional information at this time.

Comment 1 Jeremy Katz 2006-08-15 14:58:11 UTC
What arguments are being passed to anaconda?

Comment 2 Jasper O. Hartline 2006-08-15 17:24:14 UTC
The argument passing should look like so:
anaconda --text --rootpath=/our/rootpath --method=http://192.168.2.2/

As per kadischi.py from Kadischi CVS shown to reflect the parameters passed.

Here is the Anaconda code execution block out of Kadischi CVS kadischi.py:
-------------------------- BEGIN ----------------

    # run anaconda
    print "\n[kadischi] : running anaconda    \n"
    anaconda_args.append("--rootpath=%s" % sysdir)
    anaconda_args.append("--method=%s" % method)
    execute(anaconda_args)
    print "\n[kadischi] :  anaconda has finished its job \n"

-------------------------- END ------------------ 

Comment 3 Chris Lumens 2006-08-15 17:40:37 UTC
Thanks for the report.  This will be fixed in the next build of anaconda.

Comment 4 Jasper O'neal Hartline 2018-10-03 19:03:50 UTC
Thank you Jeremy Katz and Chris Lumens. Kadischi is out of the ordinarily old now so that we now have livemedia-creator that runs under mock.


Note You need to log in before you can comment on or make changes to this bug.