Installer Problem

Rolander, Dan Dan.Rolander at marriott.com
Fri Jan 12 10:17:44 EST 2001


Can anyone help me understand this traceback I'm getting when trying to use
Gordon McMillan's Installer?

C:\Program Files\Installer\projects\actionizer>..\..\standalone.py action.py
File 'action.cfg' already exists. Overwrite? [yn]y
> "C:\Program Files\Python20\python.exe" C:\PROGRA~1\INSTAL~3\Builder.py
action.
cfg
opts: []
args: ['action.cfg']
Initializing
Traceback (most recent call last):
  File "C:\PROGRA~1\INSTAL~3\Builder.py", line 502, in ?
    main(opts, args)
  File "C:\PROGRA~1\INSTAL~3\Builder.py", line 473, in main
    target = makeTarget(cfg, section)
  File "C:\PROGRA~1\INSTAL~3\Builder.py", line 416, in makeTarget
    return dispatch[cfg.get(section, 'type')](cfg, section, optcnvrts)
  File "C:\PROGRA~1\INSTAL~3\Builder.py", line 337, in __init__
    FullExeTarget.__init__(self, cfg, sectnm, cnvrts)
  File "C:\PROGRA~1\INSTAL~3\Builder.py", line 281, in __init__
    ArchiveTarget.__init__(self, cfg, sectnm, cnvrts)
  File "C:\PROGRA~1\INSTAL~3\Builder.py", line 245, in __init__
    CollectTarget.__init__(self, cfg, sectnm, cnvrts)
  File "C:\PROGRA~1\INSTAL~3\Builder.py", line 144, in __init__
    Target.__init__(self, cfg, sectnm, cnvrts)
  File "C:\PROGRA~1\INSTAL~3\Builder.py", line 34, in __init__
    print "Initializing", self.__name__
AttributeError: 'ExeTarget' instance has no attribute '__name__'

C:\Program Files\Installer\projects\actionizer>




More information about the Python-list mailing list